summaryrefslogtreecommitdiffstats
path: root/src/test/resources/example/operational-policy/yaml-policy-chain-2.yaml
blob: 3d0252a0070eb8204873a0b81d5af9537bdb508b (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
controlLoop:
  abatement: false
  controlLoopName: controlNameTest
  resources:
  - resourceInvariantUUID: null
    resourceName: 6c7aaec2-59eb-41d9-8681-b7f976ab668d
    resourceType: VF
    resourceUUID: null
    resourceVersion: null
  services:
  - serviceInvariantUUID: null
    serviceName: 0f983e18-4603-4bb4-a98c-e29691fb16a1
    serviceUUID: null
    serviceVersion: null
  timeout: 500
  trigger_policy: <generatedId>
  version: 2.0.0
policies:
- actor: APPC
  description: restart Policy - the trigger (no parent) policy - created by CLDS
  failure: <generatedId>
  failure_exception: <generatedId>
  failure_guard: FINAL_FAILURE_GUARD
  failure_retries: <generatedId>
  failure_timeout: <generatedId>
  id: <generatedId>
  name: restart Policy
  operationsAccumulateParams: null
  payload: null
  recipe: restart
  retry: 3
  success: <generatedId>
  target:
    resourceID: null
    type: VM
  timeout: 180
- actor: APPC
  description: rebuild Policy - triggered conditionally by restart Policy - created by CLDS
  failure: <generatedId>
  failure_exception: <generatedId>
  failure_guard: FINAL_FAILURE_GUARD
  failure_retries: <generatedId>
  failure_timeout: <generatedId>
  id: <generatedId>
  name: rebuild Policy
  operationsAccumulateParams: null
  payload: null
  recipe: rebuild
  retry: 3
  success: <generatedId>
  target:
    resourceID: resource-id
    type: VM
  timeout: 180