diff options
author | 2020-10-26 09:59:09 -0400 | |
---|---|---|
committer | 2020-10-27 11:49:04 -0400 | |
commit | f0bd7f421948415b1c2f05cb39674f57f72218e0 (patch) | |
tree | bc63b71ad9a58f378072f98b50e4bce7d59c9a1f /tutorials/tutorial-xacml-application/src/test/resources/tutorial-policies.yaml | |
parent | 90b2d30c2546c1e79bb716fb97e479c076999693 (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-xacml-application/src/test/resources/tutorial-policies.yaml')
-rw-r--r-- | tutorials/tutorial-xacml-application/src/test/resources/tutorial-policies.yaml | 34 |
1 files changed, 34 insertions, 0 deletions
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 |