Store Identifiers of Authority records in Linked Data database

Description

Overview

MARC authority and bibliographic (bib) records received from SRS include the MARC tag 999 with subfields $s and $i. Currently, the lib-linked-data-marc4ld library processes these subfields from bib records, but they are ignored in authority records.

The purpose of this story is to ensure that the 999 $s and 999 $i subfields in authority records are processed and stored in a more appropriately named table, “source_metadata” (previously called “instance_metadata”).

Scope

  • Presently, the values in 999 $i and $s from bib records are stored in the instance_metadata table. We need to also store the 999 $i and $s values from authority records in the same table.

  • Since the name instance_metadata is not appropriate for authority records, the table should be renamed to a more generic name, such as source_metadata.

  • Update the code that processes MARC bib records to store values in the source_metadata table instead of the instance_metadata table.

  • Update the code that processes MARC authority records to handle the 999 $i and $s subfields and store them in the source_metadata table.

  • Modify the Get /resource/{id} API to return “sourceMetadata” instead of “instanceMetadata.”

Environment

None

Potential Workaround

None

Attachments

3

Checklist

hide

Activity

Show:

Punnoose Kutty Jacob PullolickalAugust 16, 2024 at 8:38 PM

SRS ID and Inventory ID are persisted in the DB. Screenshots attached.

 

 

Done

Details

Assignee

Reporter

Labels

Priority

Story Points

Sprint

Development Team

Citation

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created August 9, 2024 at 4:40 PM
Updated November 21, 2024 at 10:42 PM
Resolved August 19, 2024 at 1:25 PM
TestRail: Cases
TestRail: Runs