diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2018-08-27 17:29:50 +0530 |
---|---|---|
committer | Arundathi Patil <arundpil@in.ibm.com> | 2018-08-27 16:43:15 +0000 |
commit | 9e6332347742df973ef78ea0c7ffbe3197d8c730 (patch) | |
tree | c58c1c1e592618cc0b1303bffe32b0f654999ea6 | |
parent | 3456ee097bc42c929f20d8bf530930f223dd6ff9 (diff) |
ExternalAccessRoleServiceImpl: Fixed sonar issue
Fixed sonar issue, make method public or remove @Transcational anotation
Issue-ID: PORTAL-385
Change-Id: I6ad3358b92feb0a830ee5dcb022d873b315d1172
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
-rw-r--r-- | ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/ExternalAccessRolesServiceImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/ExternalAccessRolesServiceImpl.java b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/ExternalAccessRolesServiceImpl.java index 4c68fc9c..4197d232 100644 --- a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/ExternalAccessRolesServiceImpl.java +++ b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/ExternalAccessRolesServiceImpl.java @@ -897,8 +897,8 @@ public class ExternalAccessRolesServiceImpl implements ExternalAccessRolesServic * @throws Exception */ @SuppressWarnings("unchecked") - @Transactional(rollbackFor = Exception.class) - private boolean addRoleInEcompDB(Role addRoleInDB, EPApp app) throws Exception { + @Transactional(rollbackFor = Exception.class) + public boolean addRoleInEcompDB(Role addRoleInDB, EPApp app) throws Exception { boolean result = false; EPRole epRole = null; Set<RoleFunction> roleFunctionList = addRoleInDB.getRoleFunctions(); |