Skip to content

Commit

Permalink
Merge pull request #128 from camunda-community-hub/refactor
Browse files Browse the repository at this point in the history
refactor
  • Loading branch information
jonathanlukas authored Jun 4, 2024
2 parents 20aaed9 + 7a8fbbe commit e2a43d4
Show file tree
Hide file tree
Showing 12 changed files with 612 additions and 355 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI
on: [ pull_request, workflow_dispatch ]
jobs:
Build:
runs-on: ubuntu-latest
permissions:
checks: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'maven'
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: mvn verify -PcheckFormat -B
- name: Publish Unit Test Results
id: publish
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: '**/target/surefire-reports/*.xml'
4 changes: 2 additions & 2 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Java environment
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![](https://img.shields.io/badge/Community%20Extension-An%20open%20source%20community%20maintained%20project-FF4700)](https://github.com/camunda-community-hub/community) [![](https://img.shields.io/badge/Lifecycle-Incubating-blue)](https://github.com/Camunda-Community-Hub/community/blob/main/extension-lifecycle.md#incubating-) ![Compatible with: Camunda Platform 7](https://img.shields.io/badge/Compatible%20with-Camunda%20Platform%207-26d07c)

This community extension is a convenience wrapper around the generated Java client from the Camunda Platform 7.x OpenAPI spec.
This community extension is a convenience wrapper around the generated Java client from the Camunda Platform 7.x OpenAPI spec.

## Example application

Expand Down Expand Up @@ -58,7 +58,7 @@ For convenience, there is also a Spring Boot Starter, that
* Wires the ApiClient and provide all API's
* Autodeploys all BPMN, DMN and form resources it finds on the classpath during startup.

Add this dependency:
Add this dependency:

```
<dependency>
Expand Down Expand Up @@ -110,7 +110,7 @@ You can disable auto deployment (which is enabled by default):
camunda.autoDeploy.enabled: false
```

If you want to disable service start failure if it fails during deployment of the resource (which is enabled by default):
If you want to disable service start failure if it fails during deployment of the resource (which is enabled by default):
```
camunda.autoDeploy.failStartupOnError: false
```
Expand Down Expand Up @@ -142,4 +142,3 @@ public class ExampleCheckNumberWorker implements ExternalTaskHandler {
externalTaskService.complete(externalTask);
}
```

Loading

0 comments on commit e2a43d4

Please sign in to comment.