Commit 814de04c authored by Emmanuel Duchastenier's avatar Emmanuel Duchastenier Committed by GitHub
Browse files

chore(docker): prepare Bonita 7.12 docker image build (#298)

Closes [BR-534](https://bonitasoft.atlassian.net/browse/BR-534)
parent d67932e7
......@@ -94,7 +94,7 @@
-->
<!-- init-param>
<param-name>excludePattern</param-name>
<param-value>^/(bonita/)?(apps/.+/$)|(portal/resource/.+/content/$)|(portal/custom-page/API/)</param-value>
<param-value>^/(bonita/)?(apps/.+/$)|(portal/resource/.+/content/$)|(portal/custom-page/.+/$)|(portal/custom-page/API/)</param-value>
</init-param -->
</filter>
......@@ -115,7 +115,7 @@
-->
<!-- init-param>
<param-name>excludePattern</param-name>
<param-value>^/(bonita/)?(apps/.+/$)|(portal/resource/.+/content/$)|(portal/custom-page/API/)</param-value>
<param-value>^/(bonita/)?(apps/.+/$)|(portal/resource/.+/content/$)|(portal/custom-page/.+/$)|(portal/custom-page/API/)</param-value>
</init-param -->
</filter>
<!-- BPM URLSupport filter -->
......@@ -353,6 +353,22 @@
<param-value>png,jpg,gif,jpeg,bmp,wbmp,tga</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>apiImageUploadServlet</servlet-name>
<servlet-class>org.bonitasoft.console.common.server.servlet.TenantFileUploadServlet</servlet-class>
<init-param>
<param-name>SupportedExtensions</param-name>
<param-value>png,jpg,gif,jpeg,bmp,wbmp,tga</param-value>
</init-param>
<init-param>
<param-name>ContentType</param-name>
<param-value>json</param-value>
</init-param>
<init-param>
<param-name>ReturnOriginalFilename</param-name>
<param-value>true</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>iconServlet</servlet-name>
......@@ -552,6 +568,10 @@
<servlet-name>imageUploadServlet</servlet-name>
<url-pattern>/portal/imageUpload</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>apiImageUploadServlet</servlet-name>
<url-pattern>/API/imageUpload</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>fileUploadServlet</servlet-name>
<url-pattern>/portal/fileUpload</url-pattern>
......
......@@ -38,4 +38,4 @@ if [ -z ${CATALINA_PID+x} ]; then
fi
# extra lib required at Tomcat startup (for instance bonita juli extensions)
CLASSPATH="${CATALINA_HOME}/lib/ext/*"
export CLASSPATH="${CATALINA_HOME}/lib/ext/*"
Markdown is supported
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