diff options
author | Tomek Kaminski <tomasz.kaminski@nokia.com> | 2018-07-18 14:25:02 +0200 |
---|---|---|
committer | Tomasz Kaminski <tomasz.kaminski@nokia.com> | 2018-07-23 22:27:27 +0000 |
commit | 9a1e2ee858f1a937e12bdb6920296b277787c27f (patch) | |
tree | 159ad4cf2788ecbe7c38408a091684cef938e9b1 /auth/auth-cass/src | |
parent | 647c1c3a8b370cf4fe2dea4160711d5a2f2ef05f (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')
-rw-r--r-- | auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/hl/Question.java | 2 |
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"; |