X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ecomp-portal-BE-common%2Fsrc%2Fmain%2Fwebapp%2FWEB-INF%2Ffusion%2Form%2FEP.hbm.xml;h=5401ee95a1b887f389c207128b92391581b540bb;hb=230c71614b1d2fb71a8fb482c749ff5a6dad65d8;hp=342a6e8c43b67636911a9afd14265784b85d8b8d;hpb=978dbcf0a196acbafad72fe1e2478ec0e384f02f;p=portal.git diff --git a/ecomp-portal-BE-common/src/main/webapp/WEB-INF/fusion/orm/EP.hbm.xml b/ecomp-portal-BE-common/src/main/webapp/WEB-INF/fusion/orm/EP.hbm.xml index 342a6e8c..5401ee95 100644 --- a/ecomp-portal-BE-common/src/main/webapp/WEB-INF/fusion/orm/EP.hbm.xml +++ b/ecomp-portal-BE-common/src/main/webapp/WEB-INF/fusion/orm/EP.hbm.xml @@ -1,29 +1,70 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + @@ -177,6 +218,7 @@ + @@ -187,11 +229,13 @@ + + - + @@ -264,12 +308,12 @@ + class="org.onap.portalapp.portal.domain.EPApp" column="app_id" /> + class="org.onap.portalapp.portal.domain.EPRole" column="role_id" /> - - + + @@ -284,10 +328,10 @@ - - - - + + + + @@ -296,11 +340,11 @@ - + - + @@ -321,12 +365,22 @@ - + + + + + + + + + + + @@ -371,7 +425,7 @@ - + seq_fn_role @@ -390,21 +444,21 @@ sort="natural"> + class="org.onap.portalsdk.core.domain.RoleFunction" /> + class="org.onap.portalapp.portal.domain.EPRole" /> + class="org.onap.portalapp.portal.domain.EPRole" /> @@ -448,10 +502,11 @@ + - + @@ -489,7 +544,7 @@ lazy="false" cascade="save-update, persist" inverse="true" fetch="select"> + class="org.onap.portalapp.portal.domain.EPUserAppRolesRequestDetail" /> @@ -503,11 +558,36 @@ + class="org.onap.portalapp.portal.domain.EPUserAppRolesRequest"> + + + + + + + + + + + + + + + + + @@ -532,7 +612,7 @@ + class="org.onap.portalapp.portal.ecomp.model.SearchResultItem" /> + class="org.onap.portalapp.portal.transport.EpNotificationItem" /> - - + @@ -725,7 +812,7 @@ + class="org.onap.portalapp.portal.transport.EpNotificationItemVO" /> + class="org.onap.portalapp.portal.domain.EcompAppRole" /> + class="org.onap.portalapp.portal.transport.EpNotificationItemVO" /> + class="org.onap.portalapp.portal.transport.EpRoleNotificationItem" /> + class="org.onap.portalapp.portal.ecomp.model.AppContactUsItem" /> + class="org.onap.portalapp.portal.ecomp.model.AppContactUsItem" /> + class="org.onap.portalapp.portal.ecomp.model.AppCategoryFunctionsItem" /> + class="org.onap.portalapp.portal.domain.GetAccessResult" /> - + - + - + @@ -1103,7 +1190,7 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y - + - + - + - + @@ -1223,8 +1330,7 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y - - + - - + - - + - - + - - + - - + + class="org.onap.portalapp.portal.ecomp.model.AppCatalogItem" /> - - + + + + + + - - + @@ -1547,19 +1719,56 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - + @@ -1567,7 +1776,6 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y @@ -1575,7 +1783,6 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y @@ -1583,7 +1790,6 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y @@ -1591,17 +1797,14 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y - - + @@ -1609,10 +1812,8 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y - + class="org.onap.portalapp.portal.domain.EPUserAppsSortPreference" /> @@ -1620,10 +1821,8 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y - + class="org.onap.portalapp.portal.domain.EPUserAppsManualSortPreference" /> @@ -1631,7 +1830,7 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y + class="org.onap.portalapp.portal.domain.EPWidgetsManualSortPreference" /> @@ -1639,7 +1838,7 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y + class="org.onap.portalapp.portal.domain.EPUserAppRoles" /> + class="org.onap.portalapp.portal.domain.EPUserAppRolesRequest" /> + class="org.onap.portalapp.portal.domain.EPUserAppRolesRequestDetail" /> + class="org.onap.portalapp.portal.ecomp.model.AppCatalogItem" /> + class="org.onap.portalapp.portal.domain.EPUserAppCatalogRoles" /> - + class="org.onap.portalapp.portal.transport.BusinessCardApplicationRole" /> - = DATE_ADD(end_time,INTERVAL 3 MONTH) ]]> @@ -1755,7 +1952,6 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y - = DATE_ADD(end_time,INTERVAL 3 MONTH)) ]]> @@ -1763,7 +1959,6 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y - = DATE_ADD(end_time,INTERVAL 3 MONTH)) ]]> @@ -1772,7 +1967,7 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y + class="org.onap.portalapp.portal.domain.CentralV2RoleFunction" /> + class="org.onap.portalapp.portal.domain.CentralV2RoleFunction" /> + class="org.onap.portalapp.portal.domain.CentralV2RoleFunction" /> - - - - - - + class="org.onap.portalapp.portal.transport.EPUserAppCurrentRoles" /> @@ -1831,7 +2015,7 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y + class="org.onap.portalapp.portal.transport.EcompUserAppRoles" /> - + + class="org.onap.portalsdk.core.domain.RoleFunction" /> - + + + + + + + + class="org.onap.portalapp.portal.transport.BulkUploadRoleFunction" /> + + + + + + - - + + + + + + + + - + + + + + + - + - - + + + + + + + + + + + + + + + + + - + + + + + + + @@ -1924,17 +2216,385 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y where f.app_id =:appId UNION select epa.function_cd from fn_role fnr, ep_app_role_function epr, ep_app_function epa where epr.role_id = fnr.role_id - and epa.function_cd = epr.function_cd and fnr.role_name like 'global%' + and epa.function_cd = epr.function_cd and fnr.role_name like 'global%' and fnr.app_id is null and epr.app_id = 1 ; ]]> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id,password from BasicAuthCredentials + + + + select id,password from MicroserviceData + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +