1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2 <Policy xmlns="urn:oasis:names:tc:xacml:3.0:core:schema:wd-17" PolicyId="urn:xacml:policy:id:b622d808-ba62-4392-93c8-eaff0cbfb63f" Version="1" RuleCombiningAlgId="urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:permit-overrides">
3 <Description>TestDecisionPolicyWithRuleAlgorithms@CreatedBy:rb7147@CreatedBy:@ModifiedBy:rb7147@ModifiedBy:</Description>
7 <Match MatchId="org.onap.function.regex-match">
8 <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">com.Decision_TestDecisionPolicyWithRuleAlgorithms.1.xml</AttributeValue>
9 <AttributeDesignator Category="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject" AttributeId="PolicyName" DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="false"/>
13 <Match MatchId="org.onap.function.regex-match">
14 <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">Test</AttributeValue>
15 <AttributeDesignator Category="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject" AttributeId="ONAPName" DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="false"/>
17 <Match MatchId="org.onap.function.regex-match">
18 <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">test</AttributeValue>
19 <AttributeDesignator Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource" AttributeId="SamplTest" DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="false"/>
24 <VariableDefinition VariableId="TestSettings">
25 <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">test</AttributeValue>
27 <Rule RuleId="" Effect="Permit">
31 <Match MatchId="urn:oasis:names:tc:xacml:3.0:function:string-equal-ignore-case">
32 <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">DECIDE</AttributeValue>
33 <AttributeDesignator Category="urn:oasis:names:tc:xacml:3.0:attribute-category:action" AttributeId="urn:oasis:names:tc:xacml:1.0:action:action-id" DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="false"/>
39 <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:and">
40 <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-equal">
41 <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">Sample</AttributeValue>
42 <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-one-and-only">
43 <AttributeDesignator Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource" AttributeId="SamplTest" DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="false"/>
46 <Apply FunctionId="urn:oasis:names:tc:xacml:3.0:function:string-equal-ignore-case">
47 <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">test</AttributeValue>
48 <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-one-and-only">
49 <AttributeDesignator Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource" AttributeId="SamplTest" DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="false"/>
55 <Rule RuleId="" Effect="Deny">
59 <Match MatchId="urn:oasis:names:tc:xacml:3.0:function:string-equal-ignore-case">
60 <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">DECIDE</AttributeValue>
61 <AttributeDesignator Category="urn:oasis:names:tc:xacml:3.0:attribute-category:action" AttributeId="urn:oasis:names:tc:xacml:1.0:action:action-id" DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="false"/>
67 <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:not">
68 <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:and">
69 <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-equal">
70 <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">Sample</AttributeValue>
71 <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-one-and-only">
72 <AttributeDesignator Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource" AttributeId="SamplTest" DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="false"/>
75 <Apply FunctionId="urn:oasis:names:tc:xacml:3.0:function:string-equal-ignore-case">
76 <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">test</AttributeValue>
77 <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-one-and-only">
78 <AttributeDesignator Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource" AttributeId="SamplTest" DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="false"/>