MARC Authority - Phase 1 Features (UXPROD-2944)

[MODSOURCE-477] Configure job to delete authority records Created: 11/Mar/22  Updated: 27/Jun/22  Resolved: 31/Mar/22

Status: Closed
Project: mod-source-record-storage
Components: None
Affects versions: None
Fix versions: 5.4.0
Parent: MARC Authority - Phase 1 Features

Type: Story Priority: P3
Reporter: Igor Gorchakov Assignee: Igor Gorchakov
Resolution: Done Votes: 0
Labels: back-end, epam-spitfire
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: PNG File Screenshot 2022-03-31 at 11.04.55.png     Text File mod-source-record-storage.log    
Issue links:
Defines
defines UXPROD-3517 Delete MARC authority records via UI Closed
Gantt End to Start
has to be done after MODSOURCE-459 Delete authority record via user inte... Closed
Requires
is required by MODQM-202 Verify and merge Authority delete fea... Closed
Sprint: Spitfire Sprint 136
Story Points: 5
Development Team: Spitfire
Release: Morning Glory (R2 2022)
Epic Link: MARC Authority - Phase 1 Features

 Description   

Overview

 Now the Job is created and runs every day and purges all the 'deleted' records by the fixed schedule. In this story, we have to apply some adjustments and configure the Job

Approach

1) Restrict the Job to purge only records that were marked 'deleted' more than 7 days back;
2) Restrict the Job to purge only a limited pre-defined number of records;

Acceptance criteria

 The new functionality is implemented and covered by unit tests



 Comments   
Comment by Igor Gorchakov [ 31/Mar/22 ]

Verified on folio-snapshot2. Captured the logs mod-source-record-storage.log

The cleanup job starts at midnight as designed 

Generated at Fri Feb 09 00:33:24 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.