Skip to content

Commit

Permalink
Change Symphony mount path to /symphony
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreben committed Sep 15, 2016
1 parent 2e589b6 commit ff0be5a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/controllers/endowed_funds_reports_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def create
elsif @endowed_funds_report.fund_begin
catalog_keys = EndowedFundsReport.ol_cat_key(@endowed_funds_report.fund_begin)
end
# write keys to file to Symphony mount [/s/SUL/] on libsys-webforms-dev
# write keys to file to Symphony mount [/symphony] on libsys-webforms-dev
@endowed_funds_report.write_keys(catalog_keys)
# TODO: kick off perl script to run pl/sql report

Expand Down
2 changes: 1 addition & 1 deletion app/models/circulation_statistics_report_log.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def self.process_range_type_params(circ_stats)
case circ_stats.range_type
when 'barcodes'
range_type_params['call_range'] = "Any call (Selection is barcode list #{circ_stats.barcodes.original_filename})"
range_type_params['input_path'] = "/s/SUL/Dataload/Uploads/CircStats/#{circ_stats.barcodes.original_filename}"
range_type_params['input_path'] = "/symphony/Dataload/Uploads/CircStats/#{circ_stats.barcodes.original_filename}"
range_type_params['libs_locs'] = 'Any lib-loc'
when 'lc'
if circ_stats.call_lo.include?('#')
Expand Down
2 changes: 1 addition & 1 deletion app/models/endowed_funds_report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def self.ol_cat_key(fund)
end

def write_keys(catalog_keys)
symphony_location = "/s/SUL/Dataload/EndowRpt/endow#{Time.zone.now.strftime('%y%m%d%H%M%S%L%1N')}"
symphony_location = "/symphony/Dataload/EndowRpt/endow#{Time.zone.now.strftime('%y%m%d%H%M%S%L%1N')}"
File.write(symphony_location, catalog_keys.join("\n"))
end
end
2 changes: 1 addition & 1 deletion spec/models/circulation_statistics_report_log_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
report = FactoryGirl.build(:circulation_statistics_report, range_type: 'barcodes', barcodes: barcode_file)
log_params = CirculationStatisticsReportLog.process_range_type_params(report)
expect(log_params).to eq('call_range' => 'Any call (Selection is barcode list test_file.txt)',
'input_path' => '/s/SUL/Dataload/Uploads/CircStats/test_file.txt',
'input_path' => '/symphony/Dataload/Uploads/CircStats/test_file.txt',
'libs_locs' => 'Any lib-loc')
end

Expand Down

0 comments on commit ff0be5a

Please sign in to comment.