aboutsummaryrefslogtreecommitdiffstats
path: root/test/policy-new.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'test/policy-new.yaml')
-rw-r--r--test/policy-new.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/policy-new.yaml b/test/policy-new.yaml
new file mode 100644
index 0000000..2fbcf79
--- /dev/null
+++ b/test/policy-new.yaml
@@ -0,0 +1,21 @@
+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
+