Skip to content

Commit

Permalink
Camunda 8.4.x compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jbergjan committed Jan 15, 2024
1 parent 692d5ad commit f20fc5b
Show file tree
Hide file tree
Showing 13 changed files with 31 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ updates:
open-pull-requests-limit: 99
ignore:
- dependency-name: "jackson-databind"
versions: [ "2.16.x"]
versions: ["2.16.x"]
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build with Maven
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ without any additional worker logic

## Connector Compatibility

- JDK 17+
- Camunda Platform v8.3.x
- JDK 21+
- Camunda Platform v8.4.x
- AWS SDK v2.x
2 changes: 1 addition & 1 deletion connector-aws-s3-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ NOTE: the docker image is based on the `arm64v8` architecture since it is develo
for any matching architecture:

```
FROM arm64v8/openjdk:17
FROM arm64v8/openjdk:21
```

- Start a process instance with the following variable
Expand Down
4 changes: 2 additions & 2 deletions connector-aws-s3-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<artifactId>connector-aws-s3-example</artifactId>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>${version.java}</maven.compiler.source>
<maven.compiler.target>${version.java}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down
6 changes: 3 additions & 3 deletions connector-aws-s3-libs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ possible. This is not a security tutorial for AWS. You should definitively know

## Compatibility

- JDK 17+
- Camunda Platform v8.3.x
- Connector SDK v0.23.x
- JDK 21+
- Camunda Platform v8.4.x
- Connector SDK v8.4.x
- AWS SDK v2.x

NOTE: The Docker image is based on the `arm64v8` architecture. If you need another one just switch out the base image.
Expand Down
8 changes: 2 additions & 6 deletions connector-aws-s3-libs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<artifactId>connector-aws-s3-libs</artifactId>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>${version.java}</maven.compiler.source>
<maven.compiler.target>${version.java}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand All @@ -51,10 +51,6 @@
<groupId>io.camunda.connector</groupId>
<artifactId>connector-validation</artifactId>
</dependency>
<!--<dependency>
<groupId>io.camunda.connector</groupId>
<artifactId>connector-test</artifactId>
</dependency>-->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion connector-aws-s3-standalone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ NOTE: the docker image is based on the `arm64v8` architecture since it is develo
for any matching architecture:

```
FROM arm64v8/openjdk:17
FROM arm64v8/openjdk:21
```
4 changes: 2 additions & 2 deletions connector-aws-s3-standalone/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<artifactId>connector-aws-s3-standalone</artifactId>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>${version.java}</maven.compiler.source>
<maven.compiler.target>${version.java}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down
4 changes: 2 additions & 2 deletions connector-file-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<version>1.3.0-SNAPSHOT</version>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>${version.java}</maven.compiler.source>
<maven.compiler.target>${version.java}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down
12 changes: 6 additions & 6 deletions docker/.env
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
## Image versions ##
CAMUNDA_CONNECTORS_VERSION=8.3.0
CAMUNDA_OPTIMIZE_VERSION=8.3.0
CAMUNDA_PLATFORM_VERSION=8.3.1
CAMUNDA_WEB_MODELER_VERSION=8.3.1
ELASTIC_VERSION=8.8.2
CAMUNDA_CONNECTORS_VERSION=8.4.3
CAMUNDA_OPTIMIZE_VERSION=8.4.0
CAMUNDA_PLATFORM_VERSION=8.4.0
CAMUNDA_WEB_MODELER_VERSION=8.4.1
ELASTIC_VERSION=8.11.3
KEYCLOAK_SERVER_VERSION=21.1.2
MAILPIT_VERSION=v1.7.0
MAILPIT_VERSION=v1.9.9
POSTGRES_VERSION=14.5-alpine
HOST=localhost

Expand Down
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM maven:3.9.3-eclipse-temurin-17 as DEPS
FROM maven:3.9.3-eclipse-temurin-21 as DEPS
WORKDIR /opt/app
COPY connector-aws-s3-libs/pom.xml connector-aws-s3-libs/pom.xml
COPY connector-aws-s3-standalone/pom.xml connector-aws-s3-standalone/pom.xml
Expand All @@ -8,7 +8,7 @@ COPY pom.xml .

RUN mvn -B -e -C org.apache.maven.plugins:maven-dependency-plugin:3.1.2:go-offline -DexcludeArtifactIds=connector-aws-s3-standalone,connector-aws-s3-libs,connector-file-api,connector-aws-s3-example

FROM maven:3.9.3-eclipse-temurin-17 as BUILDER
FROM maven:3.9.3-eclipse-temurin-21 as BUILDER
WORKDIR /opt/app
COPY --from=DEPS /root/.m2 /root/.m2
COPY --from=DEPS /opt/app/ /opt/app
Expand All @@ -19,7 +19,7 @@ COPY connector-file-api/src /opt/app/connector-file-api/src

RUN mvn -B -e clean install -DskipTests=true

FROM arm64v8/openjdk:17
FROM arm64v8/openjdk:21
WORKDIR /opt/app
COPY --from=BUILDER /opt/app/connector-aws-s3-standalone/target/connector-aws-s3-standalone-1.3.0-SNAPSHOT.jar /connector.jar
CMD [ "java", "-jar", "/connector.jar" ]
7 changes: 4 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@
<packaging>pom</packaging>

<properties>
<maven.compiler.release>17</maven.compiler.release>
<version.java>21</version.java>
<maven.compiler.release>${version.java}</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<!-- connector SDK version -->
<version.spring-zeebe>8.3.4.8</version.spring-zeebe>
<version.connectors>8.3.3</version.connectors>
<version.spring-zeebe>8.4.0</version.spring-zeebe>
<version.connectors>8.4.3</version.connectors>

<!-- external libraries -->
<version.jackson>2.15.3</version.jackson>
Expand Down

0 comments on commit f20fc5b

Please sign in to comment.