Sonar Fixes policy/models, removing model-yaml
[policy/models.git] / models-interactions / model-yaml / src / test / resources / v1.0.0 / bad_trigger_no_trigger_id.yaml
1 # Copyright 2018 AT&T Intellectual Property. All rights reserved
2 # Modifications Copyright (C) 2019 Nordix Foundation.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #         http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 controlLoop:
16   controlLoopName: ControlLoop-TEST-5dfa8fce-bd7a-4424-b60d-ee2ad2f254a3
17   version: 1.0.0
18   services: 
19     - serviceName: Foo Service
20   resources: 
21     - resourceName: Bar VNF
22       resourceType: VF
23   trigger_policy: 
24   timeout: 1200
25
26 policies:
27   - id: unique-policy-id-1-restart
28     name: Restart Policy for Trigger Event
29     description:
30     actor: APPC
31     recipe: Restart
32     target: VM
33     retry: 2
34     timeout: 300
35