yalelibrary / YUL-DC

Preliminary issue tracking for Yale University Libraries Digital Collections project
3 stars 0 forks source link

MVP Sierra integration #2498

Closed mikeapp closed 1 year ago

mikeapp commented 1 year ago

Story

Sierra should be added as a metadata source in DCS. This work should be done in a feature branch.

Prerequisite: #2499

Acceptance

jpengst commented 1 year ago

PR: https://github.com/yalelibrary/yul-dc-management/pull/1207

mikeapp commented 1 year ago

Comments on PR, also created #2514 for future work on the datatable. There are probably additional tickets needed for display of Sierra info on the Parent Object page.

mikeapp commented 1 year ago

"Review on Demo"

MaggieZhaoYale commented 1 year ago

Example of Sierra metadata cloud: https://metadata-api-uat.library.yale.edu/metadatacloud/api/sierra/bib/273496?mediaType=json or https://metadata-api-uat.library.yale.edu/metadatacloud/api/# version/sierra/bib/273496?mediaType=json

sshetenhelm commented 1 year ago

Testing on demo using 'create parent objects' batch process.

Received following error message:

Setup job failed to save: undefined method `siera_json=' for #<ParentObject:0x0000564241660df8> Did you mean? sierra_json= sierra_json sierra_json?

PS - Added 'law' as a set in Demo to keep track of objects

jpengst commented 1 year ago

Oh, whoops! Typo in siera_json :(

jpengst commented 1 year ago

Typo PR: https://github.com/yalelibrary/yul-dc-management/pull/1210

jpengst commented 1 year ago

Trying to test this on demo but Solr seems to be down. Received a 500 Solr error when trying to delete an object. Create Parent Batch Process also reports 500 Solr.

jpengst commented 1 year ago

Testing on demo. Batch fails for undefined method zero?

Image

I think this is being thrown in the sierra_json method for itemID

jpengst commented 1 year ago

PR for itemID check: https://github.com/yalelibrary/yul-dc-management/pull/1217

jpengst commented 1 year ago

bug fix deployed to Demo

sshetenhelm commented 1 year ago

Sierra JSON present for parent created through batch process (no children so no SOLR)

Sierra JSON present for existing parent object attached to Sierra. MOSTLY Sierra metadata displays in Blacklight, HOWEVER under the 'identifiers' section, the Law bib of 273496 make a /10079/bibid handle that points to the Orbis bib of the same number (SEE: 273496 )

jpengst commented 1 year ago

I'm looking at this this morning and noticed this Sierra items Identifier section with the Orbis Record id and link is consistent with other objects Identifier section on the site. Should the Orbis Record number and link be something different?

sshetenhelm commented 1 year ago

If an object has Sierra as its data source:

jpengst commented 1 year ago

PR:
https://github.com/yalelibrary/yul-dc-blacklight/pull/906

Image

jpengst commented 1 year ago

Deployed to Demo

sshetenhelm commented 1 year ago

Yeeessss this is amazing! Looks great on Demo! THANK YOU!