added /health into servlet mapping
This commit is contained in:
parent
a991055fd6
commit
fb6857a984
|
@ -8,6 +8,5 @@
|
|||
<exclude>/srv/docs/*</exclude>
|
||||
<exclude>/srv/api-docs/*</exclude>
|
||||
<exclude>/srv/health</exclude>
|
||||
<exclude>/srv/health/*</exclude>
|
||||
</application>
|
||||
|
||||
|
|
|
@ -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 .. ");
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
<web-app>
|
||||
<servlet>
|
||||
<servlet-name>org.gcube.application.geoportal.service.GeoPortalService</servlet-name>
|
||||
<servlet-name>org.gcube.application.geoportal.service.GeoPortalService
|
||||
</servlet-name>
|
||||
<servlet-class>org.glassfish.jersey.servlet.ServletContainer
|
||||
</servlet-class>
|
||||
<init-param>
|
||||
<param-name>javax.ws.rs.Application</param-name>
|
||||
<param-value>org.gcube.application.geoportal.service.GeoPortalService</param-value>
|
||||
<param-value>org.gcube.application.geoportal.service.GeoPortalService
|
||||
</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>jersey.config.server.provider.classnames</param-name>
|
||||
|
@ -20,16 +22,21 @@
|
|||
</servlet>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>default</servlet-name>
|
||||
<url-pattern>/docs/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-name>default</servlet-name>
|
||||
<url-pattern>/docs/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>default</servlet-name>
|
||||
<url-pattern>/api-docs/*</url-pattern>
|
||||
<servlet-name>default</servlet-name>
|
||||
<url-pattern>/api-docs/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>default</servlet-name>
|
||||
<url-pattern>/health</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>org.gcube.application.geoportal.service.GeoPortalService</servlet-name>
|
||||
<servlet-name>org.gcube.application.geoportal.service.GeoPortalService
|
||||
</servlet-name>
|
||||
<url-pattern>/srv/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
</web-app>
|
Loading…
Reference in New Issue