From 466783f7638c9173f08a63d51af2c799c0a63598 Mon Sep 17 00:00:00 2001 From: FrancescoFioraEst Date: Tue, 31 Aug 2021 15:55:59 +0100 Subject: Verify alignment with Definition of TOSCA Control Loop Types Issue-ID: POLICY-3612 Change-Id: I818f80cdc1db98752a7791ef4aba7377add66516 Signed-off-by: FrancescoFioraEst --- .../resources/servicetemplates/KubernetesHelm.yaml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'participant/participant-impl/participant-impl-kubernetes') diff --git a/participant/participant-impl/participant-impl-kubernetes/src/test/resources/servicetemplates/KubernetesHelm.yaml b/participant/participant-impl/participant-impl-kubernetes/src/test/resources/servicetemplates/KubernetesHelm.yaml index 69886cdb1..7d594019a 100644 --- a/participant/participant-impl/participant-impl-kubernetes/src/test/resources/servicetemplates/KubernetesHelm.yaml +++ b/participant/participant-impl/participant-impl-kubernetes/src/test/resources/servicetemplates/KubernetesHelm.yaml @@ -41,9 +41,20 @@ node_types: provider: type: string requred: false - participant_id: + participantType: type: onap.datatypes.ToscaConceptIdentifier requred: true + startPhase: + type: integer + required: false + constraints: + - greater-or-equal: 0 + metadata: + common: true + description: A value indicating the start phase in which this control loop element will be started, the + first start phase is zero. Control Loop Elements are started in their start_phase order and stopped + in reverse start phase order. Control Loop Elements with the same start phase are started and + stopped simultaneously org.onap.policy.clamp.controlloop.ControlLoop: version: 1.0.1 derived_from: tosca.nodetypes.Root @@ -94,9 +105,10 @@ topology_template: description: Control loop element for the K8S microservice for Hello World properties: provider: ONAP - participant_id: + participantType: name: org.onap.k8s.controlloop.K8SControlLoopParticipant version: 2.3.4 + startPhase: 2 uninitializedToPassiveTimeout: 180 podStatusCheckInterval: 30 chart: @@ -115,9 +127,10 @@ topology_template: description: Control loop element for the K8S microservice for PMSH properties: provider: ONAP - participant_id: + participantType: name: org.onap.k8s.controlloop.K8SControlLoopParticipant version: 2.3.4 + startPhase: 2 uninitializedToPassiveTimeout: 180 podStatusCheckInterval: 30 chart: @@ -137,9 +150,10 @@ topology_template: description: Control loop element for the K8S microservice for local chart properties: provider: ONAP - participant_id: + participantType: name: org.onap.k8s.controlloop.K8SControlLoopParticipant version: 2.3.4 + startPhase: 2 uninitializedToPassiveTimeout: 180 podStatusCheckInterval: 30 chart: -- cgit 1.2.3-korg