2016-08-31 17:25:24 +02:00
|
|
|
<web-app>
|
|
|
|
<servlet>
|
2016-10-21 17:42:22 +02:00
|
|
|
<servlet-name>org.gcube.informationsystem.resourceregistry.ResourceInitializer</servlet-name>
|
|
|
|
<init-param>
|
|
|
|
<param-name>jersey.config.server.provider.packages</param-name>
|
|
|
|
<param-value>
|
|
|
|
io.swagger.jaxrs.listing,
|
2016-10-24 17:37:23 +02:00
|
|
|
org.gcube.informationsystem.resourceregistry,
|
2016-10-21 17:42:22 +02:00
|
|
|
org.gcube.informationsystem.resourceregistry.resources
|
|
|
|
</param-value>
|
|
|
|
</init-param>
|
|
|
|
<load-on-startup>1</load-on-startup>
|
|
|
|
</servlet>
|
|
|
|
<servlet>
|
|
|
|
<servlet-name>Jersey2Config</servlet-name>
|
|
|
|
<servlet-class>io.swagger.jersey.config.JerseyJaxrsConfig</servlet-class>
|
|
|
|
<init-param>
|
|
|
|
<param-name>api.version</param-name>
|
|
|
|
<param-value>1.0.0</param-value>
|
|
|
|
</init-param>
|
|
|
|
<init-param>
|
|
|
|
<param-name>org.gcube.informationsystem.resourceregistry</param-name>
|
|
|
|
<param-value>http://localhost:8080/api</param-value>
|
|
|
|
</init-param>
|
|
|
|
<load-on-startup>2</load-on-startup>
|
|
|
|
</servlet>
|
|
|
|
|
|
|
|
<servlet-mapping>
|
|
|
|
<servlet-name>org.gcube.informationsystem.resourceregistry.ResourceInitializer</servlet-name>
|
|
|
|
<url-pattern>/*</url-pattern>
|
|
|
|
</servlet-mapping>
|
|
|
|
</web-app>
|