From 2e8044d4a98d96c4b45553f5d30b41ef1371947e Mon Sep 17 00:00:00 2001 From: Instrumental Date: Thu, 24 May 2018 15:04:14 -0500 Subject: Fix GUI Role window Issue-ID: AAF-323 Change-Id: Ib0be5447b656fa468ae961d49a5893e986b481ab Signed-off-by: Instrumental --- .../src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'auth/auth-service/src/main') diff --git a/auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java b/auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java index e8468d6a..519721ce 100644 --- a/auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java +++ b/auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java @@ -1574,7 +1574,8 @@ public class AuthzCassServiceImpl > rlrd = ques.getRolesByName(trans, role); + int query = role.indexOf('?'); + Result> rlrd = ques.getRolesByName(trans, query<0?role:role.substring(0, query)); if(rlrd.isOK()) { // Note: Mapper will restrict what can be viewed ROLES roles = mapper.newInstance(API.ROLES); -- cgit 1.2.3-korg