aboutsummaryrefslogtreecommitdiffstats
path: root/csit/resources/tests/data
diff options
context:
space:
mode:
authorFrancescoFioraEst <francesco.fiora@est.tech>2024-08-08 08:50:00 +0100
committerFrancesco Fiora <francesco.fiora@est.tech>2024-08-13 12:42:46 +0000
commit6d271b3f544a668bc895c977a38d2b2fb1cf5957 (patch)
treed3ac6f13272215ef6c5c81e681ab6a433553d0d4 /csit/resources/tests/data
parent85428a6302a499db4fa000e575fdcf72a1ea0f83 (diff)
Allow migration to be performed in stages in CSIT
Issue-ID: POLICY-5093 Change-Id: I54faa8400981c7200e5289b08928770704419a3a Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'csit/resources/tests/data')
-rw-r--r--csit/resources/tests/data/ac-definition-migration-from.yaml8
-rw-r--r--csit/resources/tests/data/ac-definition-migration-to.yaml8
2 files changed, 16 insertions, 0 deletions
diff --git a/csit/resources/tests/data/ac-definition-migration-from.yaml b/csit/resources/tests/data/ac-definition-migration-from.yaml
index 273cfec3..f11b174c 100644
--- a/csit/resources/tests/data/ac-definition-migration-from.yaml
+++ b/csit/resources/tests/data/ac-definition-migration-from.yaml
@@ -57,6 +57,11 @@ node_types:
first start phase is zero. Automation Composition Elements are started in their start_phase order and stopped
in reverse start phase order. Automation Composition Elements with the same start phase are started and
stopped simultaneously
+ stage:
+ type: list
+ description: A list indicating the stages in which this automation composition element will be started, the
+ first stage is zero. Automation Composition Elements are started in their stage order.
+ Automation Composition Elements with the same stage are started simultaneously.
org.onap.policy.clamp.acm.AutomationComposition:
version: 1.0.1
@@ -118,6 +123,7 @@ topology_template:
properties:
provider: ONAP
startPhase: 0
+ stage: [1,2]
onap.policy.clamp.ac.element.Sim_BridgeAutomationCompositionElement:
version: 1.2.3
@@ -127,6 +133,7 @@ topology_template:
properties:
provider: ONAP
startPhase: 0
+ stage: [0,1]
onap.policy.clamp.ac.element.Sim_SinkAutomationCompositionElement:
version: 1.2.3
@@ -136,6 +143,7 @@ topology_template:
properties:
provider: ONAP
startPhase: 0
+ stage: [0,2]
onap.policy.clamp.ac.element.AutomationCompositionDefinition:
version: 1.2.3
diff --git a/csit/resources/tests/data/ac-definition-migration-to.yaml b/csit/resources/tests/data/ac-definition-migration-to.yaml
index 5a5b57e4..179fe11c 100644
--- a/csit/resources/tests/data/ac-definition-migration-to.yaml
+++ b/csit/resources/tests/data/ac-definition-migration-to.yaml
@@ -57,6 +57,11 @@ node_types:
first start phase is zero. Automation Composition Elements are started in their start_phase order and stopped
in reverse start phase order. Automation Composition Elements with the same start phase are started and
stopped simultaneously
+ stage:
+ type: list
+ description: A list indicating the stages in which this automation composition element will be started, the
+ first stage is zero. Automation Composition Elements are started in their stage order.
+ Automation Composition Elements with the same stage are started simultaneously.
org.onap.policy.clamp.acm.AutomationComposition:
version: 1.0.1
@@ -118,6 +123,7 @@ topology_template:
properties:
provider: ONAP
startPhase: 0
+ stage: [1,2]
onap.policy.clamp.ac.element.Sim_BridgeAutomationCompositionElement:
version: 1.2.4
@@ -127,6 +133,7 @@ topology_template:
properties:
provider: ONAP
startPhase: 0
+ stage: [0,1]
onap.policy.clamp.ac.element.Sim_NewAutomationCompositionElement:
version: 1.2.4
@@ -136,6 +143,7 @@ topology_template:
properties:
provider: ONAP
startPhase: 0
+ stage: [0,2]
onap.policy.clamp.ac.element.AutomationCompositionDefinition:
version: 1.2.4