Skip to content

Commit 6259a62

Browse files
All connections supported (#135)
* Remove FileStorage, loadFile connectors * Remove FileStorage, loadFile connectors
1 parent 7bd712c commit 6259a62

File tree

64 files changed

+4878
-3613
lines changed

Some content is hidden

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

64 files changed

+4878
-3613
lines changed

README.md

+62-10
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ What do you need to do to start the runtime?
4242

4343
Check the [Installation guide](doc/InstallationGuide/README.md) for more information.
4444

45-
Check the [Administration guide.md](doc/AdministrationGuide%2FREADME.md) for an explanation of the functions available.
45+
Check the [Administration guide.md](doc/AdministrationGuide/README.md) for an explanation of the functions available.
4646

4747
In a short overview, to enable a Cherry runtime in your cluster:
4848

4949
## Download the application
5050

51-
Download the Docker Image, or use the docker-compose given in the [docker-Cherry](docker-cherry/README.md)
51+
Download the Docker Image, or use the docker-compose given in the [docker-Cherry](docker/README.md)
5252
The image is available here.
5353

5454
```
@@ -62,16 +62,68 @@ Cherry needs:
6262
* to save connectors and statistics
6363
6464
Check the [application.yaml](src/main/resources/application.yaml) file to see all parameters.
65+
66+
The connection use this approach https://github.com/camunda-community-hub/spring-zeebe?tab=readme-ov-file#configuring-camunda-8-connection
67+
68+
### Saas
69+
Use
70+
```yaml
71+
camunda:
72+
client:
73+
mode: saas
74+
auth:
75+
client-id: <your client id>
76+
client-secret: <your client secret>
77+
cluster-id: <your cluster id>
78+
region: <your cluster region>
79+
```
80+
81+
### Self manage without Identity
82+
83+
```yaml
84+
camunda:
85+
client:
86+
mode: simple
87+
auth:
88+
username: demo
89+
password: demo
90+
zeebe:
91+
enabled: true
92+
gateway-url: http://localhost:26500
93+
base-url: http://localhost:8080
94+
prefer-rest-over-grpc: false
95+
```
96+
97+
## Self manage with Identity
98+
99+
````yaml
100+
camunda:
101+
client:
102+
mode: oidc
103+
auth:
104+
client-id: <your client id>
105+
client-secret: <your client secret>
106+
zeebe:
107+
enabled: true
108+
gateway-url: http://localhost:26500
109+
base-url: http://localhost:8080
110+
prefer-rest-over-grpc: false
111+
````
112+
113+
### Use parameter
65114
It is possible to pass parameters as a variable, for example.
66115
67116
``
68117
Environment:
69-
- ZEEBE_CLIENT_BROKER_GATEWAY_ADDRESS=zeebe:26500
118+
- CAMUNDA_CLIENT_MODE=saas
70119
``
71120
To connect a local engine in the same cluster.
72121
122+
123+
### Database
124+
73125
An H2 database is configured by default to save information. Use a SQL database for a robust database.
74-
Looks [docker-compose-cherry-postgres.yaml](docker-cherry/docker-compose-cherry-postgres.yaml) to see an example.
126+
Looks [docker-compose-cherry-postgres.yaml](docker/docker-compose-cherry-postgres.yaml) to see an example.
75127
76128
Using an SQL database allows you to configure one Cherry pod and a farm of pods. Each pod accesses the same database, and statistics are shared between all pots through connectors.
77129
@@ -113,7 +165,7 @@ If the connector defines the additional Cherry method, Inputs, Outputs, and Erro
113165
The element template can be downloaded if the connector defines the additional Cherry methods or comes from the MarketPlace.
114166

115167
Open the ZIP file, and upload content on the Desktop modeler, path `resources\element-templates.
116-
![ModelerElementTemplate.png](doc/Fimages/ModelerElementTemplate.png)
168+
![ModelerElementTemplate.png](doc/images/ModelerElementTemplate.png)
117169

118170
It's possible to upload the file on the Web Modeler.
119171

@@ -131,7 +183,7 @@ Cherry runtime has more critical features for the developers:
131183

132184
The Cherry runtime manages execution, and many administrative functions are included: starting/stopping, changing the number of threads, and getting statistics on execution.
133185

134-
Check the [Developer guide](doc/DeveloperGuide%2FREADME.md)
186+
Check the [Developer guide](doc/DeveloperGuide/README.md)
135187

136188

137189
# Internal tip
@@ -205,21 +257,21 @@ mvn clean install
205257
````
206258
Now, create a docker image.
207259
````
208-
docker build -t pierre-yves-monnet/zeebe-cherry-runtime:3.2.0 .
260+
docker build -t pierre-yves-monnet/zeebe-cherry-runtime:3.3.0 .
209261
````
210262
211263
212264
Push the image to the Camunda hub (you must be login first to the docker registry)
213265
214266
````
215-
docker tag pierre-yves-monnet/zeebe-cherry-runtime:3.2.0 ghcr.io/camunda-community-hub/zeebe-cherry-runtime:3.2.0
216-
docker push ghcr.io/camunda-community-hub/zeebe-cherry-runtime:3.2.0
267+
docker tag pierre-yves-monnet/zeebe-cherry-runtime:3.3.0 ghcr.io/camunda-community-hub/zeebe-cherry-runtime:3.3.0
268+
docker push ghcr.io/camunda-community-hub/zeebe-cherry-runtime:3.3.0
217269
````
218270
219271
220272
Tag as the latest:
221273
````
222-
docker tag pierre-yves-monnet/zeebe-cherry-runtime:3.2.0 ghcr.io/camunda-community-hub/zeebe-cherry-runtime:latest
274+
docker tag pierre-yves-monnet/zeebe-cherry-runtime:3.3.0 ghcr.io/camunda-community-hub/zeebe-cherry-runtime:latest
223275
docker push ghcr.io/camunda-community-hub/zeebe-cherry-runtime:latest
224276
````
225277

0 commit comments

Comments
 (0)