pulibrary / lib_jobs

Enterprise Services batch processing tasks. Rails 7 Ruby 3.1.0
4 stars 0 forks source link

Refactor jobs to use generic Report Uploader and Report Downloader #743

Closed maxkadel closed 5 months ago

maxkadel commented 6 months ago

Right now, we have many jobs that upload and download to / from the Alma sftp (and other sftps). We recently factored out more generic ReportUploader and ReportDownloader classes, but have not applied them to many jobs yet.

To reduce complexity and repetition, we should use these more generic classes in the jobs where we can. This will also allow us to have more consistent error handling and reporting.

Possible classes to use ReportUploader

Possible classes to use ReportDownloader

maxkadel commented 5 months ago

Closing in favor of smaller issues - see #759, #760, and #761