Skip to content

Commit 7b1014a

Browse files
committed
Merge branch 'release/2025.04.2'
2 parents eaefe37 + ad289c4 commit 7b1014a

File tree

56 files changed

+675
-836
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+675
-836
lines changed

.github/workflows/development.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@ jobs:
7272
7373
- name: Upload coverage to Codecov
7474
if: github.event_name == 'push' && github.actor != 'dependabot[bot]'
75-
uses: codecov/codecov-action@v5.4.0
75+
uses: codecov/codecov-action@v5.4.2
7676
with:
7777
token: ${{secrets.CODECOV_TOKEN}}

.github/workflows/master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ jobs:
4747
OSS_CENTRAL_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
4848

4949
- name: Upload coverage information
50-
uses: codecov/codecov-action@v5.4.0
50+
uses: codecov/codecov-action@v5.4.2
5151
with:
5252
token: ${{ secrets.CODECOV_TOKEN }}

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33

44
[![incubating](https://img.shields.io/badge/lifecycle-INCUBATING-orange.svg)](https://github.com/holisticon#open-source-lifecycle)
55
[![Development branches](https://github.com/bpm-crafters/process-engine-adapters-camunda-7/actions/workflows/development.yml/badge.svg)](https://github.com/bpm-crafters/process-engine-adapters-camunda-7/actions/workflows/development.yml)
6-
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/dev.bpm-crafters.process-engine-adapters/process-engine-adapter-camunda-platform-c7-bom/badge.svg)](https://maven-badges.herokuapp.com/maven-central/dev.bpm-crafters.process-engine-adapters-camunda-7/process-engine-adapter-camunda-platform-c7-bom)
6+
[![Maven Central Version](https://img.shields.io/maven-central/v/dev.bpm-crafters.process-engine-adapters/process-engine-adapter-camunda-platform-c7-bom)](https://maven-badges.herokuapp.com/maven-central/dev.bpm-crafters.process-engine-adapters/process-engine-adapter-camunda-platform-c7-bom)
7+
[![Camunda Platform 7](https://img.shields.io/badge/Compatible%20with-Camunda%20Platform%207-26d07c)](https://img.shields.io/badge/Compatible%20with-Camunda%20Platform%207-26d07c)
8+
79

810
## Purpose of the library
911

@@ -13,11 +15,11 @@ This library provides an adapter implementation of Process Engine API for Camund
1315

1416
The library contains of the following Maven modules:
1517

16-
- `process-engine-adapters-camunda-platform-c7-embedded-core`: Camunda 7 Platform Embedded Adapter implementation
17-
- `process-engine-adapters-camunda-platform-c7-embedded-spring-boot-starter`: Camunda 7 Platform Embedded Adapter Spring Boot Starter
18-
- `process-engine-adapters-camunda-platform-c7-remote-core`: Camunda 7 Platform Remote Adapter implementation
19-
- `process-engine-adapters-camunda-platform-c7-remote-spring-boot-starter`: Camunda 7 Platform Remote Adapter Spring Boot Starter
20-
- `process-engine-adapters-camunda-platform-c7-bom`: Maven BOM containing dependency definitions.
18+
- `process-engine-adapter-camunda-platform-c7-embedded-core`: Camunda 7 Platform Embedded Adapter implementation
19+
- `process-engine-adapter-camunda-platform-c7-embedded-spring-boot-starter`: Camunda 7 Platform Embedded Adapter Spring Boot Starter
20+
- `process-engine-adapter-camunda-platform-c7-remote-core`: Camunda 7 Platform Remote Adapter implementation
21+
- `process-engine-adapter-camunda-platform-c7-remote-spring-boot-starter`: Camunda 7 Platform Remote Adapter Spring Boot Starter
22+
- `process-engine-adapter-camunda-platform-c7-bom`: Maven BOM containing dependency definitions.
2123

2224
## Usage
2325

@@ -26,8 +28,8 @@ If you want to start usage, please add the BOM to your Maven project and add cor
2628
```xml
2729
<dependency>
2830
<groupId>dev.bpm-crafters.process-engine-adapters</groupId>
29-
<artifactId>process-engine-adapters-camunda-platform-c7-bom</artifactId>
30-
<version>${process-engine-adapters-camunda-7.version}</version>
31+
<artifactId>process-engine-adapter-camunda-platform-c7-bom</artifactId>
32+
<version>${process-engine-adapter-camunda-7.version}</version>
3133
<scope>import</scope>
3234
<type>pom</type>
3335
</dependency>

bom/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>dev.bpm-crafters.process-engine-adapters</groupId>
66
<artifactId>process-engine-adapter-camunda-platform-c7-root</artifactId>
7-
<version>2025.04.1</version>
7+
<version>2025.04.2</version>
88
</parent>
99

1010
<artifactId>process-engine-adapter-camunda-platform-c7-bom</artifactId>

docs/quickstart-c7-embedded.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: Camunda Platform 7 as embedded engine
3+
---
4+
5+
If you start with a Camunda Platform 7, operated in an embedded engine mode, by for example using the Camunda Spring Boot Starter,
6+
the following configuration is applicable for you.
7+
8+
First of all, add the corresponding adapter to your project's classpath:
9+
10+
```xml
11+
<dependency>
12+
<groupId>dev.bpm-crafters.process-engine-adapters</groupId>
13+
<artifactId>process-engine-adapter-camunda-platform-c7-embedded-spring-boot-starter</artifactId>
14+
<version>${process-engine-api.version}</version>
15+
</dependency>
16+
```
17+
18+
and finally, add the following configuration to your configuration properties. Here is a version for `application.yaml`:
19+
20+
```yaml
21+
dev:
22+
bpm-crafters:
23+
process-api:
24+
adapter:
25+
c7embedded:
26+
enabled: true
27+
service-tasks:
28+
delivery-strategy: embedded_scheduled
29+
worker-id: embedded-worker
30+
lock-time-in-seconds: 10
31+
execute-initial-pull-on-startup: true
32+
schedule-delivery-fixed-rate-in-seconds: 5
33+
user-tasks:
34+
delivery-strategy: embedded_scheduled
35+
execute-initial-pull-on-startup: true
36+
schedule-delivery-fixed-rate-in-seconds: 5
37+
38+
```

docs/quickstart-c7-remote.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
title: Camunda Platform 7 as remote engine
3+
---
4+
5+
If you start with a Camunda Platform 7, operated remotely, the following configuration is applicable for you.
6+
7+
First of all add the corresponding adapter to your project's classpath. In order to connect to remote engine,
8+
you will need to use some client. Assuming you are using Camunda Hub extension [camunda-platform-7-rest-client-spring-boot](https://github.com/camunda-community-hub/camunda-platform-7-rest-client-spring-boot),
9+
you will also need to add some additional libraries. Here is the result:
10+
11+
```xml
12+
13+
<dependendcies>
14+
<!-- the correct adapter -->
15+
<dependency>
16+
<groupId>dev.bpm-crafters.process-engine-adapters</groupId>
17+
<artifactId>process-engine-adapter-camunda-platform-c7-remote-spring-boot-starter</artifactId>
18+
<version>${process-engine-api.version}</version>
19+
</dependency>
20+
<!-- rest client library -->
21+
<dependency>
22+
<groupId>org.camunda.community.rest</groupId>
23+
<artifactId>camunda-platform-7-rest-client-spring-boot-starter</artifactId>
24+
<version>7.22.3</version>
25+
</dependency>
26+
</dependendcies>
27+
```
28+
29+
And finally, add the following configuration to your configuration properties. Here is a version for `application.yaml`:
30+
31+
```yaml
32+
dev:
33+
bpm-crafters:
34+
process-api:
35+
adapter:
36+
c7remote:
37+
enabled: true
38+
service-tasks:
39+
delivery-strategy: remote_scheduled
40+
schedule-delivery-fixed-rate-in-seconds: 10
41+
worker-id: embedded-worker
42+
lock-time-in-seconds: 10
43+
user-tasks:
44+
delivery-strategy: remote_scheduled
45+
schedule-delivery-fixed-rate-in-seconds: 10
46+
47+
# to tell the client library where the engine is located provide the correct details below:
48+
feign:
49+
client:
50+
config:
51+
default:
52+
url: "http://localhost:9090/engine-rest/"
53+
54+
```

engine-adapter/adapter-testing/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>dev.bpm-crafters.process-engine-adapters</groupId>
88
<artifactId>process-engine-adapter-camunda-platform-c7-root</artifactId>
9-
<version>2025.04.1</version>
9+
<version>2025.04.2</version>
1010
<relativePath>../../pom.xml</relativePath>
1111
</parent>
1212

engine-adapter/adapter-testing/src/main/kotlin/dev/bpmcrafters/processengineapi/test/BaseGivenWhenStage.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ class BaseGivenWhenStage : Stage<BaseGivenWhenStage>() {
8686

8787

8888
fun `a active external task subscription`(taskDescriptionKey: String) = step {
89-
taskSubscription = subscribeTask(TaskType.EXTERNAL, taskDescriptionKey) { taskInformation, _ -> externalTaskId = taskInformation.taskId }
89+
taskSubscription = subscribeTask(TaskType.EXTERNAL, taskDescriptionKey) { taskInformation, _ ->
90+
externalTaskId = taskInformation.taskId
91+
}
9092
}
9193

9294
fun `complete the user task`() = step {

engine-adapter/c7-embedded-core/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-adapters</groupId>
77
<artifactId>process-engine-adapter-camunda-platform-c7-root</artifactId>
8-
<version>2025.04.1</version>
8+
<version>2025.04.2</version>
99
<relativePath>../../pom.xml</relativePath>
1010
</parent>
1111

engine-adapter/c7-embedded-core/src/main/kotlin/dev/bpmcrafters/processengineapi/adapter/c7/embedded/correlation/CorrelationApiImpl.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ import java.util.concurrent.Future
1111

1212
private val logger = KotlinLogging.logger {}
1313

14+
/**
15+
* Implementation of message correlation API using runtime service.
16+
*/
1417
class CorrelationApiImpl(
1518
private val runtimeService: RuntimeService,
1619
) : CorrelationApi {

0 commit comments

Comments
 (0)