From 7cfbbcb1f16ab8b358c06a1f77fc94a203a53212 Mon Sep 17 00:00:00 2001 From: gururajarao79 Date: Thu, 19 Dec 2024 13:32:49 +0100 Subject: modify policytype to include data Issue-ID: POLICY-5212 Change-Id: I6f288c91355662e3da20cf2dcb7fe0348e024e83 Signed-off-by: gururajarao79 --- .../src/main/resources/policytypes/onap.policies.native.opa.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 index b8a052174..3228a4b30 100644 --- a/models-examples/src/main/resources/policytypes/onap.policies.native.opa.yaml +++ b/models-examples/src/main/resources/policytypes/onap.policies.native.opa.yaml @@ -11,8 +11,15 @@ policy_types: name: onap.policies.native.opa description: a policy type for native opa policies properties: + data: + type: map + type_version: 0.0.0 + description: The data for Policy + required: false + metadata: + encoding: Base64 policy: - type: string + type: map type_version: 0.0.0 description: The rego PolicySet or Policy required: true -- cgit 1.2.3-korg