Merge "Add debugging of REST call"
[policy/drools-applications.git] / controlloop / common / policy-yaml / src / test / resources / v2.0.0-guard / policy_guard_ONAP_demo_vDNS.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_ONAP_vDNS_1
19     name: MSO Spinup
20     description: We only spin up 1 instance over a 10 minute window
21     match_parameters:
22       actor: MSO
23       recipe: VF Module Create
24     limit_constraints:
25       - freq_limit_per_target: 1
26         #
27         # https://www.w3.org/TR/xmlschema-2/#duration
28         #
29         time_window:
30           value: 10
31           units: hour
32