sebdet | dfa86ca | 2019-04-05 15:15:31 +0200 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0_0 |
| 2 | topology_template: |
| 3 | policies: |
| 4 | - testPolicy: |
| 5 | type: onap.policies.controlloop.Operational |
| 6 | version: 1.0.0 |
| 7 | metadata: {policy-id: testPolicy} |
| 8 | properties: |
| 9 | controlLoop: {controlLoopName: control loop, version: 2.0.0, trigger_policy: new1, |
| 10 | timeout: '30', abatement: 'true'} |
| 11 | policies: |
| 12 | - id: new1 |
| 13 | recipe: Rebuild |
| 14 | retry: '10' |
| 15 | timeout: '20' |
| 16 | actor: SO |
| 17 | payload: test |
| 18 | success: new2 |
| 19 | failure: new2 |
| 20 | failure_timeout: new2 |
| 21 | failure_retries: new2 |
| 22 | failure_exception: new2 |
| 23 | failure_guard: new2 |
| 24 | target: {type: VFC, resourceTargetId: test} |
| 25 | - id: new2 |
| 26 | recipe: Migrate |
| 27 | retry: '30' |
| 28 | timeout: '40' |
| 29 | actor: SDNC |
| 30 | payload: test |
| 31 | target: {type: VFC, resourceTargetId: test} |