[POLICY-22] Reorganizing drools-apps
[policy/drools-applications.git] / controlloop / templates / template.demo / src / test / resources / yaml / policy_guard_vUSP_1707_appc_restart.yaml
1 guard:
2   version: 2.0.0
3
4 guards:
5   - id: unique_guard_vUSP_1
6     name: APPC 5 Restart
7     description: |
8       We only allow 2 restarts over 10 minute window during the day time hours (avoid midnight to 5am)
9     actor: APPC
10     recipe: Restart
11     limit_constraints:
12       - num: 2    
13         duration:
14           value: 10
15           units: minute
16         time_in_range:
17           arg2: 00:00:00-05:00
18           arg3: 23:59:59-05:00
19           
20           
21           
22           
23           
24