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

MARC 999 field: Put SRS UUID

    XMLWordPrintable

Details

    • EPAM BatchLoader Sprint 15, EPAM BatchLoader Sprint 16
    • 5
    • Folijet

    Description

      We need to generate UUID for every parsed record in source-record-manager and reuse UUID to construct 999 field (actually UUID is generated in mod-source-record-storage for each received parsed record).
      The UUID for parsed records should be generated in source-record-manager before parsed records are being posted into source-record-storage. Once a raw records are transfigured into parsed records, we can reuse UUID to created and fill 999 field for each.

      Development notes:
      Actual algorithm of how source-record-manager processes raw records (ChunkProcessingService):
      1 saves raw records into source-record-storage;
      2 updates job fields (status, runBy, progress, started date);
      3 transforms raw records into parsed records using marc4j, saves parsed records into source-record-storage;
      4 creates new Inventory instance for each parsed record;
      5 sets out 'State' field to received chunk;
      6 checks if processing completed;

      Expected algorithm of how mod-source-record-manager should process raw records (ChunkProcessingService):
      1 saves raw records into source-record-storage;
      2 updates job fields (status, runBy, progress, started date);
      3 transforms raw records into parsed records using marc4j, generates and puts UUID for each parsed record, does not save parsed records into SRS;
      4 creates new Inventory instance for each parsed record;
      5 puts UUID from step 3 into '999' field to each parsed record, saves parsed records then into source-record-storage(should be new method in ChangeEngineService);
      6 sets out 'State' field to received chunk;
      7 checks if processing completed;

      Finally '999' should look like this:
      Tag: 999
      Indicator 1: f (lower-case letter f)
      Indicator 2: f
      Subfield s: SRS UUID

      999 ff$s<SRS UUID>

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Igor_Gorchakov Igor Gorchakov
                Igor_Gorchakov Igor Gorchakov
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases