diff --git a/geoportal-service/gcube/extra-resources/WEB-INF/gcube-app.xml b/geoportal-service/gcube/extra-resources/WEB-INF/gcube-app.xml index 132eedd..41d1018 100644 --- a/geoportal-service/gcube/extra-resources/WEB-INF/gcube-app.xml +++ b/geoportal-service/gcube/extra-resources/WEB-INF/gcube-app.xml @@ -8,6 +8,5 @@ /srv/docs/* /srv/api-docs/* /srv/health - /srv/health/* diff --git a/geoportal-service/src/main/java/org/gcube/application/geoportal/service/GeoPortalService.java b/geoportal-service/src/main/java/org/gcube/application/geoportal/service/GeoPortalService.java index 7d7e531..0a4bcb2 100644 --- a/geoportal-service/src/main/java/org/gcube/application/geoportal/service/GeoPortalService.java +++ b/geoportal-service/src/main/java/org/gcube/application/geoportal/service/GeoPortalService.java @@ -53,7 +53,7 @@ public class GeoPortalService extends ResourceConfig { registerClasses(ProfiledDocuments.class); registerClasses(UseCaseDescriptors.class); registerClasses(Plugins.class); - registerClasses(GeoportalHealth.class); + //registerClasses(GeoportalHealth.class); // registerClasses(DocsGenerator.class); log.info("Setting implementations .. "); diff --git a/geoportal-service/src/main/webapp/WEB-INF/web.xml b/geoportal-service/src/main/webapp/WEB-INF/web.xml index b387ccd..5c7e88d 100644 --- a/geoportal-service/src/main/webapp/WEB-INF/web.xml +++ b/geoportal-service/src/main/webapp/WEB-INF/web.xml @@ -1,11 +1,13 @@ - org.gcube.application.geoportal.service.GeoPortalService + org.gcube.application.geoportal.service.GeoPortalService + org.glassfish.jersey.servlet.ServletContainer javax.ws.rs.Application - org.gcube.application.geoportal.service.GeoPortalService + org.gcube.application.geoportal.service.GeoPortalService + jersey.config.server.provider.classnames @@ -20,16 +22,21 @@ - default - /docs/* - + default + /docs/* + - default - /api-docs/* + default + /api-docs/* + + + default + /health - org.gcube.application.geoportal.service.GeoPortalService + org.gcube.application.geoportal.service.GeoPortalService + /srv/* \ No newline at end of file