Merge "ExternalAccessRoleServiceImpl: Fixed sonar issue"
authorManoop Talasila <talasila@research.att.com>
Wed, 12 Sep 2018 16:27:19 +0000 (16:27 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 12 Sep 2018 16:27:19 +0000 (16:27 +0000)
ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/ExternalAccessRolesServiceImpl.java

index 4c68fc9..4197d23 100644 (file)
@@ -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();