Koha-clms/Koha/BackgroundJob
Pedro Amorim cf87082682
Bug 34587: File upload - Background job
ErmSushiHarvester background job will now be initiated by either
enqueue_counter_file_processing_job or by enqueue_sushi_harvest_jobs
from Koha/ERM/UsageDataProvider.pm, the former if triggered by a manual
file upload, the latter if by the 'run now' button or by the cron script.

This commit also includes some rewording/refactoring, namely:
- COUNTER file validation now happens in the API, before enqueuing the job.
- Removal of no longer used POST /erm/counter_files endpoint
- Koha/ERM/UsageDataProvider.pm:
-- run method is now enqueue_sushi_harvest_jobs
-- new enqueue_counter_file_processing_job method
-- harvest method is now harvest_sushi
-- new set_background_job_callbacks method to set the background job callbacks
- REST/V1/ERM/UsageDataProviders
-- run method is now process_SUSHI_response
-- new process_COUNTER_file endpoint

Signed-off-by: Jessica Zairo <jzairo@bywatersolutions.com>
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-31 16:46:15 -03:00
..
BatchCancelHold.pm Bug 30943: Simplify background jobs code using helpers 2023-03-13 15:52:19 -03:00
BatchDeleteAuthority.pm Bug 30943: Simplify background jobs code using helpers 2023-03-13 15:52:19 -03:00
BatchDeleteBiblio.pm Bug 30943: Simplify background jobs code using helpers 2023-03-13 15:52:19 -03:00
BatchDeleteItem.pm Bug 30943: Simplify background jobs code using helpers 2023-03-13 15:52:19 -03:00
BatchUpdateAuthority.pm Bug 30943: Simplify background jobs code using helpers 2023-03-13 15:52:19 -03:00
BatchUpdateBiblio.pm Bug 30943: Simplify background jobs code using helpers 2023-03-13 15:52:19 -03:00
BatchUpdateBiblioHoldsQueue.pm Bug 30943: Simplify background jobs code using helpers 2023-03-13 15:52:19 -03:00
BatchUpdateItem.pm Bug 30943: Simplify background jobs code using helpers 2023-03-13 15:52:19 -03:00
CreateEHoldingsFromBiblios.pm Bug 34789: Update usage throughout Koha modules and Vue components 2023-09-18 12:06:18 -03:00
ErmSushiHarvester.pm Bug 34587: File upload - Background job 2023-10-31 16:46:15 -03:00
MARCImportCommitBatch.pm Bug 15869: Change framework on overlay 2023-02-07 10:32:22 -03:00
MARCImportRevertBatch.pm Bug 32394: Restore long tasks queue 2022-12-14 14:32:27 -03:00
StageMARCForImport.pm Bug 33755: Set profile_id and add missing import 2023-08-15 12:16:59 +03:00
UpdateElasticIndex.pm Bug 33576: (QA follow-up) Polish comment, typo 2023-05-09 10:58:06 -03:00