From 4a47d6ff832ba6df66eaabe9acea2f0e37ae18b3 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Thu, 14 Nov 2024 15:23:24 +0100 Subject: opa policy type added Issue-ID: POLICY-5159 Change-Id: I6f052e5d8baca528a9f67223a0e473ed2fcb1eaf Signed-off-by: Ubuntu --- .../policytypes/onap.policies.native.opa.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 models-examples/src/main/resources/policytypes/onap.policies.native.opa.yaml diff --git a/models-examples/src/main/resources/policytypes/onap.policies.native.opa.yaml b/models-examples/src/main/resources/policytypes/onap.policies.native.opa.yaml new file mode 100644 index 000000000..b8a052174 --- /dev/null +++ b/models-examples/src/main/resources/policytypes/onap.policies.native.opa.yaml @@ -0,0 +1,20 @@ +tosca_definitions_version: tosca_simple_yaml_1_1_0 +policy_types: + onap.policies.Native: + derived_from: tosca.policies.Root + description: a base policy type for all native PDP policies + version: 1.0.0 + name: onap.policies.Native + onap.policies.native.opa: + derived_from: onap.policies.Native + version: 1.0.0 + name: onap.policies.native.opa + description: a policy type for native opa policies + properties: + policy: + type: string + type_version: 0.0.0 + description: The rego PolicySet or Policy + required: true + metadata: + encoding: Base64 -- cgit 1.2.3-korg