summaryrefslogtreecommitdiffstats
path: root/auth/auth-cass/src/main/java/org
diff options
context:
space:
mode:
authorTomek Kaminski <tomasz.kaminski@nokia.com>2018-07-18 14:25:02 +0200
committerTomasz Kaminski <tomasz.kaminski@nokia.com>2018-07-23 22:27:27 +0000
commit9a1e2ee858f1a937e12bdb6920296b277787c27f (patch)
tree159ad4cf2788ecbe7c38408a091684cef938e9b1 /auth/auth-cass/src/main/java/org
parent647c1c3a8b370cf4fe2dea4160711d5a2f2ef05f (diff)
Junits for Mapper
-tests for namespace mappig method -tests for perm method -little refactor for Question and Define for mocking purpose Change-Id: I49fb8f8a123c7896e1971913e9f99ef0c049250f Issue-ID: AAF-400 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
Diffstat (limited to 'auth/auth-cass/src/main/java/org')
-rw-r--r--auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/hl/Question.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/hl/Question.java b/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/hl/Question.java
index 53548423..8d148ec1 100644
--- a/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/hl/Question.java
+++ b/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/hl/Question.java
@@ -114,7 +114,7 @@ public class Question {
public static final String NS = Type.ns.name();
public static final String CRED = Type.cred.name();
private static final String DELG = "delg";
- public static final String ROOT_NS = Define.ROOT_NS();
+ public static final String ROOT_NS = Define.isInitialized() ? Define.ROOT_NS() : "undefined";
public static final String ATTRIB = "attrib";