Sonar Fixes policy/models, removing model-yaml
[policy/models.git] / models-interactions / model-yaml / src / test / resources / v1.0.0 / test_evil.yaml
1 # Copyright 2018-2019 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: unique-policy-id-1-restart
24   timeout: NOT_A_NUMBER
25
26 policies:
27   - id: unique-policy-id-1-restart
28     name: Restart Policy for Trigger Event
29     description:
30     actor: MSO
31     recipe: Instantiate
32     target: VM
33     retry: 2
34     timeout: 300
35     success: final_failure_exception
36     failure: final_success
37     failure_timeout: final_success
38     failure_retries: final_success
39     failure_exception: final_failure_exception