Flow
Step-by-step:
- Updated MARC-record sends to the "mod-source-record-manager" on the specific endpoint for updating MARC-records.
- "mod-source-record-manager" updates this MARC-record in the "mod-source-record-storage" using generationId-mechanism.
- "mod-source-record-manager" publishes new event with eventType: "QM_SRS_MARC_BIB_RECORD_UPDATED". Event payload contains updated MARC-record and "rules.json"-file.
- "mod-pubsub" receives this event and "mod-inventory" catches it as "subscriber" for this eventType.
- "mod-inventory" retrieves eventPayload and builds new Instance based on its data using "data-import-processing-core". After that, "mod-inventory" updates this instance.
Finally, the instance updated!