Add missing license headers
[policy/drools-applications.git] / controlloop / templates / template.demo / src / test / resources / yaml / policy_guard_appc_restart_blacklist.yaml
1 # Copyright 2018 AT&T Intellectual Property. All rights reserved
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #         http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 guard:
15   version: 2.0.0
16
17 guards:
18   - id: unique_guard_4_Blacklist
19     name: APPC Restart Blacklist
20     description: |
21       We deny restart of the blacklisted targets (avoid midnight to 5am)
22     match_parameters:
23       actor: APPC
24       recipe: Restart
25     limit_constraints:
26       - blacklist:
27           - server123
28           - server2234
29           - vserver.vserver-name22
30           - aaabbbccc
31           - foobartriggersource35
32         active_time_range:
33           start: 00:00:00-05:00
34           end: 23:59:59-05:00
35           
36           
37           
38           
39           
40