multiscale-cosim / EBRAINS-cosim

EBRAINS-cosim
Other
5 stars 0 forks source link

2.0, 2.1, 2.2, 2.3 Separation of Concerns: The state-machine and the rest of orchestration #87

Open mfahdaz opened 2 years ago

mfahdaz commented 2 years ago
Aspect Detail
Summary Separate the concerns by moving state machine related business logic from core orchestration functionality
Task Area Development, Update, Enhancement
Assignee
Information
Prerequisites
Dependencies

Summary

The workflow itself and the each of MS Cosim component goes through different states such as READY, SYNCHRONIZING, RUNNING etc. during their execution lifecycle. On component level, the states are termed local states and on workflow level they are termed as global states.

There are business rules to govern the state transitions and their validity. Currently, the rules and the observers are mixed to some extent with other functionality. It should be moved to one place to separate the concerns and to have a single controller.

Tasks

Requirements

Acceptance criteria

w-klijn commented 2 years ago

Design Fahad