You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Events captured by the Bridge as part of the snapshot's history (CURRENT)

EventData*

Initiated By

Snapshot Complete

alternateIds: ['id1', 'id2', 'id3',...]

TODO: add snapshot-action: SNAPSHOT_COMPLETE method

Intake Service
Request Restore Snapshot

initiating-user: <user email>

restore-action: RESTORE_REQUESTED

Bridge
Restore Initiated

restore-id: <restore-id>

restore-action: RESTORE_INITIATED

user-email: <request initiating user email>

Bridge
Restore Completed

restore-id: <restore-id>

restore-action: RESTORE_COMPLETED

expiration-date: yyyy-MM-dd


Bridge
Restore Expired

restore-id: <restore-id>

restore-action: RESTORE_EXPIRED

Bridge

*All events have a date stamp associated with them.

Additionally, nodes can append node specific events to the snapshot history at any time  via the /snapshot/{snapshot-id}/history  REST call.

Events captured by the Bridge Intake Service (CURRENT)

The failure of a DPN transfer isn't captured, but could be. Also, the event name is hidden from the user so these look quite cryptic in the displayed history.

Event
Data
Initiated By
Bagging Completed
  • name: UUID of the bag
  • receipt: sha256sum of the bag's tagmanifest
Intake
Transfer to DPN Node
  • name: UUID of the bag
  • node: the name of the replicating node
Intake

Actions we should be capturing in snapshot history (TO DO)

EventData*

Initiated By

Snapshot Initiated
  • snapshot-action: SNAPSHOT_INITIATED
  • user-email: (or user-id:)
  • snapshot-id: <snapshot-id>
Bridge
Snapshot Transfer to Chronopolis Complete
  • snapshot-action: SNAPSHOT_STAGED
  • snapshot-id: <snapshot-id>
Bridge
Bagging Completed
  • snapshot-action: SNAPSHOT_BAGGED
  • bag-ids: <list of bag IDs>
  • manifest-checksum: <sha256sum of tag manifest>
  • snapshot-id: <snapshot-id>
Intake Service
Snapshot Replication to DPN Nodes
  • snapshot-action: SNAPSHOT_REPLICATED
  • bag-ids: <list of bag IDs>
  • node: <node name or ID>
  • snapshot-id: <snapshot-id>
Intake Service
Snapshot Complete
  • snapshot-action: SNAPSHOT_COMPLETE
  • alternate-ids: <list of bag IDs>
  • snapshot-id: <snapshot-id>

Call to complete snapshot made by Intake Service

Event captured by Bridge

Snapshot Bit Integrity Check Complete
  • snapshot-action: BIT_INTEGRITY_CHECK
  • result: <SUCCESS or FAILURE>
  • snapshot-id: <snapshot-id>
ACE webhook?

Bridge status events which are not captured in snapshot history

EventDataWho/What Initiates It
Transfer to Bridge Complete* Bridge System
Transfer to Bridge Failed* Bridge System
Verification of DuraCloud to Bridge transfer succeeded* Bridge System
Verification of DuraCloud to Bridge transfer failed* Bridge System
Transfer to DPN failed* DPN Node
Transfer from DPN succeeded* DPN Node

Transfer to DuraCloud failed*

 Bridge System
Transfer to DuraCloud succeeded* Bridge System
Verification of DPN to bridge transfer succeeded* Bridge System
Verification of DPN to bridge transfer failed* Bridge System
Verification of Bridge to DuraCloud transfer succeeded* Bridge System
Verification of Bridge to DuraCloud transfer succeeded* Bridge System
Bridge to DPN transfer in progress DPN Node
DPN to Bridge transfer in progress DPN Node

*Currently captured transiently in the status field, but not included in snapshot history

  • No labels