Note: Colors indicate where calls to a particular interface method will originate. For example, a method in the bridge API is green if the calls to that method are made from a Snapshot Storage Provider Task. A method in the bridge API is red if the calls to that method are made from Chronopolis. DuraCloud UI (DurAdmin)- <No additional API calls>
Snapshot Storage Provider Tasks- Create snapshot (spaceID, storeID)
- create snapshot properties file, store it in space
- space transitioned to read only
- call made to bridge API to create snapshot
- Get snapshot status (snapshot ID)
- call made to bridge for status
- Snapshot cleanup (spaceID)
- set bucket deletion policy
- Snapshot complete (spaceID)
- remove bucket deletion policy
- Get list of snapshots
- call to bridge for snapshot list, formats results
- Get list of content items (snapshot ID, offset, maxresults)
- call to bridge for content item list
- Restore snapshot (snapshot ID, storeID)
- verify that a restore is not already in place
- create a space for the snapshot to be placed into
- call to bridge to restore
- Get restore status (snapshot ID)
- call made to bridge for status
Bridge API- Create snapshot (host, port, spaceID, storeID, snapshotID)
- create snapshot db entry
- copy content to bridge storage
- create a manfitest for content
- notify chronopolis that snapshot is ready for storage
- Get snapshot details (host, port, snapshot ID)
- query snapshot status from the db (and from chronopolis, depending on status)
- Snapshot complete (snapshot ID, alternate IDs)
- delete content in bridge storage
- call task to indicate that snapshot is complete
- notify end user that snapshot is complete
- Get list of snapshots (host)
- Queries db for snapshot list available to host
- Get list of content items (snapshot ID, offset, maxresults)
- Queries db for content item list for the given snapshot ID
- Add Snapshot History (snapshotID or alternateID, history details)
- Attaches a new history event to a snapshot
- List Snapshot History (snapshotID, pageNumber, pageSize)
- Queries db for all history events associated with a snapshot
- Restore snapshot (host, port, spaceID, storeID, snapshot ID)
- create restore db entry
- create a directory on bridge storage
- requests restore from chronopolis
- Restore complete (restoration ID)
- copy content to Duracloud
- update content metadata
- verify restored content
- delete content on bridge
- notify end user that restore is complete
- Get restore details (restoration ID)
- query restore status from the db (and from chronopolis, depending on status)
Chronopolis API- Store snapshot (snapshot ID, bridge storage path)
- Get snapshot status (snapshot ID)
- Restore snapshot (snapshot ID, bridge storage path)
- Get restore status (snapshot ID)
|