Skip to content

Commit 3e30825

Browse files
committed
fix readme.md
1 parent a0d0df0 commit 3e30825

File tree

4 files changed

+17
-38
lines changed
  • kogito-quarkus-examples/process-timer-quarkus
  • kogito-springboot-examples

4 files changed

+17
-38
lines changed

kogito-quarkus-examples/process-timer-quarkus/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,13 @@ After that you can redo the timer queries described above.
144144

145145
### Kogito Jobs Service configuration into the application
146146

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:
148148

149149
```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>
154154
```
155155

156156
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:

kogito-springboot-examples/process-timer-springboot/README.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -242,30 +242,6 @@ First one is used to direct the Kogito runtime to let it know where is the Kogit
242242
to match the location of the Kogito Job Service when starting it - see below.
243243
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
244244

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-
269245
```sh
270246
java -Dquarkus.http.port=8085 -jar jobs-service-infinispan/target/jobs-service-infinispan-{version}-runner.jar
271247
```

kogito-springboot-examples/process-timer-springboot/pom.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,10 @@
8080
<artifactId>jbpm-spring-boot-starter</artifactId>
8181
</dependency>
8282

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>
8887

8988
<dependency>
9089
<groupId>org.kie</groupId>

kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/pom.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,14 @@
114114
<groupId>org.infinispan</groupId>
115115
<artifactId>infinispan-spring-boot3-starter-remote</artifactId>
116116
</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>
121125
</dependencies>
122126
</profile>
123127
</profiles>

0 commit comments

Comments
 (0)