summaryrefslogtreecommitdiffstats
path: root/src/test/resources/example/operational-policy/yaml-policy-chain-2.yaml
blob: 19ee585b98df12fb42c9f0cff00ed628094dbfa4 (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
controlLoop:
  abatement: false
  controlLoopName: controlNameTest
  resources: null
  services: 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