Done
Details
Assignee
Andrii NovytskyiAndrii NovytskyiReporter
Magda ZacharskaMagda ZacharskaLabels
Priority
P3Story Points
2Sprint
NoneDevelopment Team
ConcordeTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Andrii Novytskyi
Andrii NovytskyiReporter
Magda Zacharska
Magda ZacharskaLabels
Priority
Story Points
2
Sprint
None
Development Team
Concorde
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created March 30, 2020 at 4:10 PM
Updated June 27, 2020 at 4:23 AM
Resolved June 27, 2020 at 4:23 AM
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. For example, an inventory instance record contains, instanceTypeId field that will be used to populate the 336 $a MARC field and we will need to retrieve the value of the key stored in the instanceTypeId so that MARC field can be populated correctly.
This user story covers instanceTypeId – the value used to populate 336 $a comes from the "name" field in instanceType
Since the records will be generated in parallel to retrieving 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
The generated record is short-lived and generated each time it is requested
The record is saved in .mrc file and contains 336$a field populated with the correct data
Both indicators are blank
Unit tests are written
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