Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
-
EPAM BatchLoader Sprint 6, EPAM BatchLoader Sprint 7
-
8
-
Folijet
Description
FileUploadEngine component of mod-data-import should provide functionality for splitting the MARC file into raw records and sending it in chunks to mod-source-record-manager for further processing.
- Add an endpoint to initiate processing.
- Implement call to mod-source-record-manager to update JobExecution setting jobProfile data and Status="IMPORT_IN_PROGRESS"
Ticket for parsing:MODDATAIMP-45 - After the last chunk is sent, the service should send another request to mod-source-record-manager to notify that there is no more data. alternatively it can be a request parameter to distinguish that.
- The size of a chunk should be configurable.
- In case of error - send an error message with a description to the 'Source manager'.
- Send total quantity of records.
For more details refer to the technical design - Sequence diagram of chunking the file .
Acceptance Criteria
- Parsing and sending the chunks is a non-blocking process
- New endpoint exists
- API is covered with tests (add sample files for testing)
TestRail: Results
Attachments
Issue Links
- is blocked by
-
MODSOURMAN-3 Create technical design for Change Manager component from mod-source-record-manager
-
- Closed
-
-
MODSOURMAN-9 Create ChangeManager component, expose API for JobExecutions creation
-
- Closed
-
- relates to
-
MODDATAIMP-45 Implement MARC file reader for chunking service
-
- Closed
-
-
MODSOURMAN-41 Add endpoints for updating JobExecution status and getting JobExecution children by id
-
- Closed
-
-
MODSOURMAN-10 ChangeManager: Add functionality for saving chunks of raw data
-
- Closed
-
-
MODSOURMAN-11 Create ChangeEngine component for parsing raw records
-
- Closed
-
-
MODSOURMAN-18 Create endpoint for ChangeManager to update JobExecution
-
- Closed
-
-
UXPROD-656 Data Import (Batch Importer for Bib Acq) Infrastructure and Planning
-
- Closed
-
1.
|
Create Profile entity |
|
Closed | Igor Gorchakov |