Code Review
/
policy
/
drools-applications.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
6e47ca2b449112a542cec40fb1e0f6f9c0bdd0e0
[policy/drools-applications.git]
/
controlloop
/
common
/
policy-yaml
/
src
/
test
/
resources
/
v2.0.0-guard
/
policy_guard_appc_restart.yaml
1
guard:
2
version: 2.0.0
3
4
guards:
5
- id: unique_guard_1
6
name: APPC 5 Restart
7
description:
8
We only allow 5 restarts over 15 minute window during the day time hours (i.e. avoid midnight to 5am)
9
match_parameters:
10
controlLoopName: CL_NAME_ABC_123
11
actor: APPC
12
recipe: Restart
13
targets:
14
- s1
15
s2
16
s3
17
limit_constraints:
18
- freq_limit_per_target: 5
19
time_window:
20
value: 15
21
units: minute
22
active_time_range:
23
start: 00:00:00-05:00
24
end: 23:59:59-05:00