From 732344f175150fed87e0140ad75152d325364c8b Mon Sep 17 00:00:00 2001 From: Instrumental Date: Sat, 23 Jun 2018 11:01:25 -0500 Subject: JettyStartups to improve new Filters Issue-ID: AAF-361 Change-Id: I74cac231ebac81466778c1c3ebca16c63ae6f78a Signed-off-by: Instrumental --- cadi/core/src/main/java/org/onap/aaf/cadi/config/Config.java | 1 + cadi/core/src/test/java/org/onap/aaf/cadi/lur/test/JU_LocalLur.java | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'cadi') diff --git a/cadi/core/src/main/java/org/onap/aaf/cadi/config/Config.java b/cadi/core/src/main/java/org/onap/aaf/cadi/config/Config.java index 7c897e37..c79c5cce 100644 --- a/cadi/core/src/main/java/org/onap/aaf/cadi/config/Config.java +++ b/cadi/core/src/main/java/org/onap/aaf/cadi/config/Config.java @@ -143,6 +143,7 @@ public class Config { public static final String AAF_ENV = "aaf_env"; public static final String AAF_URL = "aaf_url"; //URL for AAF... Use to trigger AAF configuration public static final String AAF_ROOT_NS = "aaf_root_ns"; + public static final String AAF_ROOT_NS_DEF = "org.osaaf.aaf"; public static final String AAF_ROOT_COMPANY = "aaf_root_company"; public static final String AAF_LOCATE_URL = "aaf_locate_url"; //URL for AAF locator private static final String AAF_LOCATE_URL_TAG = "AAF_LOCATE_URL"; // Name of Above for use in Config Variables. diff --git a/cadi/core/src/test/java/org/onap/aaf/cadi/lur/test/JU_LocalLur.java b/cadi/core/src/test/java/org/onap/aaf/cadi/lur/test/JU_LocalLur.java index d86a0754..f61d1caf 100644 --- a/cadi/core/src/test/java/org/onap/aaf/cadi/lur/test/JU_LocalLur.java +++ b/cadi/core/src/test/java/org/onap/aaf/cadi/lur/test/JU_LocalLur.java @@ -48,8 +48,6 @@ import org.onap.aaf.cadi.lur.LocalPermission; public class JU_LocalLur { private static final String password = ""; - private String encrypted; - private PropAccess access; private ByteArrayOutputStream outStream; @@ -59,8 +57,6 @@ public class JU_LocalLur { public void setup() throws IOException { MockitoAnnotations.initMocks(this); - encrypted = rot13(password); - outStream = new ByteArrayOutputStream(); access = new PropAccess(new PrintStream(outStream), new String[0]) { @Override public String decrypt(String encrypted, boolean anytext) throws IOException { @@ -75,6 +71,8 @@ public class JU_LocalLur { @Test public void test() throws IOException { + final String encrypted = rot13(password); + LocalLur lur; List.DumpInfo> info; -- cgit 1.2.3-korg