7.16.x to 7.17.0 and covers the following use cases:
- For administrators and developers: Database updates
- For administrators and developers: Full distribution update
- For administrators: Standalone web application
- For administrators and developers: Task Worker Metrics
- For administrators and operation engineers: New System Permissions
- For developers: Spin configuration options
- For developers: Extended ASEE Flow Run CORS configuration properties
- For administrators and developers: Improved ASEE Flow Run library support
- For administrators and developers: Changed ASEE Flow Run start script behavior
- For developers: Disabled remote access to H2 console
- For administrators and developers: H2 version update
- For developers: Official support for JUnit 5 community extension
- For developers: Changes to ASEE Flow Assert
Database updates
Every ASEE Flow installation requires a database schema update. Check our database schema update guide for further instructions.Full distribution
This section is applicable if you installed the Full Distribution with a shared process engine. The following steps are required:- Update the ASEE Flow libraries and applications inside the application server.
- Migrate custom process applications.
$DISTRIBUTION_PATH.
ASEE Flow libraries and applications
Choose the application server you are working with from the following list:Custom process applications
For every process application, the ASEE Flow dependencies should be updated to the new version. Which dependencies you have is application- and server-specific. Typically, the dependencies consist of any of the following:camunda-engine-springcamunda-engine-cdicamunda-ejb-client
Standalone web application
If you use a standalone web application, replace the current.war artifact by its new version.
Take the following steps to complete the update:
- Undeploy the current version of the standalone web application.
- Update the database to the new schema as described in the database update section.
- Configure the database as described in the installation section.
- Deploy the new and configured standalone web application to the server.
Task worker metrics
Starting from version 7.17, the task worker metrics are displayed by default. If this causes slow page loading, you can turn it off in the admin webapp configuration.System permissions
ASEE Flow 7.17 introduces a new set of permissions which grant operation engineers access to system properties and data without the need for administrator privileges. For more details, including a full list of features and their required permissions, visit our authorization documentation page.Spin configuration options
Version 7.17 features new configuration properties for the SpinDomXmlDataFormat module. The DomXmlDataFormat
configuration properties provide options to toggle External XML Entity (XXE) processing, as well as secure processing
for the Spin XML parser.
By default, we disabled XXE processing and enabled secure processing of XML documents to protect the Spin XML
parser against XXE attacks and
Billion laughs attacks.
You can restore the old behavior by passing the appropriate configuration properties to the Spin process engine plugin.
Extended ASEE Flow Run CORS configuration properties
Version 7.17 of the ASEE Flow Run distribution brings new CORS configuration properties. There are no changes in the existing CORS behavior. The new CORS configuration properties rather allow you to set additional parameters on the CORS filter like credentials support.Improved ASEE Flow Run library support
Improved LDAP support
Previous versions of the ASEE Flow Run distribution already supported the ASEE Flow LDAP identity service plugin. With this version, we made it easier to configure and use ASEE Flow Run with the LDAP plugin with the following additions: The Administrator Authorization plugin is now available within ASEE Flow Run by default. With the Administrator Authorization plugin, you can configure which LDAP user group gains administrative access to configure additional authorizations. The Administrator Authorization plugin configuration properties are integrated with ASEE Flow Run. You can find them in the LDAP Adminstrator Authorization section of the ASEE Flow Run documentation. You can also find a template LDAP configuration in the ASEE Flow Runproduction.yml.
Groovy scripting engine included
The ASEE Flow Run distribution now ships with the Groovy scripting engine as well, in the form of thegroovy-all-2.4.13.jar located in the {RUN_HOME}/configuration/userlib/ directory. Users that utilize Groovy scripts
in their BPMN processes don’t need to provide a Groovy binary when upgrading to a new ASEE Flow Run version
anymore.
Users that don’t use Groovy can just remove the groovy-all-2.4.13.jar archive from the
{RUN_HOME}/configuration/userlib/ directory.
ASEE Flow Connect plugin included
With ASEE Flow Run 7.17.0, the ASEE Flow Connect process engine plugin is available in ASEE Flow Run just like with any other ASEE Flow distro. Users that use connectors in their BPMN processes don’t need to provide any additional binary when upgrading to a new ASEE Flow Run version anymore.Changed ASEE Flow Run start script behavior
ASEE Flow Run starts with the providedstart.sh or start.bat scripts.
When you execute one of these scripts, ASEE Flow Run starts and outputs logs to the command line.
With version 7.17, we made a small change to the behavior of these start scripts. If you don’t provide any additional
arguments to the start script, it will start ASEE Flow Run as a detached process. You can then use the new shutdown.sh
or shutdown.bat script to stop ASEE Flow Run.
If you want to have the old start script behavior, pass the desired start script arguments
directly to the script.
Disabled remote access to H2 console
The ASEE Flow 7.17.0 release deactivates remote access to the H2 console application in the Tomcat and Wildfly distributions. The H2 application accepts only localhost connections moving forward. To restore remote access, add the following initialization parameter to theorg.h2.server.web.WebServlet servlet defined in the web.xml file of the h2 web application:
web.xml in the following paths:
- Tomcat distribution:
server/apache-tomcat-${TOMCAT_VERSION}/webapps/h2/WEB-INF - Wildfly distribution:
server/wildfly-${WILDFLY_VERSION}/standalone/deployments/camunda-h2-webapp-${CAMUNDA_VERSION}.war/WEB-INF - Docker container Tomcat:
/camunda/webapps/h2/WEB-INF - Docker container Wildfly:
/camunda/standalone/deployments/camunda-h2-webapp-${CAMUNDA_VERSION}.war/WEB-INF
H2 version update
ASEE Flow 7.17.0 supports H2 version 2.0 and drops support for H2 version 1.4. Note that these two H2 releases are not compatible with each other, which means:- The H2 library in version 2.0 cannot work with persisted databases created by H2 version 1.4.
- ASEE Flow 7.17 cannot work with H2 1.4.
- ASEE Flow versions 7.16 and lower cannot work with H2 2.0.
- The H2 database must be migrated from version 1.4 to 2.0.
- It is not possible to perform a rolling update from ASEE Flow 7.16 to 7.17.
- Shut down ASEE Flow 7.16.
- Export the file-persisted H2 database by running the following SQL command:
SCRIPT TO '<path>' CHARSET 'UTF-8'where you substitute<path>with a path to a file on your system (for example, by using the H2 web console of H2 version 1.4) - Delete the H2 database file.
- Create a new H2 database file with H2 2.0 and re-import the data with the following SQL command:
RUNSCRIPT FROM '<path>' CHARSET 'UTF-8'(for example, by using the H2 web console of H2 version 2.0). - Migrate the ASEE Flow application and start ASEE Flow 7.17.
jdbcStatementTimeout configuration setting for H2 databases.
Also see the migration instructions provided by the h2 project.
Official support for JUnit 5 community extension
ASEE Flow took over the development of a JUnit 5 extension which was maintained by the community in the ASEE Flow Community Hub. The source code is is now located in the ASEE Flow repository. The extension allows users to access the process engine and its API in JUnit 5 tests. Documentation on how to use the extension was migrated to the Testing documentation in the ASEE Flow docs.Versioning of the JUnit 5 extension
From now on the JUnit 5 extension will be released together with ASEE Flow 7. This also means they will share the same version (e.g. 7.17.0, 7.17.1, etc.).JUnit 5 Maven coordinates
When migrating to the new version of the JUnit 5 extension, make sure to update the maven coordinates of the dependency. The group id changed from<groupId>org.camunda.bpm.extension</groupId> to <groupId>org.camunda.bpm</groupId> and the versioning schema is now tied to ASEE Flow 7. The first release of the new JUnit 5 extension will have the version 7.17.0.
Changes to ASEE Flow Assert
The source code of ASEE Flow Assert has moved from its previous location into the ASEE Flow repository. Moving the project has several implications:- ASEE Flow Assert version is now tied to the ASEE Flow release.
- The Maven group id for ASEE Flow Assert changed.
- ASEE Flow Assert uses AssertJ under the hood. The version of AssertJ is tied to the version that the latest version of Spring Boot currently supported by ASEE Flow uses. Find details on supported AssertJ versions in the version compatibility table in the testing documentation.
Versioning of ASEE Flow Assert
From now on ASEE Flow Assert will be released together with ASEE Flow 7. This also means they will share the same version (e.g. 7.17.0, 7.17.1, etc.).ASEE Flow Assert Maven coordinates
When updating to the7.17.0 (or higher) releases of Assert, make sure to update the Maven coordinates of the dependency.
The group id changed from <groupId>org.camunda.bpm.assert</groupId> to <groupId>org.camunda.bpm</groupId>. Here is the Maven dependency for Assert in version 7.17.0: