File tree Expand file tree Collapse file tree 4 files changed +17
-38
lines changed
kogito-quarkus-examples/process-timer-quarkus
kogito-springboot-examples
process-usertasks-custom-lifecycle-springboot Expand file tree Collapse file tree 4 files changed +17
-38
lines changed Original file line number Diff line number Diff line change @@ -144,13 +144,13 @@ After that you can redo the timer queries described above.
144
144
145
145
### Kogito Jobs Service configuration into the application
146
146
147
- To be able to use Kogito Job Service as timer service , an additional dependency is needed into the ` pom.xml ` file:
147
+ To be able to use Kogito Job Service as embedded , an additional dependency is needed into the ` pom.xml ` file:
148
148
149
149
``` xml
150
- <dependency >
151
- <groupId >org.kie</groupId >
152
- <artifactId >kogito-addons-quarkus-jobs-management </artifactId >
153
- </dependency >
150
+ <dependency >
151
+ <groupId >org.kie</groupId >
152
+ <artifactId >kogito-addons-quarkus-embedded-jobs </artifactId >
153
+ </dependency >
154
154
```
155
155
156
156
Then, to allow to use Job Service as timer service there is a need to specify some properties in the ` src/main/application.properties ` file:
Original file line number Diff line number Diff line change @@ -242,30 +242,6 @@ First one is used to direct the Kogito runtime to let it know where is the Kogit
242
242
to match the location of the Kogito Job Service when starting it - see below.
243
243
Second one is used by Kogito Job Service to callback when the timer expires and needs to be pointing to the service host and port
244
244
245
- ### Start Kogito Job Service
246
-
247
- You need to download the job service and start it locally
248
-
249
- You can download it from [ Select Latest Version]
250
- https://repo.maven.apache.org/maven2/org/kie/kogito/jobs-service/
251
-
252
- ``` sh
253
- java -Dquarkus.http.port=8085 -jar jobs-service-common/target/jobs-service-common-{version}-runner.jar
254
- ```
255
-
256
- * After Starting Kogito Job Service you should see a similar Log as follows
257
-
258
- <p align =" center " ><img src =" docs/images/kogitoWebServiceLog.png " ></p >
259
-
260
- In case you'd like to run the job service with enabled persistence then start
261
- Infinispan server before and then run the job service with following command
262
-
263
- Download Infinispan Server from
264
- https://infinispan.org/download/
265
-
266
- Start Infinispan Server
267
- [ Infinispan Directory] /bin/sh server.sh
268
-
269
245
``` sh
270
246
java -Dquarkus.http.port=8085 -jar jobs-service-infinispan/target/jobs-service-infinispan-{version}-runner.jar
271
247
```
Original file line number Diff line number Diff line change 80
80
<artifactId >jbpm-spring-boot-starter</artifactId >
81
81
</dependency >
82
82
83
- <!-- Comment to disable jobs service integration -->
84
- <dependency >
85
- <groupId >org.kie</groupId >
86
- <artifactId >kogito-addons-springboot-jobs-management</artifactId >
87
- </dependency >
83
+ <dependency >
84
+ <groupId >org.kie</groupId >
85
+ <artifactId >kogito-addons-springboot-embedded-jobs</artifactId >
86
+ </dependency >
88
87
89
88
<dependency >
90
89
<groupId >org.kie</groupId >
Original file line number Diff line number Diff line change 114
114
<groupId >org.infinispan</groupId >
115
115
<artifactId >infinispan-spring-boot3-starter-remote</artifactId >
116
116
</dependency >
117
- <dependency >
118
- <groupId >org.kie</groupId >
119
- <artifactId >kogito-addons-springboot-jobs-management</artifactId >
120
- </dependency >
117
+ <dependency >
118
+ <groupId >org.kie</groupId >
119
+ <artifactId >kogito-addons-springboot-embedded-jobs</artifactId >
120
+ </dependency >
121
+ <dependency >
122
+ <groupId >org.kie</groupId >
123
+ <artifactId >kogito-addons-springboot-embedded-jobs-jpa</artifactId >
124
+ </dependency >
121
125
</dependencies >
122
126
</profile >
123
127
</profiles >
You can’t perform that action at this time.
0 commit comments