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=2488a2e5e6e1f9c36d411f66e0080083bfa10806;hb=3aa28e9dd68cce134644223505f326378b5d91a8;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..2488a2e5 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,47 @@ - + @@ -177,6 +195,7 @@ + @@ -191,7 +210,7 @@ - + @@ -264,9 +283,9 @@ + class="org.onap.portalapp.portal.domain.EPApp" column="app_id" /> + class="org.onap.portalapp.portal.domain.EPRole" column="role_id" /> @@ -371,7 +390,7 @@ - + seq_fn_role @@ -390,21 +409,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 +467,11 @@ + - + @@ -489,7 +509,7 @@ lazy="false" cascade="save-update, persist" inverse="true" fetch="select"> + class="org.onap.portalapp.portal.domain.EPUserAppRolesRequestDetail" /> @@ -503,7 +523,7 @@ + class="org.onap.portalapp.portal.domain.EPUserAppRolesRequest"> @@ -532,7 +552,7 @@ + class="org.onap.portalapp.portal.ecomp.model.SearchResultItem" /> + class="org.onap.portalapp.portal.transport.EpNotificationItem" /> - - + @@ -725,7 +752,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 +1130,7 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y - + - + - + - + @@ -1223,8 +1270,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 +1653,56 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - + @@ -1567,7 +1710,6 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y @@ -1575,7 +1717,6 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y @@ -1583,7 +1724,6 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y @@ -1591,17 +1731,14 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y - - + @@ -1609,10 +1746,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 +1755,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 +1764,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 +1772,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 +1886,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 +1893,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 +1901,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" /> + class="org.onap.portalapp.portal.transport.EcompUserAppRoles" /> + class="org.onap.portalsdk.core.domain.RoleFunction" /> + class="org.onap.portalapp.portal.transport.BulkUploadRoleFunction" /> - - + + + + + + + + - + + + + + + - + - - + - + + + + + + + @@ -1924,17 +2085,276 @@ 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 + + + + + + + + + select id,password from BasicAuthCredentials + + + + select id,password from MicroserviceData +