summaryrefslogtreecommitdiffstats
path: root/src/test/resources/tosca/operational-policy-payload-legacy.yaml
diff options
context:
space:
mode:
authorDeterme, Sebastien (sd378r) <sebastien.determe@intl.att.com>2019-05-24 12:01:05 +0200
committerDeterme, Sebastien (sd378r) <sebastien.determe@intl.att.com>2019-05-24 12:01:05 +0200
commit3b48f829b1325fa6675b8981c119d822a5ea1b13 (patch)
treeb69b7fb9e7db1ea4ec002df2ffcb978faf499a7e /src/test/resources/tosca/operational-policy-payload-legacy.yaml
parentcbc6af30f0b9b9158d5937ab52b4366f5cb6999e (diff)
Fix op policy payload
The payload should contain a different content value, not the entire yaml Issue-ID: CLAMP-395 Change-Id: I7311caffed554f3c97ef7e07c729266a4fe30940 Signed-off-by: Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com>
Diffstat (limited to 'src/test/resources/tosca/operational-policy-payload-legacy.yaml')
-rw-r--r--src/test/resources/tosca/operational-policy-payload-legacy.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/test/resources/tosca/operational-policy-payload-legacy.yaml b/src/test/resources/tosca/operational-policy-payload-legacy.yaml
new file mode 100644
index 000000000..ddaaf71f1
--- /dev/null
+++ b/src/test/resources/tosca/operational-policy-payload-legacy.yaml
@@ -0,0 +1,23 @@
+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}