summaryrefslogtreecommitdiffstats
path: root/ONAP-XACML/src
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2018-06-26 11:39:06 -0400
committerJim Hahn <jrh3@att.com>2018-06-26 11:39:06 -0400
commit983424a7a914c6519a0eb244d13bdba4b7c18a4f (patch)
tree6cc1411802fde3937b4517679bd6665aa4923691 /ONAP-XACML/src
parent141052c6dcabdddf20f2b46d95540f1ceb0d7299 (diff)
Fix console warning about xacml.properties
Configured location of property file. Change-Id: I58a89b34aa58f4efd6ed3ee0f984869ee7bf2f6c Issue-ID: POLICY-921 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'ONAP-XACML/src')
-rw-r--r--ONAP-XACML/src/test/java/org/onap/policy/xacml/test/util/AAFEngineTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/ONAP-XACML/src/test/java/org/onap/policy/xacml/test/util/AAFEngineTest.java b/ONAP-XACML/src/test/java/org/onap/policy/xacml/test/util/AAFEngineTest.java
index 684f48c17..f60645fef 100644
--- a/ONAP-XACML/src/test/java/org/onap/policy/xacml/test/util/AAFEngineTest.java
+++ b/ONAP-XACML/src/test/java/org/onap/policy/xacml/test/util/AAFEngineTest.java
@@ -30,12 +30,14 @@ import com.att.research.xacml.api.pip.PIPRequest;
import com.att.research.xacml.api.pip.PIPResponse;
import com.att.research.xacml.std.pip.StdPIPFinderFactory;
import com.att.research.xacml.std.pip.StdPIPRequest;
+import com.att.research.xacml.util.XACMLProperties;
import com.att.research.xacml.api.XACML3;
public class AAFEngineTest {
@Test
public void aafEngineTest(){
String testId = "testId";
+ System.setProperty(XACMLProperties.XACML_PROPERTIES_NAME, "xacml.properties");
AAFEngine aafEngine = new AAFEngine();
assertTrue(AAFEngine.DEFAULT_DESCRIPTION.equals("PIP for authenticating aaf attributes using the AAF REST interface"));
assertTrue(AAFEngine.DEFAULT_ISSUER.equals("aaf"));