[MODINVSTOR-143] provide sample data for source marc storage Created: 19/Jul/18  Updated: 03/Nov/23  Resolved: 14/Aug/18

Status: Closed
Project: mod-inventory-storage
Components: None
Affects versions: None
Fix versions: None

Type: Task Priority: P2
Reporter: Jakub Skoczen Assignee: Marc Johnson
Resolution: Done Votes: 0
Labels: core, sprint43, sprint44
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: File 1008673218.mrc.json     File 1008673218.mrcjson     File 101073931X.mrc.json     File 101073931X.mrcjson     File 1010770160.mrc.json     File 1010770160.mrcjson     File 1011162431.mrc.json     File 1011162431.mrcjson     File 1011184508.mrc.json     File 1011184508.mrcjson     File 1011273942.mrc.json     File 1011273942.mrcjson     File 53957015X.mrc.json     File 53957015X.mrcjson     File 643935371.mrc.json     File 643935371.mrcjson     File 727867881.mrc.json     File 727867881.mrcjson     File 858092093.mrc.json     File 858092093.mrcjson     File 880391235.mrc.json     File 880391235.mrcjson    
Issue links:
Relates
relates to UIIN-80 Load one example for each GBV resourc... Closed
relates to FOLIO-1369 include data-loader in testing and sn... Closed
relates to UIIN-203 Implement storage of batch loaded MAR... Closed
relates to MODINVSTOR-26 Implement MARC import v1: extend Inst... Closed
relates to UIIN-93 Display of rich source record stored ... Closed
relates to UIIN-204 Create element for link to source rec... Closed
relates to UIIN-326 Create element for link to source rec... Closed
relates to UXPROD-128 Spec and implement storage of batch l... Closed
Sprint:
Development Team: Other dev

 Description   

This would be a temporary solution to populate source records in the CI envs until FOLIO-1369 Closed is completed.

Julian Ladisch Marc Johnson Wayne Schneider



 Comments   
Comment by Jakub Skoczen [ 26/Jul/18 ]

Julian Ladisch we need sample data of record pairs (FOLIO instance data + marc-in-json).

Comment by Marc Johnson [ 27/Jul/18 ]

Thanks Julian Ladisch for uploading the files, particularly as it was just before you went away.

Comment by Marc Johnson [ 30/Jul/18 ]

I have added 10 out of the 11 records that Julian Ladisch provided. Ready for Wayne Schneider to use in the sample data loading from folio-ansible (which was tested with 2 records on Friday).

The last record (based upon 1011273942.mrcjson fails during the load with the following error:

HTTP/1.1 500 Internal Server Error
ErrorMessage(fields=Map(Position -> 910, Line -> 1087, File -> scan.l, SQLSTATE -> 42601, Routine -> scanner_yyerror, V -> ERROR, Message -> syntax error at or near "17", Severity -> ERROR))

A quick investigation suggests it relates to the single ' characters in some of the properties. Will investigate further.

Comment by Wayne Schneider [ 30/Jul/18 ]

Update to folio-ansible merged, next builds will contain the 10 records added by Marc Johnson.

Comment by Wayne Schneider [ 30/Jul/18 ]

Updated instanceTypeIds in sample data, see https://github.com/folio-org/mod-inventory-storage/pull/138. Feel free to merge if it looks ok.

Comment by Wayne Schneider [ 30/Jul/18 ]

Changes to instanceTypeId merged

Comment by Marc Johnson [ 14/Aug/18 ]

It appears the changes made for MODINVSTOR-144 Closed also resolve the failure when importing the record above. Have re-included it in the set of sample records to load as part of the pull request for MODINVSTOR-144 Closed and will close this when that is merged

Generated at Thu Feb 08 23:12:46 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.