Uploaded image for project: 'mod-data-export'
  1. mod-data-export
  2. MDEXP-102

Generate MARC bib record - 655 $a/natureOfContentId - replacing keys with values

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      Concorde - Sprint 87
    • Story Points:
      5
    • Development Team:
      Concorde

      Description

      Purpose
      FOLIO inventory storage instance contains fields that are represented by keys and those will need to be replaced by their values when generating MARC bib record on the fly.

      This user story covers natureOfContentId – the value used to populate 655 $a comes from the "name" field in natureOfContentTerm. Since this is an array in instance.json so if there are multiple elements each one will have a separate 655 $a field.

      Since the records generated on the fly will be retrieved in parallel to the records from SRS the formatting should not require any addition data manipulation by the consumer of the data and is formatted consistently with parsedRecord.json.

      Acceptance criteria

      1. Handle caching of settings
      2. The generated record is short-lived and generated each time it is requested
      3. The record is saved in .mrc file and contains 655 $a field populated with the correct data.
      4. If multiple formats are present in inventory instance, then there are multiple 655 $a entries.
      5. The indicators are set to: first blank, second 4
      6. Unit tests are written
      7. API tests are written

      Note: For the MARC record indicator value check: https://docs.google.com/spreadsheets/d/11lGBiPoetHuC3u-onVVLN4Mj5KtVHqJaQe4RqCxgGzo/edit#gid=1410366280 "Concorde - Instance to MARC 2019" tab

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Igor_Gorchakov Igor Gorchakov
                Reporter:
                magdaz Magda Zacharska
                Tester Assignee:
                Magda Zacharska Magda Zacharska
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases