Orchestrator
The Orchestrator is the heart of the microservices saga implemented in U4EK. It is responsible for the execution of Flows: when it receives an event from a Trigger, it retrieves the the definition of the declarative flow, which contains the necessary information to know which actions to call, and run it. Once a flow is started, the Orchestrator ensures that at each step, the output from one Action is transformed to the input format of the next Action, as defined in the flow definition, before executing it.
Orchestrator considers a flow finished when one of the following conditions are true:
- There are no more actions to execute
- A filter does not match the defined conditions
- An Stop Execution action is reached
- A step produces an error