Done
Details
Assignee
Viacheslav KolesnykViacheslav KolesnykReporter
Shans KaluhinShans KaluhinLabels
Priority
TBDStory Points
5Sprint
NoneDevelopment Team
SpitfireRelease
Poppy (R2 2023)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Viacheslav Kolesnyk
Viacheslav KolesnykReporter
Shans Kaluhin
Shans KaluhinLabels
Priority
Story Points
5
Sprint
None
Development Team
Spitfire
Release
Poppy (R2 2023)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created June 29, 2023 at 10:46 AM
Updated December 21, 2023 at 4:45 PM
Resolved July 16, 2023 at 7:42 PM
Purpose/Overview:
Current renovation process ran into 2 issues:
Optimistic locking problem with inventory version conflict (with initial bib update and renovate bib update)
"Record not found" when UI request for GET record after updating it happens at the same time as bib record is being updated by renovation process
Requirements/Scope:
UI will use "links suggestions" endpoint to fill bib record with actual authority data and pass to quickMarc. No changes to quickMarc logic. Remove renovation process as we treat data to be actual because of "links suggestions" call from UI.
Approach:
Extend "links suggestions" with some flag so it can search authorities by authorityId or naturalId based on provided flag value (for our case we need to search by authorityId)
Move "renovation" logic to a separate method so PUT endoint behave like before and renovation logic preserved for later purposes
Acceptance criteria:
"links suggestions" endpoint can work with authorityId instead of naturalId
renovation process doesn't happen for links PUT endpoint
Unit tests are created/updated