Skip to content

Commit 336ec8c

Browse files
committed
Merge branch 'release/2025.05.2'
2 parents 93706fe + 29a891b commit 336ec8c

File tree

30 files changed

+305
-59
lines changed

30 files changed

+305
-59
lines changed

.github/workflows/development.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Development branches
22

3+
permissions:
4+
contents: read
5+
6+
37
on:
48
push:
59
branches:
@@ -72,6 +76,6 @@ jobs:
7276
7377
- name: Upload coverage to Codecov
7478
if: github.event_name == 'push' && github.actor != 'dependabot[bot]'
75-
uses: codecov/codecov-action@v5.4.2
79+
uses: codecov/codecov-action@v5.4.3
7680
with:
7781
token: ${{secrets.CODECOV_TOKEN}}

.github/workflows/master.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Produces and releases artifacts
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches:
@@ -41,12 +44,13 @@ jobs:
4144

4245
# Publish release
4346
- name: Deploy a new release version to Maven Central
44-
run: ./mvnw clean deploy -B -ntp -DskipTests -DskipExamples -Prelease -Dgpg.keyname="${{ secrets.GPG_KEYNAME }}" -Dgpg.passphrase="${{ secrets.GPG_PASSPHRASE }}" -DkeepStagingRepositoryOnCloseRuleFailure=true
47+
run: ./mvnw clean deploy -B -ntp -DskipTests -DskipExamples -Prelease -Dgpg.keyname="${{ secrets.GPG_KEYNAME }}" -DkeepStagingRepositoryOnCloseRuleFailure=true
4548
env:
4649
OSS_CENTRAL_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
4750
OSS_CENTRAL_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
51+
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
4852

4953
- name: Upload coverage information
50-
uses: codecov/codecov-action@v5.4.2
54+
uses: codecov/codecov-action@v5.4.3
5155
with:
5256
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/release-notes.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
# Trigger the workflow on milestone events
1+
name: Milestone Closure
2+
3+
permissions:
4+
contents: write
5+
26
on:
37
milestone:
48
types: [closed]
5-
name: Milestone Closure
9+
610
jobs:
711
create-release-notes:
812
runs-on: ubuntu-latest

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Process Engine Adapter Camunda 7
22

33

4-
[![incubating](https://img.shields.io/badge/lifecycle-INCUBATING-orange.svg)](https://github.com/holisticon#open-source-lifecycle)
4+
[![stable](https://img.shields.io/badge/lifecycle-STABLE-green.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)
66
[![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)
77
[![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)
@@ -39,6 +39,8 @@ If you want to start usage, please add the BOM to your Maven project and add cor
3939

4040
| Adapter-7 Version | Camunda 7 Version | API Version |
4141
|-------------------|-------------------|-------------|
42+
| 2025.05.2 | 7.23 | 1.1 |
43+
| 2025.05.1 | 7.23 | 1.1 |
4244
| 2025.04.4 | 7.22 | 1.1 |
4345
| 2025.04.3 | 7.22 | 1.1 |
4446
| 2025.04.2 | 7.22 | 1.0 |

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.05.1</version>
7+
<version>2025.05.2</version>
88
</parent>
99

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

docs/quickstart-c7-embedded.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ dev:
2929
worker-id: embedded-worker
3030
lock-time-in-seconds: 10
3131
execute-initial-pull-on-startup: true
32-
schedule-delivery-fixed-rate-in-seconds: 5
32+
schedule-delivery-fixed-rate-in-seconds: 60
3333
user-tasks:
3434
delivery-strategy: embedded_scheduled
3535
execute-initial-pull-on-startup: true
36-
schedule-delivery-fixed-rate-in-seconds: 5
36+
schedule-delivery-fixed-rate-in-seconds: 60
3737

3838
```

docs/quickstart-c7-remote.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@ you will also need to add some additional libraries. Here is the result:
2121
<dependency>
2222
<groupId>org.camunda.community.rest</groupId>
2323
<artifactId>camunda-platform-7-rest-client-spring-boot-starter</artifactId>
24-
<version>7.22.3</version>
24+
<version>7.23.0</version>
25+
</dependency>
26+
<!-- Optional, if you want to use the official camunda client for service task delivery-->
27+
<dependency>
28+
<groupId>org.camunda.bpm.springboot</groupId>
29+
<artifactId>camunda-bpm-spring-boot-starter-external-task-client</artifactId>
30+
<version>7.23.0</version>
2531
</dependency>
2632
</dependendcies>
2733
```
@@ -36,7 +42,7 @@ dev:
3642
c7remote:
3743
enabled: true
3844
service-tasks:
39-
delivery-strategy: remote_scheduled
45+
delivery-strategy: remote_scheduled # or remote_subscribed if you want to use official camunda client
4046
schedule-delivery-fixed-rate-in-seconds: 10
4147
worker-id: embedded-worker
4248
lock-time-in-seconds: 10
@@ -51,4 +57,9 @@ feign:
5157
default:
5258
url: "http://localhost:9090/engine-rest/"
5359

60+
# Just needed if you use remote_subscribed as delivery-strategy for service-tasks
61+
camunda:
62+
bpm:
63+
client:
64+
base-url: "http://localhost:9090/engine-rest/"
5465
```

docs/reference-c7-embedded.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
title: Process Engine Adapter C7 Embedded
3+
---
4+
5+
# Decisions and supported features
6+
7+
## Task Information
8+
9+
Currently, the Process Engine Adapter C7 Remote supports the following values in task information meta block, mapped from the Camunda C7 engine:
10+
11+
The `TaskInformation.getMeta()` provides meta information about the task in form of a `Map<String, String>` for maximum compatibility. The Original Type column denotes
12+
the real type, you want to access if reading the field. For this purpose, `TaskInformation` offers special access methods `getMetaValueAsOffsetDate` and `getMetaValueAsStringSet`.
13+
14+
15+
### User Tasks
16+
17+
| Key | Original Type | Description | Example |
18+
|----------------------|----------------|-----------------------------------------------------------------------------|-------------------------------|
19+
| activityId | String | Id of the element in BPMN (Task definition key) | approve_user_task |
20+
| processDefinitionId | String | Id of process definition (given at deployment time) | approval_process:912834729348 |
21+
| processDefinitionKey | String | Id of the process element in BPMN (Process Definition key) | approval_process |
22+
| tenantId | String | Tenant Id | my_tenant |
23+
| taskName | String | Name of the user task (from BPMN or modified by the create listener) | Approve Order |
24+
| taskDescription | String | Description of the user task (from BPMN or modified by the create listener) | Approve provided order. |
25+
| assignee | String | Assignee of the user task | USER12345 |
26+
| candidateUsers | Set<String> | Set of candidate users, separated by a `,` | USER12345,USER12346,USER12347 |
27+
| candidateGroups | Set<String> | Set of candidate groups, separated by a `,` | marketing,sales |
28+
| creationDate | OffsetDateTime | Time stamp of task creation formatted as ISO-8601 in UTC | 2025-05-01T10:00:00.000Z |
29+
| followUpDate | OffsetDateTime | Time stamp of task follow-up formatted as ISO-8601 in UTC | 2025-05-02T10:00:00.000Z |
30+
| dueDate | OffsetDateTime | Time stamp of task due formatted as ISO-8601 in UTC | 2025-05-05T10:00:00.000Z |
31+
| lastUpdatedDate | OffsetDateTime | Time stamp of task last update formatted as ISO-8601 in UTC | 2025-05-05T10:00:00.000Z |
32+
33+
### Service Tasks
34+
35+
| Key | Original Type | Description | Example |
36+
|----------------------|----------------|----------------------------------------------------------------------------|-------------------------------|
37+
| activityId | String | Id of the element in BPMN (Task definition key) | approve_user_task |
38+
| processDefinitionId | String | Id of process definition (given at deployment time) | approval_process:912834729348 |
39+
| processDefinitionKey | String | Id of the process element in BPMN (Process Definition key) | approval_process |
40+
| tenantId | String | Tenant Id | my_tenant |
41+
| topicName | String | Topic name (from BPMN) for external task | topic_approve |
42+
| creationDate | OffsetDateTime | Time stamp of task creation formatted as ISO-8601 in UTC | 2025-05-01T10:00:00.000Z |

docs/reference-c7-remote.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
title: Process Engine Adapter C7 Remote
3+
---
4+
5+
# Decisions and supported features
6+
7+
## Task Information
8+
9+
Currently, the Process Engine Adapter C7 Remote supports the following values in task information meta block, mapped from the Camunda C7 engine:
10+
11+
The `TaskInformation.getMeta()` provides meta information about the task in form of a `Map<String, String>` for maximum compatibility. The Original Type column denotes
12+
the real type, you want to access if reading the field. For this purpose, `TaskInformation` offers special access methods `getMetaValueAsOffsetDate` and `getMetaValueAsStringSet`.
13+
14+
15+
### User Tasks
16+
17+
| Key | Original Type | Description | Example |
18+
|----------------------|----------------|-----------------------------------------------------------------------------|-------------------------------|
19+
| activityId | String | Id of the element in BPMN (Task definition key) | approve_user_task |
20+
| processDefinitionId | String | Id of process definition (given at deployment time) | approval_process:912834729348 |
21+
| processDefinitionKey | String | Id of the process element in BPMN (Process Definition key) | approval_process |
22+
| tenantId | String | Tenant Id | my_tenant |
23+
| taskName | String | Name of the user task (from BPMN or modified by the create listener) | Approve Order |
24+
| taskDescription | String | Description of the user task (from BPMN or modified by the create listener) | Approve provided order. |
25+
| assignee | String | Assignee of the user task | USER12345 |
26+
| candidateUsers | Set<String> | Set of candidate users, separated by a `,` | USER12345,USER12346,USER12347 |
27+
| candidateGroups | Set<String> | Set of candidate groups, separated by a `,` | marketing,sales |
28+
| creationDate | OffsetDateTime | Time stamp of task creation formatted as ISO-8601 in UTC | 2025-05-01T10:00:00.000Z |
29+
| followUpDate | OffsetDateTime | Time stamp of task follow-up formatted as ISO-8601 in UTC | 2025-05-02T10:00:00.000Z |
30+
| dueDate | OffsetDateTime | Time stamp of task due formatted as ISO-8601 in UTC | 2025-05-05T10:00:00.000Z |
31+
| lastUpdatedDate | OffsetDateTime | Time stamp of task last update formatted as ISO-8601 in UTC | 2025-05-05T10:00:00.000Z |
32+
33+
### Service Tasks
34+
35+
| Key | Original Type | Description | Example |
36+
|----------------------|----------------|----------------------------------------------------------------------------|-------------------------------|
37+
| activityId | String | Id of the element in BPMN (Task definition key) | approve_user_task |
38+
| processDefinitionId | String | Id of process definition (given at deployment time) | approval_process:912834729348 |
39+
| processDefinitionKey | String | Id of the process element in BPMN (Process Definition key) | approval_process |
40+
| tenantId | String | Tenant Id | my_tenant |
41+
| topicName | String | Topic name (from BPMN) for external task | topic_approve |
42+
| creationDate | OffsetDateTime | Time stamp of task creation formatted as ISO-8601 in UTC | 2025-05-01T10:00:00.000Z |

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.05.1</version>
9+
<version>2025.05.2</version>
1010
<relativePath>../../pom.xml</relativePath>
1111
</parent>
1212

0 commit comments

Comments
 (0)