summaryrefslogtreecommitdiffstats
path: root/applications/native/src
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 /applications/native/src
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>
Diffstat (limited to 'applications/native/src')
-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
2 files changed, 4 insertions, 0 deletions
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