aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2020-05-07 10:22:46 -0400
committerPamela Dragosh <pdragosh@research.att.com>2020-05-07 10:22:53 -0400
commit3f1d47dd8f14a948967f9a2b5b958f5d858c6809 (patch)
treeaee2b3e2a3cd2e6f2ba95f3feb2a25b3cfb099dc
parent4f1f7aa8086b81fa37d1e198dcb1e31e68c58f5e (diff)
type_version is now mandatory
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>
-rw-r--r--applications/guard/src/test/resources/test.policy.guard.coordination.firstBlocksSecond.tosca.yaml1
-rw-r--r--applications/guard/src/test/resources/test.policy.guard.coordination.vPciBlocksVsonh.tosca.yaml1
-rw-r--r--applications/guard/src/test/resources/test.policy.guard.coordination.vSonhBlocksVpci.tosca.yaml1
-rw-r--r--applications/monitoring/src/test/resources/vDNS.policy.input.yaml1
-rw-r--r--applications/native/src/test/resources/policies/bad.native.policies.yaml3
-rw-r--r--applications/native/src/test/resources/policies/native.policy.yaml1
6 files changed, 8 insertions, 0 deletions
diff --git a/applications/guard/src/test/resources/test.policy.guard.coordination.firstBlocksSecond.tosca.yaml b/applications/guard/src/test/resources/test.policy.guard.coordination.firstBlocksSecond.tosca.yaml
index 649820b0..a42103ef 100644
--- a/applications/guard/src/test/resources/test.policy.guard.coordination.firstBlocksSecond.tosca.yaml
+++ b/applications/guard/src/test/resources/test.policy.guard.coordination.firstBlocksSecond.tosca.yaml
@@ -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
diff --git a/applications/guard/src/test/resources/test.policy.guard.coordination.vPciBlocksVsonh.tosca.yaml b/applications/guard/src/test/resources/test.policy.guard.coordination.vPciBlocksVsonh.tosca.yaml
index d8ccec68..6a710ac2 100644
--- a/applications/guard/src/test/resources/test.policy.guard.coordination.vPciBlocksVsonh.tosca.yaml
+++ b/applications/guard/src/test/resources/test.policy.guard.coordination.vPciBlocksVsonh.tosca.yaml
@@ -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
diff --git a/applications/guard/src/test/resources/test.policy.guard.coordination.vSonhBlocksVpci.tosca.yaml b/applications/guard/src/test/resources/test.policy.guard.coordination.vSonhBlocksVpci.tosca.yaml
index 5859d5ee..a8ba3d52 100644
--- a/applications/guard/src/test/resources/test.policy.guard.coordination.vSonhBlocksVpci.tosca.yaml
+++ b/applications/guard/src/test/resources/test.policy.guard.coordination.vSonhBlocksVpci.tosca.yaml
@@ -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
diff --git a/applications/monitoring/src/test/resources/vDNS.policy.input.yaml b/applications/monitoring/src/test/resources/vDNS.policy.input.yaml
index 7d8120e5..cac46606 100644
--- a/applications/monitoring/src/test/resources/vDNS.policy.input.yaml
+++ b/applications/monitoring/src/test/resources/vDNS.policy.input.yaml
@@ -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
diff --git a/applications/native/src/test/resources/policies/bad.native.policies.yaml b/applications/native/src/test/resources/policies/bad.native.policies.yaml
index 318b3209..a241bc21 100644
--- a/applications/native/src/test/resources/policies/bad.native.policies.yaml
+++ b/applications/native/src/test/resources/policies/bad.native.policies.yaml
@@ -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
diff --git a/applications/native/src/test/resources/policies/native.policy.yaml b/applications/native/src/test/resources/policies/native.policy.yaml
index b9e8d60d..fc2755c5 100644
--- a/applications/native/src/test/resources/policies/native.policy.yaml
+++ b/applications/native/src/test/resources/policies/native.policy.yaml
@@ -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