added uri-resolver-web.xml template

This commit is contained in:
Roberto Cirillo 2019-04-30 16:20:36 +02:00
parent f5f2ee34ce
commit 2cd09931f8
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app>
<context-param>
<param-name>root-app-token</param-name>
<param-value>{{ webxml_root_app_token }}
</param-value>
</context-param>
<context-param>
<param-name>root-scope</param-name>
<param-value>{{ webxml_root_scope }}</param-value>
</context-param>
<servlet>
<servlet-name>org.gcube.datatransfer.resolver.UriResolver</servlet-name>
</servlet>
<servlet-mapping>
<servlet-name>org.gcube.datatransfer.resolver.UriResolver</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>