-
Sub-task
-
Resolution: Done
-
High
-
None
-
None
-
Policy 12/7-26/7, Policy 28/7-17/9
Implement and unit test the supervision, retry, timeout, and reporting for all Participant message dialogues.
Please refer to the following Wiki pages:
https://wiki.onap.org/display/DW/System+Level+Dialogues
https://wiki.onap.org/display/DW/The+CLAMP+Control+Loop+Participant+Protocol
Please be aware of the addition of a "start_phase" in the Control Loop Element. take this into account in the design, see lines 46 to 50 in:
https://github.com/onap/policy-clamp/blob/master/common/src/main/resources/tosca/ControlLoopTOSCAServiceTemplateTypes.yaml
Also take care of this issue
Introduce a timeout variable in ToscaServiceTemplate or in Participant to wait for a certain time for participant to comeup, or turn to PASSIVE. If participant does-not come up after the wait time, UNINITIALIZE the control loop.
This subtask is created to handle the TODO added for this logic in SupervisionHandler.java
@Override
public void startAndRegisterPublishers(List<TopicSink> topicSinks) {
// TODO: Use a parameter for the timeout
Handle the timeout added in above file.
- is blocked by
-
POLICY-3463 Convert Control Loop components to Spring and Supervision refactor
- Closed