Fix console warning about xacml.properties 25/55425/1
authorJim Hahn <jrh3@att.com>
Tue, 26 Jun 2018 15:39:06 +0000 (11:39 -0400)
committerJim Hahn <jrh3@att.com>
Tue, 26 Jun 2018 15:39:06 +0000 (11:39 -0400)
Configured location of property file.

Change-Id: I58a89b34aa58f4efd6ed3ee0f984869ee7bf2f6c
Issue-ID: POLICY-921
Signed-off-by: Jim Hahn <jrh3@att.com>
ONAP-XACML/src/test/java/org/onap/policy/xacml/test/util/AAFEngineTest.java

index 684f48c..f60645f 100644 (file)
@@ -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"));