summaryrefslogtreecommitdiffstats
path: root/models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2020-04-16 10:21:15 -0400
committerJim Hahn <jrh3@att.com>2020-04-16 11:08:55 -0400
commitd3f7c6e9cf6bad3fc295fd35283e1d79e6166f3d (patch)
tree940d3517bb8b917b9c9da987a4a16acac295f9f9 /models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml
parent85841e358763f6d71a3b2ac27d3fd39dc60667c0 (diff)
Add version to example yaml files
Determined that some of the yaml files were not suitable for use in the CSITs, because they were missing the "version" property. Added it where needed. Also added type_version where it was missing, as well. Issue-ID: POLICY-2491 Change-Id: I47bf0ec2b99d29580390a6e90512dfd903b042d6 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml')
-rw-r--r--models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml7
1 files changed, 4 insertions, 3 deletions
diff --git a/models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml b/models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml
index 3381c4b10..1d8927d25 100644
--- a/models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml
+++ b/models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml
@@ -2,10 +2,11 @@ tosca_definitions_version: tosca_simple_yaml_1_1_0
topology_template:
policies:
-
- operational.restart:
+ operational.restart:
type: onap.policies.controlloop.Operational
+ type_version: 1.0.0
version: 1.0.0
- metadata:
+ metadata:
policy-id: operational.restart
policy-version: 1
properties:
@@ -15,7 +16,7 @@ topology_template:
trigger_policy: unique-policy-id-1-restart
timeout: 3600
abatement: true
-
+
policies:
- id: unique-policy-id-1-restart
name: Restart the VM