From f0bd7f421948415b1c2f05cb39674f57f72218e0 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Mon, 26 Oct 2020 09:59:09 -0400 Subject: 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 --- .../src/test/resources/tutorial-policies.yaml | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 tutorials/tutorial-xacml-application/src/test/resources/tutorial-policies.yaml (limited to 'tutorials/tutorial-xacml-application/src/test/resources/tutorial-policies.yaml') diff --git a/tutorials/tutorial-xacml-application/src/test/resources/tutorial-policies.yaml b/tutorials/tutorial-xacml-application/src/test/resources/tutorial-policies.yaml new file mode 100644 index 00000000..fa353653 --- /dev/null +++ b/tutorials/tutorial-xacml-application/src/test/resources/tutorial-policies.yaml @@ -0,0 +1,34 @@ +tosca_definitions_version: tosca_simple_yaml_1_1_0 +topology_template: + policies: + - + onap.policy.tutorial.demo: + type: onap.policies.Authorization + type_version: 1.0.0 + version: 1.0.0 + metadata: + policy-id: onap.policy.tutorial.demo + policy-version: 1 + properties: + user: demo + permissions: + - + entity: foo + permission: read + - + entity: foo + permission: write + - + onap.policy.tutorial.audit: + type: onap.policies.Authorization + version: 1.0.0 + type_version: 1.0.0 + metadata: + policy-id: onap.policy.tutorial.bar + policy-version: 1 + properties: + user: audit + permissions: + - + entity: foo + permission: read -- cgit 1.2.3-korg