Uploaded image for project: 'mod-source-record-manager'
  1. mod-source-record-manager
  2. MODSOURMAN-384

Implement writing entities processing information to the log

    XMLWordPrintable

Details

    • Folijet Sprint 108, Folijet Sprint 109, Folijet Sprint 110, Folijet Sprint 111
    • 5
    • Folijet
    • R1 2021 Bug Fix
    • High

    Description

      Steps:

      • subscribe the module to the following events:
        • DI_SRS_MARC_BIB_RECORD_CREATED
        • DI_SRS_MARC_BIB_RECORD_UPDATED
        • DI_SRS_MARC_BIB_RECORD_MODIFIED
        • DI_SRS_MARC_BIB_RECORD_NOT_MATCHED
        • DI_INVENTORY_INSTANCE_CREATED
        • DI_INVENTORY_INSTANCE_UPDATED
        • DI_INVENTORY_INSTANCE_NOT_MATCHED
        • DI_INVENTORY_HOLDING_CREATED
        • DI_INVENTORY_HOLDING_UPDATED
        • DI_INVENTORY_HOLDING_NOT_MATCHED
        • DI_INVENTORY_ITEM_CREATED
        • DI_INVENTORY_ITEM_UPDATED
        • DI_INVENTORY_ITEM_NOT_MATCHED
      • expand logic of RecordProcessedEventHandlingServiceImpl to save information about entities creation, update, mismatch to the journal from events specified above, and events about data import completion/error (use eventsChain in DataImportEventPayload)
      • add tests

      NOTE (from Ann-Marie) If an existing MARC SRS record is updated without any explicit action in the job profile, the log should show "Updated" for the MARC Bib column, instead of "Created." Yes, SRS is creating a new version of the existing MARC SRS, but to the User, the action is assumed to be Update (not Create). The Create action should only appear in the log when a particular record type did not exist before, and after the import, it exists.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                afedasiuk Aliaksandr Fedasiuk
                ruslan_lavrov Ruslan Lavrov
                Ann-Marie Breaux Ann-Marie Breaux
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases