aboutsummaryrefslogtreecommitdiffstats
path: root/tutorials/tutorial-enforcement/src/test/resources/MyAnalytic.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tutorials/tutorial-enforcement/src/test/resources/MyAnalytic.yaml')
-rw-r--r--tutorials/tutorial-enforcement/src/test/resources/MyAnalytic.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/tutorials/tutorial-enforcement/src/test/resources/MyAnalytic.yaml b/tutorials/tutorial-enforcement/src/test/resources/MyAnalytic.yaml
new file mode 100644
index 00000000..23cf3c60
--- /dev/null
+++ b/tutorials/tutorial-enforcement/src/test/resources/MyAnalytic.yaml
@@ -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