diff options
author | 2020-07-28 13:33:30 -0400 | |
---|---|---|
committer | 2020-07-28 13:47:57 -0400 | |
commit | 5138956adb55738db436358d839b8240b9cab57a (patch) | |
tree | 65806a53e13e8e96eb6d489a62b2b13d49b79ed5 /docs/xacml/tutorial/app/src/test/resources | |
parent | 602e1de0d159952816af83cc2045eb493eaca0b5 (diff) |
Update XACML tutorial code
Just updating the code to ensure it compiles.
I will cherry-pick this to frankfurt branch.
Later I will upload the code as a tar and add some extra
documentation on how to test in a runtime environment.
Issue-ID: POLICY-2565
Change-Id: I3f93aca71c88072c5f35de72e63736ebe49856f8
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'docs/xacml/tutorial/app/src/test/resources')
-rw-r--r-- | docs/xacml/tutorial/app/src/test/resources/tutorial-policies.yaml | 4 | ||||
-rw-r--r-- | docs/xacml/tutorial/app/src/test/resources/tutorial-policy-type.yaml | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/docs/xacml/tutorial/app/src/test/resources/tutorial-policies.yaml b/docs/xacml/tutorial/app/src/test/resources/tutorial-policies.yaml index 90a1f9ed..fa353653 100644 --- a/docs/xacml/tutorial/app/src/test/resources/tutorial-policies.yaml +++ b/docs/xacml/tutorial/app/src/test/resources/tutorial-policies.yaml @@ -1,9 +1,10 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 +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 @@ -21,6 +22,7 @@ topology_template: 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 diff --git a/docs/xacml/tutorial/app/src/test/resources/tutorial-policy-type.yaml b/docs/xacml/tutorial/app/src/test/resources/tutorial-policy-type.yaml index 181a73c5..c742cf3e 100644 --- a/docs/xacml/tutorial/app/src/test/resources/tutorial-policy-type.yaml +++ b/docs/xacml/tutorial/app/src/test/resources/tutorial-policy-type.yaml @@ -1,4 +1,4 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 +tosca_definitions_version: tosca_simple_yaml_1_1_0 policy_types: - onap.policies.Authorization: |