bcgov / aries-vcr

Hyperledger Aries Verifiable Credential Registry (VCR) is a set of application level software components designed to accelerate the adoption of trustworthy entity to entity communications.
Apache License 2.0
78 stars 67 forks source link

Define indy cat agent handler lifecycle #8

Closed nrempel closed 5 years ago

nrempel commented 5 years ago

Ideally, the lifecycle is consistent between all handler types.

nrempel commented 5 years ago

At present, our lifecycle mirrors the state transitions of various message handlers.

for example: https://github.com/bcgov/indy-catalyst/blob/master/agent/indy_catalyst_agent/messaging/credentials/models/credential_exchange.py

Some more complicated message families maintain this state object.

Webhooks are sent to a subscriber on every transition.