Is your feature request related to a problem? Please describe.
Enduro provides a status for workflows but not for packages. This hasn't really been a problem, but as we complete the analysis for an AIP deletion workflow (#1076) it seems desirable to include a DELETED status for an AIP. As it is, if a package is deleted then the package's workflow status would be updated to DONE, but a user would have to click into the package detail page and review the deletion workflow to see that it has in fact been deleted.
In order to be a one-stop source of information about an institution's preserved holdings, Enduro should maintain a record of all SIPs that have been processed, including those that are deleted. By glancing at the packages table, a user should be able to see if a package is stored, in progress/processing, or deleted.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
Add a package attribute for status, with the following:
PROCESSING - the package is being used in an active workflow
STORED - the package has been successfully processed and sent to the final storage location
DELETED - the package has been removed from the system
FAILED - the workflow errored out and the package could not be stored/deleted <-- this status needs opinions
Describe alternatives you've considered
We considered whether or not we could repurpose the locations column to indicate that the package has been deleted, since the deleted package's location would now be blank. However, this seems a little messy.
Is your feature request related to a problem? Please describe.
Enduro provides a status for workflows but not for packages. This hasn't really been a problem, but as we complete the analysis for an AIP deletion workflow (#1076) it seems desirable to include a
DELETED
status for an AIP. As it is, if a package is deleted then the package's workflow status would be updated toDONE
, but a user would have to click into the package detail page and review the deletion workflow to see that it has in fact been deleted.In order to be a one-stop source of information about an institution's preserved holdings, Enduro should maintain a record of all SIPs that have been processed, including those that are deleted. By glancing at the packages table, a user should be able to see if a package is stored, in progress/processing, or deleted.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
Add a package attribute for status, with the following:
PROCESSING
- the package is being used in an active workflowSTORED
- the package has been successfully processed and sent to the final storage locationDELETED
- the package has been removed from the systemFAILED
- the workflow errored out and the package could not be stored/deleted <-- this status needs opinionsDescribe alternatives you've considered
We considered whether or not we could repurpose the locations column to indicate that the package has been deleted, since the deleted package's location would now be blank. However, this seems a little messy.