resource-manager/gcube/extra-resources/WEB-INF/web.xml

23 lines
868 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
version="4.0">
<display-name>${project.name}</display-name>
<description>${project.description}</description>
<servlet>
<servlet-name>org.gcube.resourcemanagement.RMInitializer</servlet-name>
</servlet>
<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-mapping>
<servlet-mapping>
<servlet-name>org.gcube.resourcemanagement.RMInitializer</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>