diff options
author | Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com> | 2019-05-28 11:54:27 +0200 |
---|---|---|
committer | Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com> | 2019-05-28 11:54:27 +0200 |
commit | 785b17789adc4817e129fcd389d91046b195044a (patch) | |
tree | 5a7acac8b2f868215880b3b7fc77e6781293f30f /src/test/resources/tosca/operational-policy-payload-legacy.yaml | |
parent | ef9aed4b3a69128fa10feaa9ab787a57ef6772d7 (diff) |
Fix the op policy payload
Fix the operational policy payload as it was not the one expected by
policy engine + rollback staging plugin
Issue-ID: CLAMP-395
Change-Id: I7b690eb02f50617b7aa402266c13aafa82f5b59b
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.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 ddaaf71f1..41184c9c9 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 |