Merge "Submit Policy Tutorials" into guilin
[policy/xacml-pdp.git] / tutorials / tutorial-enforcement / src / test / resources / MyAnalytic.yaml
diff --git a/tutorials/tutorial-enforcement/src/test/resources/MyAnalytic.yaml b/tutorials/tutorial-enforcement/src/test/resources/MyAnalytic.yaml
new file mode 100644 (file)
index 0000000..23cf3c6
--- /dev/null
@@ -0,0 +1,16 @@
+tosca_definitions_version: tosca_simple_yaml_1_1_0
+policy_types:
+   onap.policies.Monitoring:
+      derived_from: tosca.policies.Root
+      version: 1.0.0
+      name: onap.policies.Monitoring
+      description: a base policy type for all policies that govern monitoring provisioning
+   onap.policies.monitoring.MyAnalytic:
+      derived_from: onap.policies.Monitoring
+      type_version: 1.0.0
+      version: 1.0.0
+      description: Example analytic
+      properties:
+         myProperty:
+            type: string
+            required: true
\ No newline at end of file