diff options
Diffstat (limited to 'ecomp-portal-BE-common/src/main/webapp/WEB-INF')
-rw-r--r-- | ecomp-portal-BE-common/src/main/webapp/WEB-INF/fusion/orm/EP.hbm.xml | 7 |
1 files changed, 7 insertions, 0 deletions
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 5909036e..14156f46 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 @@ -2609,4 +2609,11 @@ where fn_role.app_id = fn_app.app_id and fn_app.enabled='Y' and fn_role.active_y UPDATE fn_user fu SET fu.language_id=:language_id WHERE fu.login_id=:login_id ]]> </sql-query> + + <sql-query name="getMicroservicesByAppId"> + <return alias="getMicroservicesByAppId" class="org.onap.portalapp.portal.domain.MicroserviceData" /> + <![CDATA[ + SELECT * FROM ep_microservice WHERE appId =:applicationId + ]]> + </sql-query> </hibernate-mapping> |