From d3f7c6e9cf6bad3fc295fd35283e1d79e6166f3d Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Thu, 16 Apr 2020 10:21:15 -0400 Subject: 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 --- .../policies/vFirewall.policy.operational.output.tosca.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'models-examples/src/main/resources/policies/vFirewall.policy.operational.output.tosca.yaml') diff --git a/models-examples/src/main/resources/policies/vFirewall.policy.operational.output.tosca.yaml b/models-examples/src/main/resources/policies/vFirewall.policy.operational.output.tosca.yaml index 923bc7d75..22aced815 100644 --- a/models-examples/src/main/resources/policies/vFirewall.policy.operational.output.tosca.yaml +++ b/models-examples/src/main/resources/policies/vFirewall.policy.operational.output.tosca.yaml @@ -4,8 +4,9 @@ topology_template: - operational.modifyconfig: type: onap.policies.controlloop.Operational + type_version: 1.0.0 version: 1.0.0 - metadata: + metadata: policy-id: operational.modifyconfig policy-version: 1 properties: @@ -15,7 +16,7 @@ topology_template: trigger_policy: unique-policy-id-1-modifyConfig timeout: 1200 abatement: false - + policies: - id: unique-policy-id-1-modifyConfig name: modify packet gen config -- cgit 1.2.3-korg