type_version is now mandatory 25/107325/1
authorPamela Dragosh <pdragosh@research.att.com>
Thu, 7 May 2020 14:22:46 +0000 (10:22 -0400)
committerPamela Dragosh <pdragosh@research.att.com>
Thu, 7 May 2020 14:22:53 +0000 (10:22 -0400)
Per this review: https://gerrit.onap.org/r/c/policy/models/+/107250

Issue-ID: POLICY-2538
Change-Id: I0b7711c1adc73295092996cd3a1ec7979fd2b4ba
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
applications/guard/src/test/resources/test.policy.guard.coordination.firstBlocksSecond.tosca.yaml
applications/guard/src/test/resources/test.policy.guard.coordination.vPciBlocksVsonh.tosca.yaml
applications/guard/src/test/resources/test.policy.guard.coordination.vSonhBlocksVpci.tosca.yaml
applications/monitoring/src/test/resources/vDNS.policy.input.yaml
applications/native/src/test/resources/policies/bad.native.policies.yaml
applications/native/src/test/resources/policies/native.policy.yaml

index 649820b..a42103e 100644 (file)
@@ -4,6 +4,7 @@ topology_template:
     -
       guard.coordination.firstBlocksSecond.test:
         type: onap.policies.controlloop.guard.coordination.FirstBlocksSecond
+        type_version: 1.0.0
         version: 1.0.0
         metadata:
           policy-id : guard.coordination.firstBlocksSecond.test
index d8ccec6..6a710ac 100644 (file)
@@ -4,6 +4,7 @@ topology_template:
     -
       guard.coordination.firstBlocksSecond.test:
         type: onap.policies.controlloop.guard.coordination.FirstBlocksSecond
+        type_version: 1.0.0
         version: 1.0.0
         metadata:
           policy-id : guard.coordination.firstBlocksSecond.test
index 5859d5e..a8ba3d5 100644 (file)
@@ -4,6 +4,7 @@ topology_template:
     -
       guard.coordination.firstBlocksSecond.test:
         type: onap.policies.controlloop.guard.coordination.FirstBlocksSecond
+        type_version: 1.0.0
         version: 1.0.0
         metadata:
           policy-id : guard.coordination.firstBlocksSecond.test
index 7d8120e..cac4660 100644 (file)
@@ -4,6 +4,7 @@ topology_template:
     -
       onap.scaleout.tca:
         type: onap.policies.monitoring.cdap.tca.hi.lo.app
+        type_version: 1.0.0
         version: 1.0.0
         metadata:
           policy-id: onap.scaleout.tca
index 318b320..a241bc2 100644 (file)
@@ -4,6 +4,7 @@ topology_template:
     -
       bad.base64:
         type: onap.policies.native.Xacml
+        type_version: 1.0.0
         version: 1.0.0
         metadata:
           policy-id: bad.base64
@@ -13,6 +14,7 @@ topology_template:
     -
       bad.noproperties:
         type: onap.policies.native.Xacml
+        type_version: 1.0.0
         version: 1.0.0
         metadata:
           policy-id: bad.noproperties
@@ -20,6 +22,7 @@ topology_template:
     -
       bad.policy:
         type: onap.policies.native.Xacml
+        type_version: 1.0.0
         version: 1.0.0
         metadata:
           policy-id: bad.policy
index b9e8d60..fc2755c 100644 (file)
@@ -4,6 +4,7 @@ topology_template:
     -
       native.access.control:
         type: onap.policies.native.Xacml
+        type_version: 1.0.0
         version: 1.0.0
         metadata:
           policy-id: native.access.control