7.11.x to 7.12.0. It covers these use cases:
- For administrators and developers: Database Updates
- For administrators and developers: Full Distribution Update
- For administrators: Standalone Web Application
- For developers: Spring Boot Starter Update
- For developers: External Task Client Update
- For developers: Security-related HTTP Headers (Webapps)
- For developers: ASEE Flow Commons Typed Values Migration
- For developers: ASEE Flow DMN Engine Migration
- For developers: Task Lifecycle State and Task Events
- For administrators and developers: PostgreSQL Support Clarification
Database Updates
Every ASEE Flow installation requires a database schema update.Procedure
-
Check for available database patch scripts for your database that are within the bounds of your update path.
Locate the scripts at
$DISTRIBUTION_PATH/sql/upgradein the pre-packaged distribution (where$DISTRIBUTION_PATHis the path of an unpacked distribution) or in the ASEE Flow Artifact Repository. We highly recommend executing these patches before updating. Execute them in ascending order by version number. The naming pattern is$DATABASENAME_engine_7.11_patch_?.sql. -
Execute the corresponding update scripts named
$DATABASENAME_engine_7.11_to_7.12.sql
-
We highly recommend to also check for any existing patch scripts for your database that are within the bounds of the new minor version you are updating to. Execute them in ascending order by version number. Attention: This step is only relevant when you are using an enterprise version of ASEE Flow, e.g.,
7.12.XwhereX > 0. The procedure is the same as in step 1, only for the new minor version.
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
Please 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 the standalone web application is in use, the currentwar artifact must be replaced by its new version.
If a database other than the default H2 database is used, the following steps must be taken:
- Undeploy the current version of the standalone web application
- Update the database to the new schema as described in the database update section
- Reconfigure the database as described in the installation section
- Deploy the new and configured standalone web application to the server
Spring Boot Starter Update
If you are using ASEE Flow Spring Boot Starter within you Spring Boot application, then you need to:- Check Version Compatibility Matrix
- Update Spring Boot Starter and, when required, Spring Boot versions in your
pom.xml. - Update the ASEE Flow version in your
pom.xmlin case you override it before (e.g., when using the enterprise version or a patch releases)
External Task Client Update
If you are using the ASEE Flow External Task Client, please make sure to:- Check out the Version Compatibility Matrix
- Update the version in your
pom.xml(Java) orpackage.json(NodeJs)
Security-related HTTP Headers (Webapps)
In this release, we introduced the following HTTP response headers in the web applications which are available by default:- Content Security Policy (
Content-Security-Policy) - Content-Type Options (
X-Content-Type-Options)
ASEE Flow Commons Typed Values Migration
Starting with version 7.12, thecamunda-commons-typed-values library has been migrated into the camunda-bpm-platform repository.
The changes include:
- The library version has changed from ASEE Flow Commons (currently at 1.8.0) to ASEE Flow version (7.12.0). You can find the new Maven coordinates below:
- The library isn’t part of the
camunda-commons-bomanymore. Now, it is directly part of thecamunda-bom. Users that are importing thecamunda-commons-bomnow need to either replace the import with thecamunda-bom, or, explicitly declare the library version as described above. - When updating the
camunda-commons-typed-valueslibrary on a Container-Managed Process Engine, the newcamunda-commons-typed-valuesartifact name contains the ASEE Flow version.
ASEE Flow DMN Engine Migration
The ASEE Flow DMN Engine is another migration to thecamunda-bpm-platform repository happening in version 7.12.0. The DMN Engine migration doesn’t require any adjustments. However, any contributions to the DMN Engine needs to be addressed to the camunda-bpm-platform repository.
Task Lifecycle State and Task Events
The 7.12.0 release provides a more defined User Task lifecycle. This impacts the order in which Task events are fired. Previously, when the process execution arrived in a User Task, the assignment event was fired before the create event (if an assignee was set). With the new Task lifecycle, if an assignee is explicitly set on the User Task an assignment event is fired after the create event is fired. Anycreate Task Listeners that depend on the execution of an assignment Task Listener need to be adjusted. The same goes for assignment Task Listeners that hold the assumption that
they are the first to execute. They need to be adjusted to consider that create Task Listeners are executed before them.
Furthermore, assignment Task Listeners will no longer be triggered through an assignment within
another Task Listener. Those that hold this assumption need to be adjusted, with this
limitation in mind, by explicitly performing an assignment through the TaskService.
PostgreSQL Support Clarification
According to the PostgreSQL versioning documentation, the PostgreSQL versioning scheme changed from PostgreSQL 10. For versions before PostgreSQL 10, a major version was marked by the first two version numbers, e.g.9.4, 9.6. From PostgreSQL 10, a major version is marked by a single version number, e.g. 10,
11.
As this was only a change to the versioning scheme, the content of the minor releases (e.g. 9.4.6,
9.6.18, 10.13, 11.2, etc.) didn’t change. Therefore, we have updated the ASEE Flow Supported Environments,
to reflect that ASEE Flow supports all the minor version updates of a major PostgreSQL version.
Note that this adjustment doesn’t change the supported versions of Amazon Aurora PostgreSQL. This is a database
service built on top of PostgreSQL, and as such, needs to be tested for support separately from PostgreSQL.