2a74843a0697b6296726653d4dd94b76799bdaeb
[policy/drools-applications.git] /
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 controlLoop:
15   version: 2.0.0
16   controlLoopName: SyntheticControlLoopOne
17   services: 
18     - serviceName: ServiceSimple
19   resources: 
20     - resourceName: res1
21       resourceType: VFC
22     - resourceName: res2
23       resourceType: VFC
24   trigger_policy: unique-policy-id-1
25   timeout: 2500
26   abatement: true
27
28 policies:
29   - id: unique-policy-id-1
30     name: SyntheticControlLoopOnePolicy
31     description:
32     actor: APPC
33     recipe: action_one
34     target:
35       type: VNF
36     retry: 3
37     timeout: 200
38     success: final_success
39     failure: final_failure
40     failure_timeout: final_failure_timeout
41     failure_retries: final_failure_retries
42     failure_guard: final_failure_guard
43     failure_exception: final_failure_exception