Handle Archivematica actual failure
-
In case Archivematica returns that the process actually failed we should retry couple of times and then propagate it to the source if it's available.
-
How to: on failed status query the executed jobs and find the one that failed, extract the failed step and send a notification for example to new CDS with this information.
-
In the notification status can be failed "F" and description can be added : https://github.com/inveniosoftware/invenio-preservation-sync/blob/master/invenio_preservation_sync/models.py
Edited by Panna Liptak