diff options
author | Chenfei Gao <cgao@research.att.com> | 2020-03-05 14:18:34 -0500 |
---|---|---|
committer | Chenfei Gao <cgao@research.att.com> | 2020-03-05 14:38:40 -0500 |
commit | e89d4c2ab8033c9482965f0e2f811e059378d37d (patch) | |
tree | e9b1781fc25938b4e359f5883e2c3b51585d3e74 /applications | |
parent | 98a4573770c29c164c99b4fb0ac8ab533aaa29b0 (diff) |
Added xacml.properties to packages for native app
Issue-ID: POLICY-2182
Change-Id: Ife38e989aeda445c9fc2531bb92426f2d28bb818
Signed-off-by: Chenfei Gao <cgao@research.att.com>
Diffstat (limited to 'applications')
-rw-r--r-- | applications/native/pom.xml | 4 | ||||
-rw-r--r-- | applications/native/src/test/resources/xacml.properties | 30 |
2 files changed, 6 insertions, 28 deletions
diff --git a/applications/native/pom.xml b/applications/native/pom.xml index f65a7d30..bd775081 100644 --- a/applications/native/pom.xml +++ b/applications/native/pom.xml @@ -10,7 +10,7 @@ <name>${project.artifactId}</name> <description>This modules contains the xacml application that evaluates native policies and requests.</description> - + <dependencies> <dependency> <groupId>org.onap.policy.xacml-pdp.applications</groupId> @@ -25,4 +25,4 @@ </dependency> </dependencies> -</project>
\ No newline at end of file +</project> diff --git a/applications/native/src/test/resources/xacml.properties b/applications/native/src/test/resources/xacml.properties index 3d4d025c..5ea247cf 100644 --- a/applications/native/src/test/resources/xacml.properties +++ b/applications/native/src/test/resources/xacml.properties @@ -22,32 +22,10 @@ xacml.att.policyFinderFactory=org.onap.policy.pdp.xacml.application.common.OnapP # # Use a root combining algorithm # -xacml.att.policyFinderFactory.combineRootPolicies=urn:oasis:names:tc:xacml:3.0:policy-combining-algorithm:deny-overrides +xacml.att.policyFinderFactory.combineRootPolicies=urn:com:att:xacml:3.0:policy-combining-algorithm:combined-permit-overrides # -# PIP Engine Definitions +# Policies to load # -count-recent-operations.classname=org.onap.policy.pdp.xacml.application.common.operationshistory.CountRecentOperationsPip -count-recent-operations.issuer=urn:org:onap:xacml:guard:count-recent-operations -count-recent-operations.name=CountRecentOperations -count-recent-operations.description=Returns operation counts based on time window -count-recent-operations.persistenceunit=OperationsHistoryPUTest - -get-operation-outcome.classname=org.onap.policy.pdp.xacml.application.common.operationshistory.GetOperationOutcomePip -get-operation-outcome.issuer=urn:org:onap:xacml:guard:get-operation-outcome -get-operation-outcome.name=GetOperationOutcome -get-operation-outcome.description=Returns operation outcome -get-operation-outcome.persistenceunit=OperationsHistoryPUTest - -# -# Make pips available to finder -# -xacml.pip.engines=count-recent-operations,get-operation-outcome - -# -# JPA Properties -# -javax.persistence.jdbc.driver=org.h2.Driver -javax.persistence.jdbc.url=jdbc:h2:mem:testdb;DATABASE_TO_UPPER=FALSE -javax.persistence.jdbc.user=policy -javax.persistence.jdbc.password=P01icY +xacml.rootPolicies= +xacml.referencedPolicies=
\ No newline at end of file |