Done
Details
Assignee
Mariia_SychovaMariia_SychovaReporter
Pavlo SmahinPavlo SmahinLabels
Priority
P3Story Points
1Sprint
NoneDevelopment Team
SpitfireRelease
Morning Glory (R2 2022)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Mariia_Sychova
Mariia_SychovaReporter
Pavlo Smahin
Pavlo SmahinLabels
Priority
Story Points
1
Sprint
None
Development Team
Spitfire
Release
Morning Glory (R2 2022)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created May 5, 2022 at 12:18 PM
Updated June 24, 2022 at 10:34 AM
Resolved May 13, 2022 at 2:28 PM
Overview
Several changes were made for holdings update and create actions in quickMarc:
Response for POST /records-editor/records and PUT /records-editor/records was changed.
Both of them now respond with a status of the action.
Changes in schema:
qmRecordId -> actionId
status.CREATED -> status.COMPLETED
Example of new response:
{ "actionId": "c9db5d7a-e1d4-11e8-9f32-f2801f1b9fd1", "externalId": "c56b70ce-4ef6-47ef-8bc3-c470bafa0b8c", "marcId": "55a76b7b-841d-45b9-9e64-d0827b9e2480", "jobExecutionId": "c56b70ce-4ef6-47ef-8bc3-c470bafa0b8c", "marcFormat": "HOLDINGS", "actionType": "UPDATE", "status": "COMPLETED", "errorMessage": "Failed to create instance", "metadata": { "createdAt": "2020-07-14T12:20:10.000", "updatedAt": "2020-07-14T12:20:10.000" } }
Requirements
Apply schema changes to create MARC holdings
Apply response changes to update MARC holdings and use GET /record-editor/records/status?actionId=<id> to be aware when record update is succeed or failed.