aboutsummaryrefslogtreecommitdiffstats
path: root/models-examples/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'models-examples/src/main')
-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