From 3f1d47dd8f14a948967f9a2b5b958f5d858c6809 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Thu, 7 May 2020 10:22:46 -0400 Subject: 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 --- .../native/src/test/resources/policies/bad.native.policies.yaml | 3 +++ applications/native/src/test/resources/policies/native.policy.yaml | 1 + 2 files changed, 4 insertions(+) (limited to 'applications/native/src/test') 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 -- cgit 1.2.3-korg