aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgururajarao79 <gb00566633@techmahindra.com>2024-12-19 13:32:49 +0100
committergururajarao79 <gb00566633@techmahindra.com>2024-12-19 13:33:03 +0100
commit7cfbbcb1f16ab8b358c06a1f77fc94a203a53212 (patch)
treeede0fba369ec27a09686cb7024bff5b35985827c
parentfcd1aafd7ef6a47c839f654b0ffb33b9ec77036a (diff)
modify policytype to include dataHEADmaster
Issue-ID: POLICY-5212 Change-Id: I6f288c91355662e3da20cf2dcb7fe0348e024e83 Signed-off-by: gururajarao79 <gb00566633@techmahindra.com>
-rw-r--r--models-examples/src/main/resources/policytypes/onap.policies.native.opa.yaml9
1 files changed, 8 insertions, 1 deletions
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