diff options
Diffstat (limited to 'src/test/resources/tosca/operational-policy-payload-legacy.yaml')
-rw-r--r-- | src/test/resources/tosca/operational-policy-payload-legacy.yaml | 52 |
1 files changed, 34 insertions, 18 deletions
diff --git a/src/test/resources/tosca/operational-policy-payload-legacy.yaml b/src/test/resources/tosca/operational-policy-payload-legacy.yaml index ddaaf71f..41184c9c 100644 --- a/src/test/resources/tosca/operational-policy-payload-legacy.yaml +++ b/src/test/resources/tosca/operational-policy-payload-legacy.yaml @@ -1,23 +1,39 @@ -controlLoop: {controlLoopName: control loop, version: 2.0.0, trigger_policy: new1, - timeout: '30', abatement: 'true'} +controlLoop: + abatement: true + controlLoopName: control loop + timeout: 30 + trigger_policy: new1 + version: 2.0.0 policies: -- id: new1 - recipe: Rebuild - retry: '10' - timeout: '20' - actor: SO - payload: test - success: new2 +- actor: SO failure: new2 - failure_timeout: new2 - failure_retries: new2 failure_exception: new2 failure_guard: new2 - target: {type: VFC, resourceTargetId: test} -- id: new2 + failure_retries: new2 + failure_timeout: new2 + id: new1 + payload: + configurationParameters: '[{"ip-addr":"$.vf-module-topology.vf-module-parameters.param[10].value","oam-ip-addr":"$.vf-module-topology.vf-module-parameters.param[15].value","enabled":"$.vf-module-topology.vf-module-parameters.param[22].value"}]' + requestParameters: '{"usePreload":true,"userParams":[]}' + recipe: Rebuild + retry: 10 + success: new2 + target: + resourceTargetId: test + type: VFC + timeout: 20 +- actor: SDNC + failure: final_failure + failure_exception: final_failure_exception + failure_guard: final_failure_guard + failure_retries: final_failure_retries + failure_timeout: final_failure_timeout + id: new2 + payload: '' recipe: Migrate - retry: '30' - timeout: '40' - actor: SDNC - payload: test - target: {type: VFC, resourceTargetId: test} + retry: 30 + success: final_success + target: + resourceTargetId: test + type: VFC + timeout: 40 |