MARC Authority - Phase 1 Features
(UXPROD-2944)
|
|
| Status: | Closed |
| Project: | mod-entities-links |
| Components: | None |
| Affects versions: | None |
| Fix versions: | 3.0.0 | Parent: | MARC Authority - Phase 1 Features |
| Type: | Story | Priority: | P3 |
| Reporter: | Khalilah Gambrell | Assignee: | Pavlo Smahin |
| Resolution: | Done | Votes: | 0 |
| Labels: | back-end, epam-spitfire, release-notes-required, testing | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||||||||||||||||||
| Issue links: |
|
||||||||||||||||||||||||||||||||||||||||
| Sprint: | Spitfire Sprint 182, Spitfire Sprint 183 | ||||||||||||||||||||||||||||||||||||||||
| Story Points: | 2 | ||||||||||||||||||||||||||||||||||||||||
| Development Team: | Spitfire | ||||||||||||||||||||||||||||||||||||||||
| Release: | Quesnelia (R1 2024) | ||||||||||||||||||||||||||||||||||||||||
| Epic Link: | MARC Authority - Phase 1 Features | ||||||||||||||||||||||||||||||||||||||||
| Back End Estimator: | Khalilah Gambrell | ||||||||||||||||||||||||||||||||||||||||
| Description |
|
Background: There are some libraries that do not want authority records to be purged (IOW hard delete). Requirements:
Use case 1: Given my tenant is setup to Never purge When I delete an authority record Then it should never return in search result AND the record and all versions should remain in SRS AND if connected mod-inventory storage record should remain too AND Both authority records (mod-inventory-storage and SRS) should also have the state = Deleted
Use case 2: Given my tenant is setup to purge after 1000 days When I delete an authority record Then it should never return in search result AND the record and all versions should remain in SRS for 1000 days then purge AND if connected mod-inventory storage record should remain for 1000 then purge AND Both authority records (mod-inventory-storage and SRS) should also have the state = Deleted
Additional detailsConfiguration/Settings:
Dependencies:
Data Management:
Data Usage:
|
| Comments |
| Comment by Pavlo Smahin [ 26/May/23 ] |
|
Khalilah Gambrell, what does "if applicable" mean? In which cases it could be applicable or not? |
| Comment by Pavlo Smahin [ 26/May/23 ] |
|
There is related discoverings exists for instances: https://folio-org.atlassian.net/wiki/display/DD/Mark+instance+for+deletion |
| Comment by Khalilah Gambrell [ 28/May/23 ] |
|
Hey Pavlo Smahin
|
| Comment by Pavlo Smahin [ 15/Jun/23 ] |
|
Kalibek Turgumbayev, I believe that this required SA work. |
| Comment by Khalilah Gambrell [ 16/Jun/23 ] |
|
Hey Kalibek Turgumbayev - you may want to discuss approach with Raman Auramau as he is working on a platform wide approach for handling deletes and has design for handling instances that could mirror how we address soft-deletes for authority records. |
| Comment by Pavlo Smahin [ 16/Jun/23 ] |
|
Khalilah Gambrell, several questions based on discussion with Kalibek and Raman: Configuration/Settings:
Dependencies:
Data Management:
Data Usage:
|
| Comment by Khalilah Gambrell [ 18/Jun/23 ] |
|
Pavlo Smahin - added details to the user story. |
| Comment by Viacheslav Kolesnyk [ 05/Oct/23 ] |
|
Should be implemented after "Authority delete" feature. Clarify if this should be a tenant initialization parameter |
| Comment by Khalilah Gambrell [ 17/Oct/23 ] |
|
Per October 16th discussion: May just support an environment variable as only one library is requesting the need to keep deleted authority records forever. Will be further defined in technical design. cc: Kalibek Turgumbayev and Pavlo Smahin and Viacheslav Kolesnyk |
| Comment by Khalilah Gambrell [ 26/Oct/23 ] |
|
Hey Pavlo Smahin - Can I close this story? |
| Comment by Valery_Pilko [ 10/Jan/24 ] |
|
During testing on https://folio-dev-spitfire-diku.ci.folio.org/, we figured out that the following error appears when module tries to get changed "retentionInDays" value from endpoint "/settings/entries".
Caused by: feign.FeignException$InternalServerError: [500 Internal Server Error] during [GET] to [http://settings/entries?query=scope%3Dauthority-storage%2520AND%2520key%3Dauthority-archives-expiration&limit=10000] [SettingsClient#getSettingsEntries(String,int)]: [Unsupported CQL index: authority-storage%20AND%20key]
|
| Comment by Valery_Pilko [ 11/Jan/24 ] |
|
Re-tested on https://folio-dev-spitfire-diku.ci.folio.org/ after Pavlo's fix - works as expected
Test 2 (ECS): 2) Two linked "MARC authority" records (Local and Shared) exist. 3) Both records were deleted. 4) After 2 days only local "MARC authority" record is deleted from "SRS " module
Test 3 (ECS): 2) Right after "RetentionInDays" parameter to "1" day in Central tenant, shared record was deleted from "SRS" module, because it was deleted on UI 2 days ago. |