66d0dfc17d3f8131991d5a297c7789996f7eb1cb
[policy/drools-applications.git] / controlloop / common / policy-yaml / src / test / resources / v1.0.0 / bad_policy_failure_connected_to_unknown_policy.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: APPC
30     recipe: Restart
31     target:
32       type: VM
33       resourceID: vm1
34     retry: 2
35     timeout: 300
36     failure: unknown-policy