Commit b6780ac0 authored by Baptiste Mesta's avatar Baptiste Mesta Committed by abirembaut
Browse files

feat(docker): update web.xml with new icon servlets

Closes [RUNTIME-240](https://bonitasoft.atlassian.net/browse/RUNTIME-240)
parent 67dec13e
...@@ -265,6 +265,8 @@ ...@@ -265,6 +265,8 @@
<url-pattern>/platformloginservice</url-pattern> <url-pattern>/platformloginservice</url-pattern>
<url-pattern>/platformlogoutservice</url-pattern> <url-pattern>/platformlogoutservice</url-pattern>
<url-pattern>/API/system/i18ntranslation</url-pattern> <url-pattern>/API/system/i18ntranslation</url-pattern>
<url-pattern>/API/avatars/*</url-pattern>
<url-pattern>/API/applicationIcon/*</url-pattern>
<!-- War --> <!-- War -->
<url-pattern>/css</url-pattern> <url-pattern>/css</url-pattern>
<url-pattern>/images</url-pattern> <url-pattern>/images</url-pattern>
...@@ -277,6 +279,8 @@ ...@@ -277,6 +279,8 @@
<url-pattern>/portal/deferredjs/*</url-pattern> <url-pattern>/portal/deferredjs/*</url-pattern>
<url-pattern>/portal.js/*</url-pattern> <url-pattern>/portal.js/*</url-pattern>
<url-pattern>/theme/*</url-pattern> <url-pattern>/theme/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping> </filter-mapping>
<filter-mapping> <filter-mapping>
...@@ -285,6 +289,8 @@ ...@@ -285,6 +289,8 @@
<url-pattern>/portal/resource/app/*</url-pattern> <url-pattern>/portal/resource/app/*</url-pattern>
<url-pattern>/apps/*</url-pattern> <url-pattern>/apps/*</url-pattern>
<url-pattern>/portal/custom-page/*</url-pattern> <url-pattern>/portal/custom-page/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping> </filter-mapping>
<!-- Cache Filter Mapping End --> <!-- Cache Filter Mapping End -->
...@@ -389,6 +395,10 @@ ...@@ -389,6 +395,10 @@
<param-name>SupportedExtensions</param-name> <param-name>SupportedExtensions</param-name>
<param-value>png,jpg,gif,jpeg,bmp,wbmp,tga</param-value> <param-value>png,jpg,gif,jpeg,bmp,wbmp,tga</param-value>
</init-param> </init-param>
<init-param>
<param-name>CheckUploadedImageSize</param-name>
<param-value>true</param-value>
</init-param>
</servlet> </servlet>
<servlet> <servlet>
<servlet-name>apiImageUploadServlet</servlet-name> <servlet-name>apiImageUploadServlet</servlet-name>
...@@ -405,11 +415,19 @@ ...@@ -405,11 +415,19 @@
<param-name>ReturnOriginalFilename</param-name> <param-name>ReturnOriginalFilename</param-name>
<param-value>true</param-value> <param-value>true</param-value>
</init-param> </init-param>
<init-param>
<param-name>CheckUploadedImageSize</param-name>
<param-value>true</param-value>
</init-param>
</servlet> </servlet>
<servlet> <servlet>
<servlet-name>iconServlet</servlet-name> <servlet-name>organizationIconServlet</servlet-name>
<servlet-class>org.bonitasoft.console.common.server.servlet.IconServlet</servlet-class> <servlet-class>org.bonitasoft.console.common.server.servlet.OrganizationIconServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>applicationIconServlet</servlet-name>
<servlet-class>org.bonitasoft.console.common.server.servlet.ApplicationIconServlet</servlet-class>
</servlet> </servlet>
<servlet> <servlet>
<servlet-name>loginService</servlet-name> <servlet-name>loginService</servlet-name>
...@@ -538,6 +556,7 @@ ...@@ -538,6 +556,7 @@
<servlet-name>homepage</servlet-name> <servlet-name>homepage</servlet-name>
<servlet-class>org.bonitasoft.console.common.server.servlet.HomepageServlet</servlet-class> <servlet-class>org.bonitasoft.console.common.server.servlet.HomepageServlet</servlet-class>
</servlet> </servlet>
<!-- End theme -->
<!-- For engine HTTP API --> <!-- For engine HTTP API -->
<!--<servlet> <!--<servlet>
...@@ -606,10 +625,14 @@ ...@@ -606,10 +625,14 @@
<url-pattern>/portal/exportActors</url-pattern> <url-pattern>/portal/exportActors</url-pattern>
</servlet-mapping> </servlet-mapping>
<servlet-mapping> <servlet-mapping>
<servlet-name>iconServlet</servlet-name> <servlet-name>organizationIconServlet</servlet-name>
<url-pattern>/API/avatars/*</url-pattern> <url-pattern>/API/avatars/*</url-pattern>
<url-pattern>/portal/custom-page/API/avatars/*</url-pattern> <url-pattern>/portal/custom-page/API/avatars/*</url-pattern>
</servlet-mapping> </servlet-mapping>
<servlet-mapping>
<servlet-name>applicationIconServlet</servlet-name>
<url-pattern>/API/applicationIcon/*</url-pattern>
</servlet-mapping>
<servlet-mapping> <servlet-mapping>
<servlet-name>deprecatedDocumentDownloadServlet</servlet-name> <servlet-name>deprecatedDocumentDownloadServlet</servlet-name>
<url-pattern>/portal/downloadDocument</url-pattern> <url-pattern>/portal/downloadDocument</url-pattern>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment