Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
-
Prokopovych - Sprint 134, Firebird - Sprint 157
-
5
-
Firebird
Description
Overview:
Once OAI-PMH will be able to convert Inventory records to MARC, it should switch from querying SRS to querying Inventory for instance records. From now on it should work the next way:
- If instance exists in SRS (Metadata source = MARC), its MARC metadata is retrieved from SRS
- If instance doesn't exist in SRS (Metadata source = FOLIO), its MARC metadata generates on the fly from Inventory record
See "Get records flow diagram" attached.
Acceptance criteria:
- Response honors the OAI-PMH settings and it returns relevant data:
- OAI-PMH setting records_source is set to Inventory - then only records from inventory (source <> MARC) are returned
- OAI-PMH setting records_source is set to Source record storage - then only records from SRS are returned
- OAI-PMH setting records_source is set to Source record storage and Inventory - then all records are returned
- All instance records from Inventory which comply the request parameters are added to ListRecords response
- No duplicate records
- Instance records with underlying MARC are retrieved from SRS
- For instance records without underlying SRS records, MARC should be generated on the fly
- Support suppressed records processing as configured
- Support deleted records processing as configured
- Unit and API tests have been updated
Scenarios:
- Given instance record source=FOLIO
- And instance record fits OAI-PMH request parameters
- And instance record can be exposed according to suppressed records support rules
- And record isn’t deleted
- When OAI-PMH request verb=ListRecords
- And metadataPrefix=marc21 or marc21_withholdings
- Then MARC record is generated from the instance record
- And this record is present in response
- Given instance record source=FOLIO or MARC
- And instance record fits OAI-PMH request parameters
- And instance record can be exposed according to suppressed and deleted records support rules
- And record is deleted
- When verb=ListIdentifiers or ListRecords
- Then the record’s identifier with status=deleted is present in response
- Given instance record source=MARC
- And record fits OAI-PMH request parameters
- And record can be exposed according to suppressed records support rules
- And record isn’t deleted
- When OAI-PMH request verb=ListRecords
- And metadataPrefix=marc21 or marc21_withholdings
- Then MARC record is retrieved from SRS
- And this record is present in response
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-2404 OAI-PMH: Harvest Inventory for inventory instance records without underlying SRS records
-
- In progress
-
- is blocked by
-
MODOAIPMH-83 POC - Retrieve MARC records generated on the fly
-
- Closed
-
- relates to
-
FAT-4337 Review of C375212 Test Case
-
- In progress
-
-
FAT-4338 Review of C375210 Test Case
-
- In progress
-
-
FAT-4339 Review of C375209 Test Case
-
- In progress
-
-
FAT-4340 Review of C375208 Test Case
-
- In progress
-
-
FAT-4341 Review of C375207 Test Case
-
- In progress
-
-
FAT-4342 Review of C375204 Test Case
-
- In progress
-
-
FAT-4343 Review of C375203 Test Case
-
- In progress
-
-
FAT-4344 Review of C375201 Test Case
-
- In progress
-
-
FAT-4345 Review of C375200 Test Case
-
- In progress
-
-
FAT-4346 Review of C375199 Test Case
-
- In progress
-
-
FAT-4347 Review of C375198 Test Case
-
- In progress
-
-
MODOAIPMH-472 Added Holdings record to Instance FOLIO does not trigger the record to be harvested
-
- Open
-
-
MODOAIPMH-224 Retrieve records from inventory and SRS for GetRecord response - MARC format
-
- Closed
-
-
MODOAIPMH-455 Retrieve records from inventory and SRS for Dublin Core
-
- Closed
-