Commit 11ad5b8f authored by Emmanuel Duchastenier's avatar Emmanuel Duchastenier Committed by GitHub
Browse files

feat(docker): build docker images version 7.11.x (#295)

Closes [BR-530](https://bonitasoft.atlassian.net/browse/BR-530)
parent 217a2d2c
......@@ -34,8 +34,8 @@ ARG BONITA_SHA256
ARG BASE_URL
ARG BONITA_URL
ENV BONITA_VERSION ${BONITA_VERSION:-7.10.6}
ENV BONITA_SHA256 ${BONITA_SHA256:-aaf61a044e7a8d9ec95d2b5d0c315a6d01d9c93ba01d753fcb008e2cfbbb725f}
ENV BONITA_VERSION ${BONITA_VERSION:-7.11.2}
ENV BONITA_SHA256 ${BONITA_SHA256:-36dca45fed326d700fddc52edc4efe2a14bc1111b2952fc0001047df9cf7a67a}
ENV ZIP_FILE BonitaCommunity-${BONITA_VERSION}.zip
ENV BASE_URL ${BASE_URL:-https://github.com/bonitasoft/bonita-platform-releases/releases/download}
ENV BONITA_URL ${BONITA_URL:-${BASE_URL}/${BONITA_VERSION}/BonitaCommunity-${BONITA_VERSION}.zip}
......
......@@ -60,11 +60,6 @@
<param-value>i18ntranslation,session</param-value>
</init-param>
</filter>
<!-- SSO filter -->
<filter>
<filter-name>InternalSSOFilter</filter-name>
<filter-class>org.bonitasoft.console.common.server.sso.filter.InternalSSOFilter</filter-class>
</filter>
<filter>
<filter-name>AuthenticationFilter</filter-name>
<filter-class>org.bonitasoft.console.common.server.login.filter.AuthenticationFilter</filter-class>
......@@ -197,6 +192,7 @@
<url-pattern>/portal/formsDocumentDownload</url-pattern>
<url-pattern>/portal/documentDownload</url-pattern>
<url-pattern>/portal/downloadDocument</url-pattern>
<url-pattern>/portal/pageDownload</url-pattern>
<url-pattern>/services/*</url-pattern>
<url-pattern>/portal/exportOrganization</url-pattern>
<!-- Add more servlet mappings here -->
......@@ -218,11 +214,6 @@
<url-pattern>/portal/custom-page/API/system/session/*</url-pattern>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>InternalSSOFilter</filter-name>
<url-pattern>/portal/BonitaConsole.html</url-pattern>
<url-pattern>/portal/homepage</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>BPMURLSupportFilter</filter-name>
<url-pattern>/portal/BonitaConsole.html</url-pattern>
......@@ -330,6 +321,22 @@
<param-value>bar</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>apiProcessUploadServlet</servlet-name>
<servlet-class>org.bonitasoft.console.common.server.servlet.TenantFileUploadServlet</servlet-class>
<init-param>
<param-name>SupportedExtensions</param-name>
<param-value>bar</param-value>
</init-param>
<init-param>
<param-name>ReturnOriginalFilename</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>ContentType</param-name>
<param-value>json</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>xmlUploadServlet</servlet-name>
<servlet-class>org.bonitasoft.console.common.server.servlet.TenantFileUploadServlet</servlet-class>
......@@ -419,12 +426,6 @@
<servlet-name>exportProcessActorsServlet</servlet-name>
<servlet-class>org.bonitasoft.console.server.servlet.ProcessActorsExportServlet</servlet-class>
</servlet>
<!-- SSO -->
<servlet>
<servlet-name>SSOService</servlet-name>
<servlet-class>org.bonitasoft.console.common.server.sso.servlet.RedirectServlet</servlet-class>
</servlet>
<!-- End SSO -->
<!-- Pages -->
<servlet>
<servlet-name>CustomPageServlet</servlet-name>
......@@ -453,6 +454,22 @@
<param-value>true</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>apiPageUploadServlet</servlet-name>
<servlet-class>org.bonitasoft.console.common.server.servlet.PageUploadServlet</servlet-class>
<init-param>
<param-name>SupportedExtensions</param-name>
<param-value>zip</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>
<!-- End Pages -->
<!-- Forms -->
<servlet>
......@@ -511,14 +528,14 @@
<url-pattern>/theme/*</url-pattern>
<url-pattern>/portal/custom-page/theme/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>SSOService</servlet-name>
<url-pattern>/ssoservice</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>processUploadServlet</servlet-name>
<url-pattern>/portal/processUpload</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>apiProcessUploadServlet</servlet-name>
<url-pattern>/API/processUpload</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>xmlUploadServlet</servlet-name>
<url-pattern>/portal/organizationUpload</url-pattern>
......@@ -634,11 +651,16 @@
<servlet-mapping>
<servlet-name>pageDownload</servlet-name>
<url-pattern>/portal/pageDownload</url-pattern>
<url-pattern>/API/pageDownload</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>pageUploadServlet</servlet-name>
<url-pattern>/portal/pageUpload</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>apiPageUploadServlet</servlet-name>
<url-pattern>/API/pageUpload</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProcessFormServlet</servlet-name>
<url-pattern>/portal/form/*</url-pattern>
......
......@@ -6,10 +6,10 @@ handlers = java.util.logging.ConsoleHandler
# The minimum level to log
java.util.logging.ConsoleHandler.level = INFO
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
java.util.logging.ConsoleHandler.formatter = org.apache.juli.BonitaSimpleFormatter
# Allow logging to trace the actual logger producer class:
java.util.logging.SimpleFormatter.format=%1$tF %1$tT.%1$tL %1$tz %4$s: %3$s %5$s%6$s%n
org.apache.juli.BonitaSimpleFormatter.format=%1$tF %1$tT.%1$tL %1$tz %4$s (%7$s) %3$s %5$s%6$s%n
# Use the following format to remove timestamp:
#java.util.logging.SimpleFormatter.format=%4$s: %3$s %5$s%6$s%n
......@@ -42,8 +42,8 @@ org.bonitasoft.engine.EngineInitializer.level = INFO
#org.bonitasoft.engine.job.level = FINE
#org.bonitasoft.engine.jobs.level = FINE
#org.bonitasoft.engine.scheduler.level = FINE
# Display monitoring information when property 'org.bonitasoft.engine.monitoring.logging.enable' is set to true in configuration file 'bonita-platform-community-custom.properties'
org.bonitasoft.engine.configuration.LoggingMeterRegistry.level = INFO
# Display monitoring information when property 'org.bonitasoft.engine.monitoring.publisher.logging.enable' is set to true in configuration file 'bonita-platform-community-custom.properties'
org.bonitasoft.engine.configuration.monitoring.LoggingMeterRegistry.level = INFO
# Specific logger for auditing work execution
BONITA_WORK_AUDIT.EXECUTION.level = INFO
......@@ -54,7 +54,7 @@ BONITA_WORK_AUDIT.EXECUTION.level = INFO
# Hibernate is used by Bonita and very verbose in the log. Should stay with WARNING level except when debugging database access issues
org.hibernate.level = WARNING
# Remove wrong warnings about ehcache:
org.hibernate.cache.ehcache.AbstractEhcacheRegionFactory.level = SEVERE
org.hibernate.orm.cache.level = SEVERE
# enable tracking of slow execution queries:
org.hibernate.SQL_SLOW.level = INFO
......
......@@ -28,3 +28,6 @@ if [ -z ${CATALINA_PID+x} ]; then
CATALINA_PID=${CATALINA_BASE}/catalina.pid;
export CATALINA_PID;
fi
# extra lib required at Tomcat startup (for instance bonita juli extensions)
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