summaryrefslogtreecommitdiffstats
path: root/participant/participant-impl/participant-impl-kubernetes
diff options
context:
space:
mode:
authorFrancescoFioraEst <francesco.fiora@est.tech>2021-08-31 15:55:59 +0100
committerFrancesco Fiora <francesco.fiora@est.tech>2021-09-01 12:03:42 +0000
commit466783f7638c9173f08a63d51af2c799c0a63598 (patch)
tree9a17bdd1b3d4895bb771bdcd29222c50c405c9a7 /participant/participant-impl/participant-impl-kubernetes
parentbd376e1dd5e8ccb1893ef244dcd9e4b1a0686150 (diff)
Verify alignment with Definition of TOSCA Control Loop Types
Issue-ID: POLICY-3612 Change-Id: I818f80cdc1db98752a7791ef4aba7377add66516 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'participant/participant-impl/participant-impl-kubernetes')
-rw-r--r--participant/participant-impl/participant-impl-kubernetes/src/test/resources/servicetemplates/KubernetesHelm.yaml22
1 files changed, 18 insertions, 4 deletions
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: