Automate the collection deletion process
Related to #176 (closed), audit-control-environment#80, audit-control-environment#81, audit-control-environment#82, https://ucsdlibrary.atlassian.net/browse/TDX-599
What are this MR suggest to do?
Automate the process of collection deletion process:
- Add new REMOVED status for replications to flag REMOVED collections on ACE.
- Setup cron job to run periodically.
- Check for REMOVED state collections on ACE.
- Retrieve all replications that a collection has and update its status to be REMOVED if files were deleted already.
- Update the collection's status to be DELETED if all replications have REMOVED status.
Screenshots:
Edited by Longshou Situ