Releases: Taskana/TaskanaAdapter
Adapter now works in clustered environements
Important
The outbox table was extended, so an update via script is necessary for this version to work. The update script is provided with this release:
taskana_outbox_schema_update_1.11.0_to_1.12.0_{databaseName}.sql
New
Closes #542 Adapter now works in clustered environements:
Add the possibility to run multiple instances of Adapter connected to the same TASKANA simultaneously. This is accomplished by locking the database entries that are currently worked on by an instance. This way, it's impossible for multiple instances to work on the same entry simultaneously.
Locking for the synchronization from Camunda -> TASKANA:
Locking of the entries in the events table is configured by the new parameter taskana.adapter.events.lockDuration that describes the duration of the lock for one event in seconds. The parameter is set to zero by default. To enable running multiple Adapter instances, the parameter needs to be configured to a suitable positive number. A good value for taskana.adapter.events.lockDuration depends on the application.
Locking for the synchronizaition from TASKANA -> Camunda:
Happens automatically for the duration of the Transaction and doesn't need to be configured separately
Updated documentation:
https://taskana.atlassian.net/wiki/spaces/TAS/pages/996966415/Adapter+Properties
https://taskana.atlassian.net/wiki/spaces/TAS/pages/1649377329/Failed+task+creation+handling+configuration+monitoring
What's changed
-
Closes #742 - Sonatype Config
-
Closes #726 - Integrate TASKANA 8.2.0
-
Closes #710 - Use "docker compose" instead of "docker-compose"
-
Closes #708 - update to SpringBoot 3.3.2
-
Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.2.5 to 3.4.0
-
Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.3 to 3.2.5
-
Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.3 to 3.8.0
-
Bump org.jboss.resteasy:resteasy-servlet-spring-boot-starter from 6.1.1.Final to 6.2.0.Final
-
Bump andymckay/cancel-action from 0.4 to 0.5
-
Bump org.sonatype.plugins:nexus-staging-maven-plugin from 1.6.13 to 1.7.0
-
Bump com.tngtech.archunit:archunit from 1.2.1 to 1.3.0
-
Bump com.puppycrawl.tools:checkstyle from 10.14.0 to 10.17.0
-
Bump org.apache.maven.plugins:maven-checkstyle-plugin from 3.3.1 to 3.4.0
-
Bump org.apache.maven.plugins:maven-dependency-plugin from 3.6.1 to 3.7.1
-
Bump org.apache.maven.plugins:maven-checkstyle-plugin from 3.4.0 to 3.5.0
-
Bump version.spring.boot from 3.3.2 to 3.3.3
Spring Boot 3.2.x
Breaking
- replaced OkHttpClient with Apache HttpComponentsClient
- properties to configure timeout renamed
okhttp.connection-timeout
renamed tohttpcomponentsclient.connection-timeout
okhttp.read-timeout
renamed tohttpcomponentsclient.read-timeout
- properties to configure timeout renamed
What's Changed
- Bump version.spring.boot from 3.1.5 to 3.1.6 by @dependabot in #624
- Bump org.springframework.boot:spring-boot-maven-plugin from 2.7.9 to 3.1.6 by @dependabot in #627
- Bump org.jboss.arquillian:arquillian-bom from 1.7.1.Final to 1.8.0.Final by @dependabot in #625
- Bump actions/setup-java from 3 to 4 by @dependabot in #629
- Bump org.mybatis.spring.boot:mybatis-spring-boot-starter from 3.0.2 to 3.0.3 by @dependabot in #633
- Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.2 to 3.6.3 by @dependabot in #630
- Bump com.tngtech.archunit:archunit from 1.2.0 to 1.2.1 by @dependabot in #634
- Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.2.2 to 3.2.5 by @dependabot in #646
- Bump actions/download-artifact from 3 to 4 by @dependabot in #638
- Bump actions/upload-artifact from 3 to 4 by @dependabot in #639
- Bump org.mybatis:mybatis from 3.5.14 to 3.5.15 by @dependabot in #640
- Bump org.springframework.boot:spring-boot-maven-plugin from 3.1.6 to 3.1.7 by @dependabot in #643
- Bump com.puppycrawl.tools:checkstyle from 10.12.4 to 10.12.7 by @dependabot in #644
- Bump com.google.googlejavaformat:google-java-format from 1.16.0 to 1.19.2 by @dependabot in #645
- Bump actions/cache from 3 to 4 by @dependabot in #648
- Bump version.spring.boot from 3.1.6 to 3.1.7 by @dependabot in #647
- Bump org.springframework.boot:spring-boot-maven-plugin from 3.1.7 to 3.1.8 by @dependabot in #650
- Bump version.spring.boot from 3.1.7 to 3.1.8 by @dependabot in #649
- Bump org.jboss.resteasy:resteasy-servlet-spring-boot-starter from 6.0.4.Final to 6.1.0.Final by @dependabot in #651
- Bump com.puppycrawl.tools:checkstyle from 10.12.7 to 10.13.0 by @dependabot in #653
- Bump andymckay/cancel-action from 0.3 to 0.4 by @dependabot in #655
- Bump com.google.googlejavaformat:google-java-format from 1.19.2 to 1.20.0 by @dependabot in #658
- Bump org.springframework.boot:spring-boot-maven-plugin from 3.1.8 to 3.1.9 by @dependabot in #659
- Bump org.jboss.resteasy:resteasy-servlet-spring-boot-starter from 6.1.0.Final to 6.1.1.Final by @dependabot in #660
- Bump org.webjars:bootstrap from 5.3.2 to 5.3.3 by @dependabot in #661
- Bump com.puppycrawl.tools:checkstyle from 10.13.0 to 10.14.0 by @dependabot in #664
- Bump org.apache.maven.plugins:maven-gpg-plugin from 3.1.0 to 3.2.2 by @dependabot in #673
- Bump org.sonarsource.scanner.maven:sonar-maven-plugin from 3.10.0.2594 to 3.11.0.3922 by @dependabot in #668
- Bump org.wildfly.plugins:wildfly-maven-plugin from 4.2.1.Final to 4.2.2.Final by @dependabot in #654
- Closes #656 - make relevant modules java 8 compatible by @ryzheboka in #657
- Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.2 to 3.2.3 by @dependabot in #680
- Bump org.apache.maven.plugins:maven-source-plugin from 3.3.0 to 3.3.1 by @dependabot in #678
- Bump org.jacoco:jacoco-maven-plugin from 0.8.11 to 0.8.12 by @dependabot in #676
- Bump org.mybatis:mybatis from 3.5.15 to 3.5.16 by @dependabot in #677
- Closes #621 : Upgrade to SB 3.2.x and Wildfly 31.0.1.Final by @arolfes in #683
Full Changelog: 3.0.0/8.0.0...3.1.0/8.1.0
Spring Boot 3.1.x
Breaking
- Move to Spring Boot 3.1.5
- look for official migration guides of spring boot
- Recommendations:
- https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Migration-Guide
- https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.1-Release-Notes
- https://www.baeldung.com/spring-boot-3-migration (not office but really recommended :) )
- during the migration of TaskanaAdapter we faced some additional migration steps which are not covered in the guides:
- we switched from the dependency
org.jboss.resteasy:resteasy-spring-boot-starter
to
org.jboss.resteasy:resteasy-servlet-spring-boot-starter
- in the
application.properties
you need to add 2 propertiesresteasy.jaxrs.app.registration=property
resteasy.jaxrs.app.classes=pro.taskana.adapter.camunda.outbox.rest.config.OutboxRestServiceConfig
- Without this config, the
resteasy-servlet-spring-boot-starter
will register some TaskanaAdapterBeans twice, which does not work.
- Camunda from version 7.20 on requires a default history time to live
camunda.bpm.generic-properties.properties.historyTimeToLive: P180D
- see https://forum.camunda.io/t/camunda-7-20-history-time-to-live-cannot-be-null-cannot-deploy-wf-created-in-7-18/48159
- we switched from the dependency
- look for official migration guides of spring boot
- Switch to jakarta instead of javax wherever there is a jakarta equivalent.
- Switch to OKHTTPClient instead of JDK default
- new parameters
okhttp.connection-timeout
- time in milliseconds to establish a connection default 2000okhttp.read-timeout
- time in milliseconds to wait for response - default 5000
- new parameters
What's Changed
- Spring boot 3 1 x by @arolfes in #622
- Bump actions/checkout from 3 to 4 by @dependabot in #598
- Bump org.webjars:bootstrap from 5.3.1 to 5.3.2 by @dependabot in #600
- Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.5.0 to 3.6.2 by @dependabot in #613
- Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.1.2 to 3.2.2 by @dependabot in #615
- Bump org.wildfly.plugins:wildfly-maven-plugin from 4.0.0.Final to 4.2.1.Final by @dependabot in #617
Full Changelog: 2.0.0/7.0.0...3.0.0/8.0.0
Java 17
Breaking
#552 - Migrate to java17
Complete list of features and fixes
Bump org.webjars:bootstrap from 5.3.0 to 5.3.1
Bump version.camunda.spin from 1.18.0 to 1.19.1
Bump archunit from 1.0.0 to 1.0.1
Bump checkstyle from 10.3.4 to 10.9.3
Bump jackson-databind from 2.13.4 to 2.14.2
Bump jacoco-maven-plugin from 0.8.8 to 0.8.9
Bump mybatis from 3.5.11 to 3.5.13
1.17.0 - Enable custom TaskanaConfiguration Bean
New
#575 Enable custom TaskanaConfiguration Bean
Complete list of features and fixes
Integrate TASKANA 6.2.0 by @gitgoodjhe in #581
Bump maven-checkstyle-plugin from 3.2.1 to 3.2.2 by @dependabot
Bump maven-gpg-plugin from 3.0.1 to 3.1.0 by @dependabot
Bump maven-surefire-plugin from 3.0.0 to 3.1.0 by @dependabot
Bump maven-war-plugin from 3.3.2 to 3.4.0 by @dependabot
Bump maven-surefire-plugin from 3.1.0 to 3.1.2 by @dependabot
Bump maven-failsafe-plugin from 3.0.0 to 3.1.2 by @dependabot
Bump bootstrap from 5.2.3 to 5.3.0 by @dependabot
Bump maven-checkstyle-plugin from 3.2.2 to 3.3.0 by @dependabot
Bump maven-source-plugin from 3.2.1 to 3.3.0 by @dependabot
1.16.0 - new TASKANA Version
Upgrade TASKANA to version 6.1.0
Upgrade Spring Boot to version 2.7.10
Upgrade Spring to version 5.3.26
1.15.0 - New Major release of TASKANA 6.0.2
Because of the major TASKANA Release we need to adapt the new immutable Configuration to the TaskanaAdapter
See ReleaseNotes from TASKANA: https://github.com/Taskana/taskana/releases/tag/v6.0.0
Bug Fix Release
New
- ADPT-168: The variable
taskana.domain
from Camunda is now parsed in the following order (terminating as soon as a value is found):- process variable
- Task Extension Property
- Process Extension Property
Improvement
- ADPT-166: The format of error events (stored in
event_store.ERROR
) has changed to allow a more flexible representation of any error which orrurs during the sync of and external task to a TASKANA Task. This format change fixes errors which happened during the decrease of the remaining retries. - ADPT-164: Setting default value for the manual priority of a Task. This prevents errors during TASKANA upgrades.
Complete list of features and fixes
- Bump version.camunda.spin from 1.17.0 to 1.18.0 by @dependabot in #492
- Bump maven-javadoc-plugin from 3.4.0 to 3.4.1 by @dependabot in #495
- Bump version.spring.boot from 2.7.2 to 2.7.3 by @dependabot in #496
- Bump spring-boot-maven-plugin from 2.7.2 to 2.7.3 by @dependabot in #498
- Bump postgresql from 42.4.1 to 42.4.2 by @dependabot in #497
- Bump maven-checkstyle-plugin from 3.1.2 to 3.2.0 by @dependabot in #499
- ADPT-161: Renamed tests according to guidelines by @ensarevlideveloper in #493
- Bump checkstyle from 10.3.2 to 10.3.3 by @dependabot in #501
- Bump checkstyle from 10.3.3 to 10.3.4 by @dependabot in #507
- Bump spring-boot-maven-plugin from 2.7.3 to 2.7.4 by @dependabot in #506
- Bump version.junit.jupiter from 5.9.0 to 5.9.1 by @dependabot in #505
- Bump maven-jar-plugin from 3.2.2 to 3.3.0 by @dependabot in #504
- Bump mybatis from 3.5.10 to 3.5.11 by @dependabot in #503
- Bump jackson-databind from 2.13.3 to 2.13.4 by @dependabot in #502
- Bump version.spring.boot from 2.7.3 to 2.7.4 by @dependabot in #508
- Bump bootstrap from 5.2.0 to 5.2.2 by @dependabot in #510
- Bump archunit from 0.23.1 to 1.0.0 by @dependabot in #509
- Bump version.spring.boot from 2.7.4 to 2.7.5 by @dependabot in #511
- Bump spring-boot-maven-plugin from 2.7.4 to 2.7.5 by @dependabot in #512
- ADPT-163: Introduce Spring dependency management to TaskanaAdapter by @ensarevlideveloper in #494
- Bump wildfly-maven-plugin from 3.0.2.Final to 4.0.0.Final by @dependabot in #513
- Bump andymckay/cancel-action from 0.2 to 0.3 by @dependabot in #514
- Bump spring-plugin-core from 2.0.0.RELEASE to 3.0.0 by @dependabot in #516
- Bump bootstrap from 5.2.2 to 5.2.3 by @dependabot in #518
- ADPT-164: Set default value for taskana.manual-priority by @ensarevlideveloper in #515
- ADPT-168: Domain can be defined by process variable by @ensarevlideveloper in #519
- ADPT-166: Create Exception-Tree for ErrorLog and Tests by @ensarevlideveloper in #520
- Bump maven-checkstyle-plugin from 3.2.0 to 3.2.1 by @dependabot in #523
- Bump maven-failsafe-plugin from 3.0.0-M7 to 3.0.0-M8 by @dependabot in #525
- Bump maven-surefire-plugin from 3.0.0-M7 to 3.0.0-M8 by @dependabot in #524
Full Changelog: 1.14.0/5.3.0...1.14.1/5.3.0
Support for customInt fields
New
- ADPT-162: TaskanaAdapter now syncronizes the attributes
taskana.custom-int-[1-8]
from Camunda to TASKANA
Complete list of features and fixes
Manual Priority support
What's Changed
- Bump postgresql from 42.3.6 to 42.4.0 by @dependabot in #473
- ADPT-156: Add manual priority usability to adapter by @gitgoodjhe in #480
- Bump checkstyle from 10.3 to 10.3.1 by @dependabot in #478
- Bump wildfly-maven-plugin from 3.0.0.Final to 3.0.1.Final by @dependabot in #475
- Bump version.camunda.spin from 1.16.0 to 1.17.0 by @dependabot in #479
Full Changelog: 1.12.0/5.2.0...1.13.0/5.2.1