Details
-
Story
-
Status: Draft (View Workflow)
-
TBD
-
Resolution: Unresolved
-
None
-
None
-
-
5
-
Spitfire
-
Quesnelia (R1 2024)
-
TBD
Description
Purpose
To have the ability to securely track the current HRID state for each authority local file. We should implement sequence number generation mechanism.
Approach
- New endpoint to catch-up authority current hrid information is presented
POST: /authority-source-files/{id}/hrid
Description: No request body. Endpoint should return current HRID value by authority file id and increment the next one.
- Extend AuthoritySourceFileHridManager to work with sequences
- Create sequence for authority local file after validation (pattern: '{tenant}_hrid_authority_local_file_{prefix}_seq')
See example hrid settings
- Update sequence name for authority local file if prefix was updated
- Drop sequence for authority local file after deletion
- Return hrid on request
- Retrieve next value from localFile sequence
- Format next value to NaturalId(HRID) format
Acceptance criteria
- Covered by unit tests
- Module documentation updated
- Logging is well-defined
TestRail: Results
Attachments
Issue Links
- defines
-
MODQM-311 SPIKE: Investigate feasibility of local authority source support
-
- Closed
-
-
UXPROD-3910 Create a MARC authority record via quickMARC UI
-
- Draft
-
- has to be done after
-
MODELINKS-123 Local Authority Files: Validate file creation
-
- Draft
-
- has to be done before
-
MODQM-322 Local Authority Files: Replace 001 sourceFileId with an available hrid
-
- Draft
-
- mentioned in
-
Page Loading...