Adding 'name' to yamls and json in model
[policy/models.git] / models-examples / src / main / resources / policytypes / onap.policies.native.Xacml.yaml
index d065f61..4eefa4e 100644 (file)
@@ -1,17 +1,19 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
+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.Xacml:
         derived_from: onap.policies.Native
         description: a policy type for native xacml policies
         version: 1.0.0
+        name: onap.policies.native.Xacml
         properties:
             policy:
-                type: String
+                type: string
                 required: true
                 description: The XML XACML 3.0 PolicySet or Policy
                 metadata:
-                    encoding: URL
\ No newline at end of file
+                    encoding: Base64