Skip to content

Commit

Permalink
cleans up require calls for Jobs module
Browse files Browse the repository at this point in the history
  • Loading branch information
niquerio committed Feb 26, 2024
1 parent 3a79060 commit 80c4024
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
7 changes: 2 additions & 5 deletions umich_catalog_indexing/lib/jobs.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
$:.unshift "#{File.dirname(__FILE__)}"
require "alma_rest_client"
require "sftp"
require "yaml"
require "prometheus/client"
require "prometheus/client/push"
require "prometheus/client/registry"

require "jobs/catalog_indexing_metrics"
require "jobs/utilities"
require "jobs/utilities/alma_file_processor"
require "jobs/utilities/zephir_file"
require "jobs/utilities/translation_map_fetcher"

require "jobs/lib_loc_info/libraries"
require "jobs/lib_loc_info/library_location_list"
require "jobs/lib_loc_info"

require "jobs/electronic_collections"

Expand Down
2 changes: 0 additions & 2 deletions umich_catalog_indexing/lib/jobs/index_alma_xml.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# require_relative "./alma_file_processor"
# require_relative './umich_utilities/umich_utilities'
require "high_level_browse"

module Jobs
Expand Down
3 changes: 3 additions & 0 deletions umich_catalog_indexing/lib/jobs/lib_loc_info.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
require "jobs/lib_loc_info/libraries"
require "jobs/lib_loc_info/library_location_list"

module Jobs
module LibLocInfo
end
Expand Down
4 changes: 4 additions & 0 deletions umich_catalog_indexing/lib/jobs/utilities.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
require "jobs/utilities/alma_file_processor"
require "jobs/utilities/zephir_file"
require "jobs/utilities/translation_map_fetcher"

module Jobs
module Utilities
end
Expand Down

0 comments on commit 80c4024

Please sign in to comment.