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:b8e180de-3dcc-4b5b-814d-925e674e573c" Version="1" RuleCombiningAlgId="urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:permit-overrides">
3 <Description>TestActionPolicy@CreatedBy:@CreatedBy:@ModifiedBy:@ModifiedBy:</Description>
7 <Match MatchId="org.onap.function.regex-match">
8 <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">12</AttributeValue>
9 <AttributeDesignator Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource" AttributeId="SamplTest" DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="false"/>
14 <Rule RuleId="" Effect="Permit">
17 <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:and">
18 <Apply FunctionId="urn:oasis:names:tc:xacml:3.0:function:string-equal-ignore-case">
19 <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-one-and-only">
20 <AttributeDesignator Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource" AttributeId="SamplTest" DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="false"/>
22 <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">test</AttributeValue>
24 <Apply FunctionId="urn:oasis:names:tc:xacml:3.0:function:string-equal-ignore-case">
25 <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-one-and-only">
26 <AttributeDesignator Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource" AttributeId="SamplTest" DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="false"/>
28 <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">Sample</AttributeValue>
32 <ObligationExpressions>
33 <ObligationExpression ObligationId="Test" FulfillOn="Permit">
34 <AttributeAssignmentExpression AttributeId="performer" Category="urn:oasis:names:tc:xacml:1.0:subject-category:recipient-subject">
35 <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">PEPAction</AttributeValue>
36 </AttributeAssignmentExpression>
37 <AttributeAssignmentExpression AttributeId="type" Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource">
38 <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">REST</AttributeValue>
39 </AttributeAssignmentExpression>
40 <AttributeAssignmentExpression AttributeId="url" Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource">
41 <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#anyURI">http://localhost.com</AttributeValue>
42 </AttributeAssignmentExpression>
43 <AttributeAssignmentExpression AttributeId="method" Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource">
44 <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">GET</AttributeValue>
45 </AttributeAssignmentExpression>
46 <AttributeAssignmentExpression AttributeId="body" Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource">
47 <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#anyURI">$URL/Action/com.Action_TestActionPolicy.1.xml.json</AttributeValue>
48 </AttributeAssignmentExpression>
49 </ObligationExpression>
50 </ObligationExpressions>