Sonar Fixes policy/models, removing model-yaml
[policy/models.git] / models-interactions / model-yaml / src / test / resources / v2.0.0 / policy_ONAP_UseCase_VOLTE.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   version: 2.0.0
17   controlLoopName: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b
18   
19   trigger_policy: unique-policy-id-1-restart
20   timeout: 3600
21
22 policies:
23   - id: unique-policy-id-1-restart
24     name: Restart the VM
25     description:
26     actor: VFC
27     recipe: Restart
28     target:
29       type: VM
30     retry: 3
31     timeout: 1200
32     success: final_success
33     failure: final_failure
34     failure_timeout: final_failure_timeout
35     failure_retries: final_failure_retries
36     failure_exception: final_failure_exception
37     failure_guard: final_failure_guard