summaryrefslogtreecommitdiffstats
path: root/src/test/resources/tosca/operational-policy-payload.yaml
diff options
context:
space:
mode:
authorXue Gao <xg353y@intl.att.com>2019-04-05 14:34:04 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-05 14:34:04 +0000
commita9f66923cddf2263ebbeb24825b95875c6932281 (patch)
tree6253fdfebe8dfa8e41d74461a4a4253edf5c2085 /src/test/resources/tosca/operational-policy-payload.yaml
parent8ca701623868f201f4248131ff7a5b26f547385d (diff)
parentdfa86ca8a3d8380487261da22cbf582b547e3276 (diff)
Merge "Introduce Camel route"
Diffstat (limited to 'src/test/resources/tosca/operational-policy-payload.yaml')
-rw-r--r--src/test/resources/tosca/operational-policy-payload.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/test/resources/tosca/operational-policy-payload.yaml b/src/test/resources/tosca/operational-policy-payload.yaml
new file mode 100644
index 000000000..68116b00b
--- /dev/null
+++ b/src/test/resources/tosca/operational-policy-payload.yaml
@@ -0,0 +1,31 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+topology_template:
+ policies:
+ - testPolicy:
+ type: onap.policies.controlloop.Operational
+ version: 1.0.0
+ metadata: {policy-id: testPolicy}
+ properties:
+ controlLoop: {controlLoopName: control loop, version: 2.0.0, trigger_policy: new1,
+ timeout: '30', abatement: 'true'}
+ policies:
+ - id: new1
+ recipe: Rebuild
+ retry: '10'
+ timeout: '20'
+ actor: SO
+ payload: test
+ success: new2
+ failure: new2
+ failure_timeout: new2
+ failure_retries: new2
+ failure_exception: new2
+ failure_guard: new2
+ target: {type: VFC, resourceTargetId: test}
+ - id: new2
+ recipe: Migrate
+ retry: '30'
+ timeout: '40'
+ actor: SDNC
+ payload: test
+ target: {type: VFC, resourceTargetId: test}