aboutsummaryrefslogtreecommitdiffstats
path: root/tutorials/tutorial-enforcement/src/test/resources/MyPolicies.yaml
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2020-10-26 09:59:09 -0400
committerPamela Dragosh <pdragosh@research.att.com>2020-10-27 11:49:04 -0400
commitf0bd7f421948415b1c2f05cb39674f57f72218e0 (patch)
treebc63b71ad9a58f378072f98b50e4bce7d59c9a1f /tutorials/tutorial-enforcement/src/test/resources/MyPolicies.yaml
parent90b2d30c2546c1e79bb716fb97e479c076999693 (diff)
Submit Policy Tutorials
So app developers can more easily download and test client code etc. Issue-ID: POLICY-2876 Change-Id: I360cd0d637150cd0c2353c6284803f4438e96556 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'tutorials/tutorial-enforcement/src/test/resources/MyPolicies.yaml')
-rw-r--r--tutorials/tutorial-enforcement/src/test/resources/MyPolicies.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/tutorials/tutorial-enforcement/src/test/resources/MyPolicies.yaml b/tutorials/tutorial-enforcement/src/test/resources/MyPolicies.yaml
new file mode 100644
index 00000000..00c5ef91
--- /dev/null
+++ b/tutorials/tutorial-enforcement/src/test/resources/MyPolicies.yaml
@@ -0,0 +1,14 @@
+tosca_definitions_version: tosca_simple_yaml_1_1_0
+topology_template:
+ policies:
+ -
+ policy1:
+ type: onap.policies.monitoring.MyAnalytic
+ type_version: 1.0.0
+ version: 1.0.0
+ name: policy1
+ metadata:
+ policy-id: policy1
+ policy-version: 1.0.0
+ properties:
+ myProperty: value1 \ No newline at end of file