Dao object moved from dao packege to package by component in service folder 22/99722/2
authorDominik Mizyn <d.mizyn@samsung.com>
Tue, 17 Dec 2019 15:14:10 +0000 (16:14 +0100)
committerDominik Mizyn <d.mizyn@samsung.com>
Tue, 17 Dec 2019 15:15:29 +0000 (16:15 +0100)
commit9a391d0c4cca00a1cd448a6ce3fa755d42c8fd5d
treeadec34bad175aaaf36c19ece9ec044d770c6584d
parent2b436dba4b7c12e8c97f040753d0d5044d580b8d
Dao object moved from dao packege to package by component in service folder

This patch move all services from single folder to separete folders.
All DAO classes are noc package-private and moved too to this folders,
providing encapsulation mechanism. DAO object schould not be directly
call from any where else that package type class.

Issue-ID: PORTAL-710
Change-Id: I3c0edd9eaa8260849ca716dd6244cf4c83ec783c
Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
116 files changed:
portal-BE/src/main/java/org/onap/portal/PortalApplication.java
portal-BE/src/main/java/org/onap/portal/aop/service/FnLanguageServiceAOP.java
portal-BE/src/main/java/org/onap/portal/aop/service/FnUserServiceAOP.java
portal-BE/src/main/java/org/onap/portal/aop/service/WidgetServiceAOP.java
portal-BE/src/main/java/org/onap/portal/configuration/DBInitializingBean.java
portal-BE/src/main/java/org/onap/portal/configuration/SecurityConfig.java
portal-BE/src/main/java/org/onap/portal/configuration/WebMvcConfiguration.java
portal-BE/src/main/java/org/onap/portal/controller/LanguageController.java
portal-BE/src/main/java/org/onap/portal/controller/UserController.java
portal-BE/src/main/java/org/onap/portal/controller/UserRolesController.java
portal-BE/src/main/java/org/onap/portal/controller/WidgetsCatalogController.java
portal-BE/src/main/java/org/onap/portal/controller/WidgetsController.java
portal-BE/src/main/java/org/onap/portal/logging/aop/EPEELFLoggerAdvice.java
portal-BE/src/main/java/org/onap/portal/service/AdminRolesService.java
portal-BE/src/main/java/org/onap/portal/service/AppsCacheService.java
portal-BE/src/main/java/org/onap/portal/service/EPRoleFunctionService.java [moved from portal-BE/src/main/java/org/onap/portal/service/fn/old/EPRoleFunctionService.java with 98% similarity]
portal-BE/src/main/java/org/onap/portal/service/ExternalAccessRolesService.java
portal-BE/src/main/java/org/onap/portal/service/PersUserWidgetService.java
portal-BE/src/main/java/org/onap/portal/service/app/FnAppDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnAppDao.java with 84% similarity]
portal-BE/src/main/java/org/onap/portal/service/app/FnAppService.java [moved from portal-BE/src/main/java/org/onap/portal/service/fn/FnAppService.java with 95% similarity]
portal-BE/src/main/java/org/onap/portal/service/appContactUs/FnAppContactUsDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnAppContactUsDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/appContactUs/FnAppContactUsService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/appFunction/EpAppFunctionDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/ep/EpAppFunctionDao.java with 95% similarity]
portal-BE/src/main/java/org/onap/portal/service/appFunction/EpAppFunctionService.java [moved from portal-BE/src/main/java/org/onap/portal/service/ep/EpAppFunctionService.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/appRoleFunction/EpAppRoleFunctionDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/ep/EpAppRoleFunctionDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/appRoleFunction/EpAppRoleFunctionService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/auditLog/FnAuditLogDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnAuditLogDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/auditLog/FnAuditLogService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/basicAuthAccount/EpBasicAuthAccountDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/ep/EpBasicAuthAccountDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/basicAuthAccount/EpBasicAuthAccountService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/commonWidgetData/FnCommonWidgetDataDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnCommonWidgetDataDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/commonWidgetData/FnCommonWidgetDataService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/displayText/FnDisplayTextDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnDisplayTextDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/displayText/FnDisplayTextService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/function/FnFunctionDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnFunctionDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/function/FnFunctionService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/language/FnLanguageDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnLanguageDao.java with 95% similarity]
portal-BE/src/main/java/org/onap/portal/service/language/FnLanguageService.java [moved from portal-BE/src/main/java/org/onap/portal/service/fn/FnLanguageService.java with 90% similarity]
portal-BE/src/main/java/org/onap/portal/service/luActivity/FnLuActivityDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnLuActivityDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/luActivity/FnLuActivityService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/luAlertMethod/FnLuAlertMethodDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnLuAlertMethodDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/luAlertMethod/FnLuAlertMethodService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/luMenuSet/FnLuMenuSetDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnLuMenuSetDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/luMenuSet/FnLuMenuSetService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/luPriority/FnLuPriorityDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnLuPriorityDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/luPriority/FnLuPriorityService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/luTabSet/FnLuTabSetDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnLuTabSetDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/luTabSet/FnLuTabSetService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/luTimezone/FnLuTimezoneDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnLuTimezoneDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/luTimezone/FnLuTimezoneService.java [moved from portal-BE/src/main/java/org/onap/portal/service/fn/FnLuTimezoneService.java with 92% similarity]
portal-BE/src/main/java/org/onap/portal/service/menu/FnMenuDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnMenuDao.java with 95% similarity]
portal-BE/src/main/java/org/onap/portal/service/menu/FnMenuService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/menuFunctional/FnMenuFunctionalDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnMenuFunctionalDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/menuFunctional/FnMenuFunctionalService.java [moved from portal-BE/src/main/java/org/onap/portal/service/fn/FnMenuFunctionalService.java with 92% similarity]
portal-BE/src/main/java/org/onap/portal/service/menuFunctionalAncestors/FnMenuFunctionalAncestorsDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnMenuFunctionalAncestorsDao.java with 93% similarity]
portal-BE/src/main/java/org/onap/portal/service/menuFunctionalAncestors/FnMenuFunctionalAncestorsService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/menuFunctionalRoles/FnMenuFunctionalRolesDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnMenuFunctionalRolesDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/menuFunctionalRoles/FnMenuFunctionalRolesService.java [moved from portal-BE/src/main/java/org/onap/portal/service/fn/FnMenuFunctionalRolesService.java with 93% similarity]
portal-BE/src/main/java/org/onap/portal/service/microservice/EpMicroserviceDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/ep/EpMicroserviceDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/microservice/EpMicroserviceService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/microserviceParameter/EpMicroserviceParameterDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/ep/EpMicroserviceParameterDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/microserviceParameter/EpMicroserviceParameterService.java [moved from portal-BE/src/main/java/org/onap/portal/service/ep/EpMicroserviceParameterService.java with 93% similarity]
portal-BE/src/main/java/org/onap/portal/service/persUserAppSel/FnPersUserAppSelDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnPersUserAppSelDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/persUserAppSel/FnPersUserAppSelService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/persUserAppSort/EpPersUserAppSortDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/ep/EpPersUserAppSortDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/persUserAppSort/EpPersUserAppSortService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/persUserWidgetSel/EpPersUserWidgetSelDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/ep/EpPersUserWidgetSelDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/persUserWidgetSel/EpPersUserWidgetSelService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/qzCronTriggers/FnQzCronTriggersDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnQzCronTriggersDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/qzCronTriggers/FnQzCronTriggersService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/qzJobDetails/FnQzJobDetailsDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnQzJobDetailsDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/qzJobDetails/FnQzJobDetailsService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/qzLocks/FnQzLocksDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnQzLocksDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/qzLocks/FnQzLocksService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/qzSchedulerState/FnQzSchedulerStateDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnQzSchedulerStateDao.java with 93% similarity]
portal-BE/src/main/java/org/onap/portal/service/qzSchedulerState/FnQzSchedulerStateService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/qzTriggers/FnQzTriggersDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnQzTriggersDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/qzTriggers/FnQzTriggersService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/restrictedUrl/FnRestrictedUrlDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnRestrictedUrlDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/restrictedUrl/FnRestrictedUrlService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/role/FnRoleDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnRoleDao.java with 96% similarity]
portal-BE/src/main/java/org/onap/portal/service/role/FnRoleService.java [moved from portal-BE/src/main/java/org/onap/portal/service/fn/FnRoleService.java with 97% similarity]
portal-BE/src/main/java/org/onap/portal/service/roleComposite/FnRoleCompositeDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnRoleCompositeDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/roleComposite/FnRoleCompositeService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/roleFunction/FnRoleFunctionDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnRoleFunctionDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/roleFunction/FnRoleFunctionService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/sharedContext/FnSharedContextDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnSharedContextDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/sharedContext/FnSharedContextService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/tab/FnTabDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnTabDao.java with 95% similarity]
portal-BE/src/main/java/org/onap/portal/service/tab/FnTabService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/tabSelected/FnTabSelectedDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnTabSelectedDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/tabSelected/FnTabSelectedService.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/service/user/FnUserDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnUserDao.java with 96% similarity]
portal-BE/src/main/java/org/onap/portal/service/user/FnUserService.java [moved from portal-BE/src/main/java/org/onap/portal/service/fn/FnUserService.java with 89% similarity]
portal-BE/src/main/java/org/onap/portal/service/userRole/FnUserRoleDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnUserRoleDao.java with 96% similarity]
portal-BE/src/main/java/org/onap/portal/service/userRole/FnUserRoleService.java [moved from portal-BE/src/main/java/org/onap/portal/service/fn/FnUserRoleService.java with 98% similarity]
portal-BE/src/main/java/org/onap/portal/service/userRolesRequest/EpUserRolesRequestDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/ep/EpUserRolesRequestDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/userRolesRequest/EpUserRolesRequestService.java [moved from portal-BE/src/main/java/org/onap/portal/service/ep/EpUserRolesRequestService.java with 96% similarity]
portal-BE/src/main/java/org/onap/portal/service/userRolesRequestDet/EpUserRolesRequestDetDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/ep/EpUserRolesRequestDetDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/userRolesRequestDet/EpUserRolesRequestDetService.java [moved from portal-BE/src/main/java/org/onap/portal/service/ep/EpUserRolesRequestDetService.java with 96% similarity]
portal-BE/src/main/java/org/onap/portal/service/widget/FnWidgetDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/FnWidgetDao.java with 95% similarity]
portal-BE/src/main/java/org/onap/portal/service/widget/WidgetService.java [moved from portal-BE/src/main/java/org/onap/portal/service/WidgetService.java with 98% similarity]
portal-BE/src/main/java/org/onap/portal/service/widgetCatalog/EpWidgetCatalogDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/fn/EpWidgetCatalogDao.java with 94% similarity]
portal-BE/src/main/java/org/onap/portal/service/widgetCatalog/EpWidgetCatalogService.java [moved from portal-BE/src/main/java/org/onap/portal/service/ep/EpWidgetCatalogService.java with 59% similarity]
portal-BE/src/main/java/org/onap/portal/service/widgetCatalogParameter/EpWidgetCatalogParameterDao.java [moved from portal-BE/src/main/java/org/onap/portal/dao/ep/EpWidgetCatalogParameterDao.java with 85% similarity]
portal-BE/src/main/java/org/onap/portal/service/widgetCatalogParameter/EpWidgetCatalogParameterService.java [moved from portal-BE/src/main/java/org/onap/portal/service/ep/EpWidgetCatalogParameterService.java with 97% similarity]
portal-BE/src/main/java/org/onap/portal/utils/EPUserUtils.java
portal-BE/src/test/java/org/onap/portal/controller/LanguageControllerTest.java
portal-BE/src/test/java/org/onap/portal/controller/UserControllerTest.java
portal-BE/src/test/java/org/onap/portal/controller/UserRolesControllerTest.java
portal-BE/src/test/java/org/onap/portal/controller/WidgetsCatalogControllerTest.java
portal-BE/src/test/java/org/onap/portal/controller/WidgetsControllerTest.java
portal-BE/src/test/java/org/onap/portal/service/ep/EpMicroserviceParameterServiceTest.java
portal-BE/src/test/java/org/onap/portal/service/ep/EpWidgetCatalogParameterServiceTest.java
portal-BE/src/test/java/org/onap/portal/service/fn/FnUserRoleServiceTest.java
portal-BE/src/test/java/org/onap/portal/service/fn/FnUserServiceTest.java