diff --git a/process-timer-quarkus/README.md b/process-timer-quarkus/README.md index 8f4a5b9d925..8c90d87f769 100644 --- a/process-timer-quarkus/README.md +++ b/process-timer-quarkus/README.md @@ -299,15 +299,13 @@ You can download it from [Select Latest Version] https://repo.maven.apache.org/maven2/org/kie/kogito/jobs-service/ ```sh -java -Dquarkus.http.port=8085 -jar target/jobs-service-{version}-runner.jar +java -Dquarkus.http.port=8085 -jar jobs-service-common/target/jobs-service-common-{version}-runner.jar ``` * After Starting Kogito Web Service you should see a similar Log as follows

-Note that in the above log infinispan has started on port 11222 - In case you'd like to run the job service with enabled persistence then start Infinispan server before and then run the job service with following command @@ -318,16 +316,22 @@ Start Infinispan Server [Infinispan Directory]/bin/sh server.sh ``` -java -Dquarkus.http.port=8085 -Dkogito.jobs-service.persistence=infinispan -jar target/jobs-service-{version}-runner.jar +java -Dquarkus.http.port=8085 -jar jobs-service-infinispan/target/jobs-service-infinispan-{version}-runner.jar ``` -in both cases replace `{version}` with actual Kogito version to be used (Job Service is available from 0.6.0) - * After Starting Infinispan you should see a similar Log as follows

-After that you can redo the timer queries described above +If you'd like to use PostgresSQL as persistence, start the PostgreSQL server, then start job service with following command + +``` +java -Dquarkus.http.port=8085 -Dquarkus.datasource.username={username} -Dquarkus.datasource.password={password} -Dquarkus.datasource.reactive.url=postgresql://{host}:{port}/{db} -Dquarkus.datasource.jdbc.url=jdbc:postgresql://{host}:{port}/{db} -jar jobs-service-postgresql/target/jobs-service-postgresql-{version}-runner.jar +``` + +In all cases replace `{version}` with actual Kogito version to be used (Job Service is available from 0.6.0) + +After that you can redo the timer queries described above. ## Deploy on OpenShift diff --git a/process-timer-quarkus/docs/images/kogitoWebServiceLog.png b/process-timer-quarkus/docs/images/kogitoWebServiceLog.png index 82d7465605c..10a1b0bee8a 100644 Binary files a/process-timer-quarkus/docs/images/kogitoWebServiceLog.png and b/process-timer-quarkus/docs/images/kogitoWebServiceLog.png differ diff --git a/process-timer-springboot/README.md b/process-timer-springboot/README.md index 879d24a66ab..5701591177c 100644 --- a/process-timer-springboot/README.md +++ b/process-timer-springboot/README.md @@ -250,15 +250,13 @@ You can download it from [Select Latest Version] https://repo.maven.apache.org/maven2/org/kie/kogito/jobs-service/ ```sh -java -Dquarkus.http.port=8085 -jar target/jobs-service-{version}-runner.jar +java -Dquarkus.http.port=8085 -jar jobs-service-common/target/jobs-service-common-{version}-runner.jar ``` * After Starting Kogito Job Service you should see a similar Log as follows

-Note that in the above log infinispan has started on port 11222 - In case you'd like to run the job service with enabled persistence then start Infinispan server before and then run the job service with following command @@ -269,15 +267,21 @@ Start Infinispan Server [Infinispan Directory]/bin/sh server.sh ```sh -java -Dquarkus.http.port=8085 -Dkogito.jobs-service.persistence=infinispan -jar target/jobs-service-{version}-runner.jar +java -Dquarkus.http.port=8085 -jar jobs-service-infinispan/target/jobs-service-infinispan-{version}-runner.jar ``` -in both cases replace `{version}` with actual Kogito version to be used (Job Service is available from 0.6.0) - * After Starting Infinispan you should see a similar Log as follows

+If you'd like to use PostgresSQL as persistence, start the PostgreSQL server, then start job service with following command + +```sh +java -Dquarkus.http.port=8085 -Dquarkus.datasource.username={username} -Dquarkus.datasource.password={password} -Dquarkus.datasource.reactive.url=postgresql://{host}:{port}/{db} -Dquarkus.datasource.jdbc.url=jdbc:postgresql://{host}:{port}/{db} -jar jobs-service-postgresql/target/jobs-service-postgresql-{version}-runner.jar +``` + +In all cases replace `{version}` with actual Kogito version to be used (Job Service is available from 0.6.0) + After that you can redo the timer queries described above. ## Deploy on OpenShift diff --git a/process-timer-springboot/docs/images/kogitoWebServiceLog.png b/process-timer-springboot/docs/images/kogitoWebServiceLog.png index 82d7465605c..10a1b0bee8a 100644 Binary files a/process-timer-springboot/docs/images/kogitoWebServiceLog.png and b/process-timer-springboot/docs/images/kogitoWebServiceLog.png differ