...
- The Repository manager selects an object to be restored from preservation storage
- The Repository calls the Gateway POST Object Restore endpoint for the object to be restored
- The Gateway resolves the object into a set of files to be restored
- The Gateway calls the Bridge Restore Content endpoint with the list of files to be restored
- The Bridge initiates a restore action for all files in the delete account restore request and creates a directory in Bridge staging storage for the restored files
- The DDP calls the Bridge List Restores endpoint on a regular schedule to check for new restore requests
- The DDP copies each file in the restore request to the specified directory in Bridge staging storage
- When all files have been copied into Bridge staging storage the DDP calls the Bridge Complete Restore endpoint to inform the Bridge that the restored files are available
- The Bridge validates that all file checksums match the checksums provided in the restore request (when checksums are provided)
- The Bridge updates the status of the restore action to "STAGED_FOR_RESTORE"
- The Gateway calls the Bridge Restore Status endpoint on a regular basis to determine if the status of the restore is "STAGED_FOR_RESTORE"
- The Gateway calls the Bridge Get Restored Content endpoint for each file in the restore request and stores each file in the Gateway staging storage
- The Gateway updates the repository (method TBD) with the restored files
- The Gateway updates the repository (method TBD) to indicate that the object has been successfully restored
Notes
- This flow would be more consistent with the deposit and delete flows if files were references as part of a filegroup/object rather than as independent entities.
Audit
Flow
- The Repository manager selects an object and requests a preservation audit history
- The Repository calls the Gateway GET Object Audit endpoint for the object
- The Gateway calls the Bridge Get Audit History endpoint, specifying the object ID as the filegroup identifier
- The Bridge gathers audit data for the given filegroup and associated files from its internal data store and responds to Gateway with the requested audit history data
- The Gateway translates the Bridge audit data into a format familiar to the repository and responds to the Repository request
- The Repository displays the audit data to the Repository manager
...