Sonar Fixes policy/models, removing model-yaml
[policy/models.git] / models-interactions / model-yaml / src / test / resources / v2.0.0 / policy_ONAP_UseCase_vPCI.yaml
1 # Copyright 2018 Wipro Limited 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: 3.0.0
17   controlLoopName: ControlLoop-vPCI-fb41f388-a5f2-11e8-98d0-529269fb1459
18   trigger_policy: unique-policy-id-123-modifyconfig
19   timeout: 1200
20   abatement: false
21
22 policies:
23   - id: unique-policy-id-123-modifyconfig
24     name: modify PCI config
25     description:
26     actor: SDNR
27     recipe: ModifyConfig
28     target:
29       # These fields are not used
30       resourceID: Eace933104d443b496b8.nodes.heat.vpg
31       type: VNF
32     retry: 0
33     timeout: 300
34     success: final_success
35     failure: final_failure
36     failure_timeout: final_failure_timeout
37     failure_retries: final_failure_retries
38     failure_exception: final_failure_exception
39     failure_guard: final_failure_guard
40