Domain model change 49/99149/1
authorDominik Mizyn <d.mizyn@samsung.com>
Wed, 4 Dec 2019 14:49:03 +0000 (15:49 +0100)
committerDominik Mizyn <d.mizyn@samsung.com>
Wed, 4 Dec 2019 14:49:43 +0000 (15:49 +0100)
commitffd9af970318c1f5a0bad46d7aad5d4611414aae
tree935f5e0a13a21df52ca1d796ac3b684910d4ba4c
parent39fb119cdaea6bd8d801b22d195db39f6d8faaca
Domain model change

ORM inheritance implementation in all classes that extend from DomainVo
class.

This patch also change data source from data.sql to DBInitializingBean that
pushing data by hibernate to database.

Issue-ID: PORTAL-710
Change-Id: I0f95f7a50facae9f3004ff9f16cdee4e76a39e35
Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
200 files changed:
ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/domain/SharedContext.java
portal-BE/docker-compose.yml
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/configuration/DBInitializingBean.java [new file with mode: 0644]
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/WebAnalyticsExtAppController.java
portal-BE/src/main/java/org/onap/portal/controller/WidgetMSController.java
portal-BE/src/main/java/org/onap/portal/controller/WidgetsCatalogController.java
portal-BE/src/main/java/org/onap/portal/controller/WidgetsCatalogMarkupController.java
portal-BE/src/main/java/org/onap/portal/controller/WidgetsController.java
portal-BE/src/main/java/org/onap/portal/dao/ep/EpAppFunctionDao.java
portal-BE/src/main/java/org/onap/portal/dao/ep/EpAppRoleFunctionDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/ep/EpBasicAuthAccountDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/ep/EpMicroserviceDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/ep/EpPersUserAppSortDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnAppContactUsDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnAppDao.java
portal-BE/src/main/java/org/onap/portal/dao/fn/FnAuditLogDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnCommonWidgetDataDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnDisplayTextDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnFunctionDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnLanguageDao.java
portal-BE/src/main/java/org/onap/portal/dao/fn/FnLuActivityDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnLuAlertMethodDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnLuMenuSetDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnLuPriorityDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnLuTabSetDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnMenuDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnMenuFunctionalAncestorsDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnPersUserAppSelDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnQzCronTriggersDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnQzJobDetailsDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnQzLocksDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnQzSchedulerStateDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnQzTriggersDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnRestrictedUrlDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnRoleCompositeDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnRoleDao.java
portal-BE/src/main/java/org/onap/portal/dao/fn/FnRoleFunctionDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnSharedContextDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnTabDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnTabSelectedDao.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/dao/fn/FnUserDao.java
portal-BE/src/main/java/org/onap/portal/dao/fn/FnUserRoleDao.java
portal-BE/src/main/java/org/onap/portal/domain/db/DomainVo.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/domain/db/VUrlAccess.java
portal-BE/src/main/java/org/onap/portal/domain/db/cr/CrFavoriteReports.java
portal-BE/src/main/java/org/onap/portal/domain/db/cr/CrFilehistLog.java
portal-BE/src/main/java/org/onap/portal/domain/db/cr/CrFolder.java
portal-BE/src/main/java/org/onap/portal/domain/db/cr/CrFolderAccess.java
portal-BE/src/main/java/org/onap/portal/domain/db/cr/CrLuFileType.java
portal-BE/src/main/java/org/onap/portal/domain/db/cr/CrReport.java
portal-BE/src/main/java/org/onap/portal/domain/db/cr/CrReportAccess.java
portal-BE/src/main/java/org/onap/portal/domain/db/cr/CrReportEmailSentLog.java
portal-BE/src/main/java/org/onap/portal/domain/db/cr/CrReportFileHistory.java
portal-BE/src/main/java/org/onap/portal/domain/db/cr/CrReportLog.java
portal-BE/src/main/java/org/onap/portal/domain/db/cr/CrReportSchedule.java
portal-BE/src/main/java/org/onap/portal/domain/db/cr/CrReportScheduleUsers.java
portal-BE/src/main/java/org/onap/portal/domain/db/cr/CrReportTemplateMap.java
portal-BE/src/main/java/org/onap/portal/domain/db/cr/CrTableJoin.java
portal-BE/src/main/java/org/onap/portal/domain/db/cr/CrTableRole.java
portal-BE/src/main/java/org/onap/portal/domain/db/cr/CrTableSource.java
portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpAppFunction.java
portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpAppRoleFunction.java
portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpBasicAuthAccount.java
portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpEndpoints.java
portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpEndpointsBasicAuthAccount.java
portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpMicroservice.java
portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpMicroserviceParameter.java
portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpNotification.java
portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpPersUserAppSort.java
portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpPersUserWidgetPlacement.java
portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpPersUserWidgetSel.java
portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpRoleNotification.java
portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpUserNotification.java
portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpUserRolesRequest.java
portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpUserRolesRequestDet.java
portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpWebAnalyticsSource.java
portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpWidgetCatalog.java
portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpWidgetCatalogFiles.java
portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpWidgetCatalogParameter.java
portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpWidgetCatalogRole.java
portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpWidgetPreviewFiles.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnApp.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnAppContactUs.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnAuditAction.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnAuditActionLog.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnAuditLog.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnBroadcastMessage.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnChatRoom.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnCommonWidgetData.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnDatasource.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnDisplayText.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnFunction.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnLanguage.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnLuActivity.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnLuAlertMethod.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnLuMenuSet.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnLuPriority.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnLuTabSet.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnLuTimezone.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnMenu.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnMenuFunctional.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnMenuFunctionalAncestors.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnMenuFunctionalRoles.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnOrg.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnPersUserAppSel.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnQzCronTriggers.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnQzJobDetails.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnQzSchedulerState.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnQzTriggers.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnRestrictedUrl.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnRole.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnRoleComposite.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnRoleFunction.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnScheduleWorkflows.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnSharedContext.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnTab.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnTabSelected.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnUser.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnUserRole.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnWidget.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnWorkflow.java
portal-BE/src/main/java/org/onap/portal/domain/db/fn/compositePK/FnRoleCompositeId.java [new file with mode: 0644]
portal-BE/src/main/java/org/onap/portal/domain/dto/DomainVo.java [deleted file]
portal-BE/src/main/java/org/onap/portal/domain/dto/PortalRestStatusEnum.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/AppCatalogItem.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/AppCategoryFunctionsItem.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/AppContactUs.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/AppContactUsItem.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/BasicAuthCredentials.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/CentralV2RoleFunction.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/CommonWidgetsEnum.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/EPApp.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/EPAppRoleFunction.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/EPEndpoint.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/EPEndpointAccount.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/EPRole.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/EPUserApp.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/EPUserAppCatalogRoles.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/EPUserAppRoles.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/EPUserAppRolesRequest.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/EPUserAppRolesRequestDetail.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/EPUserAppsManualSortPreference.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/EPUserAppsSortPreference.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/EPWidgetsManualSortPreference.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/MicroserviceData.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/MicroserviceParameter.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/PersUserAppSelection.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/PersUserWidgetSelection.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/PortalRestStatusEnum.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/SearchResultItem.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/SharedContext.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/Widget.java
portal-BE/src/main/java/org/onap/portal/domain/dto/ecomp/WidgetCatalogParameter.java
portal-BE/src/main/java/org/onap/portal/domain/dto/transport/CentralV2Role.java
portal-BE/src/main/java/org/onap/portal/domain/dto/transport/CentralV2RoleFunction.java
portal-BE/src/main/java/org/onap/portal/domain/dto/transport/CommonWidget.java
portal-BE/src/main/java/org/onap/portal/domain/dto/transport/EpNotificationItemVO.java
portal-BE/src/main/java/org/onap/portal/domain/dto/transport/EpRoleNotificationItem.java
portal-BE/src/main/java/org/onap/portal/domain/dto/transport/OnboardingWidget.java
portal-BE/src/main/java/org/onap/portal/domain/dto/transport/Role.java
portal-BE/src/main/java/org/onap/portal/domain/mapper/FnUserMapper.java
portal-BE/src/main/java/org/onap/portal/logging/aop/EPEELFLoggerAdvice.java
portal-BE/src/main/java/org/onap/portal/logging/format/EPAppMessagesEnum.java
portal-BE/src/main/java/org/onap/portal/logging/logic/EPLogUtil.java
portal-BE/src/main/java/org/onap/portal/service/AdminRolesService.java
portal-BE/src/main/java/org/onap/portal/service/ApplicationsRestClientService.java
portal-BE/src/main/java/org/onap/portal/service/AppsCacheService.java
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/WidgetMService.java
portal-BE/src/main/java/org/onap/portal/service/WidgetService.java
portal-BE/src/main/java/org/onap/portal/service/ep/EpMicroserviceParameterService.java
portal-BE/src/main/java/org/onap/portal/service/ep/EpWidgetCatalogParameterService.java
portal-BE/src/main/java/org/onap/portal/service/fn/FnAppService.java
portal-BE/src/main/java/org/onap/portal/service/fn/FnLanguageService.java
portal-BE/src/main/java/org/onap/portal/service/fn/FnRoleService.java
portal-BE/src/main/java/org/onap/portal/service/fn/FnUserRoleService.java
portal-BE/src/main/java/org/onap/portal/service/fn/FnUserService.java
portal-BE/src/main/java/org/onap/portal/utils/EPUserUtils.java
portal-BE/src/main/java/org/onap/portal/utils/EcompPortalUtils.java
portal-BE/src/main/java/org/onap/portal/validation/SecureString.java
portal-BE/src/main/resources/data.sql [deleted file]
portal-BE/src/main/resources/data2.sql [new file with mode: 0644]
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/WidgetMSControllerTest.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/framework/MockitoTestSuite.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