diff options
Diffstat (limited to 'cadi')
-rw-r--r-- | cadi/core/src/main/java/org/onap/aaf/cadi/config/Config.java | 1 | ||||
-rw-r--r-- | cadi/core/src/test/java/org/onap/aaf/cadi/lur/test/JU_LocalLur.java | 6 |
2 files changed, 3 insertions, 4 deletions
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 = "<pass>"; - 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<AbsUserCache<LocalPermission>.DumpInfo> info; |