From 9e6332347742df973ef78ea0c7ffbe3197d8c730 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Mon, 27 Aug 2018 17:29:50 +0530 Subject: [PATCH] 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 --- .../onap/portalapp/portal/service/ExternalAccessRolesServiceImpl.java | 4 ++-- 1 file 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 roleFunctionList = addRoleInDB.getRoleFunctions(); -- 2.16.6