Uploaded image for project: 'mod-quick-marc'
  1. mod-quick-marc
  2. MODQM-322

Local Authority Files: Replace 001 sourceFileId with an available hrid

    XMLWordPrintable

Details

    • 2
    • Spitfire
    • Quesnelia (R1 2024)
    • TBD

    Description

      Purpose/Overview:
      In scope of authority creation through quick-marc UXPROD-3910. UI will send the authority file ID in field 001.
       Quick-marc should replace UUID with available authority file HRID.

      Approach:
      mod-quick-marc in scope of authority creation should:

      1. Convert 001 field value to UUID.
      2. Retrieve available hrid by authority file id. (POST: /authority-source-files/{id}/hrid)
      3. Replace 001 field value from authorityFileId to "prefix + hrid"
      4. If 001 value doesn't comply with UUID then skip it. And leave the original value

      Acceptance criteria:

      • Covered by unit tests
      • Module documentation updated
      • Logging is well-defined

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                Shans Shans Kaluhin
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:

                  TestRail: Runs

                    TestRail: Cases