Skip to content

Commit 18aa7ae

Browse files
committed
Merge branch 'release/0.7.1'
2 parents e94f68c + 49b2a1f commit 18aa7ae

File tree

20 files changed

+218
-65
lines changed

20 files changed

+218
-65
lines changed

.github/workflows/development.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
steps:
2525
# Checkout the code
2626
- name: Checkout code
27-
uses: actions/checkout@v5
27+
uses: actions/checkout@v6
2828

2929
- name: Expose branch name
3030
run: echo ${{ github.ref }}

.github/workflows/master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: Build and run tests
1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v5
18+
uses: actions/checkout@v6
1919

2020
# Setup JDK and .m2/settings.xml
2121
- name: Set up JDK

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,4 @@ build/
4444
### DEV
4545
_tmp/
4646
.repository/
47+
.claude

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,10 @@ ZEEBE_CLIENT_ID=..
171171
ZEEBE_CLIENT_SECRET=...
172172
```
173173

174-
After starting application, you can either use Open API endpoints or just run the
174+
After starting application, you can either use Open API endpoints or just run the
175175
HTTP client tests using your IntelliJ, located in the example directory.
176176

177-
Don't forget to first deploy the process! Either manually via operate / modeler, or with the HTTP client script: c8-deploy-process.http
177+
Don't forget to first deploy the process!
178+
Either manually via operate / modeler, or with the HTTP client script:
179+
c8-deploy-process.http
180+

docs/process-engine-worker.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ title: Process Engine Worker
33
---
44

55
Process Engine Worker is an independent component built on top of Process Engine API in order to accelerate the development of agnostic workers
6-
for any process engine supported by Process Engine API in Spring Boot ecosystem. By doing so, it abstracts from specific worker clients and
6+
for any process engine supported by Process Engine API in Spring Boot ecosystem. By doing so, it abstracts from specific worker clients and
77
API and allows to build universal workers.
88

9-
First of all add the Process Engine Worker dependency to your projects classpath. In Maven add the following to you `pom.xml`:
9+
First of all add the Process Engine Worker dependency to your projects classpath. In Maven add the following to your `pom.xml`:
1010

1111
```xml
1212
<dependency>
@@ -72,9 +72,22 @@ is a checked exception, in order to comply with Spring behavior of not rolling b
7272

7373
The worker method can be marked transactional by adding Spring or Jakarta EE transactional annotations to the method or to the worker class.
7474
If the annotation `@org.springframework.transaction.annotation.Transactional` with propagation `REQUIRES`, `REQUIRES_NEW`, `SUPPORTS` and `MANDATORY`
75-
is used, the library will execute the worker method and the completion of the external task via API in the same transaction. This will lead to
75+
is used, the library will execute the worker method and the completion of the external task via API in the same transaction. This will lead to
7676
a transaction rollback, if the external task can't be completed (e.g. due to a network error).
7777

78+
## Configuration
79+
80+
You can configure the Process Engine Worker by adding the following properties to your `application.properties` or `application.yml`:
81+
82+
```yaml
83+
dev:
84+
bpm-crafters:
85+
process-api:
86+
worker:
87+
registerProcessWorkers: true # Enable or disable automatic worker registration
88+
completeTasksBeforeCommit: false # Determines whether tasks are completed before transaction commit
89+
```
90+
7891
7992
8093

examples/camunda7-embedded-starter-transaction/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>dev.bpm-crafters.process-engine-worker</groupId>
77
<artifactId>process-engine-worker-examples</artifactId>
8-
<version>0.7.0</version>
8+
<version>0.7.1</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

@@ -85,7 +85,7 @@
8585
<dependency>
8686
<groupId>io.holunda</groupId>
8787
<artifactId>camunda-platform-7-autologin</artifactId>
88-
<version>2025.10.1</version>
88+
<version>2025.12.2</version>
8989
</dependency>
9090
<dependency>
9191
<groupId>com.h2database</groupId>

examples/camunda7-remote-starter-native/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>dev.bpm-crafters.process-engine-worker</groupId>
77
<artifactId>process-engine-worker-examples</artifactId>
8-
<version>0.7.0</version>
8+
<version>0.7.1</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

examples/order-fulfillment/pom.xml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>dev.bpm-crafters.process-engine-worker</groupId>
77
<artifactId>process-engine-worker-examples</artifactId>
8-
<version>0.7.0</version>
8+
<version>0.7.1</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

@@ -99,7 +99,7 @@
9999
<dependency>
100100
<groupId>io.holunda</groupId>
101101
<artifactId>camunda-platform-7-autologin</artifactId>
102-
<version>2025.10.1</version>
102+
<version>2025.12.2</version>
103103
</dependency>
104104
<dependency>
105105
<groupId>com.h2database</groupId>
@@ -123,6 +123,18 @@
123123
<testSourceDirectory>src/test/java</testSourceDirectory>
124124

125125
<plugins>
126+
<plugin>
127+
<groupId>org.apache.maven.plugins</groupId>
128+
<artifactId>maven-compiler-plugin</artifactId>
129+
<configuration>
130+
<annotationProcessorPaths>
131+
<path>
132+
<groupId>org.projectlombok</groupId>
133+
<artifactId>lombok</artifactId>
134+
</path>
135+
</annotationProcessorPaths>
136+
</configuration>
137+
</plugin>
126138
<plugin>
127139
<groupId>org.jetbrains.kotlin</groupId>
128140
<artifactId>kotlin-maven-plugin</artifactId>

examples/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>dev.bpm-crafters.process-engine-worker</groupId>
77
<artifactId>process-engine-worker-root</artifactId>
8-
<version>0.7.0</version>
8+
<version>0.7.1</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

pom.xml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<groupId>dev.bpm-crafters.process-engine-worker</groupId>
1313
<artifactId>process-engine-worker-root</artifactId>
14-
<version>0.7.0</version>
14+
<version>0.7.1</version>
1515
<name>${project.artifactId}</name>
1616
<description>Process Engine Worker</description>
1717
<url>https://github.com/bpm-crafters/process-engine-worker/</url>
@@ -46,11 +46,6 @@
4646
<artifactId>mockito-kotlin</artifactId>
4747
<version>${mockito.version}</version>
4848
</dependency>
49-
<dependency>
50-
<groupId>com.tngtech.archunit</groupId>
51-
<artifactId>archunit-junit5</artifactId>
52-
<version>${archunit.version}</version>
53-
</dependency>
5449
</dependencies>
5550
</dependencyManagement>
5651

@@ -194,7 +189,7 @@
194189
<organizationUrl>https://holisticon.de</organizationUrl>
195190
</developer>
196191
<developer>
197-
<id>__</id>
192+
<id>stephanpelikan</id>
198193
<name>Stephan Pelikan</name>
199194
<roles>
200195
<role>Developer</role>
@@ -212,7 +207,7 @@
212207
<organizationUrl>https://phactum.at</organizationUrl>
213208
</developer>
214209
<developer>
215-
<id>__</id>
210+
<id>dominikhorn93</id>
216211
<name>Dominik Horn</name>
217212
<roles>
218213
<role>Developer</role>
@@ -221,13 +216,22 @@
221216
<organizationUrl>https://miragon.com</organizationUrl>
222217
</developer>
223218
<developer>
224-
<id>__</id>
225-
<name>Thomas Hinrichs</name>
219+
<id>Hafflgav</id>
220+
<name>Thomas Heinrichs</name>
226221
<roles>
227222
<role>Developer</role>
228223
</roles>
229224
<organization>Miragon</organization>
230225
<organizationUrl>https://miragon.com</organizationUrl>
231226
</developer>
227+
<developer>
228+
<id>emaarco</id>
229+
<name>Marco Schäck</name>
230+
<roles>
231+
<role>Developer</role>
232+
</roles>
233+
<organization>Miragon</organization>
234+
<organizationUrl>https://miragon.io</organizationUrl>
235+
</developer>
232236
</developers>
233237
</project>

0 commit comments

Comments
 (0)