From 983424a7a914c6519a0eb244d13bdba4b7c18a4f Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Tue, 26 Jun 2018 11:39:06 -0400 Subject: [PATCH] Fix console warning about xacml.properties Configured location of property file. Change-Id: I58a89b34aa58f4efd6ed3ee0f984869ee7bf2f6c Issue-ID: POLICY-921 Signed-off-by: Jim Hahn --- .../src/test/java/org/onap/policy/xacml/test/util/AAFEngineTest.java | 2 ++ 1 file changed, 2 insertions(+) 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")); -- 2.16.6