Details
-
Umbrella
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
-
Folijet
Description
ChangeManager component should provide functionality for saving chunks of raw data in the mod-source-record-storage. JobExecution and Snapshot statuses should be updated along the way.
1. Add endpoint for receiving chunks of raw data.
Method | Resource |
---|---|
POST | /change-manager/records |
2. Saving chunks of raw data in the mod-source-record-storage should be done asynchronously.
3. Upon receiving the request from mod-data-import that all the chunks are sent, ChangeManager should wait until the processing is finished and update statuses.
4. Stub call to ChangeEngine to parse records.
For more details refer to the technical design (Sequence diagram of receiving and saving raw records).
Acceptance Criteria
- Saving the chunks is a non-blocking process
- ChangeManager interacts with MetadataService for getting and updating JobExecution statuses.
- ChangeManager interacts with mod-source-record-storage via REST for updating Snapshot statuses.
- New endpoint exists
- API is covered with tests
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-1656 Data Import (Batch Importer for Bib Acq) Q1 2019 Technical and NFR work
-
- Closed
-
- is blocked by
-
MODSOURMAN-3 Create technical design for Change Manager component from mod-source-record-manager
-
- Closed
-
-
MODSOURMAN-7 MetadataRepository: Implement API for JobExecution entities
-
- Closed
-
-
MODSOURMAN-9 Create ChangeManager component, expose API for JobExecutions creation
-
- Closed
-
- relates to
-
MODDATAIMP-39 Create service for file chunking
-
- Closed
-
-
MODSOURMAN-19 ChangeManager: API for receiving chunks of raw (source) data with a stub implementation
-
- Closed
-
-
MODSOURMAN-20 @Deprecated. Will be closed. ChangeManager: implement API for saving raw (source) data
-
- Closed
-
-
MODSOURMAN-21 @Deprecated. Will be closed. Change Manager: Handle the completion of the source data save
-
- Closed
-
-
MODSOURMAN-69 Create JobExecutionSourceChunk & DB table
-
- Closed
-
-
MODSOURMAN-70 Implement JobExecutionSourceChunk processing routine.
-
- Closed
-
-
MODSOURMAN-11 Create ChangeEngine component for parsing raw records
-
- Closed
-
-
MODSOURMAN-22 @Deprecated. Will be closed. ChangeManager: Create watcher to complete jobExecution
-
- Closed
-