diff --git a/.ci/environments/quarkus-3/patches/0001_before_sh.patch b/.ci/environments/quarkus-3/patches/0001_before_sh.patch
index fb198bf8e4..7ca34e741f 100644
--- a/.ci/environments/quarkus-3/patches/0001_before_sh.patch
+++ b/.ci/environments/quarkus-3/patches/0001_before_sh.patch
@@ -3812,7 +3812,7 @@ index 13129a50a..a0b3ebde7 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/pom.xml b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/pom.xml
index 4e4602148..6f4e3d857 100644
--- a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/pom.xml
@@ -3833,7 +3833,7 @@ index 4e4602148..6f4e3d857 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/CallbackResource.java b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/CallbackResource.java
index 91ad34b97..a28d9f40e 100644
--- a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/CallbackResource.java
@@ -3893,7 +3893,7 @@ index 76a5fd018..a20b704ed 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml
index 2f1c84d57..4dbcc325b 100644
--- a/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml
@@ -3914,7 +3914,7 @@ index 2f1c84d57..4dbcc325b 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/main/java/org/kie/kogito/examples/PrintService.java b/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/main/java/org/kie/kogito/examples/PrintService.java
index a1ee770e7..77b636420 100644
--- a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/main/java/org/kie/kogito/examples/PrintService.java
@@ -3950,7 +3950,7 @@ index 519234897..05e2b0dd8 100644
+ 3.0.0-SNAPSHOT113.8.1
- 3.0.0-M7
+ 3.1.23.5.4
@@ -3978,7 +3978,7 @@ index 480206687..015d82784 100644
- 2.0.0-SNAPSHOT
+ 3.0.0-SNAPSHOT3.8.1
- 3.0.0-M7
+ 3.1.211
diff --git a/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/pom.xml
index 4cc5b957b..15d303eec 100644
@@ -4000,7 +4000,7 @@ index 4cc5b957b..15d303eec 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml
index 4cb87747c..f67a88ec0 100644
--- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml
@@ -4021,7 +4021,7 @@ index 4cb87747c..f67a88ec0 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/EventsService.java b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/EventsService.java
index ff08208ed..82e1404b2 100644
--- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/EventsService.java
@@ -4080,7 +4080,7 @@ index bb232125f..ceedd0272 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-custom-function-knative/workflow/pom.xml b/serverless-workflow-examples/serverless-workflow-custom-function-knative/workflow/pom.xml
index a92ad9e89..94b538fb1 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-function-knative/workflow/pom.xml
@@ -4101,7 +4101,7 @@ index a92ad9e89..94b538fb1 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/pom.xml b/serverless-workflow-examples/serverless-workflow-custom-type/pom.xml
index 519f3d236..43270cc84 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-type/pom.xml
@@ -4120,7 +4120,7 @@ index 519f3d236..43270cc84 100644
kogito-bom
- 2.0.0-SNAPSHOT
+ 3.0.0-SNAPSHOT
- 3.0.0-M7
+ 3.1.2111.7.30
diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/java/org/kie/kogito/examples/sw/custom/RPCCustomWorkItemHandler.java b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/java/org/kie/kogito/examples/sw/custom/RPCCustomWorkItemHandler.java
@@ -4174,7 +4174,7 @@ index b7b0a4ada..2e0b986da 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/main/java/org/kie/kogito/examples/PrintService.java b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/main/java/org/kie/kogito/examples/PrintService.java
index 80259f870..14cb03297 100644
--- a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/main/java/org/kie/kogito/examples/PrintService.java
@@ -4210,7 +4210,7 @@ index f4f65c528..17baa4d8a 100644
+ 3.0.0-SNAPSHOT113.8.1
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-error-quarkus/src/main/java/org/kie/kogito/examples/EvenService.java b/serverless-workflow-examples/serverless-workflow-error-quarkus/src/main/java/org/kie/kogito/examples/EvenService.java
index 59c077d86..6468384d5 100644
--- a/serverless-workflow-examples/serverless-workflow-error-quarkus/src/main/java/org/kie/kogito/examples/EvenService.java
@@ -4244,7 +4244,7 @@ index 874e192c9..7379a037a 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
- 2.0.0-SNAPSHOT
+ 3.0.0-SNAPSHOT
@@ -4360,7 +4360,7 @@ index d866929bf..2144e8b6b 100644
+ 3.0.0-SNAPSHOT113.8.1
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-foreach-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-foreach-quarkus/pom.xml
index 781162a98..dffac3171 100644
--- a/serverless-workflow-examples/serverless-workflow-foreach-quarkus/pom.xml
@@ -4381,7 +4381,7 @@ index 781162a98..dffac3171 100644
+ 3.0.0-SNAPSHOT113.8.1
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/pom.xml
index 9424dc1b5..1d43def93 100644
--- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/pom.xml
@@ -4402,7 +4402,7 @@ index 9424dc1b5..1d43def93 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/resources/AppointmentResource.java b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/resources/AppointmentResource.java
index b5584de03..1f9a0bdb8 100644
--- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/resources/AppointmentResource.java
@@ -4539,7 +4539,7 @@ index 35c91d68b..a4136e6f8 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-functions-quarkus/src/main/java/org/acme/numbers/NumbersResource.java b/serverless-workflow-examples/serverless-workflow-functions-quarkus/src/main/java/org/acme/numbers/NumbersResource.java
index b9cbab2e8..6980366b7 100644
--- a/serverless-workflow-examples/serverless-workflow-functions-quarkus/src/main/java/org/acme/numbers/NumbersResource.java
@@ -4593,7 +4593,7 @@ index cda3b7296..011e97147 100644
+ 3.0.0.Final3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/ClassificationFunction.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/ClassificationFunction.java
index 6f90bae6d..56b1e20e5 100644
--- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/ClassificationFunction.java
@@ -4692,7 +4692,7 @@ index f651b169d..f72762b0b 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-greeting-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-greeting-quarkus/pom.xml
index 7ac2e39db..738e86c3f 100644
--- a/serverless-workflow-examples/serverless-workflow-greeting-quarkus/pom.xml
@@ -4713,7 +4713,7 @@ index 7ac2e39db..738e86c3f 100644
+ 3.0.0-SNAPSHOT113.8.1
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/pom.xml
index 8c6563339..707894ba9 100644
--- a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/pom.xml
@@ -4734,14 +4734,14 @@ index 8c6563339..707894ba9 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/pom.xml
index c2ca6f930..d004b2cc1 100644
--- a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/pom.xml
@@ -16,7 +16,7 @@
11
- 3.0.0-M7
+ 3.1.23.22.0
- 1.51.1
+ 1.54.0
@@ -4779,7 +4779,7 @@ index 12e44987a..a2eeb214a 100644
+ 3.0.0-SNAPSHOT113.8.1
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/CloudEventDataFormat.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/CloudEventDataFormat.java
index 4a5671fe4..d3039a141 100644
--- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/CloudEventDataFormat.java
@@ -5076,7 +5076,7 @@ index efd654500..368067c17 100644
- 2.14.0
+ 3.0.0-M1
- 3.0.0-M7
+ 3.1.23.8.1
diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/pom.xml b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/pom.xml
index 2e08e9a86..d9f50f983 100644
@@ -5096,7 +5096,7 @@ index 2e08e9a86..d9f50f983 100644
kogito-bom
- 2.0.0-SNAPSHOT
+ 3.0.0-SNAPSHOT
- 3.0.0-M7
+ 3.1.25.1.33.6.0
diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/java/org/kie/kogito/examples/VertxRouter.java b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/java/org/kie/kogito/examples/VertxRouter.java
@@ -5245,7 +5245,7 @@ index cdda9bb4f..dd69b0cc3 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/java/org/acme/AcmeFinancialApplication.java b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/java/org/acme/AcmeFinancialApplication.java
index af5d49198..c77a16ba7 100644
--- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/java/org/acme/AcmeFinancialApplication.java
@@ -5317,7 +5317,7 @@ index e0132a7d4..b7f310a7f 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/java/org/kie/kogito/examples/ExchangeWorkflowHelper.java b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/java/org/kie/kogito/examples/ExchangeWorkflowHelper.java
index 335f6f86a..903e39aef 100644
--- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/java/org/kie/kogito/examples/ExchangeWorkflowHelper.java
@@ -5408,7 +5408,7 @@ index f8d635e57..16804f95a 100644
+ 3.0.0-SNAPSHOT113.8.1
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-python-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-python-quarkus/pom.xml
index 850e11d5b..162da1ab5 100644
--- a/serverless-workflow-examples/serverless-workflow-python-quarkus/pom.xml
@@ -5746,7 +5746,7 @@ index d15fe8e64..8b3f1d9d3 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/java/org/kogito/serverless/examples/CountriesClassifierResource.java b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/java/org/kogito/serverless/examples/CountriesClassifierResource.java
index 3917c23b4..2d64f52f3 100644
--- a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/java/org/kogito/serverless/examples/CountriesClassifierResource.java
@@ -5820,7 +5820,7 @@ index 730e56f86..d7531a2f2 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/src/main/java/org/acme/RealStockPriceResource.java b/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/src/main/java/org/acme/RealStockPriceResource.java
index 219f20cd6..26b3a8c66 100644
--- a/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/src/main/java/org/acme/RealStockPriceResource.java
@@ -5881,7 +5881,7 @@ index f3ee8d2f9..d1e45b1ff 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/pom.xml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/pom.xml
index a0a03fe0b..e7f5ac799 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/pom.xml
@@ -5902,7 +5902,7 @@ index a0a03fe0b..e7f5ac799 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/pom.xml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/pom.xml
index 8db50c271..9e56146b4 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/pom.xml
@@ -5923,7 +5923,7 @@ index 8db50c271..9e56146b4 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/pom.xml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/pom.xml
index 29686f3ca..1a4352b34 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/pom.xml
@@ -5944,7 +5944,7 @@ index 29686f3ca..1a4352b34 100644
+ 3.0.0-SNAPSHOT3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/pom.xml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/pom.xml
index 5d9b652af..7f0331124 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/pom.xml
@@ -5961,7 +5961,7 @@ index 5d9b652af..7f0331124 100644
+ 3.0.0.Final3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/java/org/kie/kogito/examples/sw/temp/multiplication/OperationResource.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/java/org/kie/kogito/examples/sw/temp/multiplication/OperationResource.java
index b88993082..2cd120fc4 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/java/org/kie/kogito/examples/sw/temp/multiplication/OperationResource.java
@@ -6003,7 +6003,7 @@ index 50157e0d9..33bb58bbc 100644
+ 3.0.0.Final3.8.111
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/java/org/kie/kogito/examples/sw/temp/subtraction/OperationResource.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/java/org/kie/kogito/examples/sw/temp/subtraction/OperationResource.java
index fbddc22c5..671a17c91 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/java/org/kie/kogito/examples/sw/temp/subtraction/OperationResource.java
@@ -6049,7 +6049,7 @@ index 29a3d7a38..57f37d0a2 100644
+ 3.0.0-SNAPSHOT113.8.1
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/pom.xml b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/pom.xml
index 9ecc52d5a..d8a9582be 100644
--- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/pom.xml
@@ -6066,7 +6066,7 @@ index 9ecc52d5a..d8a9582be 100644
+ 3.0.0-SNAPSHOT113.8.1
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/java/org/kie/kogito/examples/EventsProducerResource.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/java/org/kie/kogito/examples/EventsProducerResource.java
index 85ecdad6e..8a3b7a2cf 100644
--- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/java/org/kie/kogito/examples/EventsProducerResource.java
@@ -6126,7 +6126,7 @@ index 1d26d223f..bb27a5aa8 100644
+ 3.0.0-SNAPSHOT113.8.1
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/java/org/kie/kogito/examples/EventsProducerResource.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/java/org/kie/kogito/examples/EventsProducerResource.java
index 3be5d1511..546c55c33 100644
--- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/java/org/kie/kogito/examples/EventsProducerResource.java
@@ -6188,7 +6188,7 @@ index d4cc05f68..600c3e642 100644
+ 3.0.0-SNAPSHOT113.8.1
- 3.0.0-M7
+ 3.1.2
diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/CallbackStateTimeoutsClient.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/CallbackStateTimeoutsClient.java
index 9b5f2cf6f..5ed665c99 100644
--- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/CallbackStateTimeoutsClient.java
diff --git a/.ci/environments/quarkus-3/patches/0003_wiremock_update.patch b/.ci/environments/quarkus-3/patches/0003_wiremock_update.patch
index b04922bfe7..2e20d9c064 100644
--- a/.ci/environments/quarkus-3/patches/0003_wiremock_update.patch
+++ b/.ci/environments/quarkus-3/patches/0003_wiremock_update.patch
@@ -4,7 +4,7 @@ index 130b10318..b4cb6502e 100644
+++ b/serverless-workflow-examples/serverless-workflow-stock-profit/pom.xml
@@ -25,7 +25,7 @@
11
- 3.0.0-M7
+ 3.1.2${version.surefire.plugin}
- 2.33.2
+ 3.0.0-beta-8
diff --git a/.ci/environments/quarkus-lts/patches/0001_align-protobuf-and-grpc.patch b/.ci/environments/quarkus-lts/patches/0001_align-protobuf-and-grpc.patch
index 88e78df996..d57c2e8422 100644
--- a/.ci/environments/quarkus-lts/patches/0001_align-protobuf-and-grpc.patch
+++ b/.ci/environments/quarkus-lts/patches/0001_align-protobuf-and-grpc.patch
@@ -5,7 +5,7 @@ index c2ca6f930..a50429305 100644
@@ -15,8 +15,9 @@
3.8.111
- 3.0.0-M7
+ 3.1.2
- 3.22.0
- 1.51.1
+
diff --git a/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml b/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml
index 6a7c0bdcc5..1075f9f21d 100644
--- a/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml
+++ b/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml
@@ -1,14 +1,15 @@
-
+4.0.0
-
- org.acme.examples
- kogito-quarkus-examples
- 2.0.0-SNAPSHOT
-
+
decisiontable-quarkus-example
+ org.acme.examples
+ 2.0.0-SNAPSHOT
+
Kogito Example :: Decision Table - Quarkus
+
2.16.10.Finalquarkus-bom
@@ -19,7 +20,19 @@
2.0.0-SNAPSHOT2.0.0-SNAPSHOT8.45.0-SNAPSHOT
+ 3.1.2
+ ${version.surefire.plugin}
+ 3.8.1
+
+ 0
+
+ fast-jar
+ 11
+ 11
+ UTF-8
+ UTF-8
+
@@ -90,20 +103,49 @@
- ${project.artifactId}
- ${quarkus.platform.group-id}
- quarkus-maven-plugin
- ${quarkus-plugin.version}
-
-
-
- build
-
-
-
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${version.surefire.plugin}
+
+
+ org.jboss.logmanager.LogManager
+
+
+
+
+ org.apache.maven.plugins
+ maven-failsafe-plugin
+ ${version.failsafe.plugin}
+
+
+ org.jboss.logmanager.LogManager
+ ${tests.quarkus.http.port}
+ ${project.build.directory}/${project.build.finalName}-runner
+
+
+
+
+
+ kogito-apps-downstream-native
+
+
+ kogito-apps-native
+
+
+
+ **/Native*IT.java
+
+ native
+ 8g
+
+ 8080
+
+
+
+
diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml
index 9d20b646d7..76352af0e6 100755
--- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml
+++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml
@@ -1,14 +1,15 @@
-
+4.0.0
-
- org.acme.examples
- kogito-quarkus-examples
- 2.0.0-SNAPSHOT
-
+
dmn-drools-quarkus-metrics
+ org.acme.examples
+ 2.0.0-SNAPSHOT
+
Kogito Example :: DMN Metrics Quarkus
+
2.16.10.Finalquarkus-bom
@@ -18,7 +19,21 @@
kogito-bom2.0.0-SNAPSHOT2.0.0-SNAPSHOT
+ 1.17.3
+ 3.1.2
+ ${version.surefire.plugin}
+
+ 0
+
+ fast-jar
+ 3.1.0
+ 3.1.0
+ 11
+ 11
+ UTF-8
+ UTF-8
+
@@ -37,6 +52,7 @@
+
org.kie.kogito
@@ -83,6 +99,7 @@
org.kie.kogitokogito-test-utils
+ ${version.org.kie.kogito}test
@@ -96,6 +113,7 @@
quarkus-smallrye-health
+
${project.artifactId}
@@ -122,6 +140,7 @@
maven-clean-plugin
+ ${version.clean.plugin}
@@ -137,6 +156,7 @@
maven-resources-plugin
+ ${version.resources.plugin}copy-filtered-resources
@@ -194,6 +214,46 @@
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${version.surefire.plugin}
+
+
+ org.jboss.logmanager.LogManager
+
+
+
+
+ org.apache.maven.plugins
+ maven-failsafe-plugin
+ ${version.failsafe.plugin}
+
+
+ org.jboss.logmanager.LogManager
+ ${tests.quarkus.http.port}
+
+
+
+
+
+
+ kogito-apps-downstream-native
+
+
+ kogito-apps-native
+
+
+
+ **/Native*IT.java
+
+ native
+ 8g
+
+ 8080
+
+
+
diff --git a/kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml b/kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml
index d574fdb19f..b28095d7d7 100644
--- a/kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml
+++ b/kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml
@@ -4,13 +4,12 @@
4.0.0
-
- org.acme.examples
- kogito-quarkus-examples
- 2.0.0-SNAPSHOT
- dmn-event-driven-quarkus
+ org.acme.examples
+ 2.0.0-SNAPSHOT
+
Kogito Example :: DMN Event-Driven :: Quarkus
+
2.16.10.Finalquarkus-bom
@@ -20,7 +19,19 @@
kogito-bom2.0.0-SNAPSHOT2.0.0-SNAPSHOT
+ 1.5.0
+
+ 0
+
+ fast-jar
+ 3.1.2
+ ${version.surefire.plugin}
+ 11
+ 11
+ UTF-8
+ UTF-8
+
@@ -39,6 +50,7 @@
+
org.kie.kogito
@@ -97,6 +109,7 @@
org.skyscreamerjsonassert
+ ${version.org.skyscreamer}test
@@ -116,6 +129,48 @@
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${version.surefire.plugin}
+
+
+ org.jboss.logmanager.LogManager
+
+
+
+
+ org.apache.maven.plugins
+ maven-failsafe-plugin
+ ${version.failsafe.plugin}
+
+
+ org.jboss.logmanager.LogManager
+ ${tests.quarkus.http.port}
+ ${project.build.directory}/${project.build.finalName}-runner
+
+
+
+
+
+
+ kogito-apps-downstream-native
+
+
+ kogito-apps-native
+
+
+
+ **/Native*IT.java
+
+ native
+ 8g
+
+ 8080
+
+
+
diff --git a/kogito-quarkus-examples/dmn-event-driven-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/dmn-event-driven-quarkus/src/main/resources/application.properties
index 8873403099..9565ef47a4 100644
--- a/kogito-quarkus-examples/dmn-event-driven-quarkus/src/main/resources/application.properties
+++ b/kogito-quarkus-examples/dmn-event-driven-quarkus/src/main/resources/application.properties
@@ -1,13 +1,10 @@
# Packaging
# quarkus.package.type=fast-jar
-
quarkus.swagger-ui.always-include=true
-
mp.messaging.incoming.kogito_incoming_stream.group.id=dmn-event-driven-example
mp.messaging.incoming.kogito_incoming_stream.connector=smallrye-kafka
mp.messaging.incoming.kogito_incoming_stream.topic=dmn-event-driven-requests
mp.messaging.incoming.kogito_incoming_stream.value.deserializer=org.apache.kafka.common.serialization.StringDeserializer
-
mp.messaging.outgoing.kogito_outgoing_stream.group.id=dmn-event-driven-example
mp.messaging.outgoing.kogito_outgoing_stream.connector=smallrye-kafka
mp.messaging.outgoing.kogito_outgoing_stream.topic=dmn-event-driven-responses
diff --git a/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/resources/events/evaluate_all/full_result/all/input.json b/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/resources/events/evaluate_all/full_result/all/input.json
index 9094c1609a..7841fc0530 100644
--- a/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/resources/events/evaluate_all/full_result/all/input.json
+++ b/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/resources/events/evaluate_all/full_result/all/input.json
@@ -1,21 +1,21 @@
{
- "specversion" : "1.0",
- "id" : "a89b61a2-5644-487a-8a86-144855c5dce8",
- "source" : "SomeEventSource",
- "type" : "DecisionRequest",
- "subject" : "TheSubject",
- "kogitodmnmodelname" : "Traffic Violation",
- "kogitodmnmodelnamespace" : "https://github.com/kiegroup/drools/kie-dmn/_A4BCA8B8-CF08-433F-93B2-A2598F19ECFF",
+ "specversion": "1.0",
+ "id": "a89b61a2-5644-487a-8a86-144855c5dce8",
+ "source": "SomeEventSource",
+ "type": "DecisionRequest",
+ "subject": "TheSubject",
+ "kogitodmnmodelname": "Traffic Violation",
+ "kogitodmnmodelnamespace": "https://github.com/kiegroup/drools/kie-dmn/_A4BCA8B8-CF08-433F-93B2-A2598F19ECFF",
"kogitodmnfullresult": true,
- "data" : {
- "Driver" : {
- "Age" : 25,
- "Points" : 13
+ "data": {
+ "Driver": {
+ "Age": 25,
+ "Points": 13
},
- "Violation" : {
- "Type" : "speed",
- "Actual Speed" : 115,
- "Speed Limit" : 100
+ "Violation": {
+ "Type": "speed",
+ "Actual Speed": 115,
+ "Speed Limit": 100
}
}
}
diff --git a/kogito-quarkus-examples/dmn-incubation-api-quarkus/pom.xml b/kogito-quarkus-examples/dmn-incubation-api-quarkus/pom.xml
index 433b27dde2..fa174527fe 100644
--- a/kogito-quarkus-examples/dmn-incubation-api-quarkus/pom.xml
+++ b/kogito-quarkus-examples/dmn-incubation-api-quarkus/pom.xml
@@ -1,14 +1,15 @@
-
+4.0.0
-
- org.acme.examples
- kogito-quarkus-examples
- 2.0.0-SNAPSHOT
-
+
dmn-incubation-api-quarkus
+ org.acme.examples
+ 2.0.0-SNAPSHOT
+
Kogito Example :: DMN Incubation API With Quarkus
+
2.16.10.Finalquarkus-bom
@@ -18,7 +19,14 @@
kogito-bom2.0.0-SNAPSHOT2.0.0-SNAPSHOT
+ 3.1.2
+ ${version.surefire.plugin}
+ 11
+ 11
+ UTF-8
+ UTF-8
+
@@ -37,6 +45,7 @@
+
io.quarkus
@@ -85,6 +94,48 @@
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${version.surefire.plugin}
+
+
+ org.jboss.logmanager.LogManager
+
+
+
+
+ org.apache.maven.plugins
+ maven-failsafe-plugin
+ ${version.failsafe.plugin}
+
+
+ org.jboss.logmanager.LogManager
+ ${tests.quarkus.http.port}
+
+
+
+
+
+
+
+ kogito-apps-downstream-native
+
+
+ kogito-apps-native
+
+
+
+ **/Native*IT.java
+
+ native
+ 8g
+
+ 8080
+
+
+
diff --git a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/pom.xml b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/pom.xml
index a91f0cb15a..74a087c56d 100644
--- a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/pom.xml
+++ b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/pom.xml
@@ -1,19 +1,17 @@
-
+4.0.0
-
- org.acme.examples
- kogito-quarkus-examples
- 2.0.0-SNAPSHOT
- dmn-knative-quickstart-quarkus
+ org.acme.examples
+ 2.0.0-SNAPSHOT
+
Kogito Example :: DMN with Knative Eventing and QuarkusKogito with DMN Knative Eventing - Quarkus
- 2.33.22.16.10.Finalquarkus-bomio.quarkus
@@ -22,7 +20,19 @@
kogito-bom2.0.0-SNAPSHOT2.0.0-SNAPSHOT
+ 2.33.2
+
+ 0
+
+ fast-jar
+ 3.1.2
+ ${version.surefire.plugin}
+ 11
+ 11
+ UTF-8
+ UTF-8
+
@@ -89,6 +99,7 @@
org.kie.kogitokogito-test-utils
+ ${version.org.kie.kogito}test
@@ -98,6 +109,7 @@
com.github.tomakehurstwiremock-jre8
+ ${version.com.github.tomakehurst.wiremock}test
@@ -117,7 +129,48 @@
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${version.surefire.plugin}
+
+
+ org.jboss.logmanager.LogManager
+
+
+
+
+ org.apache.maven.plugins
+ maven-failsafe-plugin
+ ${version.failsafe.plugin}
+
+
+ org.jboss.logmanager.LogManager
+ ${tests.quarkus.http.port}
+
+
+
+
+
+
+ kogito-apps-downstream-native
+
+
+ kogito-apps-native
+
+
+
+ **/Native*IT.java
+
+ native
+ 8g
+
+ 8080
+
+
+
diff --git a/kogito-quarkus-examples/dmn-listener-dtable/README.md b/kogito-quarkus-examples/dmn-listener-dtable/README.md
index 0178849ac0..e30dc0af25 100644
--- a/kogito-quarkus-examples/dmn-listener-dtable/README.md
+++ b/kogito-quarkus-examples/dmn-listener-dtable/README.md
@@ -1,3 +1,4 @@
# Decision Table Listener, with Kogito and Quarkus
-An extension of the example `dmn-quarkus-listener`, focusing on semantic asynchronous evaluation of `AfterEvaluateDecisionTableEvent`(s) using Quarkus capabilities.
+An extension of the example `dmn-quarkus-listener`, focusing on semantic asynchronous evaluation
+of `AfterEvaluateDecisionTableEvent`(s) using Quarkus capabilities.
diff --git a/kogito-quarkus-examples/dmn-listener-dtable/pom.xml b/kogito-quarkus-examples/dmn-listener-dtable/pom.xml
index bf53b0c0dc..b60a5bca58 100644
--- a/kogito-quarkus-examples/dmn-listener-dtable/pom.xml
+++ b/kogito-quarkus-examples/dmn-listener-dtable/pom.xml
@@ -1,14 +1,15 @@
-
+4.0.0
-
- org.acme.examples
- kogito-quarkus-examples
- 2.0.0-SNAPSHOT
-
+
dmn-listener-dtable
+ org.acme.examples
+ 2.0.0-SNAPSHOT
+
Kogito Example :: DMN Decision Table listener - Quarkus
+
2.16.10.Finalquarkus-bom
@@ -18,7 +19,19 @@
kogito-bom2.0.0-SNAPSHOT2.0.0-SNAPSHOT
+ 3.22.0
+
+ 0
+
+ fast-jar
+ 3.1.2
+ ${version.surefire.plugin}
+ 11
+ 11
+ UTF-8
+ UTF-8
+
@@ -37,6 +50,7 @@
+
org.kie.kogito
@@ -75,6 +89,7 @@
org.assertjassertj-core
+ ${version.org.assertj}test
@@ -102,6 +117,47 @@
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${version.surefire.plugin}
+
+
+ org.jboss.logmanager.LogManager
+
+
+
+
+ org.apache.maven.plugins
+ maven-failsafe-plugin
+ ${version.failsafe.plugin}
+
+
+ org.jboss.logmanager.LogManager
+ ${tests.quarkus.http.port}
+
+
+
+
+
+
+ kogito-apps-downstream-native
+
+
+ kogito-apps-native
+
+
+
+ **/Native*IT.java
+
+ native
+ 8g
+
+ 8080
+
+
+
diff --git a/kogito-quarkus-examples/dmn-listener-dtable/src/main/resources/application.properties b/kogito-quarkus-examples/dmn-listener-dtable/src/main/resources/application.properties
index 35b7e32bea..30f8116375 100644
--- a/kogito-quarkus-examples/dmn-listener-dtable/src/main/resources/application.properties
+++ b/kogito-quarkus-examples/dmn-listener-dtable/src/main/resources/application.properties
@@ -1,4 +1,3 @@
# Packaging
# quarkus.package.type=fast-jar
-
quarkus.swagger-ui.always-include=true
\ No newline at end of file
diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/README.md b/kogito-quarkus-examples/dmn-listener-quarkus/README.md
index 7b901b328a..457b6282a8 100644
--- a/kogito-quarkus-examples/dmn-listener-quarkus/README.md
+++ b/kogito-quarkus-examples/dmn-listener-quarkus/README.md
@@ -4,7 +4,8 @@
A simple DMN service to evaluate a traffic violation, with the addition of some DMN listeners.
-Demonstrates Kogito capability to automatically inject custom listeners in the DMN runtime without the need of writing a single line of Java code for the wiring itself.
+Demonstrates Kogito capability to automatically inject custom listeners in the DMN runtime without the need of writing a
+single line of Java code for the wiring itself.
Listener injection is _optional_. If you don't need it, just ignore it.
@@ -13,14 +14,19 @@ Listener injection is _optional_. If you don't need it, just ignore it.
### Prerequisites
You will need:
- - Java 11+ installed
- - Environment variable JAVA_HOME set accordingly
- - Maven 3.8.6+ installed
+
+- Java 11+ installed
+- Environment variable JAVA_HOME set accordingly
+- Maven 3.8.6+ installed
When using native image compilation, you will also need:
- - [GraalVM 19.3.1](https://github.com/oracle/graal/releases/tag/vm-19.3.1) installed
- - Environment variable GRAALVM_HOME set accordingly
- - Note that GraalVM native image compilation typically requires other packages (glibc-devel, zlib-devel and gcc) to be installed too. You also need 'native-image' installed in GraalVM (using 'gu install native-image'). Please refer to [GraalVM installation documentation](https://www.graalvm.org/docs/reference-manual/aot-compilation/#prerequisites) for more details.
+
+- [GraalVM 19.3.1](https://github.com/oracle/graal/releases/tag/vm-19.3.1) installed
+- Environment variable GRAALVM_HOME set accordingly
+- Note that GraalVM native image compilation typically requires other packages (glibc-devel, zlib-devel and gcc) to be
+ installed too. You also need 'native-image' installed in GraalVM (using 'gu install native-image'). Please refer
+ to [GraalVM installation documentation](https://www.graalvm.org/docs/reference-manual/aot-compilation/#prerequisites)
+ for more details.
### Compile and Run in Local Dev Mode
@@ -43,6 +49,7 @@ java -jar target\quarkus-app\quarkus-run.jar
```
### Package and Run using Local Native Image
+
Note that this requires GRAALVM_HOME to point to a valid GraalVM installation
```
@@ -58,21 +65,32 @@ To run the generated native executable, generated in `target/`, execute
Note: This does not yet work on Windows, GraalVM and Quarkus should be rolling out support for Windows soon.
## OpenAPI (Swagger) documentation
+
[Specification at swagger.io](https://swagger.io/docs/specification/about/)
-You can take a look at the [OpenAPI definition](http://localhost:8080/openapi?format=json) - automatically generated and included in this service - to determine all available operations exposed by this service. For easy readability you can visualize the OpenAPI definition file using a UI tool like for example available [Swagger UI](https://editor.swagger.io).
+You can take a look at the [OpenAPI definition](http://localhost:8080/openapi?format=json) - automatically generated and
+included in this service - to determine all available operations exposed by this service. For easy readability you can
+visualize the OpenAPI definition file using a UI tool like for example
+available [Swagger UI](https://editor.swagger.io).
In addition, various clients to interact with this service can be easily generated using this OpenAPI definition.
-When running in either Quarkus Development or Native mode, we also leverage the [Quarkus OpenAPI extension](https://quarkus.io/guides/openapi-swaggerui#use-swagger-ui-for-development) that exposes [Swagger UI](http://localhost:8080/swagger-ui/) that you can use to look at available REST endpoints and send test requests.
+When running in either Quarkus Development or Native mode, we also leverage
+the [Quarkus OpenAPI extension](https://quarkus.io/guides/openapi-swaggerui#use-swagger-ui-for-development) that
+exposes [Swagger UI](http://localhost:8080/swagger-ui/) that you can use to look at available REST endpoints and send
+test requests.
## Listener injection
-Kogito allows you to inject custom instances of `DMNRuntimeEventListener` if you need to attach custom logic to every DMN model evaluation.
+Kogito allows you to inject custom instances of `DMNRuntimeEventListener` if you need to attach custom logic to every
+DMN model evaluation.
There are two ways to do this:
-* Create one or more standard listener classes and annotate them with `ApplicationScoped` (the quickest way to inject a single listener). Demonstrated in `ExampleDMNRuntimeEventListener` class.
-* Create one or more instances of `DecisionEventListenerConfig` (returning a list of listeners each) and annotate them with `ApplicationScoped`. Demonstrated in `ExampleDecisionEventListenerConfig` class.
+
+* Create one or more standard listener classes and annotate them with `ApplicationScoped` (the quickest way to inject a
+ single listener). Demonstrated in `ExampleDMNRuntimeEventListener` class.
+* Create one or more instances of `DecisionEventListenerConfig` (returning a list of listeners each) and annotate them
+ with `ApplicationScoped`. Demonstrated in `ExampleDecisionEventListenerConfig` class.
All the listeners instantiated with both methods will be injected during the application startup phase.
@@ -102,6 +120,7 @@ Curl command (using the JSON object above):
```sh
curl -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' -d '{"Driver":{"Points":2},"Violation":{"Type":"speed","Actual Speed":120,"Speed Limit":100}}' http://localhost:8080/Traffic%20Violation
```
+
or on Windows:
```sh
@@ -132,4 +151,5 @@ Example response:
## Deploying with Kogito Operator
-In the [`operator`](operator) directory you'll find the custom resources needed to deploy this example on OpenShift with the [Kogito Operator](https://docs.jboss.org/kogito/release/latest/html_single/#chap_kogito-deploying-on-openshift).
+In the [`operator`](operator) directory you'll find the custom resources needed to deploy this example on OpenShift with
+the [Kogito Operator](https://docs.jboss.org/kogito/release/latest/html_single/#chap_kogito-deploying-on-openshift).
diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/pom.xml b/kogito-quarkus-examples/dmn-listener-quarkus/pom.xml
index 5beb0e3754..cf84772328 100644
--- a/kogito-quarkus-examples/dmn-listener-quarkus/pom.xml
+++ b/kogito-quarkus-examples/dmn-listener-quarkus/pom.xml
@@ -1,14 +1,15 @@
-
+4.0.0
-
- org.acme.examples
- kogito-quarkus-examples
- 2.0.0-SNAPSHOT
-
+
dmn-listener-quarkus
+ org.acme.examples
+ 2.0.0-SNAPSHOT
+
Kogito Example :: DMN with listeners - Quarkus
+
2.16.10.Finalquarkus-bom
@@ -18,7 +19,18 @@
kogito-bom2.0.0-SNAPSHOT2.0.0-SNAPSHOT
+
+ 0
+
+ fast-jar
+ 3.1.2
+ ${version.surefire.plugin}
+ 11
+ 11
+ UTF-8
+ UTF-8
+
@@ -37,6 +49,7 @@
+
org.kie.kogito
@@ -88,6 +101,49 @@
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${version.surefire.plugin}
+
+
+ org.jboss.logmanager.LogManager
+
+
+
+
+ org.apache.maven.plugins
+ maven-failsafe-plugin
+ ${version.failsafe.plugin}
+
+
+ org.jboss.logmanager.LogManager
+ ${tests.quarkus.http.port}
+ ${project.build.directory}/${project.build.finalName}-runner
+
+
+
+
+
+
+
+ kogito-apps-downstream-native
+
+
+ kogito-apps-native
+
+
+
+ **/Native*IT.java
+
+ native
+ 8g
+
+ 8080
+
+
+
diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/dmn-listener-quarkus/src/main/resources/application.properties
index 35b7e32bea..30f8116375 100644
--- a/kogito-quarkus-examples/dmn-listener-quarkus/src/main/resources/application.properties
+++ b/kogito-quarkus-examples/dmn-listener-quarkus/src/main/resources/application.properties
@@ -1,4 +1,3 @@
# Packaging
# quarkus.package.type=fast-jar
-
quarkus.swagger-ui.always-include=true
\ No newline at end of file
diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/pom.xml b/kogito-quarkus-examples/dmn-pmml-quarkus-example/pom.xml
index 5d436855c4..40a765570d 100644
--- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/pom.xml
+++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/pom.xml
@@ -1,13 +1,13 @@
-
+4.0.0
-
- org.acme.examples
- kogito-quarkus-examples
- 2.0.0-SNAPSHOT
-
+
dmn-pmml-quarkus-example
+ org.acme.examples
+ 2.0.0-SNAPSHOT
+
Kogito Example :: DMN :: PMML - QUARKUS2.16.10.Final
@@ -18,6 +18,16 @@
kogito-bom2.0.0-SNAPSHOT2.0.0-SNAPSHOT
+
+ 0
+
+ fast-jar
+ 3.1.2
+ ${version.surefire.plugin}
+ 11
+ 11
+ UTF-8
+ UTF-8
@@ -114,6 +124,49 @@
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${version.surefire.plugin}
+
+
+ org.jboss.logmanager.LogManager
+
+
+
+
+ org.apache.maven.plugins
+ maven-failsafe-plugin
+ ${version.failsafe.plugin}
+
+
+ org.jboss.logmanager.LogManager
+ ${tests.quarkus.http.port}
+ ${project.build.directory}/${project.build.finalName}-runner
+
+
+
+
+
+
+
+ kogito-apps-downstream-native
+
+
+ kogito-apps-native
+
+
+
+ **/Native*IT.java
+
+ native
+ 8g
+
+ 8080
+
+
+
diff --git a/kogito-quarkus-examples/dmn-quarkus-example/README.md b/kogito-quarkus-examples/dmn-quarkus-example/README.md
index ee5d4bdfb3..f2cb5a8c00 100644
--- a/kogito-quarkus-examples/dmn-quarkus-example/README.md
+++ b/kogito-quarkus-examples/dmn-quarkus-example/README.md
@@ -11,14 +11,19 @@ Demonstrates DMN on Kogito capabilities, including REST interface code generatio
### Prerequisites
You will need:
- - Java 11+ installed
- - Environment variable JAVA_HOME set accordingly
- - Maven 3.8.6+ installed
+
+- Java 11+ installed
+- Environment variable JAVA_HOME set accordingly
+- Maven 3.8.6+ installed
When using native image compilation, you will also need:
- - [GraalVM 19.3.1](https://github.com/oracle/graal/releases/tag/vm-19.3.1) installed
- - Environment variable GRAALVM_HOME set accordingly
- - Note that GraalVM native image compilation typically requires other packages (glibc-devel, zlib-devel and gcc) to be installed too. You also need 'native-image' installed in GraalVM (using 'gu install native-image'). Please refer to [GraalVM installation documentation](https://www.graalvm.org/docs/reference-manual/aot-compilation/#prerequisites) for more details.
+
+- [GraalVM 19.3.1](https://github.com/oracle/graal/releases/tag/vm-19.3.1) installed
+- Environment variable GRAALVM_HOME set accordingly
+- Note that GraalVM native image compilation typically requires other packages (glibc-devel, zlib-devel and gcc) to be
+ installed too. You also need 'native-image' installed in GraalVM (using 'gu install native-image'). Please refer
+ to [GraalVM installation documentation](https://www.graalvm.org/docs/reference-manual/aot-compilation/#prerequisites)
+ for more details.
### Compile and Run in Local Dev Mode
@@ -41,6 +46,7 @@ java -jar target\quarkus-app\quarkus-run.jar
```
### Package and Run using Local Native Image
+
Note that this requires GRAALVM_HOME to point to a valid GraalVM installation
```
@@ -56,24 +62,34 @@ To run the generated native executable, generated in `target/`, execute
Note: This does not yet work on Windows, GraalVM and Quarkus should be rolling out support for Windows soon.
## OpenAPI (Swagger) documentation
+
[Specification at swagger.io](https://swagger.io/docs/specification/about/)
-You can take a look at the [OpenAPI definition](http://localhost:8080/openapi?format=json) - automatically generated and included in this service - to determine all available operations exposed by this service. For easy readability you can visualize the OpenAPI definition file using a UI tool like for example available [Swagger UI](https://editor.swagger.io).
+You can take a look at the [OpenAPI definition](http://localhost:8080/openapi?format=json) - automatically generated and
+included in this service - to determine all available operations exposed by this service. For easy readability you can
+visualize the OpenAPI definition file using a UI tool like for example
+available [Swagger UI](https://editor.swagger.io).
In addition, various clients to interact with this service can be easily generated using this OpenAPI definition.
-When running in either Quarkus Development or Native mode, we also leverage the [Quarkus OpenAPI extension](https://quarkus.io/guides/openapi-swaggerui#use-swagger-ui-for-development) that exposes [Swagger UI](http://localhost:8080/swagger-ui/) that you can use to look at available REST endpoints and send test requests.
+When running in either Quarkus Development or Native mode, we also leverage
+the [Quarkus OpenAPI extension](https://quarkus.io/guides/openapi-swaggerui#use-swagger-ui-for-development) that
+exposes [Swagger UI](http://localhost:8080/swagger-ui/) that you can use to look at available REST endpoints and send
+test requests.
## Test DMN Model using Maven
-Validate the functionality of DMN models before deploying them into a production environment by defining test scenarios in Test Scenario Editor.
+Validate the functionality of DMN models before deploying them into a production environment by defining test scenarios
+in Test Scenario Editor.
-To define test scenarios you need to create a .scesim file inside your project and link it to the DMN model you want to be tested. Run all Test Scenarios, executing:
+To define test scenarios you need to create a .scesim file inside your project and link it to the DMN model you want to
+be tested. Run all Test Scenarios, executing:
```sh
mvn clean test
```
-See results in surefire test report `target/surefire-reports`
+
+See results in surefire test report `target/surefire-reports`
## Example Usage
@@ -87,12 +103,14 @@ Given inputs:
```json
{
- "Driver":{"Points":2},
- "Violation":{
- "Type":"speed",
- "Actual Speed":120,
- "Speed Limit":100
- }
+ "Driver": {
+ "Points": 2
+ },
+ "Violation": {
+ "Type": "speed",
+ "Actual Speed": 120,
+ "Speed Limit": 100
+ }
}
```
@@ -101,6 +119,7 @@ Curl command (using the JSON object above):
```sh
curl -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' -d '{"Driver":{"Points":2},"Violation":{"Type":"speed","Actual Speed":120,"Speed Limit":100}}' http://localhost:8080/Traffic%20Violation
```
+
or on Windows:
```sh
@@ -113,22 +132,23 @@ Example response:
```json
{
- "Violation":{
- "Type":"speed",
- "Speed Limit":100,
- "Actual Speed":120
+ "Violation": {
+ "Type": "speed",
+ "Speed Limit": 100,
+ "Actual Speed": 120
},
- "Driver":{
- "Points":2
+ "Driver": {
+ "Points": 2
},
- "Fine":{
- "Points":3,
- "Amount":500
+ "Fine": {
+ "Points": 3,
+ "Amount": 500
},
- "Should the driver be suspended?":"No"
+ "Should the driver be suspended?": "No"
}
```
## Deploying with Kogito Operator
-In the [`operator`](operator) directory you'll find the custom resources needed to deploy this example on OpenShift with the [Kogito Operator](https://docs.jboss.org/kogito/release/latest/html_single/#chap_kogito-deploying-on-openshift).
+In the [`operator`](operator) directory you'll find the custom resources needed to deploy this example on OpenShift with
+the [Kogito Operator](https://docs.jboss.org/kogito/release/latest/html_single/#chap_kogito-deploying-on-openshift).
diff --git a/kogito-quarkus-examples/dmn-quarkus-example/pom.xml b/kogito-quarkus-examples/dmn-quarkus-example/pom.xml
index c5bf7e88ca..0033b44c2f 100644
--- a/kogito-quarkus-examples/dmn-quarkus-example/pom.xml
+++ b/kogito-quarkus-examples/dmn-quarkus-example/pom.xml
@@ -1,13 +1,13 @@
-
+4.0.0
-
- org.acme.examples
- kogito-quarkus-examples
- 2.0.0-SNAPSHOT
-
+
dmn-quarkus-example
+ org.acme.examples
+ 2.0.0-SNAPSHOT
+
Kogito Example :: DMN2.16.10.Final
@@ -18,7 +18,18 @@
kogito-bom2.0.0-SNAPSHOT2.0.0-SNAPSHOT
+
+ 0
+
+ fast-jar
+ 3.1.2
+ ${version.surefire.plugin}
+ 11
+ 11
+ UTF-8
+ UTF-8
+
@@ -37,6 +48,7 @@
+
org.kie.kogito
@@ -93,6 +105,49 @@
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${version.surefire.plugin}
+
+
+ org.jboss.logmanager.LogManager
+
+
+
+
+ org.apache.maven.plugins
+ maven-failsafe-plugin
+ ${version.failsafe.plugin}
+
+
+ org.jboss.logmanager.LogManager
+ ${tests.quarkus.http.port}
+ ${project.build.directory}/${project.build.finalName}-runner
+
+
+
+
+
+
+
+ kogito-apps-downstream-native
+
+
+ kogito-apps-native
+
+
+
+ **/Native*IT.java
+
+ native
+ 8g
+
+ 8080
+
+
+
diff --git a/kogito-quarkus-examples/dmn-quarkus-example/src/main/resources/application.properties b/kogito-quarkus-examples/dmn-quarkus-example/src/main/resources/application.properties
index c94efbb4d2..432d9d39b2 100644
--- a/kogito-quarkus-examples/dmn-quarkus-example/src/main/resources/application.properties
+++ b/kogito-quarkus-examples/dmn-quarkus-example/src/main/resources/application.properties
@@ -1,3 +1,2 @@
# Packaging
-
quarkus.swagger-ui.always-include=true
diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/README.md b/kogito-quarkus-examples/dmn-tracing-quarkus/README.md
index f401157604..6915e80356 100644
--- a/kogito-quarkus-examples/dmn-tracing-quarkus/README.md
+++ b/kogito-quarkus-examples/dmn-tracing-quarkus/README.md
@@ -2,27 +2,38 @@
## Description
-A simple DMN service to evaluate a loan approval and generate tracing events that might be consumed by the Trusty service.
+A simple DMN service to evaluate a loan approval and generate tracing events that might be consumed by the Trusty
+service.
## Installing and Running
### Prerequisites
You will need:
- - Java 11+ installed
- - Environment variable JAVA_HOME set accordingly
- - Maven 3.8.6+ installed
+
+- Java 11+ installed
+- Environment variable JAVA_HOME set accordingly
+- Maven 3.8.6+ installed
When using native image compilation, you will also need:
- - [GraalVM 19.3.1](https://github.com/oracle/graal/releases/tag/vm-19.3.1) installed
- - Environment variable GRAALVM_HOME set accordingly
- - Note that GraalVM native image compilation typically requires other packages (glibc-devel, zlib-devel and gcc) to be installed too. You also need 'native-image' installed in GraalVM (using 'gu install native-image'). Please refer to [GraalVM installation documentation](https://www.graalvm.org/docs/reference-manual/aot-compilation/#prerequisites) for more details.
+
+- [GraalVM 19.3.1](https://github.com/oracle/graal/releases/tag/vm-19.3.1) installed
+- Environment variable GRAALVM_HOME set accordingly
+- Note that GraalVM native image compilation typically requires other packages (glibc-devel, zlib-devel and gcc) to be
+ installed too. You also need 'native-image' installed in GraalVM (using 'gu install native-image'). Please refer
+ to [GraalVM installation documentation](https://www.graalvm.org/docs/reference-manual/aot-compilation/#prerequisites)
+ for more details.
### Configuration of the tracing addon
-The default configuration pushes the decision tracing events to the kafka topic `kogito-tracing-decision` and the DMN models used by the kogito application to `kogito-tracing-model` under the group-id `kogito-runtimes`.
-The configuration can be customized according to [https://quarkus.io/guides/kafka](https://quarkus.io/guides/kafka) and [https://kafka.apache.org/documentation/#producerconfigs](https://kafka.apache.org/documentation/#producerconfigs) using the prefix `mp.messaging.outgoing.kogito-tracing-decision.`.
-For example, in order to change the topic name for the decision tracing events, add the following line to the `application.properties` file:
+The default configuration pushes the decision tracing events to the kafka topic `kogito-tracing-decision` and the DMN
+models used by the kogito application to `kogito-tracing-model` under the group-id `kogito-runtimes`.
+The configuration can be customized according to [https://quarkus.io/guides/kafka](https://quarkus.io/guides/kafka)
+and [https://kafka.apache.org/documentation/#producerconfigs](https://kafka.apache.org/documentation/#producerconfigs)
+using the prefix `mp.messaging.outgoing.kogito-tracing-decision.`.
+For example, in order to change the topic name for the decision tracing events, add the following line to
+the `application.properties` file:
+
```
mp.messaging.outgoing.kogito-tracing-decision.topic=my-kogito-tracing-decision
```
@@ -48,6 +59,7 @@ java -jar target\quarkus-app\quarkus-run.jar
```
### Package and Run using Local Native Image
+
Note that this requires GRAALVM_HOME to point to a valid GraalVM installation
```
@@ -63,13 +75,20 @@ To run the generated native executable, generated in `target/`, execute
Note: This does not yet work on Windows, GraalVM and Quarkus should be rolling out support for Windows soon.
## OpenAPI (Swagger) documentation
+
[Specification at swagger.io](https://swagger.io/docs/specification/about/)
-You can take a look at the [OpenAPI definition](http://localhost:8080/openapi?format=json) - automatically generated and included in this service - to determine all available operations exposed by this service. For easy readability you can visualize the OpenAPI definition file using a UI tool like for example available [Swagger UI](https://editor.swagger.io).
+You can take a look at the [OpenAPI definition](http://localhost:8080/openapi?format=json) - automatically generated and
+included in this service - to determine all available operations exposed by this service. For easy readability you can
+visualize the OpenAPI definition file using a UI tool like for example
+available [Swagger UI](https://editor.swagger.io).
In addition, various clients to interact with this service can be easily generated using this OpenAPI definition.
-When running in either Quarkus Development or Native mode, we also leverage the [Quarkus OpenAPI extension](https://quarkus.io/guides/openapi-swaggerui#use-swagger-ui-for-development) that exposes [Swagger UI](http://localhost:8080/swagger-ui/) that you can use to look at available REST endpoints and send test requests.
+When running in either Quarkus Development or Native mode, we also leverage
+the [Quarkus OpenAPI extension](https://quarkus.io/guides/openapi-swaggerui#use-swagger-ui-for-development) that
+exposes [Swagger UI](http://localhost:8080/swagger-ui/) that you can use to look at available REST endpoints and send
+test requests.
## Example Usage
@@ -102,6 +121,7 @@ Curl command (using the JSON object above):
```sh
curl -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' -d '{"Bribe": 0,"Client": {"age": 0,"existing payments": 0,"salary": 0},"Loan": {"duration": 0,"installment": 0},"SupremeDirector": "yes"}' http://localhost:8080/LoanEligibility
```
+
or on Windows:
```sh
@@ -134,10 +154,15 @@ Example response:
## Integration example with Trusty Service
-When the tracing addon is enabled, the tracing events are emitted and pushed to a Kafka broker. The [Trusty Service](https://github.com/kiegroup/kogito-apps/tree/main/trusty) can consume such events and store them on a storage. The Trusty Service exposes then some api to consume the information that has been collected.
-A `docker-compose` example is provided in the current folder. In particular, when `docker-compose up` is run, a Kafka broker, an Infinispan container and the latest build of the trusty service configured to use Infinispan are deployed.
-Once the services are up and running, after a decision has been evaluated, you can access the trusty service API to list the evaluations at `localhost:8081/executions` for example.
+When the tracing addon is enabled, the tracing events are emitted and pushed to a Kafka broker.
+The [Trusty Service](https://github.com/kiegroup/kogito-apps/tree/main/trusty) can consume such events and store them on
+a storage. The Trusty Service exposes then some api to consume the information that has been collected.
+A `docker-compose` example is provided in the current folder. In particular, when `docker-compose up` is run, a Kafka
+broker, an Infinispan container and the latest build of the trusty service configured to use Infinispan are deployed.
+Once the services are up and running, after a decision has been evaluated, you can access the trusty service API to list
+the evaluations at `localhost:8081/executions` for example.
## Deploying with Kogito Operator
-In the [`operator`](operator) directory you'll find the custom resources needed to deploy this example on OpenShift with the [Kogito Operator](https://docs.jboss.org/kogito/release/latest/html_single/#chap_kogito-deploying-on-openshift).
+In the [`operator`](operator) directory you'll find the custom resources needed to deploy this example on OpenShift with
+the [Kogito Operator](https://docs.jboss.org/kogito/release/latest/html_single/#chap_kogito-deploying-on-openshift).
diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/pom.xml b/kogito-quarkus-examples/dmn-tracing-quarkus/pom.xml
index d0c440240a..1cf36b9d4f 100644
--- a/kogito-quarkus-examples/dmn-tracing-quarkus/pom.xml
+++ b/kogito-quarkus-examples/dmn-tracing-quarkus/pom.xml
@@ -1,13 +1,13 @@
-
+4.0.0
-
- org.acme.examples
- kogito-quarkus-examples
- 2.0.0-SNAPSHOT
-
+
dmn-tracing-quarkus
+ org.acme.examples
+ 2.0.0-SNAPSHOT
+
Kogito Example :: DMN Tracing - Quarkus2.16.10.Final
@@ -18,7 +18,18 @@
kogito-bom2.0.0-SNAPSHOT2.0.0-SNAPSHOT
+
+ 0
+
+ fast-jar
+ 3.1.2
+ ${version.surefire.plugin}
+ 11
+ 11
+ UTF-8
+ UTF-8
+
@@ -37,6 +48,7 @@
+
org.kie.kogito
@@ -107,6 +119,49 @@
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${version.surefire.plugin}
+
+
+ org.jboss.logmanager.LogManager
+
+
+
+
+ org.apache.maven.plugins
+ maven-failsafe-plugin
+ ${version.failsafe.plugin}
+
+
+ org.jboss.logmanager.LogManager
+ ${tests.quarkus.http.port}
+ ${project.build.directory}/${project.build.finalName}-runner
+
+
+
+
+
+
+
+ kogito-apps-downstream-native
+
+
+ kogito-apps-native
+
+
+
+ **/Native*IT.java
+
+ native
+ 8g
+
+ 8080
+
+
+
diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/dmn-tracing-quarkus/src/main/resources/application.properties
index 35b7e32bea..30f8116375 100644
--- a/kogito-quarkus-examples/dmn-tracing-quarkus/src/main/resources/application.properties
+++ b/kogito-quarkus-examples/dmn-tracing-quarkus/src/main/resources/application.properties
@@ -1,4 +1,3 @@
# Packaging
# quarkus.package.type=fast-jar
-
quarkus.swagger-ui.always-include=true
\ No newline at end of file
diff --git a/kogito-quarkus-examples/flexible-process-quarkus/pom.xml b/kogito-quarkus-examples/flexible-process-quarkus/pom.xml
index ee8085a983..f85edbc57d 100644
--- a/kogito-quarkus-examples/flexible-process-quarkus/pom.xml
+++ b/kogito-quarkus-examples/flexible-process-quarkus/pom.xml
@@ -1,13 +1,13 @@
-
+4.0.0
-
- org.acme.examples
- kogito-quarkus-examples
- 2.0.0-SNAPSHOT
-
+
flexible-process-quarkus
+ org.acme.examples
+ 2.0.0-SNAPSHOT
+
Kogito Example :: Flexible Process - Quarkus2.16.10.Final
@@ -18,7 +18,18 @@
kogito-bom2.0.0-SNAPSHOT2.0.0-SNAPSHOT
+
+ 0
+
+ fast-jar
+ 3.1.2
+ ${version.surefire.plugin}
+ 11
+ 11
+ UTF-8
+ UTF-8
+
@@ -37,6 +48,7 @@
+
org.kie.kogito
@@ -87,6 +99,48 @@
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${version.surefire.plugin}
+
+
+ org.jboss.logmanager.LogManager
+
+
+
+
+ org.apache.maven.plugins
+ maven-failsafe-plugin
+ ${version.failsafe.plugin}
+
+
+ org.jboss.logmanager.LogManager
+ ${tests.quarkus.http.port}
+
+
+
+
+
+
+
+ kogito-apps-downstream-native
+
+
+ kogito-apps-native
+
+
+
+ **/Native*IT.java
+
+ native
+ 8g
+
+ 8080
+
+
+
diff --git a/kogito-quarkus-examples/kogito-travel-agency/README.md b/kogito-quarkus-examples/kogito-travel-agency/README.md
index acebb5995d..bd9394cafb 100644
--- a/kogito-quarkus-examples/kogito-travel-agency/README.md
+++ b/kogito-quarkus-examples/kogito-travel-agency/README.md
@@ -15,10 +15,11 @@ Each version is based on previous one so it allows people perform the implementa
and to start any any place.
[Base travel agency service](basic) - deals with all the basic steps to book flight and hotel.
-Consists of single service that has both business logic and decision logic included.
+Consists of single service that has both business logic and decision logic included.
[Travel agency and visa services with persistence](extended) - deals with all the basic steps to book flight and hotel.
-Consists of two services that have both business logic and decision logic included. Preserves data between service restarts and requires Infinispan server to be available.
+Consists of two services that have both business logic and decision logic included. Preserves data between service
+restarts and requires Infinispan server to be available.
## Contribution
@@ -31,4 +32,5 @@ Everyone is encouraged to contribute to this tutorial by
## Deploying with Kogito Operator
-In the [`operator`](operator) directory you'll find the custom resources needed to deploy this example on OpenShift with the [Kogito Operator](https://docs.jboss.org/kogito/release/latest/html_single/#chap_kogito-deploying-on-openshift).
+In the [`operator`](operator) directory you'll find the custom resources needed to deploy this example on OpenShift with
+the [Kogito Operator](https://docs.jboss.org/kogito/release/latest/html_single/#chap_kogito-deploying-on-openshift).
diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/README.md b/kogito-quarkus-examples/kogito-travel-agency/basic/README.md
index 47fdcc54af..9f3edd0ecb 100644
--- a/kogito-quarkus-examples/kogito-travel-agency/basic/README.md
+++ b/kogito-quarkus-examples/kogito-travel-agency/basic/README.md
@@ -2,29 +2,31 @@
## Description
-During this workshop we will create a software system for a startup travel agency called Kogito Travel Agency. The first iteration of the system will consist of a set of services that are able to deal with travel requests and the booking of hotels and flights.
+During this workshop we will create a software system for a startup travel agency called Kogito Travel Agency. The first
+iteration of the system will consist of a set of services that are able to deal with travel requests and the booking of
+hotels and flights.
## Activities to perform
* Create project using Quarkus Maven plugin with following extensions
- * Kogito
- * OpenApi
+ * Kogito
+ * OpenApi
* Import project into Eclipse IDE - requires BPMN modeller plugin installed
* Create data model
- * Traveller
- * Hotel
- * Flight
- * Address
- * Trip
-* Create service classes
- * HotelBookingService
- * FlightBookingService
+ * Traveller
+ * Hotel
+ * Flight
+ * Address
+ * Trip
+* Create service classes
+ * HotelBookingService
+ * FlightBookingService
* Create decision logic
- * Visa check
+ * Visa check
* Create business logic
- * Public business process to deal with complete travel request
- * Private business process to deal with hotel booking
- * Private business process to deal with flight booking
+ * Public business process to deal with complete travel request
+ * Private business process to deal with hotel booking
+ * Private business process to deal with flight booking
* Create a test case that makes use of processes and decisions
* Create or import UI components
* Add metrics support for processes and decisions
@@ -58,7 +60,8 @@ Location that is associated with either traveller or hotel
## Decision logic
-The decision logic will be implemented as a decision table. The logic will be responsible for verifying whether a given traveller requires a visa to enter a given country or not. The decision logic reason over the following data/facts
+The decision logic will be implemented as a decision table. The logic will be responsible for verifying whether a given
+traveller requires a visa to enter a given country or not. The decision logic reason over the following data/facts
* Destination that the traveller wants to go - country
* Nationality of the traveller
@@ -86,7 +89,8 @@ Private process that will be responsible for booking a flight.
## Services
-There will be services implemented to carry on the hotel and flight booking. Implementation will be a CDI beans that will have hard coded logic to return a booked flight or hotel.
+There will be services implemented to carry on the hotel and flight booking. Implementation will be a CDI beans that
+will have hard coded logic to return a booked flight or hotel.
* org.acme.travels.service.HotelBookingService
* org.acme.travels.service.FlightBookingService
@@ -107,7 +111,8 @@ When using native image compilation, you will also need:
* GraalVM 20 installed
* Environment variable GRAALVM_HOME set accordingly
-* Note that GraalVM native image compilation typically requires other packages (glibc-devel, zlib-devel and gcc) to be installed too, please refer to GraalVM installation documentation for more details.
+* Note that GraalVM native image compilation typically requires other packages (glibc-devel, zlib-devel and gcc) to be
+ installed too, please refer to GraalVM installation documentation for more details.
#### Compile and Run in Local Dev Mode
@@ -115,7 +120,8 @@ When using native image compilation, you will also need:
mvn clean package quarkus:dev
```
-NOTE: With dev mode of Quarkus you can take advantage of hot reload for business assets like processes, rules and decision
+NOTE: With dev mode of Quarkus you can take advantage of hot reload for business assets like processes, rules and
+decision
tables and java code. No need to redeploy or restart your running application.
#### Compile and Run using Local Native Image
diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/mvnw b/kogito-quarkus-examples/kogito-travel-agency/basic/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-quarkus-examples/kogito-travel-agency/basic/mvnw
+++ /dev/null
@@ -1,310 +0,0 @@
-#!/bin/sh
-# ----------------------------------------------------------------------------
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-# ----------------------------------------------------------------------------
-
-# ----------------------------------------------------------------------------
-# Maven2 Start Up Batch script
-#
-# Required ENV vars:
-# ------------------
-# JAVA_HOME - location of a JDK home dir
-#
-# Optional ENV vars
-# -----------------
-# M2_HOME - location of maven2's installed home dir
-# MAVEN_OPTS - parameters passed to the Java VM when running Maven
-# e.g. to debug Maven itself, use
-# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
-# MAVEN_SKIP_RC - flag to disable loading of mavenrc files
-# ----------------------------------------------------------------------------
-
-if [ -z "$MAVEN_SKIP_RC" ] ; then
-
- if [ -f /etc/mavenrc ] ; then
- . /etc/mavenrc
- fi
-
- if [ -f "$HOME/.mavenrc" ] ; then
- . "$HOME/.mavenrc"
- fi
-
-fi
-
-# OS specific support. $var _must_ be set to either true or false.
-cygwin=false;
-darwin=false;
-mingw=false
-case "`uname`" in
- CYGWIN*) cygwin=true ;;
- MINGW*) mingw=true;;
- Darwin*) darwin=true
- # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
- # See https://developer.apple.com/library/mac/qa/qa1170/_index.html
- if [ -z "$JAVA_HOME" ]; then
- if [ -x "/usr/libexec/java_home" ]; then
- export JAVA_HOME="`/usr/libexec/java_home`"
- else
- export JAVA_HOME="/Library/Java/Home"
- fi
- fi
- ;;
-esac
-
-if [ -z "$JAVA_HOME" ] ; then
- if [ -r /etc/gentoo-release ] ; then
- JAVA_HOME=`java-config --jre-home`
- fi
-fi
-
-if [ -z "$M2_HOME" ] ; then
- ## resolve links - $0 may be a link to maven's home
- PRG="$0"
-
- # need this for relative symlinks
- while [ -h "$PRG" ] ; do
- ls=`ls -ld "$PRG"`
- link=`expr "$ls" : '.*-> \(.*\)$'`
- if expr "$link" : '/.*' > /dev/null; then
- PRG="$link"
- else
- PRG="`dirname "$PRG"`/$link"
- fi
- done
-
- saveddir=`pwd`
-
- M2_HOME=`dirname "$PRG"`/..
-
- # make it fully qualified
- M2_HOME=`cd "$M2_HOME" && pwd`
-
- cd "$saveddir"
- # echo Using m2 at $M2_HOME
-fi
-
-# For Cygwin, ensure paths are in UNIX format before anything is touched
-if $cygwin ; then
- [ -n "$M2_HOME" ] &&
- M2_HOME=`cygpath --unix "$M2_HOME"`
- [ -n "$JAVA_HOME" ] &&
- JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
- [ -n "$CLASSPATH" ] &&
- CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
-fi
-
-# For Mingw, ensure paths are in UNIX format before anything is touched
-if $mingw ; then
- [ -n "$M2_HOME" ] &&
- M2_HOME="`(cd "$M2_HOME"; pwd)`"
- [ -n "$JAVA_HOME" ] &&
- JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
-fi
-
-if [ -z "$JAVA_HOME" ]; then
- javaExecutable="`which javac`"
- if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
- # readlink(1) is not available as standard on Solaris 10.
- readLink=`which readlink`
- if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
- if $darwin ; then
- javaHome="`dirname \"$javaExecutable\"`"
- javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
- else
- javaExecutable="`readlink -f \"$javaExecutable\"`"
- fi
- javaHome="`dirname \"$javaExecutable\"`"
- javaHome=`expr "$javaHome" : '\(.*\)/bin'`
- JAVA_HOME="$javaHome"
- export JAVA_HOME
- fi
- fi
-fi
-
-if [ -z "$JAVACMD" ] ; then
- if [ -n "$JAVA_HOME" ] ; then
- if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
- # IBM's JDK on AIX uses strange locations for the executables
- JAVACMD="$JAVA_HOME/jre/sh/java"
- else
- JAVACMD="$JAVA_HOME/bin/java"
- fi
- else
- JAVACMD="`which java`"
- fi
-fi
-
-if [ ! -x "$JAVACMD" ] ; then
- echo "Error: JAVA_HOME is not defined correctly." >&2
- echo " We cannot execute $JAVACMD" >&2
- exit 1
-fi
-
-if [ -z "$JAVA_HOME" ] ; then
- echo "Warning: JAVA_HOME environment variable is not set."
-fi
-
-CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
-
-# traverses directory structure from process work directory to filesystem root
-# first directory with .mvn subdirectory is considered project base directory
-find_maven_basedir() {
-
- if [ -z "$1" ]
- then
- echo "Path not specified to find_maven_basedir"
- return 1
- fi
-
- basedir="$1"
- wdir="$1"
- while [ "$wdir" != '/' ] ; do
- if [ -d "$wdir"/.mvn ] ; then
- basedir=$wdir
- break
- fi
- # workaround for JBEAP-8937 (on Solaris 10/Sparc)
- if [ -d "${wdir}" ]; then
- wdir=`cd "$wdir/.."; pwd`
- fi
- # end of workaround
- done
- echo "${basedir}"
-}
-
-# concatenates all lines of a file
-concat_lines() {
- if [ -f "$1" ]; then
- echo "$(tr -s '\n' ' ' < "$1")"
- fi
-}
-
-BASE_DIR=`find_maven_basedir "$(pwd)"`
-if [ -z "$BASE_DIR" ]; then
- exit 1;
-fi
-
-##########################################################################################
-# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
-# This allows using the maven wrapper in projects that prohibit checking in binary data.
-##########################################################################################
-if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then
- if [ "$MVNW_VERBOSE" = true ]; then
- echo "Found .mvn/wrapper/maven-wrapper.jar"
- fi
-else
- if [ "$MVNW_VERBOSE" = true ]; then
- echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..."
- fi
- if [ -n "$MVNW_REPOURL" ]; then
- jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar"
- else
- jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar"
- fi
- while IFS="=" read key value; do
- case "$key" in (wrapperUrl) jarUrl="$value"; break ;;
- esac
- done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties"
- if [ "$MVNW_VERBOSE" = true ]; then
- echo "Downloading from: $jarUrl"
- fi
- wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar"
- if $cygwin; then
- wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"`
- fi
-
- if command -v wget > /dev/null; then
- if [ "$MVNW_VERBOSE" = true ]; then
- echo "Found wget ... using wget"
- fi
- if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
- wget "$jarUrl" -O "$wrapperJarPath"
- else
- wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath"
- fi
- elif command -v curl > /dev/null; then
- if [ "$MVNW_VERBOSE" = true ]; then
- echo "Found curl ... using curl"
- fi
- if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
- curl -o "$wrapperJarPath" "$jarUrl" -f
- else
- curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f
- fi
-
- else
- if [ "$MVNW_VERBOSE" = true ]; then
- echo "Falling back to using Java to download"
- fi
- javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java"
- # For Cygwin, switch paths to Windows format before running javac
- if $cygwin; then
- javaClass=`cygpath --path --windows "$javaClass"`
- fi
- if [ -e "$javaClass" ]; then
- if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
- if [ "$MVNW_VERBOSE" = true ]; then
- echo " - Compiling MavenWrapperDownloader.java ..."
- fi
- # Compiling the Java class
- ("$JAVA_HOME/bin/javac" "$javaClass")
- fi
- if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
- # Running the downloader
- if [ "$MVNW_VERBOSE" = true ]; then
- echo " - Running MavenWrapperDownloader.java ..."
- fi
- ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR")
- fi
- fi
- fi
-fi
-##########################################################################################
-# End of extension
-##########################################################################################
-
-export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}
-if [ "$MVNW_VERBOSE" = true ]; then
- echo $MAVEN_PROJECTBASEDIR
-fi
-MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
-
-# For Cygwin, switch paths to Windows format before running java
-if $cygwin; then
- [ -n "$M2_HOME" ] &&
- M2_HOME=`cygpath --path --windows "$M2_HOME"`
- [ -n "$JAVA_HOME" ] &&
- JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
- [ -n "$CLASSPATH" ] &&
- CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
- [ -n "$MAVEN_PROJECTBASEDIR" ] &&
- MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
-fi
-
-# Provide a "standardized" way to retrieve the CLI args that will
-# work with both Windows and non-Windows executions.
-MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@"
-export MAVEN_CMD_LINE_ARGS
-
-WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
-
-exec "$JAVACMD" \
- $MAVEN_OPTS \
- -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
- "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
- ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/mvnw.cmd b/kogito-quarkus-examples/kogito-travel-agency/basic/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-quarkus-examples/kogito-travel-agency/basic/mvnw.cmd
+++ /dev/null
@@ -1,182 +0,0 @@
-@REM ----------------------------------------------------------------------------
-@REM Licensed to the Apache Software Foundation (ASF) under one
-@REM or more contributor license agreements. See the NOTICE file
-@REM distributed with this work for additional information
-@REM regarding copyright ownership. The ASF licenses this file
-@REM to you under the Apache License, Version 2.0 (the
-@REM "License"); you may not use this file except in compliance
-@REM with the License. You may obtain a copy of the License at
-@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing,
-@REM software distributed under the License is distributed on an
-@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-@REM KIND, either express or implied. See the License for the
-@REM specific language governing permissions and limitations
-@REM under the License.
-@REM ----------------------------------------------------------------------------
-
-@REM ----------------------------------------------------------------------------
-@REM Maven2 Start Up Batch script
-@REM
-@REM Required ENV vars:
-@REM JAVA_HOME - location of a JDK home dir
-@REM
-@REM Optional ENV vars
-@REM M2_HOME - location of maven2's installed home dir
-@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
-@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending
-@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
-@REM e.g. to debug Maven itself, use
-@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
-@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
-@REM ----------------------------------------------------------------------------
-
-@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
-@echo off
-@REM set title of command window
-title %0
-@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
-@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
-
-@REM set %HOME% to equivalent of $HOME
-if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
-
-@REM Execute a user defined script before this one
-if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
-@REM check for pre script, once with legacy .bat ending and once with .cmd ending
-if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
-if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd"
-:skipRcPre
-
-@setlocal
-
-set ERROR_CODE=0
-
-@REM To isolate internal variables from possible post scripts, we use another setlocal
-@setlocal
-
-@REM ==== START VALIDATION ====
-if not "%JAVA_HOME%" == "" goto OkJHome
-
-echo.
-echo Error: JAVA_HOME not found in your environment. >&2
-echo Please set the JAVA_HOME variable in your environment to match the >&2
-echo location of your Java installation. >&2
-echo.
-goto error
-
-:OkJHome
-if exist "%JAVA_HOME%\bin\java.exe" goto init
-
-echo.
-echo Error: JAVA_HOME is set to an invalid directory. >&2
-echo JAVA_HOME = "%JAVA_HOME%" >&2
-echo Please set the JAVA_HOME variable in your environment to match the >&2
-echo location of your Java installation. >&2
-echo.
-goto error
-
-@REM ==== END VALIDATION ====
-
-:init
-
-@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
-@REM Fallback to current working directory if not found.
-
-set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
-IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
-
-set EXEC_DIR=%CD%
-set WDIR=%EXEC_DIR%
-:findBaseDir
-IF EXIST "%WDIR%"\.mvn goto baseDirFound
-cd ..
-IF "%WDIR%"=="%CD%" goto baseDirNotFound
-set WDIR=%CD%
-goto findBaseDir
-
-:baseDirFound
-set MAVEN_PROJECTBASEDIR=%WDIR%
-cd "%EXEC_DIR%"
-goto endDetectBaseDir
-
-:baseDirNotFound
-set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
-cd "%EXEC_DIR%"
-
-:endDetectBaseDir
-
-IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
-
-@setlocal EnableExtensions EnableDelayedExpansion
-for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
-@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
-
-:endReadAdditionalConfig
-
-SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
-set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
-set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
-
-set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar"
-
-FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
- IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
-)
-
-@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
-@REM This allows using the maven wrapper in projects that prohibit checking in binary data.
-if exist %WRAPPER_JAR% (
- if "%MVNW_VERBOSE%" == "true" (
- echo Found %WRAPPER_JAR%
- )
-) else (
- if not "%MVNW_REPOURL%" == "" (
- SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar"
- )
- if "%MVNW_VERBOSE%" == "true" (
- echo Couldn't find %WRAPPER_JAR%, downloading it ...
- echo Downloading from: %DOWNLOAD_URL%
- )
-
- powershell -Command "&{"^
- "$webclient = new-object System.Net.WebClient;"^
- "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
- "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
- "}"^
- "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^
- "}"
- if "%MVNW_VERBOSE%" == "true" (
- echo Finished downloading %WRAPPER_JAR%
- )
-)
-@REM End of extension
-
-@REM Provide a "standardized" way to retrieve the CLI args that will
-@REM work with both Windows and non-Windows executions.
-set MAVEN_CMD_LINE_ARGS=%*
-
-%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
-if ERRORLEVEL 1 goto error
-goto end
-
-:error
-set ERROR_CODE=1
-
-:end
-@endlocal & set ERROR_CODE=%ERROR_CODE%
-
-if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
-@REM check for post script, once with legacy .bat ending and once with .cmd ending
-if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
-if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd"
-:skipRcPost
-
-@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
-if "%MAVEN_BATCH_PAUSE%" == "on" pause
-
-if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
-
-exit /B %ERROR_CODE%
diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/pom.xml b/kogito-quarkus-examples/kogito-travel-agency/basic/pom.xml
index 0822ada8ff..fd82ed85d8 100644
--- a/kogito-quarkus-examples/kogito-travel-agency/basic/pom.xml
+++ b/kogito-quarkus-examples/kogito-travel-agency/basic/pom.xml
@@ -1,13 +1,13 @@
-4.0.0
-
- org.acme.examples
- kogito-travel-agency-example
- 2.0.0-SNAPSHOT
-
+
kogito-travel-agency-example-basic
+ org.acme.examples
+ 2.0.0-SNAPSHOT
+
Kogito Example :: Travel Agency :: BasicUTF-8
@@ -21,7 +21,18 @@
2.0.0-SNAPSHOT2.0.0-SNAPSHOT8.45.0-SNAPSHOT
+
+ 0
+
+ fast-jar
+ 3.1.2
+ ${version.surefire.plugin}
+ 11
+ 11
+ UTF-8
+ UTF-8
+
@@ -47,6 +58,7 @@
+
org.kie.kogito
@@ -64,6 +76,10 @@
io.quarkusquarkus-resteasy-jackson
+
+ io.quarkus
+ quarkus-smallrye-health
+ org.kie.kogitokogito-addons-quarkus-monitoring-prometheus
@@ -98,6 +114,48 @@
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${version.surefire.plugin}
+
+
+ org.jboss.logmanager.LogManager
+
+
+
+
+ org.apache.maven.plugins
+ maven-failsafe-plugin
+ ${version.failsafe.plugin}
+
+
+ org.jboss.logmanager.LogManager
+ ${tests.quarkus.http.port}
+
+
+
+
+
+
+
+ kogito-apps-downstream-native
+
+
+ kogito-apps-native
+
+
+
+ **/Native*IT.java
+
+ native
+ 8g
+
+ 8080
+
+
+
diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/resources/META-INF/resources/index.html b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/resources/META-INF/resources/index.html
index e03c03053f..9ad7cf36d9 100644
--- a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/resources/META-INF/resources/index.html
+++ b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/resources/META-INF/resources/index.html
@@ -5,8 +5,8 @@
Kogito Travel Agency
-
-
+
+
@@ -53,14 +53,14 @@