How startPhase is currently implemented
Example using the Demo. The table below shows the startPhase for each Composition Definition Element
Composition Definition Element | startPhase |
---|---|
onap.policy.clamp.ac.element.Policy_AutomationCompositionElement | 0 |
onap.policy.clamp.ac.element.K8S_StarterAutomationCompositionElement | 0 |
onap.policy.clamp.ac.element.K8S_BridgeAutomationCompositionElement | 0 |
onap.policy.clamp.ac.element.K8S_SinkAutomationCompositionElement | 0 |
onap.policy.clamp.ac.element.Http_StarterAutomationCompositionElement | 1 |
onap.policy.clamp.ac.element.Http_BridgeAutomationCompositionElement | 1 |
onap.policy.clamp.ac.element.Http_SinkAutomationCompositionElement | 1 |
The diagram below shows the flow of messages:Note:
- 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