Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

EventData*

Initiated By

Implementation Status
Snapshot Complete

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

TODO: add snapshot-action: SNAPSHOT_COMPLETE method

Intake ServiceTo be updated (see below)
Request Restore Snapshot

initiating-user: <user email>

restore-action: RESTORE_REQUESTED

Bridge(tick) done
Restore Initiated

restore-id: <restore-id>

restore-action: RESTORE_INITIATED

user-email: <request initiating user email>

Bridge(tick) done
Restore Completed

restore-id: <restore-id>

restore-action: RESTORE_COMPLETED

expiration-date: yyyy-MM-dd


Bridge(tick) done
Restore Expired

restore-id: <restore-id>

restore-action: RESTORE_EXPIRED

Bridge(tick) done

*All events have a date stamp associated with them.

...

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
Implementation Status
Bagging Completed
  • name: UUID of the bag
  • receipt: sha256sum of the bag's tagmanifest
IntakeTo be updated (see below)
Transfer to DPN Node
  • name: UUID of the bag
  • node: the name of the replicating node
IntakeTo be updated (see below)

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

EventData*

Initiated By

Implementation Status
Snapshot Initiated
  • snapshot-action: SNAPSHOT_INITIATED
  • user-email: (or user-id:)
  • snapshot-id: <snapshot-id>
BridgeTBD: Bill Branan
Snapshot Transfer to Chronopolis Complete
  • snapshot-action: SNAPSHOT_STAGED
  • snapshot-id: <snapshot-id>
BridgeTBD: Bill Branan
Bagging Completed
  • snapshot-action: SNAPSHOT_BAGGED
  • bag-ids: <list of bag IDs>
  • manifest-checksum: <sha256sum of tag manifest>
  • snapshot-id: <snapshot-id>
Intake ServiceTBD: Michael Ritter
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 ServiceTBD: Michael Ritter
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

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

Bridge status events which are not captured in snapshot history

...