...
- startPhase is configured in composition definition element and defines the order of execution of instance elements;
- Any instance element is executed only once;
- All instance elements whit same startPhase are executed at same time in parallel;
- startPhase is used by deploy and unlock; startPhase in reverse order is used by lock, undeploy and delete;
Alternative flow with
...
"stage"
To maintain the backward compatibility, we are introducing a new property stepPhasestage.
Minimal support for
...
stage:
- Still valid the startPhase definition for backward compatibility;
- stepPhase stage is configured in composition definition element;
- stepPhase stage is applied only for migrate operation;
- Any instance element could be executed more then one time;
- All instance elements whit same stepPhase stage are executed at same time in parallel;
Example of composition definition element stepPhase stage property:
Code Block | ||
---|---|---|
| ||
properties: stepPhase stage: [0,2] |
Default value set to 0.
Full support for
...
stage:
- Still valid the startPhase definition for backward compatibility;
- Using startPhase and stepPhase stage in a composition definition is not valid;
- stepPhase stage is configured in composition definition element;
- Any composition definition element could have different sptePhase for each operation: for example the order for deploy could different for migrate;
- Any instance element could be executed more then one time;
- All instance elements whit same stepPhase stage are executed at same time in parallel;
- stepPhase stage has not reversal order.
Example of composition definition element stepPhase stage property:
Code Block | ||
---|---|---|
| ||
properties: stepPhase stage: - deploy: [0,1] - migrate: [0,2] - undeploy: [1] - delete: [1] |
All not defined operations will be set to 0.
Example of
...
stage
The table below shows the stepPhase stage for each Composition Definition Element:
Participant | Composition Definition Element | stepPhasestage |
---|---|---|
SEF | A1 | 0, 2 |
SEF | A2 | 0, 2 |
CNLCM | B | 1 |
...