summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2018-08-27 17:29:50 +0530
committerArundathi Patil <arundpil@in.ibm.com>2018-08-27 16:43:15 +0000
commit9e6332347742df973ef78ea0c7ffbe3197d8c730 (patch)
treec58c1c1e592618cc0b1303bffe32b0f654999ea6
parent3456ee097bc42c929f20d8bf530930f223dd6ff9 (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.java4
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();