aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/tosca/operational-policy-payload.yaml
blob: 68116b00b6e06691c39120f41611912a67167597 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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}