f964619c8ce16a5fe88fdddd06a5b16d58d89c26
[policy/drools-applications.git] / controlloop / common / policy-yaml / src / test / resources / v1.0.0 / test_evil.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 controlLoop:
15   controlLoopName: ControlLoop-TEST-5dfa8fce-bd7a-4424-b60d-ee2ad2f254a3
16   version: 1.0.0
17   services: 
18     - serviceName: Foo Service
19   resources: 
20     - resourceName: Bar VNF
21       resourceType: VF
22   trigger_policy: unique-policy-id-1-restart
23   timeout: 1200
24
25 policies:
26   - id: unique-policy-id-1-restart
27     name: Restart Policy for Trigger Event
28     description:
29     actor: MSO
30     recipe: Instantiate
31     target: VM
32     retry: 2
33     timeout: 300
34     success: final_failure_exception
35     failure: final_success
36     failure_timeout: final_success
37     failure_retries: final_success
38     failure_exception: final_failure_exception