You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The process for constructing operations involves creating JSON files and sending them with POST requests to the ION server. Currently these are managed manually.
Similar to the KeyManager, an OperationManager trait would be of benefit.
For example:
traitOperationManager{/// Saves operation to operation store.fnsave(&self,op:Operation,operation_type:OperationType) -> Result<(),OperationManagerError>;/// Reads operation from operation store.fnread(&self,operation_type:OperationType) -> Result<Operation,OperationManagerError>;/// Sends operation to ION server.fnpublish(&self,operation_type:OperationType) -> Result<(),OperationManagerError>;/// Restores operation from backup.fnrestore(&self,operation_type:OperationType) -> Result<(),OperationManagerError>;}enumOperationType{Create,Update,Deactivate,Recovery,Attest,}implOperationManagerforIONController{}
The identification of operations should be aligned with unique identifiers used for storage in ION's mongodb so that quick lookups can be performed to confirm publication events and also provide a unique index.
The process for constructing operations involves creating JSON files and sending them with POST requests to the ION server. Currently these are managed manually.
Similar to the
KeyManager
, anOperationManager
trait would be of benefit.For example:
The identification of operations should be aligned with unique identifiers used for storage in ION's mongodb so that quick lookups can be performed to confirm publication events and also provide a unique index.
Two related issues are #14 and #33.
The text was updated successfully, but these errors were encountered: