Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Latest commit

 

History

History

2022-06-15-state-machine

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

State Machine

Decision

The participant lifecycle is managed in the registration service using a state machine. The state machine is operated in such a way that domain objects are loaded from storage, processed and then put back into storage to make the registration service runtime stateless.

The EDC state machine module is used to implement the state machine.

Rationale

The registration service enrollment endpoint onboards new participant asynchronously and during this processing a participant goes through different states.

In simple scenarios, enrollment could be fast and fully automated. However, in advanced scenarios, enrollment policies could require interactions with external systems, and even manual processes. Therefore, it is implemented asynchronously.