diff --git a/.ci/environments/quarkus-3/patches/0001_before_sh.patch b/.ci/environments/quarkus-3/patches/0001_before_sh.patch
index 69df758d76..e0bf8a60c5 100644
--- a/.ci/environments/quarkus-3/patches/0001_before_sh.patch
+++ b/.ci/environments/quarkus-3/patches/0001_before_sh.patch
@@ -4273,7 +4273,7 @@ diff --git a/serverless-workflow-examples/serverless-workflow-events-quarkus/src
index 287b775c6..c969da8c7 100644
--- a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/AvroMarshallerProducer.java
+++ b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/AvroMarshallerProducer.java
-@@ -17,11 +17,11 @@ package org.kogito.serverless.examples;
+@@ -17,11 +17,11 @@ package org.acme.serverless.examples;
import java.io.IOException;
@@ -4295,7 +4295,7 @@ index a9615feff..54a8b9a5a 100644
+++ b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/DecisionResource.java
@@ -15,11 +15,11 @@
*/
- package org.kogito.serverless.examples;
+ package org.acme.serverless.examples;
-import javax.inject.Inject;
-import javax.ws.rs.GET;
@@ -4591,77 +4591,77 @@ index 6f90bae6d..56b1e20e5 100644
+++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/ClassificationFunction.java
@@ -15,7 +15,7 @@
*/
- package org.kogito.serverless.examples.functions;
+ package org.acme.serverless.examples.functions;
-import javax.inject.Inject;
+import jakarta.inject.Inject;
- import org.kogito.serverless.examples.input.Country;
- import org.kogito.serverless.examples.services.ClassificationService;
+ import org.acme.serverless.examples.input.Country;
+ import org.acme.serverless.examples.services.ClassificationService;
diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/CountriesFunction.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/CountriesFunction.java
index 750823546..f17e7bea9 100644
--- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/CountriesFunction.java
+++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/CountriesFunction.java
@@ -15,7 +15,7 @@
*/
- package org.kogito.serverless.examples.functions;
+ package org.acme.serverless.examples.functions;
-import javax.inject.Inject;
+import jakarta.inject.Inject;
- import org.kogito.serverless.examples.input.Country;
- import org.kogito.serverless.examples.services.CountriesService;
+ import org.acme.serverless.examples.input.Country;
+ import org.acme.serverless.examples.services.CountriesService;
diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/PopulationFunction.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/PopulationFunction.java
index 69066c4ec..8249c76b2 100644
--- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/PopulationFunction.java
+++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/PopulationFunction.java
@@ -15,7 +15,7 @@
*/
- package org.kogito.serverless.examples.functions;
+ package org.acme.serverless.examples.functions;
-import javax.inject.Inject;
+import jakarta.inject.Inject;
- import org.kogito.serverless.examples.input.Country;
- import org.kogito.serverless.examples.services.CountriesService;
+ import org.acme.serverless.examples.input.Country;
+ import org.acme.serverless.examples.services.CountriesService;
diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/ClassificationService.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/ClassificationService.java
index 3731e3707..1f9bd1377 100644
--- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/ClassificationService.java
+++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/ClassificationService.java
-@@ -18,7 +18,7 @@ package org.kogito.serverless.examples.services;
+@@ -18,7 +18,7 @@ package org.acme.serverless.examples.services;
import java.util.HashMap;
import java.util.Map;
-import javax.enterprise.context.ApplicationScoped;
+import jakarta.enterprise.context.ApplicationScoped;
- import org.kogito.serverless.examples.input.Country;
+ import org.acme.serverless.examples.input.Country;
diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/CountriesService.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/CountriesService.java
index acce33496..a6ffe63d9 100644
--- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/CountriesService.java
+++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/CountriesService.java
-@@ -18,7 +18,7 @@ package org.kogito.serverless.examples.services;
+@@ -18,7 +18,7 @@ package org.acme.serverless.examples.services;
import java.util.ArrayList;
import java.util.List;
-import javax.enterprise.context.ApplicationScoped;
+import jakarta.enterprise.context.ApplicationScoped;
- import org.kogito.serverless.examples.input.Country;
+ import org.acme.serverless.examples.input.Country;
diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/PopulationService.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/PopulationService.java
index 8aa404d54..60910c580 100644
--- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/PopulationService.java
+++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/PopulationService.java
-@@ -18,7 +18,7 @@ package org.kogito.serverless.examples.services;
+@@ -18,7 +18,7 @@ package org.acme.serverless.examples.services;
import java.util.HashMap;
import java.util.Map;
-import javax.enterprise.context.ApplicationScoped;
+import jakarta.enterprise.context.ApplicationScoped;
- import org.kogito.serverless.examples.input.Country;
+ import org.acme.serverless.examples.input.Country;
diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/pom.xml b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/pom.xml
index f651b169d..f72762b0b 100644
@@ -5763,7 +5763,7 @@ diff --git a/serverless-workflow-examples/serverless-workflow-service-calls-quar
index f49df157e..b6a6a617a 100644
--- a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/kogito/serverless/examples/CountryServiceWorkflowTest.java
+++ b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/kogito/serverless/examples/CountryServiceWorkflowTest.java
-@@ -18,8 +18,8 @@ package org.kogito.serverless.examples;
+@@ -18,8 +18,8 @@ package org.acme.serverless.examples;
import java.util.HashMap;
import java.util.Map;
diff --git a/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml b/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml
index c584434b69..3d109b5008 100644
--- a/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml
+++ b/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/Applicant.java b/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/acme/queries/Applicant.java
similarity index 97%
rename from kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/Applicant.java
rename to kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/acme/queries/Applicant.java
index 175d3a98d5..c63d1274c8 100644
--- a/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/Applicant.java
+++ b/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/acme/queries/Applicant.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.queries;
public class Applicant {
diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/LoanApplication.java b/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/acme/queries/LoanApplication.java
similarity index 98%
rename from kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/LoanApplication.java
rename to kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/acme/queries/LoanApplication.java
index 70eec1c4e3..a6a205d958 100644
--- a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/LoanApplication.java
+++ b/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/acme/queries/LoanApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.queries;
public class LoanApplication {
diff --git a/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/LoanUnit.java b/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/acme/queries/LoanUnit.java
similarity index 97%
rename from kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/LoanUnit.java
rename to kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/acme/queries/LoanUnit.java
index 3d35a77609..063377fe07 100644
--- a/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/LoanUnit.java
+++ b/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/acme/queries/LoanUnit.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.queries;
import org.drools.ruleunits.api.DataSource;
import org.drools.ruleunits.api.DataStore;
diff --git a/kogito-springboot-examples/decisiontable-springboot-example/src/main/resources/org/kie/kogito/queries/LoanUnit.drl.xls b/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/resources/org/acme/queries/LoanUnit.drl.xls
similarity index 57%
rename from kogito-springboot-examples/decisiontable-springboot-example/src/main/resources/org/kie/kogito/queries/LoanUnit.drl.xls
rename to kogito-quarkus-examples/decisiontable-quarkus-example/src/main/resources/org/acme/queries/LoanUnit.drl.xls
index cfa4b8db5f..e51800ae98 100644
Binary files a/kogito-springboot-examples/decisiontable-springboot-example/src/main/resources/org/kie/kogito/queries/LoanUnit.drl.xls and b/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/resources/org/acme/queries/LoanUnit.drl.xls differ
diff --git a/kogito-quarkus-examples/decisiontable-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/NativeRestQueryIT.java b/kogito-quarkus-examples/decisiontable-quarkus-example/src/test/java/org/acme/decisiontable/quarkus/NativeRestQueryIT.java
similarity index 94%
rename from kogito-quarkus-examples/decisiontable-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/NativeRestQueryIT.java
rename to kogito-quarkus-examples/decisiontable-quarkus-example/src/test/java/org/acme/decisiontable/quarkus/NativeRestQueryIT.java
index eb6ce553f6..a87bcd6bab 100644
--- a/kogito-quarkus-examples/decisiontable-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/NativeRestQueryIT.java
+++ b/kogito-quarkus-examples/decisiontable-quarkus-example/src/test/java/org/acme/decisiontable/quarkus/NativeRestQueryIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.decisiontable.quarkus;
+package org.acme.decisiontable.quarkus;
import io.quarkus.test.junit.NativeImageTest;
diff --git a/kogito-quarkus-examples/decisiontable-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/RestQueryTest.java b/kogito-quarkus-examples/decisiontable-quarkus-example/src/test/java/org/acme/decisiontable/quarkus/RestQueryTest.java
similarity index 98%
rename from kogito-quarkus-examples/decisiontable-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/RestQueryTest.java
rename to kogito-quarkus-examples/decisiontable-quarkus-example/src/test/java/org/acme/decisiontable/quarkus/RestQueryTest.java
index 2b88b46469..aea194b909 100644
--- a/kogito-quarkus-examples/decisiontable-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/RestQueryTest.java
+++ b/kogito-quarkus-examples/decisiontable-quarkus-example/src/test/java/org/acme/decisiontable/quarkus/RestQueryTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.decisiontable.quarkus;
+package org.acme.decisiontable.quarkus;
import org.junit.jupiter.api.Test;
diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml
index 5edc5ee797..9d20b646d7 100755
--- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml
+++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/app/CustomDMNRuntimeEventListener.java b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/acme/app/CustomDMNRuntimeEventListener.java
similarity index 95%
rename from kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/app/CustomDMNRuntimeEventListener.java
rename to kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/acme/app/CustomDMNRuntimeEventListener.java
index 7744eb66d2..776af4cc77 100644
--- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/app/CustomDMNRuntimeEventListener.java
+++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/acme/app/CustomDMNRuntimeEventListener.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.app;
+package org.acme.app;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
@@ -87,7 +87,7 @@ public void afterEvaluateAll(AfterEvaluateAllEvent event) {
private void registerEvent(DMNEvent event) {
logger.debug(event.getClass().getSimpleName());
- prometheusMeterRegistry.counter("org.kie.kogito.examples.customdmnruntimeeventlistener", "event",
+ prometheusMeterRegistry.counter("org.acme.examples.customdmnruntimeeventlistener", "event",
event.getClass().getSimpleName().toLowerCase()).increment();
}
diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/app/RuleEventListenerConfig.java b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/acme/app/RuleEventListenerConfig.java
similarity index 92%
rename from kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/app/RuleEventListenerConfig.java
rename to kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/acme/app/RuleEventListenerConfig.java
index de6b18ed73..746ae2cadf 100644
--- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/app/RuleEventListenerConfig.java
+++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/acme/app/RuleEventListenerConfig.java
@@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.app;
+package org.acme.app;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
+import org.acme.examples.CustomRuleEventListener;
import org.kie.kogito.drools.core.config.DefaultRuleEventListenerConfig;
-import org.kie.kogito.examples.CustomRuleEventListener;
import io.micrometer.prometheus.PrometheusMeterRegistry;
diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/examples/CustomRuleEventListener.java b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/acme/examples/CustomRuleEventListener.java
similarity index 96%
rename from kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/examples/CustomRuleEventListener.java
rename to kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/acme/examples/CustomRuleEventListener.java
index 39eac40227..9d9e1062c1 100644
--- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/examples/CustomRuleEventListener.java
+++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/acme/examples/CustomRuleEventListener.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.drools.core.event.DefaultAgendaEventListener;
import org.jboss.logging.Logger;
@@ -101,7 +101,7 @@ public void afterRuleFlowGroupDeactivated(RuleFlowGroupDeactivatedEvent event) {
private void registerEvent(KieRuntimeEvent event) {
logger.debug(event.getClass().getSimpleName());
- prometheusMeterRegistry.counter("org.kie.kogito.examples.customruleeventlistener", "event",
+ prometheusMeterRegistry.counter("org.acme.examples.customruleeventlistener", "event",
event.getClass().getSimpleName().toLowerCase()).increment();
}
}
diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/examples/Hello.java b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/acme/examples/Hello.java
similarity index 96%
rename from kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/examples/Hello.java
rename to kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/acme/examples/Hello.java
index 15e84e9e72..bd8ee03281 100644
--- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/examples/Hello.java
+++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/acme/examples/Hello.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.drools.ruleunits.api.DataSource;
import org.drools.ruleunits.api.DataStore;
diff --git a/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/resources/org/kie/kogito/examples/Hello.drl b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/org/acme/examples/Hello.drl
similarity index 95%
rename from kogito-quarkus-examples/rules-quarkus-helloworld/src/main/resources/org/kie/kogito/examples/Hello.drl
rename to kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/org/acme/examples/Hello.drl
index 7aaacc6c99..ecdea0651a 100644
--- a/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/resources/org/kie/kogito/examples/Hello.drl
+++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/org/acme/examples/Hello.drl
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
unit Hello;
rule helloWorld
diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/org/kie/kogito/examples/LoanEligibility.dmn b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/org/acme/examples/LoanEligibility.dmn
similarity index 100%
rename from kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/org/kie/kogito/examples/LoanEligibility.dmn
rename to kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/org/acme/examples/LoanEligibility.dmn
diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/org/kie/kogito/examples/Traffic Violation.dmn b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/org/acme/examples/Traffic Violation.dmn
similarity index 100%
rename from kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/org/kie/kogito/examples/Traffic Violation.dmn
rename to kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/org/acme/examples/Traffic Violation.dmn
diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/DashboardsListIT.java b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/acme/examples/quarkus/DashboardsListIT.java
similarity index 96%
rename from kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/DashboardsListIT.java
rename to kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/acme/examples/quarkus/DashboardsListIT.java
index 5921f82a24..738e0dd67b 100644
--- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/DashboardsListIT.java
+++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/acme/examples/quarkus/DashboardsListIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.quarkus;
+package org.acme.examples.quarkus;
import java.util.List;
diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/DroolsMetricsIT.java b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/acme/examples/quarkus/DroolsMetricsIT.java
similarity index 84%
rename from kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/DroolsMetricsIT.java
rename to kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/acme/examples/quarkus/DroolsMetricsIT.java
index 0af3380e8a..14b880b22e 100644
--- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/DroolsMetricsIT.java
+++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/acme/examples/quarkus/DroolsMetricsIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.quarkus;
+package org.acme.examples.quarkus;
import org.junit.jupiter.api.Test;
@@ -53,21 +53,21 @@ public void testDrlMetrics() {
.get("/q/metrics")
.then()
.statusCode(200)
- .body(containsString("org_kie_kogito_examples_customruleeventlistener_total{event=\"afteractivationfiredeventimpl" +
+ .body(containsString("org_acme_examples_customruleeventlistener_total{event=\"afteractivationfiredeventimpl" +
"\"} 1.0"));
given()
.when()
.get("/q/metrics")
.then()
.statusCode(200)
- .body(containsString("org_kie_kogito_examples_customruleeventlistener_total{event=\"beforeactivationfiredeventimpl" +
+ .body(containsString("org_acme_examples_customruleeventlistener_total{event=\"beforeactivationfiredeventimpl" +
"\"} 1.0"));
given()
.when()
.get("/q/metrics")
.then()
.statusCode(200)
- .body(containsString("org_kie_kogito_examples_customruleeventlistener_total{event=\"activationcreatedeventimpl" +
+ .body(containsString("org_acme_examples_customruleeventlistener_total{event=\"activationcreatedeventimpl" +
"\"} 1.0"));
}
}
diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/GrafanaDockerComposeIT.java b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/acme/examples/quarkus/GrafanaDockerComposeIT.java
similarity index 99%
rename from kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/GrafanaDockerComposeIT.java
rename to kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/acme/examples/quarkus/GrafanaDockerComposeIT.java
index 635b0008e0..2c098cac4a 100644
--- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/GrafanaDockerComposeIT.java
+++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/acme/examples/quarkus/GrafanaDockerComposeIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.quarkus;
+package org.acme.examples.quarkus;
import java.io.File;
import java.net.URISyntaxException;
diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/LoanEligibilityIT.java b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/acme/examples/quarkus/LoanEligibilityIT.java
similarity index 91%
rename from kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/LoanEligibilityIT.java
rename to kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/acme/examples/quarkus/LoanEligibilityIT.java
index a9d2fca221..7d46d5dc7f 100644
--- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/LoanEligibilityIT.java
+++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/acme/examples/quarkus/LoanEligibilityIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.quarkus;
+package org.acme.examples.quarkus;
import org.junit.jupiter.api.Test;
@@ -102,15 +102,15 @@ public void testEvaluateLoanEligibility() {
String.format("api_http_response_code_total{artifactId=\"%s\",endpoint=\"LoanEligibility\",identifier=\"200\",version=\"%s\"} 2.0", PROJECT_ARTIFACT_ID, PROJECT_VERSION)))
.body(containsString(
String.format("api_execution_elapsed_seconds_count{artifactId=\"%s\",endpoint=\"LoanEligibility\",version=\"%s\"} 2.0", PROJECT_ARTIFACT_ID, PROJECT_VERSION)))
- .body(containsString("org_kie_kogito_examples_customdmnruntimeeventlistener_total{event" +
+ .body(containsString("org_acme_examples_customdmnruntimeeventlistener_total{event" +
"=\"beforeevaluatedecisiontableeventimpl\"}"))
- .body(containsString("org_kie_kogito_examples_customdmnruntimeeventlistener_total{event" +
+ .body(containsString("org_acme_examples_customdmnruntimeeventlistener_total{event" +
"=\"afterevaluatedecisiontableeventimpl\"}"))
- .body(containsString("org_kie_kogito_examples_customdmnruntimeeventlistener_total{event" +
+ .body(containsString("org_acme_examples_customdmnruntimeeventlistener_total{event" +
"=\"beforeevaluatealleventimpl\"}"))
- .body(containsString("org_kie_kogito_examples_customdmnruntimeeventlistener_total{event" +
+ .body(containsString("org_acme_examples_customdmnruntimeeventlistener_total{event" +
"=\"afterevaluatealleventimpl\"}"))
- .body(containsString("org_kie_kogito_examples_customdmnruntimeeventlistener_total{event" +
+ .body(containsString("org_acme_examples_customdmnruntimeeventlistener_total{event" +
"=\"afterevaluatedecisioneventimpl\"}"));
}
diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/ProjectMetadataProvider.java b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/acme/examples/quarkus/ProjectMetadataProvider.java
similarity index 97%
rename from kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/ProjectMetadataProvider.java
rename to kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/acme/examples/quarkus/ProjectMetadataProvider.java
index 8218ebe9e4..be03e09832 100644
--- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/ProjectMetadataProvider.java
+++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/acme/examples/quarkus/ProjectMetadataProvider.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.quarkus;
+package org.acme.examples.quarkus;
import java.io.IOException;
import java.util.Properties;
diff --git a/kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml b/kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml
index f494fc03e0..d574fdb19f 100644
--- a/kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml
+++ b/kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml
@@ -5,7 +5,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/java/org/kie/kogito/examples/DmnEventDrivenIT.java b/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/java/org/acme/examples/DmnEventDrivenIT.java
similarity index 99%
rename from kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/java/org/kie/kogito/examples/DmnEventDrivenIT.java
rename to kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/java/org/acme/examples/DmnEventDrivenIT.java
index 0b244241da..7a3866b227 100644
--- a/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/java/org/kie/kogito/examples/DmnEventDrivenIT.java
+++ b/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/java/org/acme/examples/DmnEventDrivenIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.io.IOException;
import java.net.URL;
diff --git a/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/java/org/kie/kogito/examples/NativeDmnEventDrivenIT.java b/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/java/org/acme/examples/NativeDmnEventDrivenIT.java
similarity index 96%
rename from kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/java/org/kie/kogito/examples/NativeDmnEventDrivenIT.java
rename to kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/java/org/acme/examples/NativeDmnEventDrivenIT.java
index 663d5b38a9..8df5c79eb1 100644
--- a/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/java/org/kie/kogito/examples/NativeDmnEventDrivenIT.java
+++ b/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/java/org/acme/examples/NativeDmnEventDrivenIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.kie.kogito.testcontainers.quarkus.KafkaQuarkusTestResource;
diff --git a/kogito-quarkus-examples/dmn-incubation-api-quarkus/pom.xml b/kogito-quarkus-examples/dmn-incubation-api-quarkus/pom.xml
index c5abbd378e..433b27dde2 100644
--- a/kogito-quarkus-examples/dmn-incubation-api-quarkus/pom.xml
+++ b/kogito-quarkus-examples/dmn-incubation-api-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/pom.xml b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/pom.xml
index 52abe49c3e..a91f0cb15a 100644
--- a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/pom.xml
+++ b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/java/org/kie/kogito/examples/CloudEventListenerTest.java b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/java/org/acme/examples/CloudEventListenerTest.java
similarity index 99%
rename from kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/java/org/kie/kogito/examples/CloudEventListenerTest.java
rename to kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/java/org/acme/examples/CloudEventListenerTest.java
index d4156050fe..ba55f5df6c 100644
--- a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/java/org/kie/kogito/examples/CloudEventListenerTest.java
+++ b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/java/org/acme/examples/CloudEventListenerTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.util.Map;
diff --git a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/java/org/kie/kogito/examples/TopicsInformationTest.java b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/java/org/acme/examples/TopicsInformationTest.java
similarity index 98%
rename from kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/java/org/kie/kogito/examples/TopicsInformationTest.java
rename to kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/java/org/acme/examples/TopicsInformationTest.java
index f7ea93becb..8009b62fdb 100644
--- a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/java/org/kie/kogito/examples/TopicsInformationTest.java
+++ b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/java/org/acme/examples/TopicsInformationTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.util.Arrays;
import java.util.Collections;
diff --git a/kogito-quarkus-examples/dmn-listener-dtable/pom.xml b/kogito-quarkus-examples/dmn-listener-dtable/pom.xml
index 8b3abdb384..bf53b0c0dc 100644
--- a/kogito-quarkus-examples/dmn-listener-dtable/pom.xml
+++ b/kogito-quarkus-examples/dmn-listener-dtable/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/dmn-listener-dtable/src/main/java/org/kie/kogito/dmn/quarkus/example/dtlistener/ExampleDMNRuntimeEventListener.java b/kogito-quarkus-examples/dmn-listener-dtable/src/main/java/org/acme/dmn/quarkus/example/dtlistener/ExampleDMNRuntimeEventListener.java
similarity index 96%
rename from kogito-quarkus-examples/dmn-listener-dtable/src/main/java/org/kie/kogito/dmn/quarkus/example/dtlistener/ExampleDMNRuntimeEventListener.java
rename to kogito-quarkus-examples/dmn-listener-dtable/src/main/java/org/acme/dmn/quarkus/example/dtlistener/ExampleDMNRuntimeEventListener.java
index 5c9c238d31..b9b23e7584 100644
--- a/kogito-quarkus-examples/dmn-listener-dtable/src/main/java/org/kie/kogito/dmn/quarkus/example/dtlistener/ExampleDMNRuntimeEventListener.java
+++ b/kogito-quarkus-examples/dmn-listener-dtable/src/main/java/org/acme/dmn/quarkus/example/dtlistener/ExampleDMNRuntimeEventListener.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.quarkus.example.dtlistener;
+package org.acme.dmn.quarkus.example.dtlistener;
import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedQueue;
diff --git a/kogito-quarkus-examples/dmn-listener-dtable/src/main/java/org/kie/kogito/dmn/quarkus/example/dtlistener/PeriodicJobBean.java b/kogito-quarkus-examples/dmn-listener-dtable/src/main/java/org/acme/dmn/quarkus/example/dtlistener/PeriodicJobBean.java
similarity index 98%
rename from kogito-quarkus-examples/dmn-listener-dtable/src/main/java/org/kie/kogito/dmn/quarkus/example/dtlistener/PeriodicJobBean.java
rename to kogito-quarkus-examples/dmn-listener-dtable/src/main/java/org/acme/dmn/quarkus/example/dtlistener/PeriodicJobBean.java
index 2069192122..9e7d7fca7c 100644
--- a/kogito-quarkus-examples/dmn-listener-dtable/src/main/java/org/kie/kogito/dmn/quarkus/example/dtlistener/PeriodicJobBean.java
+++ b/kogito-quarkus-examples/dmn-listener-dtable/src/main/java/org/acme/dmn/quarkus/example/dtlistener/PeriodicJobBean.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.quarkus.example.dtlistener;
+package org.acme.dmn.quarkus.example.dtlistener;
import java.util.concurrent.TimeUnit;
diff --git a/kogito-quarkus-examples/dmn-listener-dtable/src/test/java/org/kie/kogito/dmn/quarkus/example/dtlistener/DecisionTableTest.java b/kogito-quarkus-examples/dmn-listener-dtable/src/test/java/org/acme/dmn/quarkus/example/dtlistener/DecisionTableTest.java
similarity index 97%
rename from kogito-quarkus-examples/dmn-listener-dtable/src/test/java/org/kie/kogito/dmn/quarkus/example/dtlistener/DecisionTableTest.java
rename to kogito-quarkus-examples/dmn-listener-dtable/src/test/java/org/acme/dmn/quarkus/example/dtlistener/DecisionTableTest.java
index 58d847b1e7..6f0d2b9d96 100644
--- a/kogito-quarkus-examples/dmn-listener-dtable/src/test/java/org/kie/kogito/dmn/quarkus/example/dtlistener/DecisionTableTest.java
+++ b/kogito-quarkus-examples/dmn-listener-dtable/src/test/java/org/acme/dmn/quarkus/example/dtlistener/DecisionTableTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.quarkus.example.dtlistener;
+package org.acme.dmn.quarkus.example.dtlistener;
import java.util.concurrent.TimeUnit;
diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/pom.xml b/kogito-quarkus-examples/dmn-listener-quarkus/pom.xml
index df719ac5b3..5beb0e3754 100644
--- a/kogito-quarkus-examples/dmn-listener-quarkus/pom.xml
+++ b/kogito-quarkus-examples/dmn-listener-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/kie/kogito/dmn/quarkus/example/listener/ExampleDMNRuntimeEventListener.java b/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/acme/dmn/quarkus/example/listener/ExampleDMNRuntimeEventListener.java
similarity index 96%
rename from kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/kie/kogito/dmn/quarkus/example/listener/ExampleDMNRuntimeEventListener.java
rename to kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/acme/dmn/quarkus/example/listener/ExampleDMNRuntimeEventListener.java
index 5be5815cd1..25cef7025e 100644
--- a/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/kie/kogito/dmn/quarkus/example/listener/ExampleDMNRuntimeEventListener.java
+++ b/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/acme/dmn/quarkus/example/listener/ExampleDMNRuntimeEventListener.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.quarkus.example.listener;
+package org.acme.dmn.quarkus.example.listener;
import javax.enterprise.context.ApplicationScoped;
diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/kie/kogito/dmn/quarkus/example/listener/ExampleDecisionEventListenerConfig.java b/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/acme/dmn/quarkus/example/listener/ExampleDecisionEventListenerConfig.java
similarity index 97%
rename from kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/kie/kogito/dmn/quarkus/example/listener/ExampleDecisionEventListenerConfig.java
rename to kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/acme/dmn/quarkus/example/listener/ExampleDecisionEventListenerConfig.java
index 02e7e6b876..4b35f29be0 100644
--- a/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/kie/kogito/dmn/quarkus/example/listener/ExampleDecisionEventListenerConfig.java
+++ b/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/acme/dmn/quarkus/example/listener/ExampleDecisionEventListenerConfig.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.quarkus.example.listener;
+package org.acme.dmn.quarkus.example.listener;
import javax.enterprise.context.ApplicationScoped;
diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/kie/kogito/dmn/quarkus/example/listener/LoggingDMNRuntimeEventListener.java b/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/acme/dmn/quarkus/example/listener/LoggingDMNRuntimeEventListener.java
similarity index 98%
rename from kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/kie/kogito/dmn/quarkus/example/listener/LoggingDMNRuntimeEventListener.java
rename to kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/acme/dmn/quarkus/example/listener/LoggingDMNRuntimeEventListener.java
index f2dc00d429..50b039ea13 100644
--- a/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/kie/kogito/dmn/quarkus/example/listener/LoggingDMNRuntimeEventListener.java
+++ b/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/acme/dmn/quarkus/example/listener/LoggingDMNRuntimeEventListener.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.quarkus.example.listener;
+package org.acme.dmn.quarkus.example.listener;
import org.kie.dmn.api.core.event.AfterEvaluateAllEvent;
import org.kie.dmn.api.core.event.AfterEvaluateContextEntryEvent;
diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/listener/NativeTrafficViolationIT.java b/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/acme/dmn/quarkus/example/listener/NativeTrafficViolationIT.java
similarity index 93%
rename from kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/listener/NativeTrafficViolationIT.java
rename to kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/acme/dmn/quarkus/example/listener/NativeTrafficViolationIT.java
index a4223fe04b..595f171177 100644
--- a/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/listener/NativeTrafficViolationIT.java
+++ b/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/acme/dmn/quarkus/example/listener/NativeTrafficViolationIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.quarkus.example.listener;
+package org.acme.dmn.quarkus.example.listener;
import io.quarkus.test.junit.NativeImageTest;
diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/listener/TrafficViolationListenerTest.java b/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/acme/dmn/quarkus/example/listener/TrafficViolationListenerTest.java
similarity index 91%
rename from kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/listener/TrafficViolationListenerTest.java
rename to kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/acme/dmn/quarkus/example/listener/TrafficViolationListenerTest.java
index 207d9e43e7..33775607be 100644
--- a/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/listener/TrafficViolationListenerTest.java
+++ b/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/acme/dmn/quarkus/example/listener/TrafficViolationListenerTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.quarkus.example.listener;
+package org.acme.dmn.quarkus.example.listener;
import java.util.List;
import java.util.Map;
@@ -21,19 +21,19 @@
import javax.inject.Inject;
+import org.acme.dmn.quarkus.example.mock.MockDMNRuntimeEventListener;
import org.junit.jupiter.api.Test;
import org.kie.dmn.api.core.event.DMNRuntimeEventListener;
import org.kie.kogito.decision.DecisionConfig;
import org.kie.kogito.decision.DecisionEventListenerConfig;
-import org.kie.kogito.dmn.quarkus.example.mock.MockDMNRuntimeEventListener;
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.http.ContentType;
import static io.restassured.RestAssured.given;
+import static org.acme.dmn.quarkus.example.listener.TrafficViolationTest.TRAFFIC_VIOLATION_TEST_BODY;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
-import static org.kie.kogito.dmn.quarkus.example.listener.TrafficViolationTest.TRAFFIC_VIOLATION_TEST_BODY;
@QuarkusTest
public class TrafficViolationListenerTest {
diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/listener/TrafficViolationTest.java b/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/acme/dmn/quarkus/example/listener/TrafficViolationTest.java
similarity index 96%
rename from kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/listener/TrafficViolationTest.java
rename to kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/acme/dmn/quarkus/example/listener/TrafficViolationTest.java
index fa3361ef6a..43faf86bd0 100644
--- a/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/listener/TrafficViolationTest.java
+++ b/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/acme/dmn/quarkus/example/listener/TrafficViolationTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.quarkus.example.listener;
+package org.acme.dmn.quarkus.example.listener;
import org.junit.jupiter.api.Test;
diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/mock/MockDMNRuntimeEventListener.java b/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/acme/dmn/quarkus/example/mock/MockDMNRuntimeEventListener.java
similarity index 97%
rename from kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/mock/MockDMNRuntimeEventListener.java
rename to kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/acme/dmn/quarkus/example/mock/MockDMNRuntimeEventListener.java
index 427bad341c..c65ae7b222 100644
--- a/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/mock/MockDMNRuntimeEventListener.java
+++ b/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/acme/dmn/quarkus/example/mock/MockDMNRuntimeEventListener.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.quarkus.example.mock;
+package org.acme.dmn.quarkus.example.mock;
import java.util.HashMap;
import java.util.Map;
diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/pom.xml b/kogito-quarkus-examples/dmn-pmml-quarkus-example/pom.xml
index 2b502a0451..5d436855c4 100644
--- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/pom.xml
+++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/CommonTestUtils.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/CommonTestUtils.java
similarity index 98%
rename from kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/CommonTestUtils.java
rename to kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/CommonTestUtils.java
index aa0a543fe3..e033c3d1e7 100644
--- a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/CommonTestUtils.java
+++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/CommonTestUtils.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.pmml.quarkus.example;
+package org.acme.dmn.pmml.quarkus.example;
import java.util.Map;
diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNMiningModelTest.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/DMNMiningModelTest.java
similarity index 97%
rename from kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNMiningModelTest.java
rename to kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/DMNMiningModelTest.java
index 6c3f656ff4..f3d2137a53 100644
--- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNMiningModelTest.java
+++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/DMNMiningModelTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.quarkus.example;
+package org.acme.dmn.pmml.quarkus.example;
import org.junit.jupiter.api.Test;
diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNRegressionTest.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/DMNRegressionTest.java
similarity index 97%
rename from kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNRegressionTest.java
rename to kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/DMNRegressionTest.java
index aa5630f267..d93c85e799 100644
--- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNRegressionTest.java
+++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/DMNRegressionTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.quarkus.example;
+package org.acme.dmn.pmml.quarkus.example;
import org.junit.jupiter.api.Test;
diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNScoreCardTest.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/DMNScoreCardTest.java
similarity index 97%
rename from kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNScoreCardTest.java
rename to kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/DMNScoreCardTest.java
index 1cc71bfd06..862fb75366 100644
--- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNScoreCardTest.java
+++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/DMNScoreCardTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.quarkus.example;
+package org.acme.dmn.pmml.quarkus.example;
import org.junit.jupiter.api.Test;
diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNTreeTest.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/DMNTreeTest.java
similarity index 97%
rename from kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNTreeTest.java
rename to kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/DMNTreeTest.java
index 45d3761a0a..bca32d9b60 100644
--- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNTreeTest.java
+++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/DMNTreeTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.quarkus.example;
+package org.acme.dmn.pmml.quarkus.example;
import org.junit.jupiter.api.Test;
diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DecisionTreeTest.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/DecisionTreeTest.java
similarity index 88%
rename from kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DecisionTreeTest.java
rename to kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/DecisionTreeTest.java
index 0482d2e654..509d485ecd 100644
--- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DecisionTreeTest.java
+++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/DecisionTreeTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.quarkus.example;
+package org.acme.dmn.pmml.quarkus.example;
import java.util.HashMap;
import java.util.Map;
@@ -23,8 +23,8 @@
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.RestAssured;
-import static org.kie.kogito.dmn.pmml.quarkus.example.CommonTestUtils.testDescriptive;
-import static org.kie.kogito.dmn.pmml.quarkus.example.CommonTestUtils.testResult;
+import static org.acme.dmn.pmml.quarkus.example.CommonTestUtils.testDescriptive;
+import static org.acme.dmn.pmml.quarkus.example.CommonTestUtils.testResult;
@QuarkusTest
class DecisionTreeTest {
diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/LinRegTest.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/LinRegTest.java
similarity index 87%
rename from kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/LinRegTest.java
rename to kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/LinRegTest.java
index cae090da03..9add7b2676 100644
--- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/LinRegTest.java
+++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/LinRegTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.quarkus.example;
+package org.acme.dmn.pmml.quarkus.example;
import java.util.Collections;
import java.util.Map;
@@ -23,8 +23,8 @@
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.RestAssured;
-import static org.kie.kogito.dmn.pmml.quarkus.example.CommonTestUtils.testDescriptive;
-import static org.kie.kogito.dmn.pmml.quarkus.example.CommonTestUtils.testResult;
+import static org.acme.dmn.pmml.quarkus.example.CommonTestUtils.testDescriptive;
+import static org.acme.dmn.pmml.quarkus.example.CommonTestUtils.testResult;
@QuarkusTest
public class LinRegTest {
diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/MiningModelTest.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/MiningModelTest.java
similarity index 87%
rename from kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/MiningModelTest.java
rename to kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/MiningModelTest.java
index 0ae7f7a31f..1a90f016be 100644
--- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/MiningModelTest.java
+++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/MiningModelTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.quarkus.example;
+package org.acme.dmn.pmml.quarkus.example;
import java.util.Collections;
import java.util.Map;
@@ -23,8 +23,8 @@
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.RestAssured;
-import static org.kie.kogito.dmn.pmml.quarkus.example.CommonTestUtils.testDescriptive;
-import static org.kie.kogito.dmn.pmml.quarkus.example.CommonTestUtils.testResult;
+import static org.acme.dmn.pmml.quarkus.example.CommonTestUtils.testDescriptive;
+import static org.acme.dmn.pmml.quarkus.example.CommonTestUtils.testResult;
@QuarkusTest
public class MiningModelTest {
diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeDMNRegressionIT.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/NativeDMNRegressionIT.java
similarity index 94%
rename from kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeDMNRegressionIT.java
rename to kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/NativeDMNRegressionIT.java
index 1c752f6d62..ae9c8d5bb5 100644
--- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeDMNRegressionIT.java
+++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/NativeDMNRegressionIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.quarkus.example;
+package org.acme.dmn.pmml.quarkus.example;
import io.quarkus.test.junit.NativeImageTest;
diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeDMNTreeIT.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/NativeDMNTreeIT.java
similarity index 94%
rename from kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeDMNTreeIT.java
rename to kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/NativeDMNTreeIT.java
index 174768ce4c..2f725fb7e8 100644
--- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeDMNTreeIT.java
+++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/NativeDMNTreeIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.quarkus.example;
+package org.acme.dmn.pmml.quarkus.example;
import io.quarkus.test.junit.NativeImageTest;
diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeDecisionTreeIT.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/NativeDecisionTreeIT.java
similarity index 94%
rename from kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeDecisionTreeIT.java
rename to kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/NativeDecisionTreeIT.java
index c227f3ff26..9bfa69daf3 100644
--- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeDecisionTreeIT.java
+++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/NativeDecisionTreeIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.quarkus.example;
+package org.acme.dmn.pmml.quarkus.example;
import io.quarkus.test.junit.NativeImageTest;
diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeLinRegIT.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/NativeLinRegIT.java
similarity index 94%
rename from kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeLinRegIT.java
rename to kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/NativeLinRegIT.java
index 1718164ec6..fc2b31e770 100644
--- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeLinRegIT.java
+++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/NativeLinRegIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.quarkus.example;
+package org.acme.dmn.pmml.quarkus.example;
import io.quarkus.test.junit.NativeImageTest;
diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/ScoreCardTest.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/ScoreCardTest.java
similarity index 88%
rename from kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/ScoreCardTest.java
rename to kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/ScoreCardTest.java
index 6e0b31b918..fd83909e8a 100644
--- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/ScoreCardTest.java
+++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/acme/dmn/pmml/quarkus/example/ScoreCardTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.quarkus.example;
+package org.acme.dmn.pmml.quarkus.example;
import java.util.Collections;
import java.util.Map;
@@ -23,8 +23,8 @@
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.RestAssured;
-import static org.kie.kogito.dmn.pmml.quarkus.example.CommonTestUtils.testDescriptive;
-import static org.kie.kogito.dmn.pmml.quarkus.example.CommonTestUtils.testResult;
+import static org.acme.dmn.pmml.quarkus.example.CommonTestUtils.testDescriptive;
+import static org.acme.dmn.pmml.quarkus.example.CommonTestUtils.testResult;
@QuarkusTest
public class ScoreCardTest {
diff --git a/kogito-quarkus-examples/dmn-quarkus-example/pom.xml b/kogito-quarkus-examples/dmn-quarkus-example/pom.xml
index 38ccc03702..c5bf7e88ca 100644
--- a/kogito-quarkus-examples/dmn-quarkus-example/pom.xml
+++ b/kogito-quarkus-examples/dmn-quarkus-example/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/dmn-quarkus-example/src/test/java/org/kie/kogito/dmn/quarkus/example/NativeTrafficViolationIT.java b/kogito-quarkus-examples/dmn-quarkus-example/src/test/java/org/acme/dmn/quarkus/example/NativeTrafficViolationIT.java
similarity index 94%
rename from kogito-quarkus-examples/dmn-quarkus-example/src/test/java/org/kie/kogito/dmn/quarkus/example/NativeTrafficViolationIT.java
rename to kogito-quarkus-examples/dmn-quarkus-example/src/test/java/org/acme/dmn/quarkus/example/NativeTrafficViolationIT.java
index cbd459afc1..bc12ed7e95 100644
--- a/kogito-quarkus-examples/dmn-quarkus-example/src/test/java/org/kie/kogito/dmn/quarkus/example/NativeTrafficViolationIT.java
+++ b/kogito-quarkus-examples/dmn-quarkus-example/src/test/java/org/acme/dmn/quarkus/example/NativeTrafficViolationIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.quarkus.example;
+package org.acme.dmn.quarkus.example;
import io.quarkus.test.junit.NativeImageTest;
diff --git a/kogito-quarkus-examples/dmn-quarkus-example/src/test/java/org/kie/kogito/dmn/quarkus/example/TrafficViolationTest.java b/kogito-quarkus-examples/dmn-quarkus-example/src/test/java/org/acme/dmn/quarkus/example/TrafficViolationTest.java
similarity index 97%
rename from kogito-quarkus-examples/dmn-quarkus-example/src/test/java/org/kie/kogito/dmn/quarkus/example/TrafficViolationTest.java
rename to kogito-quarkus-examples/dmn-quarkus-example/src/test/java/org/acme/dmn/quarkus/example/TrafficViolationTest.java
index b72795ac34..39baf3b5db 100644
--- a/kogito-quarkus-examples/dmn-quarkus-example/src/test/java/org/kie/kogito/dmn/quarkus/example/TrafficViolationTest.java
+++ b/kogito-quarkus-examples/dmn-quarkus-example/src/test/java/org/acme/dmn/quarkus/example/TrafficViolationTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.quarkus.example;
+package org.acme.dmn.quarkus.example;
import org.junit.jupiter.api.Test;
diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/pom.xml b/kogito-quarkus-examples/dmn-tracing-quarkus/pom.xml
index 07fc0c4cec..d0c440240a 100644
--- a/kogito-quarkus-examples/dmn-tracing-quarkus/pom.xml
+++ b/kogito-quarkus-examples/dmn-tracing-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/tracing/LoanEligibilityIT.java b/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/acme/dmn/quarkus/tracing/LoanEligibilityIT.java
similarity index 95%
rename from kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/tracing/LoanEligibilityIT.java
rename to kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/acme/dmn/quarkus/tracing/LoanEligibilityIT.java
index 22ade7e8f9..4b4ed75b4d 100644
--- a/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/tracing/LoanEligibilityIT.java
+++ b/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/acme/dmn/quarkus/tracing/LoanEligibilityIT.java
@@ -13,11 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.quarkus.tracing;
+package org.acme.dmn.quarkus.tracing;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
+import org.acme.dmn.quarkus.tracing.matcher.StringMatchesUUIDPattern;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
@@ -38,7 +39,6 @@
import static org.hamcrest.Matchers.is;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.fail;
-import static org.kie.kogito.dmn.quarkus.tracing.matcher.StringMatchesUUIDPattern.matchesThePatternOfAUUID;
@QuarkusTest
@QuarkusTestResource(KafkaQuarkusTestResource.class)
@@ -100,7 +100,7 @@ public void testEvaluateLoanEligibility() throws InterruptedException {
.post("/LoanEligibility")
.then()
.statusCode(200)
- .header(KOGITO_EXECUTION_ID_HEADER, matchesThePatternOfAUUID())
+ .header(KOGITO_EXECUTION_ID_HEADER, StringMatchesUUIDPattern.matchesThePatternOfAUUID())
.body("'Decide'", is(true));
countDownLatch.await(5, TimeUnit.SECONDS);
diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/tracing/NativeLoanEligibilityIT.java b/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/acme/dmn/quarkus/tracing/NativeLoanEligibilityIT.java
similarity index 95%
rename from kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/tracing/NativeLoanEligibilityIT.java
rename to kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/acme/dmn/quarkus/tracing/NativeLoanEligibilityIT.java
index 75cb111740..48b84a051d 100644
--- a/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/tracing/NativeLoanEligibilityIT.java
+++ b/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/acme/dmn/quarkus/tracing/NativeLoanEligibilityIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.quarkus.tracing;
+package org.acme.dmn.quarkus.tracing;
import org.kie.kogito.testcontainers.quarkus.KafkaQuarkusTestResource;
diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/tracing/matcher/StringMatchesUUIDPattern.java b/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/acme/dmn/quarkus/tracing/matcher/StringMatchesUUIDPattern.java
similarity index 96%
rename from kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/tracing/matcher/StringMatchesUUIDPattern.java
rename to kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/acme/dmn/quarkus/tracing/matcher/StringMatchesUUIDPattern.java
index c1f9f3398e..19ef236de9 100644
--- a/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/tracing/matcher/StringMatchesUUIDPattern.java
+++ b/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/acme/dmn/quarkus/tracing/matcher/StringMatchesUUIDPattern.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.quarkus.tracing.matcher;
+package org.acme.dmn.quarkus.tracing.matcher;
import org.hamcrest.Description;
import org.hamcrest.Matcher;
diff --git a/kogito-quarkus-examples/flexible-process-quarkus/pom.xml b/kogito-quarkus-examples/flexible-process-quarkus/pom.xml
index f59b52e1f0..ee8085a983 100644
--- a/kogito-quarkus-examples/flexible-process-quarkus/pom.xml
+++ b/kogito-quarkus-examples/flexible-process-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/Comment.java b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/model/Comment.java
similarity index 97%
rename from kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/Comment.java
rename to kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/model/Comment.java
index c6e924361e..cfbae34857 100644
--- a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/Comment.java
+++ b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/model/Comment.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.flexible.example.model;
+package org.acme.flexible.example.model;
import java.time.ZonedDateTime;
diff --git a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/Product.java b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/model/Product.java
similarity index 96%
rename from kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/Product.java
rename to kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/model/Product.java
index 9efe281bc8..a9a6e7f4e5 100644
--- a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/Product.java
+++ b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/model/Product.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.flexible.example.model;
+package org.acme.flexible.example.model;
public class Product {
diff --git a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/Questionnaire.java b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/model/Questionnaire.java
similarity index 97%
rename from kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/Questionnaire.java
rename to kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/model/Questionnaire.java
index 67d71a3b12..10d104120e 100644
--- a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/Questionnaire.java
+++ b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/model/Questionnaire.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.flexible.example.model;
+package org.acme.flexible.example.model;
import java.time.ZonedDateTime;
diff --git a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/State.java b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/model/State.java
similarity index 93%
rename from kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/State.java
rename to kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/model/State.java
index 29b47e5ed5..f0d9c410fe 100644
--- a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/State.java
+++ b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/model/State.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.flexible.example.model;
+package org.acme.flexible.example.model;
public enum State {
NEW,
diff --git a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/SupportCase.java b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/model/SupportCase.java
similarity index 95%
rename from kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/SupportCase.java
rename to kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/model/SupportCase.java
index 251a49e459..d42d930439 100644
--- a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/SupportCase.java
+++ b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/model/SupportCase.java
@@ -13,21 +13,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.flexible.example.model;
+package org.acme.flexible.example.model;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
-import static org.kie.kogito.flexible.example.model.State.NEW;
-
public class SupportCase {
private Product product;
private String description;
private String engineer;
private String customer;
- private State state = NEW;
+ private State state = State.NEW;
private List comments;
private Questionnaire questionnaire;
diff --git a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/service/CommentService.java b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/service/CommentService.java
similarity index 71%
rename from kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/service/CommentService.java
rename to kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/service/CommentService.java
index 70061b61cb..b79dcb0c27 100644
--- a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/service/CommentService.java
+++ b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/service/CommentService.java
@@ -13,26 +13,23 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.flexible.example.service;
+package org.acme.flexible.example.service;
import javax.enterprise.context.ApplicationScoped;
-import org.kie.kogito.flexible.example.model.Comment;
-import org.kie.kogito.flexible.example.model.State;
-import org.kie.kogito.flexible.example.model.SupportCase;
-
-import static org.kie.kogito.flexible.example.model.State.WAITING_FOR_CUSTOMER;
-import static org.kie.kogito.flexible.example.model.State.WAITING_FOR_OWNER;
+import org.acme.flexible.example.model.Comment;
+import org.acme.flexible.example.model.State;
+import org.acme.flexible.example.model.SupportCase;
@ApplicationScoped
public class CommentService {
public SupportCase addCustomerComment(SupportCase supportCase, String comment, String author) {
- return addComment(supportCase, author, comment, WAITING_FOR_OWNER);
+ return addComment(supportCase, author, comment, State.WAITING_FOR_OWNER);
}
public SupportCase addSupportComment(SupportCase supportCase, String comment, String author) {
- return addComment(supportCase, author, comment, WAITING_FOR_CUSTOMER);
+ return addComment(supportCase, author, comment, State.WAITING_FOR_CUSTOMER);
}
private SupportCase addComment(SupportCase supportCase, String author, String comment, State newState) {
diff --git a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/service/StateService.java b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/service/StateService.java
similarity index 84%
rename from kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/service/StateService.java
rename to kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/service/StateService.java
index 68d512c101..f2fb019f1c 100644
--- a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/service/StateService.java
+++ b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/service/StateService.java
@@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.flexible.example.service;
+package org.acme.flexible.example.service;
import javax.enterprise.context.ApplicationScoped;
-import org.kie.kogito.flexible.example.model.Questionnaire;
-import org.kie.kogito.flexible.example.model.State;
-import org.kie.kogito.flexible.example.model.SupportCase;
+import org.acme.flexible.example.model.Questionnaire;
+import org.acme.flexible.example.model.State;
+import org.acme.flexible.example.model.SupportCase;
@ApplicationScoped
public class StateService {
diff --git a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/service/TriageService.java b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/service/TriageService.java
similarity index 93%
rename from kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/service/TriageService.java
rename to kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/service/TriageService.java
index 2f98e73717..6c0de6bc8f 100644
--- a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/service/TriageService.java
+++ b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/acme/flexible/example/service/TriageService.java
@@ -13,14 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.flexible.example.service;
+package org.acme.flexible.example.service;
import java.util.Random;
import javax.enterprise.context.ApplicationScoped;
-import org.kie.kogito.flexible.example.model.State;
-import org.kie.kogito.flexible.example.model.SupportCase;
+import org.acme.flexible.example.model.State;
+import org.acme.flexible.example.model.SupportCase;
@ApplicationScoped
public class TriageService {
diff --git a/kogito-quarkus-examples/flexible-process-quarkus/src/main/resources/service-desk.bpmn b/kogito-quarkus-examples/flexible-process-quarkus/src/main/resources/service-desk.bpmn
index b172529784..1823b8534d 100644
--- a/kogito-quarkus-examples/flexible-process-quarkus/src/main/resources/service-desk.bpmn
+++ b/kogito-quarkus-examples/flexible-process-quarkus/src/main/resources/service-desk.bpmn
@@ -1,17 +1,17 @@
-
+
-
+
-
+
-
-
+
+
-
+
@@ -56,10 +56,10 @@
-
+
-
+
@@ -72,42 +72,42 @@
-
-
-
+
+
+
-
-
+
+
-
+
-
-
-
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -167,7 +167,7 @@
-
+
@@ -175,8 +175,8 @@
_C651F6F2-8C0D-4E9A-94B3-0BB337536F51
-
-
+
+ _5DCB19C5-63B3-4846-A8C7-9E383306E915_supportCaseInputX
@@ -296,7 +296,7 @@
supportGroup
-
+
@@ -305,9 +305,9 @@
_4D493B33-AE13-464F-B7F5-4A7A9A9044BA_5CF61231-028A-4E4A-AC50-01C1737FEC0A
-
+
-
+ _D17F5E0D-779E-4AF4-9E33-6E37D8F54DA7_supportCaseInputX_D17F5E0D-779E-4AF4-9E33-6E37D8F54DA7_supportGroupInputX
@@ -337,7 +337,7 @@
_6B10C12D-99D4-4758-B2D3-32D8E527A287_28168759-AF8E-47D3-9FEA-8095507ABEB7
-
+
@@ -345,9 +345,9 @@
_DBE81078-2C21-4128-ADDE-CA5E170F0792
-
+
-
+ _26E99F98-8E2E-4321-98A7-BE7570FF0BD2_supportCaseInputX_26E99F98-8E2E-4321-98A7-BE7570FF0BD2_supportGroupInputX
@@ -382,10 +382,10 @@
_DBE81078-2C21-4128-ADDE-CA5E170F0792
-
+
-
+ _BACB7C86-E7FA-4E2B-931A-CC02C812A698_TaskNameInputX_BACB7C86-E7FA-4E2B-931A-CC02C812A698_supportCaseInputX
@@ -448,7 +448,7 @@
-
+
@@ -456,10 +456,10 @@
_56AFC157-45AE-44E0-A94D-52AE95EFC74B
-
+
-
+ _BEAA2A42-CD36-4A08-BB42-4823EAA5C137_supportCaseInputX_BEAA2A42-CD36-4A08-BB42-4823EAA5C137_evaluationInputX
@@ -667,7 +667,7 @@
author
-
+
@@ -675,10 +675,10 @@
_D49DA468-8A7B-4688-A8DB-5B09D1AE22B1
-
+
-
+ _5B1A92B6-7044-4C8B-9011-62CD592F255F_supportCaseInputX_5B1A92B6-7044-4C8B-9011-62CD592F255F_commentInputX
@@ -705,7 +705,7 @@
supportCase
-
+
@@ -713,10 +713,10 @@
_021482FA-6264-4060-B11B-ABD91159122A
-
+
-
+ _D514F716-3F06-468F-A487-892F6089C776_supportCaseInputX_D514F716-3F06-468F-A487-892F6089C776_commentInputX
@@ -743,7 +743,7 @@
supportCase
-
+
diff --git a/kogito-quarkus-examples/flexible-process-quarkus/src/test/java/org/kie/kogito/flexible/example/quarkus/ServiceDeskProcessTest.java b/kogito-quarkus-examples/flexible-process-quarkus/src/test/java/org/acme/flexible/example/quarkus/ServiceDeskProcessTest.java
similarity index 96%
rename from kogito-quarkus-examples/flexible-process-quarkus/src/test/java/org/kie/kogito/flexible/example/quarkus/ServiceDeskProcessTest.java
rename to kogito-quarkus-examples/flexible-process-quarkus/src/test/java/org/acme/flexible/example/quarkus/ServiceDeskProcessTest.java
index 085ece400b..5002eebc87 100644
--- a/kogito-quarkus-examples/flexible-process-quarkus/src/test/java/org/kie/kogito/flexible/example/quarkus/ServiceDeskProcessTest.java
+++ b/kogito-quarkus-examples/flexible-process-quarkus/src/test/java/org/acme/flexible/example/quarkus/ServiceDeskProcessTest.java
@@ -13,17 +13,17 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.flexible.example.quarkus;
+package org.acme.flexible.example.quarkus;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
+import org.acme.flexible.example.model.Product;
+import org.acme.flexible.example.model.State;
+import org.acme.flexible.example.model.SupportCase;
+import org.acme.flexible.example.service.TriageService;
import org.junit.jupiter.api.Test;
-import org.kie.kogito.flexible.example.model.Product;
-import org.kie.kogito.flexible.example.model.State;
-import org.kie.kogito.flexible.example.model.SupportCase;
-import org.kie.kogito.flexible.example.service.TriageService;
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.RestAssured;
diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/pom.xml b/kogito-quarkus-examples/kogito-travel-agency/basic/pom.xml
index ef3c38177f..0952f99a02 100644
--- a/kogito-quarkus-examples/kogito-travel-agency/basic/pom.xml
+++ b/kogito-quarkus-examples/kogito-travel-agency/basic/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-travel-agency-example2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/pom.xml b/kogito-quarkus-examples/kogito-travel-agency/extended/pom.xml
index c95c812518..22d75863f6 100644
--- a/kogito-quarkus-examples/kogito-travel-agency/extended/pom.xml
+++ b/kogito-quarkus-examples/kogito-travel-agency/extended/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-travel-agency-example2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/pom.xml b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/pom.xml
index 7495c8277f..6a66f9cf5e 100644
--- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/pom.xml
+++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-travel-agency-example-extended2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/kie/kogito/app/VertxRouter.java b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/app/VertxRouter.java
similarity index 98%
rename from kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/kie/kogito/app/VertxRouter.java
rename to kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/app/VertxRouter.java
index 5a5f7ed9b4..7032a2efc0 100644
--- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/kie/kogito/app/VertxRouter.java
+++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/app/VertxRouter.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.app;
+package org.acme.app;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.event.Observes;
diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/pom.xml b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/pom.xml
index 8e8342f2a6..92018856e5 100644
--- a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/pom.xml
+++ b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-travel-agency-example-extended2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/kie/kogito/app/ProcessEventListenerConfig.java b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/acme/app/ProcessEventListenerConfig.java
similarity index 98%
rename from kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/kie/kogito/app/ProcessEventListenerConfig.java
rename to kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/acme/app/ProcessEventListenerConfig.java
index e49595a347..bd0b973b30 100644
--- a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/kie/kogito/app/ProcessEventListenerConfig.java
+++ b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/acme/app/ProcessEventListenerConfig.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.app;
+package org.acme.app;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/kie/kogito/app/VertxRouter.java b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/acme/app/VertxRouter.java
similarity index 98%
rename from kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/kie/kogito/app/VertxRouter.java
rename to kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/acme/app/VertxRouter.java
index 20705faa7f..868ac07a23 100644
--- a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/kie/kogito/app/VertxRouter.java
+++ b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/acme/app/VertxRouter.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.app;
+package org.acme.app;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.event.Observes;
diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/kie/kogito/app/VisaApplicationPrometheusProcessEventListener.java b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/acme/app/VisaApplicationPrometheusProcessEventListener.java
similarity index 99%
rename from kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/kie/kogito/app/VisaApplicationPrometheusProcessEventListener.java
rename to kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/acme/app/VisaApplicationPrometheusProcessEventListener.java
index 2cc9c2589f..7a500426e8 100644
--- a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/kie/kogito/app/VisaApplicationPrometheusProcessEventListener.java
+++ b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/acme/app/VisaApplicationPrometheusProcessEventListener.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.app;
+package org.acme.app;
import java.util.Arrays;
diff --git a/kogito-quarkus-examples/kogito-travel-agency/pom.xml b/kogito-quarkus-examples/kogito-travel-agency/pom.xml
index 57f6d1b31d..ee635a998a 100644
--- a/kogito-quarkus-examples/kogito-travel-agency/pom.xml
+++ b/kogito-quarkus-examples/kogito-travel-agency/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/onboarding-example/hr/pom.xml b/kogito-quarkus-examples/onboarding-example/hr/pom.xml
index e3d2c3b14a..2d54e38960 100644
--- a/kogito-quarkus-examples/onboarding-example/hr/pom.xml
+++ b/kogito-quarkus-examples/onboarding-example/hr/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesonboarding-example2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/Address.java b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/Address.java
similarity index 98%
rename from kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/Address.java
rename to kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/Address.java
index 94a7ba8b44..4bb3f6a879 100644
--- a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/Address.java
+++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/Address.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.hr;
+package org.acme.examples.hr;
/**
* This class was automatically generated by the data modeler tool.
diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/Department.java b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/Department.java
similarity index 96%
rename from kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/Department.java
rename to kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/Department.java
index 6a81ab81b8..8c6a220493 100644
--- a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/Department.java
+++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/Department.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.hr;
+package org.acme.examples.hr;
import org.drools.ruleunits.api.DataSource;
import org.drools.ruleunits.api.RuleUnitData;
diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/DepartmentModel.java b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/DepartmentModel.java
similarity index 83%
rename from kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/DepartmentModel.java
rename to kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/DepartmentModel.java
index 01d41385c6..cac635d8c2 100644
--- a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/DepartmentModel.java
+++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/DepartmentModel.java
@@ -13,17 +13,17 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.hr;
+package org.acme.examples.hr;
public class DepartmentModel {
- private org.kie.kogito.examples.hr.Employee employee;
+ private Employee employee;
- public org.kie.kogito.examples.hr.Employee getEmployee() {
+ public Employee getEmployee() {
return employee;
}
- public void setEmployee(org.kie.kogito.examples.hr.Employee employee) {
+ public void setEmployee(Employee employee) {
this.employee = employee;
}
diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/Employee.java b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/Employee.java
similarity index 89%
rename from kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/Employee.java
rename to kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/Employee.java
index 14c0638513..deebc384d0 100644
--- a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/Employee.java
+++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/Employee.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.hr;
+package org.acme.examples.hr;
public class Employee implements java.io.Serializable {
@@ -24,7 +24,7 @@ public class Employee implements java.io.Serializable {
private java.lang.String personalId;
private java.util.Date birthDate;
- private org.kie.kogito.examples.hr.Address address;
+ private Address address;
public Employee() {
}
@@ -61,11 +61,11 @@ public void setBirthDate(java.util.Date birthDate) {
this.birthDate = birthDate;
}
- public org.kie.kogito.examples.hr.Address getAddress() {
+ public Address getAddress() {
return this.address;
}
- public void setAddress(org.kie.kogito.examples.hr.Address address) {
+ public void setAddress(Address address) {
this.address = address;
}
@@ -91,7 +91,7 @@ public void setDepartment(java.lang.String department) {
public Employee(java.lang.String firstName, java.lang.String lastName,
java.lang.String personalId, java.util.Date birthDate,
- org.kie.kogito.examples.hr.Address address) {
+ Address address) {
this.firstName = firstName;
this.lastName = lastName;
this.personalId = personalId;
diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/EmployeeRepository.java b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/EmployeeRepository.java
similarity index 97%
rename from kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/EmployeeRepository.java
rename to kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/EmployeeRepository.java
index 40c3c4ce67..1782cc3dc4 100644
--- a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/EmployeeRepository.java
+++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/EmployeeRepository.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.hr;
+package org.acme.examples.hr;
import java.util.HashSet;
import java.util.Set;
diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/EmployeeValidation.java b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/EmployeeValidation.java
similarity index 97%
rename from kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/EmployeeValidation.java
rename to kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/EmployeeValidation.java
index 716517e158..1342194b9f 100644
--- a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/EmployeeValidation.java
+++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/EmployeeValidation.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.hr;
+package org.acme.examples.hr;
import org.drools.ruleunits.api.DataSource;
import org.drools.ruleunits.api.RuleUnitData;
diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/EmployeeValidationModel.java b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/EmployeeValidationModel.java
similarity index 85%
rename from kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/EmployeeValidationModel.java
rename to kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/EmployeeValidationModel.java
index d0fc58b177..718e2b6ea7 100644
--- a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/EmployeeValidationModel.java
+++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/EmployeeValidationModel.java
@@ -13,17 +13,17 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.hr;
+package org.acme.examples.hr;
public class EmployeeValidationModel {
- private org.kie.kogito.examples.hr.Employee employee;
+ private Employee employee;
- public org.kie.kogito.examples.hr.Employee getEmployee() {
+ public Employee getEmployee() {
return employee;
}
- public void setEmployee(org.kie.kogito.examples.hr.Employee employee) {
+ public void setEmployee(Employee employee) {
this.employee = employee;
}
diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/IdModel.java b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/IdModel.java
similarity index 83%
rename from kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/IdModel.java
rename to kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/IdModel.java
index cb356501d5..f4335b6a7d 100644
--- a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/IdModel.java
+++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/IdModel.java
@@ -13,17 +13,17 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.hr;
+package org.acme.examples.hr;
public class IdModel {
- private org.kie.kogito.examples.hr.Employee employee;
+ private Employee employee;
- public org.kie.kogito.examples.hr.Employee getEmployee() {
+ public Employee getEmployee() {
return employee;
}
- public void setEmployee(org.kie.kogito.examples.hr.Employee employee) {
+ public void setEmployee(Employee employee) {
this.employee = employee;
}
diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/IdResource.java b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/IdResource.java
similarity index 96%
rename from kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/IdResource.java
rename to kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/IdResource.java
index b34a44c828..0e602288ff 100644
--- a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/IdResource.java
+++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/acme/examples/hr/IdResource.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.hr;
+package org.acme.examples.hr;
import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/resources/org/kie/kogito/examples/hr/department.drl b/kogito-quarkus-examples/onboarding-example/hr/src/main/resources/org/acme/examples/hr/department.drl
similarity index 97%
rename from kogito-quarkus-examples/onboarding-example/hr/src/main/resources/org/kie/kogito/examples/hr/department.drl
rename to kogito-quarkus-examples/onboarding-example/hr/src/main/resources/org/acme/examples/hr/department.drl
index 486b1b9d24..6370350dd8 100644
--- a/kogito-quarkus-examples/onboarding-example/hr/src/main/resources/org/kie/kogito/examples/hr/department.drl
+++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/resources/org/acme/examples/hr/department.drl
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.hr
+package org.acme.examples.hr
unit Department;
query department
diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/resources/org/kie/kogito/examples/hr/employeeValidation.drl b/kogito-quarkus-examples/onboarding-example/hr/src/main/resources/org/acme/examples/hr/employeeValidation.drl
similarity index 97%
rename from kogito-quarkus-examples/onboarding-example/hr/src/main/resources/org/kie/kogito/examples/hr/employeeValidation.drl
rename to kogito-quarkus-examples/onboarding-example/hr/src/main/resources/org/acme/examples/hr/employeeValidation.drl
index 3c13c020be..82d5e60fec 100644
--- a/kogito-quarkus-examples/onboarding-example/hr/src/main/resources/org/kie/kogito/examples/hr/employeeValidation.drl
+++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/resources/org/acme/examples/hr/employeeValidation.drl
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.hr;
+package org.acme.examples.hr;
unit EmployeeValidation;
query employeeValidation
diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/test/java/org/kie/kogito/examples/hr/DepartmentTest.java b/kogito-quarkus-examples/onboarding-example/hr/src/test/java/org/acme/examples/hr/DepartmentTest.java
similarity index 97%
rename from kogito-quarkus-examples/onboarding-example/hr/src/test/java/org/kie/kogito/examples/hr/DepartmentTest.java
rename to kogito-quarkus-examples/onboarding-example/hr/src/test/java/org/acme/examples/hr/DepartmentTest.java
index 573df95423..4feb74ea8e 100644
--- a/kogito-quarkus-examples/onboarding-example/hr/src/test/java/org/kie/kogito/examples/hr/DepartmentTest.java
+++ b/kogito-quarkus-examples/onboarding-example/hr/src/test/java/org/acme/examples/hr/DepartmentTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.hr;
+package org.acme.examples.hr;
import org.junit.jupiter.api.Test;
diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/test/java/org/kie/kogito/examples/hr/EmployeeValidationTest.java b/kogito-quarkus-examples/onboarding-example/hr/src/test/java/org/acme/examples/hr/EmployeeValidationTest.java
similarity index 97%
rename from kogito-quarkus-examples/onboarding-example/hr/src/test/java/org/kie/kogito/examples/hr/EmployeeValidationTest.java
rename to kogito-quarkus-examples/onboarding-example/hr/src/test/java/org/acme/examples/hr/EmployeeValidationTest.java
index ad779ba07b..ca25f39f2b 100644
--- a/kogito-quarkus-examples/onboarding-example/hr/src/test/java/org/kie/kogito/examples/hr/EmployeeValidationTest.java
+++ b/kogito-quarkus-examples/onboarding-example/hr/src/test/java/org/acme/examples/hr/EmployeeValidationTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.hr;
+package org.acme.examples.hr;
import org.junit.jupiter.api.Test;
diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/pom.xml b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/pom.xml
index 18712bc1c0..4801153dce 100644
--- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/pom.xml
+++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesonboarding-example2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/BaseWorkItemHandlerConfig.java b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/acme/examples/BaseWorkItemHandlerConfig.java
similarity index 97%
rename from kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/BaseWorkItemHandlerConfig.java
rename to kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/acme/examples/BaseWorkItemHandlerConfig.java
index cf8e63d123..58950f438c 100644
--- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/BaseWorkItemHandlerConfig.java
+++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/acme/examples/BaseWorkItemHandlerConfig.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.util.ArrayList;
import java.util.Arrays;
@@ -25,12 +25,12 @@
import javax.annotation.PostConstruct;
import javax.inject.Inject;
+import org.acme.examples.onboarding.DecisionTaskWorkItemHandler;
import org.eclipse.microprofile.config.inject.ConfigProperty;
import org.kie.kogito.addons.k8s.Endpoint;
import org.kie.kogito.addons.k8s.EndpointQueryKey;
import org.kie.kogito.addons.k8s.LocalEndpointDiscovery;
import org.kie.kogito.addons.quarkus.k8s.workitems.QuarkusDiscoveredEndpointCaller;
-import org.kie.kogito.examples.onboarding.DecisionTaskWorkItemHandler;
import org.kie.kogito.internal.process.runtime.KogitoWorkItemHandler;
import org.kie.kogito.process.impl.DefaultWorkItemHandlerConfig;
diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/WorkItemHandlerConfig.java b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/acme/examples/WorkItemHandlerConfig.java
similarity index 95%
rename from kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/WorkItemHandlerConfig.java
rename to kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/acme/examples/WorkItemHandlerConfig.java
index a56957ec57..94380745a5 100644
--- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/WorkItemHandlerConfig.java
+++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/acme/examples/WorkItemHandlerConfig.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import javax.enterprise.context.ApplicationScoped;
diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/Address.java b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/acme/examples/onboarding/Address.java
similarity index 97%
rename from kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/Address.java
rename to kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/acme/examples/onboarding/Address.java
index e96eef01e6..b834e1b17c 100644
--- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/Address.java
+++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/acme/examples/onboarding/Address.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.onboarding;
+package org.acme.examples.onboarding;
/**
* This class was automatically generated by the data modeler tool.
diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/DecisionTaskWorkItemHandler.java b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/acme/examples/onboarding/DecisionTaskWorkItemHandler.java
similarity index 97%
rename from kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/DecisionTaskWorkItemHandler.java
rename to kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/acme/examples/onboarding/DecisionTaskWorkItemHandler.java
index 5caf31508f..b827fc80fb 100644
--- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/DecisionTaskWorkItemHandler.java
+++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/acme/examples/onboarding/DecisionTaskWorkItemHandler.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.onboarding;
+package org.acme.examples.onboarding;
import java.util.Map;
diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/Employee.java b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/acme/examples/onboarding/Employee.java
similarity index 86%
rename from kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/Employee.java
rename to kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/acme/examples/onboarding/Employee.java
index 8aaab4b07a..44e6c2b905 100644
--- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/Employee.java
+++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/acme/examples/onboarding/Employee.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.onboarding;
+package org.acme.examples.onboarding;
/**
* This class was automatically generated by the data modeler tool.
@@ -28,7 +28,7 @@ public class Employee implements java.io.Serializable {
private java.lang.String personalId;
private java.util.Date birthDate;
- private org.kie.kogito.examples.onboarding.Address address;
+ private Address address;
public Employee() {
}
@@ -65,17 +65,17 @@ public void setBirthDate(java.util.Date birthDate) {
this.birthDate = birthDate;
}
- public org.kie.kogito.examples.onboarding.Address getAddress() {
+ public Address getAddress() {
return this.address;
}
- public void setAddress(org.kie.kogito.examples.onboarding.Address address) {
+ public void setAddress(Address address) {
this.address = address;
}
public Employee(java.lang.String firstName, java.lang.String lastName,
java.lang.String personalId, java.util.Date birthDate,
- org.kie.kogito.examples.onboarding.Address address) {
+ Address address) {
this.firstName = firstName;
this.lastName = lastName;
this.personalId = personalId;
diff --git a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/Payroll.java b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/acme/examples/onboarding/Payroll.java
similarity index 97%
rename from kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/Payroll.java
rename to kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/acme/examples/onboarding/Payroll.java
index d3a99a24e7..60655f3fa8 100644
--- a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/Payroll.java
+++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/acme/examples/onboarding/Payroll.java
@@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.onboarding;
+package org.acme.examples.onboarding;
import com.fasterxml.jackson.annotation.JsonFormat;
/**
* This class was automatically generated by the data modeler tool.
*/
+
public class Payroll implements java.io.Serializable {
static final long serialVersionUID = 1L;
diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/kie/kogito/examples/onboarding/DecisionTasks.wid b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/acme/examples/onboarding/DecisionTasks.wid
similarity index 100%
rename from kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/kie/kogito/examples/onboarding/DecisionTasks.wid
rename to kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/acme/examples/onboarding/DecisionTasks.wid
diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/kie/kogito/examples/onboarding/onboarding.bpmn b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/acme/examples/onboarding/onboarding.bpmn
similarity index 95%
rename from kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/kie/kogito/examples/onboarding/onboarding.bpmn
rename to kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/acme/examples/onboarding/onboarding.bpmn
index c82b0acf00..a472a9b3ce 100644
--- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/kie/kogito/examples/onboarding/onboarding.bpmn
+++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/acme/examples/onboarding/onboarding.bpmn
@@ -1,7 +1,7 @@
-
-
+
+
@@ -13,15 +13,15 @@
-
-
+
+
-
+
-
+
@@ -32,15 +32,15 @@
-
+
-
+
-
+
@@ -125,9 +125,9 @@
_44ABA3C5-9A26-4843-B03B-99C2C0251707
-
+
-
+
@@ -209,7 +209,7 @@
_D5E3808E-4D68-4B8F-939D-17C7643E58FD_D32B4A20-53D1-46F3-95F6-276A2392931F
-
+
@@ -248,7 +248,7 @@
-
+
@@ -314,8 +314,8 @@
_DF6979D3-AFD3-4BC8-A866-8B9214F7F0FB_BB67B9E9-611B-4B17-A6F9-3CD4DCA4B249
-
-
+
+ _9D7A4927-BFCB-4F17-A4D4-E3D03B3FBE49_employeeInputX
@@ -353,7 +353,7 @@
-
+
diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/kie/kogito/examples/onboarding/setupHR.bpmn b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/acme/examples/onboarding/setupHR.bpmn
similarity index 96%
rename from kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/kie/kogito/examples/onboarding/setupHR.bpmn
rename to kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/acme/examples/onboarding/setupHR.bpmn
index 6197ea0873..e5ecbd9828 100644
--- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/kie/kogito/examples/onboarding/setupHR.bpmn
+++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/acme/examples/onboarding/setupHR.bpmn
@@ -1,15 +1,15 @@
-
+
-
+
-
+
@@ -50,7 +50,7 @@
-
+
diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/kie/kogito/examples/onboarding/setupPayroll.bpmn b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/acme/examples/onboarding/setupPayroll.bpmn
similarity index 96%
rename from kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/kie/kogito/examples/onboarding/setupPayroll.bpmn
rename to kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/acme/examples/onboarding/setupPayroll.bpmn
index 1b8d288b15..09f2350df7 100644
--- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/kie/kogito/examples/onboarding/setupPayroll.bpmn
+++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/org/acme/examples/onboarding/setupPayroll.bpmn
@@ -1,27 +1,27 @@
-
-
+
+
-
+
-
+
-
+
-
+
@@ -96,7 +96,7 @@
-
+
@@ -172,7 +172,7 @@
-
+
@@ -243,7 +243,7 @@
-
+
@@ -302,7 +302,7 @@
_7B55F281-D560-4130-88C9-177C960E8682SequenceFlow_3
- org.kie.kogito.examples.onboarding.Payroll empPayroll = new org.kie.kogito.examples.onboarding.Payroll(vacationDays, taxRate, paymentDate);
+ org.acme.examples.onboarding.Payroll empPayroll = new org.acme.examples.onboarding.Payroll(vacationDays, taxRate, paymentDate);
kcontext.setVariable("payroll", empPayroll);
diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/kie/kogito/examples/WorkItemHandlerConfig.java b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/acme/examples/WorkItemHandlerConfig.java
similarity index 91%
rename from kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/kie/kogito/examples/WorkItemHandlerConfig.java
rename to kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/acme/examples/WorkItemHandlerConfig.java
index e773e73879..8f3ebe2026 100644
--- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/kie/kogito/examples/WorkItemHandlerConfig.java
+++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/acme/examples/WorkItemHandlerConfig.java
@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
-import org.kie.kogito.examples.test.RecordedOutputWorkItemHandler;
+import org.acme.examples.test.RecordedOutputWorkItemHandler;
import org.kie.kogito.internal.process.runtime.KogitoWorkItemHandler;
public class WorkItemHandlerConfig extends BaseWorkItemHandlerConfig {
diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/kie/kogito/examples/onboarding/OnboardingEndpointIT.java b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/acme/examples/onboarding/OnboardingEndpointIT.java
similarity index 98%
rename from kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/kie/kogito/examples/onboarding/OnboardingEndpointIT.java
rename to kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/acme/examples/onboarding/OnboardingEndpointIT.java
index 31e5150554..e933b09dfc 100644
--- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/kie/kogito/examples/onboarding/OnboardingEndpointIT.java
+++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/acme/examples/onboarding/OnboardingEndpointIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.onboarding;
+package org.acme.examples.onboarding;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
@@ -25,8 +25,8 @@
import javax.inject.Inject;
+import org.acme.examples.test.RecordedOutputWorkItemHandler;
import org.junit.jupiter.api.Test;
-import org.kie.kogito.examples.test.RecordedOutputWorkItemHandler;
import org.kie.kogito.internal.process.runtime.KogitoWorkItem;
import org.kie.kogito.internal.process.runtime.KogitoWorkItemHandler;
import org.kie.kogito.process.ProcessConfig;
diff --git a/kogito-springboot-examples/onboarding-springboot/src/test/java/org/kie/kogito/examples/test/RecordedOutputWorkItemHandler.java b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/acme/examples/test/RecordedOutputWorkItemHandler.java
similarity index 97%
rename from kogito-springboot-examples/onboarding-springboot/src/test/java/org/kie/kogito/examples/test/RecordedOutputWorkItemHandler.java
rename to kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/acme/examples/test/RecordedOutputWorkItemHandler.java
index 98c20ea8b5..ddbaef6549 100644
--- a/kogito-springboot-examples/onboarding-springboot/src/test/java/org/kie/kogito/examples/test/RecordedOutputWorkItemHandler.java
+++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/acme/examples/test/RecordedOutputWorkItemHandler.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.test;
+package org.acme.examples.test;
import java.util.HashMap;
import java.util.Map;
diff --git a/kogito-quarkus-examples/onboarding-example/payroll/pom.xml b/kogito-quarkus-examples/onboarding-example/payroll/pom.xml
index dc3a6cfa0e..ac1383c13b 100644
--- a/kogito-quarkus-examples/onboarding-example/payroll/pom.xml
+++ b/kogito-quarkus-examples/onboarding-example/payroll/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesonboarding-example2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/kie/kogito/examples/payroll/Address.java b/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/acme/examples/payroll/Address.java
similarity index 97%
rename from kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/kie/kogito/examples/payroll/Address.java
rename to kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/acme/examples/payroll/Address.java
index 557708a351..dff65fe766 100644
--- a/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/kie/kogito/examples/payroll/Address.java
+++ b/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/acme/examples/payroll/Address.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.payroll;
+package org.acme.examples.payroll;
/**
* This class was automatically generated by the data modeler tool.
diff --git a/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/kie/kogito/examples/payroll/Employee.java b/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/acme/examples/payroll/Employee.java
similarity index 87%
rename from kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/kie/kogito/examples/payroll/Employee.java
rename to kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/acme/examples/payroll/Employee.java
index ea74fae3c7..86f887ab64 100644
--- a/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/kie/kogito/examples/payroll/Employee.java
+++ b/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/acme/examples/payroll/Employee.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.payroll;
+package org.acme.examples.payroll;
/**
* This class was automatically generated by the data modeler tool.
@@ -28,7 +28,7 @@ public class Employee implements java.io.Serializable {
private java.lang.String personalId;
private java.util.Date birthDate;
- private org.kie.kogito.examples.payroll.Address address;
+ private Address address;
public Employee() {
}
@@ -65,17 +65,17 @@ public void setBirthDate(java.util.Date birthDate) {
this.birthDate = birthDate;
}
- public org.kie.kogito.examples.payroll.Address getAddress() {
+ public Address getAddress() {
return this.address;
}
- public void setAddress(org.kie.kogito.examples.payroll.Address address) {
+ public void setAddress(Address address) {
this.address = address;
}
public Employee(java.lang.String firstName, java.lang.String lastName,
java.lang.String personalId, java.util.Date birthDate,
- org.kie.kogito.examples.payroll.Address address) {
+ Address address) {
this.firstName = firstName;
this.lastName = lastName;
this.personalId = personalId;
diff --git a/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/kie/kogito/examples/payroll/Payroll.java b/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/acme/examples/payroll/Payroll.java
similarity index 87%
rename from kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/kie/kogito/examples/payroll/Payroll.java
rename to kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/acme/examples/payroll/Payroll.java
index c5a3844acf..32ebb3fae7 100644
--- a/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/kie/kogito/examples/payroll/Payroll.java
+++ b/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/acme/examples/payroll/Payroll.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.payroll;
+package org.acme.examples.payroll;
/**
* This class was automatically generated by the data modeler tool.
@@ -27,13 +27,13 @@ public class Payroll implements java.io.Serializable {
private java.math.BigDecimal taxRate;
private String paymentDate;
- private org.kie.kogito.examples.payroll.Employee employee;
+ private Employee employee;
- public org.kie.kogito.examples.payroll.Employee getEmployee() {
+ public Employee getEmployee() {
return employee;
}
- public void setEmployee(org.kie.kogito.examples.payroll.Employee employee) {
+ public void setEmployee(Employee employee) {
this.employee = employee;
}
diff --git a/kogito-quarkus-examples/onboarding-example/payroll/src/main/resources/org/kie/kogito/examples/payroll/paymentDate.dmn b/kogito-quarkus-examples/onboarding-example/payroll/src/main/resources/org/acme/examples/payroll/paymentDate.dmn
similarity index 100%
rename from kogito-quarkus-examples/onboarding-example/payroll/src/main/resources/org/kie/kogito/examples/payroll/paymentDate.dmn
rename to kogito-quarkus-examples/onboarding-example/payroll/src/main/resources/org/acme/examples/payroll/paymentDate.dmn
diff --git a/kogito-quarkus-examples/onboarding-example/payroll/src/main/resources/org/kie/kogito/examples/payroll/taxRate.dmn b/kogito-quarkus-examples/onboarding-example/payroll/src/main/resources/org/acme/examples/payroll/taxRate.dmn
similarity index 100%
rename from kogito-quarkus-examples/onboarding-example/payroll/src/main/resources/org/kie/kogito/examples/payroll/taxRate.dmn
rename to kogito-quarkus-examples/onboarding-example/payroll/src/main/resources/org/acme/examples/payroll/taxRate.dmn
diff --git a/kogito-quarkus-examples/onboarding-example/payroll/src/main/resources/org/kie/kogito/examples/payroll/vacationDays.dmn b/kogito-quarkus-examples/onboarding-example/payroll/src/main/resources/org/acme/examples/payroll/vacationDays.dmn
similarity index 100%
rename from kogito-quarkus-examples/onboarding-example/payroll/src/main/resources/org/kie/kogito/examples/payroll/vacationDays.dmn
rename to kogito-quarkus-examples/onboarding-example/payroll/src/main/resources/org/acme/examples/payroll/vacationDays.dmn
diff --git a/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/kie/kogito/examples/payroll/PaymentDateTest.java b/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/acme/examples/payroll/PaymentDateTest.java
similarity index 97%
rename from kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/kie/kogito/examples/payroll/PaymentDateTest.java
rename to kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/acme/examples/payroll/PaymentDateTest.java
index 5fe388f31f..0ea42bda98 100644
--- a/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/kie/kogito/examples/payroll/PaymentDateTest.java
+++ b/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/acme/examples/payroll/PaymentDateTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.payroll;
+package org.acme.examples.payroll;
import org.junit.jupiter.api.Test;
diff --git a/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/kie/kogito/examples/payroll/TaxRateTest.java b/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/acme/examples/payroll/TaxRateTest.java
similarity index 97%
rename from kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/kie/kogito/examples/payroll/TaxRateTest.java
rename to kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/acme/examples/payroll/TaxRateTest.java
index 78184da510..4b45c58895 100644
--- a/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/kie/kogito/examples/payroll/TaxRateTest.java
+++ b/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/acme/examples/payroll/TaxRateTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.payroll;
+package org.acme.examples.payroll;
import org.junit.jupiter.api.Test;
diff --git a/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/kie/kogito/examples/payroll/VacationDaysTest.java b/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/acme/examples/payroll/VacationDaysTest.java
similarity index 97%
rename from kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/kie/kogito/examples/payroll/VacationDaysTest.java
rename to kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/acme/examples/payroll/VacationDaysTest.java
index 48f2b2d5d5..af7c0bf7ee 100644
--- a/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/kie/kogito/examples/payroll/VacationDaysTest.java
+++ b/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/acme/examples/payroll/VacationDaysTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.payroll;
+package org.acme.examples.payroll;
import org.junit.jupiter.api.Test;
diff --git a/kogito-quarkus-examples/onboarding-example/pom.xml b/kogito-quarkus-examples/onboarding-example/pom.xml
index 0c349c8b1e..f7b83ded9c 100644
--- a/kogito-quarkus-examples/onboarding-example/pom.xml
+++ b/kogito-quarkus-examples/onboarding-example/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/pmml-event-driven-quarkus/pom.xml b/kogito-quarkus-examples/pmml-event-driven-quarkus/pom.xml
index 04ad43e099..0be0a6e420 100644
--- a/kogito-quarkus-examples/pmml-event-driven-quarkus/pom.xml
+++ b/kogito-quarkus-examples/pmml-event-driven-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/pmml-event-driven-quarkus/src/test/java/org/kie/kogito/examples/PmmlEventDrivenIT.java b/kogito-quarkus-examples/pmml-event-driven-quarkus/src/test/java/org/acme/examples/PmmlEventDrivenIT.java
similarity index 99%
rename from kogito-quarkus-examples/pmml-event-driven-quarkus/src/test/java/org/kie/kogito/examples/PmmlEventDrivenIT.java
rename to kogito-quarkus-examples/pmml-event-driven-quarkus/src/test/java/org/acme/examples/PmmlEventDrivenIT.java
index 3908d37d47..b88dd33215 100644
--- a/kogito-quarkus-examples/pmml-event-driven-quarkus/src/test/java/org/kie/kogito/examples/PmmlEventDrivenIT.java
+++ b/kogito-quarkus-examples/pmml-event-driven-quarkus/src/test/java/org/acme/examples/PmmlEventDrivenIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.io.IOException;
import java.net.URL;
diff --git a/kogito-quarkus-examples/pmml-incubation-api-quarkus/pom.xml b/kogito-quarkus-examples/pmml-incubation-api-quarkus/pom.xml
index 4a930255b5..5b89ec39dc 100644
--- a/kogito-quarkus-examples/pmml-incubation-api-quarkus/pom.xml
+++ b/kogito-quarkus-examples/pmml-incubation-api-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/pmml-quarkus-example/pom.xml b/kogito-quarkus-examples/pmml-quarkus-example/pom.xml
index 40fb97a021..924e7fd985 100644
--- a/kogito-quarkus-examples/pmml-quarkus-example/pom.xml
+++ b/kogito-quarkus-examples/pmml-quarkus-example/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/CommonTestUtils.java b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/CommonTestUtils.java
similarity index 98%
rename from kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/CommonTestUtils.java
rename to kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/CommonTestUtils.java
index fa360a5034..60ba888800 100644
--- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/CommonTestUtils.java
+++ b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/CommonTestUtils.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.quarkus.example;
+package org.acme.pmml.quarkus.example;
import java.util.Map;
diff --git a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/LinRegTest.java b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/LinRegTest.java
similarity index 88%
rename from kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/LinRegTest.java
rename to kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/LinRegTest.java
index 60ec72e2ec..4fbc8ea899 100644
--- a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/LinRegTest.java
+++ b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/LinRegTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.pmml.quarkus.example;
+package org.acme.pmml.quarkus.example;
import java.util.Collections;
import java.util.Map;
@@ -23,8 +23,8 @@
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.RestAssured;
-import static org.kie.kogito.pmml.quarkus.example.CommonTestUtils.testDescriptive;
-import static org.kie.kogito.pmml.quarkus.example.CommonTestUtils.testResult;
+import static org.acme.pmml.quarkus.example.CommonTestUtils.testDescriptive;
+import static org.acme.pmml.quarkus.example.CommonTestUtils.testResult;
@QuarkusTest
class LinRegTest {
diff --git a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/MiningModelTest.java b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/MiningModelTest.java
similarity index 91%
rename from kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/MiningModelTest.java
rename to kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/MiningModelTest.java
index 3cb39b0a8b..fa3e038c13 100644
--- a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/MiningModelTest.java
+++ b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/MiningModelTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.pmml.quarkus.example;
+package org.acme.pmml.quarkus.example;
import java.util.Collections;
import java.util.Map;
@@ -23,8 +23,8 @@
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.RestAssured;
-import static org.kie.kogito.pmml.quarkus.example.CommonTestUtils.testDescriptive;
-import static org.kie.kogito.pmml.quarkus.example.CommonTestUtils.testResult;
+import static org.acme.pmml.quarkus.example.CommonTestUtils.testDescriptive;
+import static org.acme.pmml.quarkus.example.CommonTestUtils.testResult;
@QuarkusTest
class MiningModelTest {
diff --git a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeLinRegTestIT.java b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/NativeLinRegTestIT.java
similarity index 94%
rename from kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeLinRegTestIT.java
rename to kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/NativeLinRegTestIT.java
index d173b1e4d8..ce3afbf19d 100644
--- a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeLinRegTestIT.java
+++ b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/NativeLinRegTestIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.pmml.quarkus.example;
+package org.acme.pmml.quarkus.example;
import io.quarkus.test.junit.NativeImageTest;
diff --git a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeMiningModelTestIT.java b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/NativeMiningModelTestIT.java
similarity index 94%
rename from kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeMiningModelTestIT.java
rename to kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/NativeMiningModelTestIT.java
index f29e5a049f..e5251ae665 100644
--- a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeMiningModelTestIT.java
+++ b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/NativeMiningModelTestIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.pmml.quarkus.example;
+package org.acme.pmml.quarkus.example;
import io.quarkus.test.junit.NativeImageTest;
diff --git a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeSampleMineTestIT.java b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/NativeSampleMineTestIT.java
similarity index 94%
rename from kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeSampleMineTestIT.java
rename to kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/NativeSampleMineTestIT.java
index 8b4160f802..1a35e651a5 100644
--- a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeSampleMineTestIT.java
+++ b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/NativeSampleMineTestIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.pmml.quarkus.example;
+package org.acme.pmml.quarkus.example;
import io.quarkus.test.junit.NativeImageTest;
diff --git a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeSimpleScorecardTestIT.java b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/NativeSimpleScorecardTestIT.java
similarity index 94%
rename from kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeSimpleScorecardTestIT.java
rename to kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/NativeSimpleScorecardTestIT.java
index e2ebcb606f..1cea7d2136 100644
--- a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeSimpleScorecardTestIT.java
+++ b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/NativeSimpleScorecardTestIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.pmml.quarkus.example;
+package org.acme.pmml.quarkus.example;
import io.quarkus.test.junit.NativeImageTest;
diff --git a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/SampleMineTest.java b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/SampleMineTest.java
similarity index 88%
rename from kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/SampleMineTest.java
rename to kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/SampleMineTest.java
index af88056c04..d813a51e92 100644
--- a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/SampleMineTest.java
+++ b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/SampleMineTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.pmml.quarkus.example;
+package org.acme.pmml.quarkus.example;
import java.util.HashMap;
import java.util.Map;
@@ -23,8 +23,8 @@
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.RestAssured;
-import static org.kie.kogito.pmml.quarkus.example.CommonTestUtils.testDescriptive;
-import static org.kie.kogito.pmml.quarkus.example.CommonTestUtils.testResult;
+import static org.acme.pmml.quarkus.example.CommonTestUtils.testDescriptive;
+import static org.acme.pmml.quarkus.example.CommonTestUtils.testResult;
@QuarkusTest
class SampleMineTest {
diff --git a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/SimpleScorecardTest.java b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/SimpleScorecardTest.java
similarity index 89%
rename from kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/SimpleScorecardTest.java
rename to kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/SimpleScorecardTest.java
index 6df97d00cb..5b8b6f72ca 100644
--- a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/SimpleScorecardTest.java
+++ b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/acme/pmml/quarkus/example/SimpleScorecardTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.pmml.quarkus.example;
+package org.acme.pmml.quarkus.example;
import java.util.HashMap;
import java.util.Map;
@@ -23,8 +23,8 @@
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.RestAssured;
-import static org.kie.kogito.pmml.quarkus.example.CommonTestUtils.testDescriptive;
-import static org.kie.kogito.pmml.quarkus.example.CommonTestUtils.testResult;
+import static org.acme.pmml.quarkus.example.CommonTestUtils.testDescriptive;
+import static org.acme.pmml.quarkus.example.CommonTestUtils.testResult;
@QuarkusTest
class SimpleScorecardTest {
diff --git a/kogito-quarkus-examples/pom.xml b/kogito-quarkus-examples/pom.xml
index 3fe564b87e..e448ced4ce 100644
--- a/kogito-quarkus-examples/pom.xml
+++ b/kogito-quarkus-examples/pom.xml
@@ -5,7 +5,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-business-rules-quarkus/mvnw b/kogito-quarkus-examples/process-business-rules-quarkus/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-quarkus-examples/process-business-rules-quarkus/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/process-business-rules-quarkus/mvnw.cmd b/kogito-quarkus-examples/process-business-rules-quarkus/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-quarkus-examples/process-business-rules-quarkus/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/process-business-rules-quarkus/pom.xml b/kogito-quarkus-examples/process-business-rules-quarkus/pom.xml
index d20e8e4f84..8fd4165073 100644
--- a/kogito-quarkus-examples/process-business-rules-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-business-rules-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-decisions-quarkus/README.md b/kogito-quarkus-examples/process-decisions-quarkus/README.md
index f2cff4a768..edbf79a541 100644
--- a/kogito-quarkus-examples/process-decisions-quarkus/README.md
+++ b/kogito-quarkus-examples/process-decisions-quarkus/README.md
@@ -32,13 +32,13 @@ These are the properties defined for the process, the most important one in this
* #### Proces Variables
-The variables used in the process itself, but the focus in this example are the classes that are used to define the POJOs to interact the process with decisions, that are the [Violation](src/main/java/org/kie/kogito/traffic/Violation.java), [Driver](src/main/java/org/kie/kogito/traffic/Driver.java), [Fine](src/main/java/org/kie/kogito/traffic/Fine.java).
+The variables used in the process itself, but the focus in this example are the classes that are used to define the POJOs to interact the process with decisions, that are the [Violation](src/main/java/org/acme/traffic/Violation.java), [Driver](src/main/java/org/acme/traffic/Driver.java), [Fine](src/main/java/org/acme/traffic/Fine.java).
**Mapping data from Process to/from DMN**
-It is important to mention DMN for instance can define the Data Type in its structure, but we can align all attributes names in a Java class that is used as process variables, in case the attribute names contain spaces or are not following java conventions we can use [Jackson](https://github.com/FasterXML/jackson) annotations to make the process variable POJOs aligned with DMN data types, for instance in the [Violation](src/main/java/org/kie/kogito/traffic/Violation.java) class, where it is mapped the `speedLimit` attribute as `Speed Limit` using `@JsonProperty` annotation, in this case, this attribute from the process variable with Violation can be seamlessly integrated Violation Data Type defined in DMN.
+It is important to mention DMN for instance can define the Data Type in its structure, but we can align all attributes names in a Java class that is used as process variables, in case the attribute names contain spaces or are not following java conventions we can use [Jackson](https://github.com/FasterXML/jackson) annotations to make the process variable POJOs aligned with DMN data types, for instance in the [Violation](src/main/java/org/acme/traffic/Violation.java) class, where it is mapped the `speedLimit` attribute as `Speed Limit` using `@JsonProperty` annotation, in this case, this attribute from the process variable with Violation can be seamlessly integrated Violation Data Type defined in DMN.
**Violation Data Type in DMN**
@@ -49,7 +49,7 @@ It is important to mention DMN for instance can define the Data Type in its stru
Fetch for driver information, in this implementation it is just mocking a result, that simply fill with an expired license date in case the `driverId` is an odd number and with a valid date in case of an even number. In a real use case, it could be performing an external call to a service or a database to get this information.
-The service task implementation is done in the [DriverService](src/main/java/org/kie/kogito/traffic/DriverService.java) class.
+The service task implementation is done in the [DriverService](src/main/java/org/acme/traffic/DriverService.java) class.
In the data assignment the input is the `driverId` and output is the `driver` variable, filled with all driver information.
@@ -59,7 +59,7 @@ Represents the task to do the call to the DRL service.
-The properties to be set are mainly the `Rule Language`that should be set as `DRL` and the `Rule Flow Group` with `unit:` + `[the FQCN of the Rule Unit Data class]`, in this case [org.kie.kogito.traffic.LicenseValidationService](src/main/java/org/kie/kogito/traffic/LicenseValidationService.java).
+The properties to be set are mainly the `Rule Language`that should be set as `DRL` and the `Rule Flow Group` with `unit:` + `[the FQCN of the Rule Unit Data class]`, in this case [org.acme.traffic.LicenseValidationService](src/main/java/org/acme/traffic/LicenseValidationService.java).
@@ -95,7 +95,7 @@ Just an example task where it could be performed any action based on the conditi
This decision consistis in rules which are evaluated to check if a driver's license is expired or not according to the expiration date and thus populating the result in the information in the driver variable.
-The DRL file where this Rule Unit is declared is [LicenseValidationService.drl](src/main/resources/LicenseValidationService.drl) and the the Java class that contains the Rule Unit Data is [LicenseValidationService](src/main/java/org/kie/kogito/traffic/LicenseValidationService.java).
+The DRL file where this Rule Unit is declared is [LicenseValidationService.drl](src/main/resources/LicenseValidationService.drl) and the the Java class that contains the Rule Unit Data is [LicenseValidationService](src/main/java/org/acme/traffic/LicenseValidationService.java).
### Traffic Violation - DMN
diff --git a/kogito-quarkus-examples/process-decisions-quarkus/pom.xml b/kogito-quarkus-examples/process-decisions-quarkus/pom.xml
index d13f21a705..de7aa9c017 100644
--- a/kogito-quarkus-examples/process-decisions-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-decisions-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/Driver.java b/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/acme/traffic/Driver.java
similarity index 98%
rename from kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/Driver.java
rename to kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/acme/traffic/Driver.java
index f77a47b749..26bd79ee24 100644
--- a/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/Driver.java
+++ b/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/acme/traffic/Driver.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.util.Date;
diff --git a/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/DriverService.java b/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/acme/traffic/DriverService.java
similarity index 97%
rename from kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/DriverService.java
rename to kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/acme/traffic/DriverService.java
index 595aa50e4b..97a4cc9bd4 100644
--- a/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/DriverService.java
+++ b/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/acme/traffic/DriverService.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.time.ZonedDateTime;
import java.util.Date;
diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/Fine.java b/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/acme/traffic/Fine.java
similarity index 97%
rename from kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/Fine.java
rename to kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/acme/traffic/Fine.java
index 4b6873829e..d82495c3d1 100644
--- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/Fine.java
+++ b/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/acme/traffic/Fine.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java b/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/acme/traffic/LicenseValidationService.java
similarity index 97%
rename from kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java
rename to kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/acme/traffic/LicenseValidationService.java
index 53fd44ed58..2423a7c362 100644
--- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java
+++ b/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/acme/traffic/LicenseValidationService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.util.Date;
diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/Violation.java b/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/acme/traffic/Violation.java
similarity index 98%
rename from kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/Violation.java
rename to kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/acme/traffic/Violation.java
index 56446af2d2..232567b0e0 100644
--- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/Violation.java
+++ b/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/acme/traffic/Violation.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.math.BigDecimal;
import java.util.Date;
diff --git a/kogito-quarkus-examples/process-decisions-quarkus/src/main/resources/LicenseValidationService.drl b/kogito-quarkus-examples/process-decisions-quarkus/src/main/resources/LicenseValidationService.drl
index 799c78abd4..06c7bc2412 100644
--- a/kogito-quarkus-examples/process-decisions-quarkus/src/main/resources/LicenseValidationService.drl
+++ b/kogito-quarkus-examples/process-decisions-quarkus/src/main/resources/LicenseValidationService.drl
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic
+package org.acme.traffic
unit LicenseValidationService
diff --git a/kogito-quarkus-examples/process-decisions-quarkus/src/main/resources/traffic-rules-dmn.bpmn b/kogito-quarkus-examples/process-decisions-quarkus/src/main/resources/traffic-rules-dmn.bpmn
index 2cc3bd1c29..1d047d44ff 100644
--- a/kogito-quarkus-examples/process-decisions-quarkus/src/main/resources/traffic-rules-dmn.bpmn
+++ b/kogito-quarkus-examples/process-decisions-quarkus/src/main/resources/traffic-rules-dmn.bpmn
@@ -1,27 +1,27 @@
-
-
-
+
+
+
-
-
+
+
-
+
-
+
-
-
-
+
+
+
-
+
@@ -118,7 +118,7 @@
_8A36870E-651D-4E0A-B345-D5CFF2182F0F_044AA388-325A-45DE-B783-4F48421B788B
-
+ _A19108FE-08A2-4E80-B7A8-0254C49209A6_D3E2F4B7-7739-452F-8D55-0C4F169D4A44
-
-
+
+ _95EFED1F-73F8-47E7-9604-A81EFE5DE8F5_driverInputX
@@ -146,7 +146,7 @@ DRL]]>
driver
-
+
@@ -156,7 +156,7 @@ DRL]]>
_A19108FE-08A2-4E80-B7A8-0254C49209A6
-
+ _93FFD317-476E-4624-84EF-994617572560_driverIdInputX
@@ -219,10 +219,10 @@ DMN]]>
-
-
+
+
-
+ _B076DF7E-91A5-47C7-B3FC-2C2EC06E5941_namespaceInputX_B076DF7E-91A5-47C7-B3FC-2C2EC06E5941_decisionInputX
diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/test/java/org/kie/kogito/traffic/NativeTrafficProcessIT.java b/kogito-quarkus-examples/process-decisions-quarkus/src/test/java/org/acme/traffic/NativeTrafficProcessIT.java
similarity index 95%
rename from kogito-quarkus-examples/process-decisions-rules-quarkus/src/test/java/org/kie/kogito/traffic/NativeTrafficProcessIT.java
rename to kogito-quarkus-examples/process-decisions-quarkus/src/test/java/org/acme/traffic/NativeTrafficProcessIT.java
index 1697330392..edb541ac0c 100644
--- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/test/java/org/kie/kogito/traffic/NativeTrafficProcessIT.java
+++ b/kogito-quarkus-examples/process-decisions-quarkus/src/test/java/org/acme/traffic/NativeTrafficProcessIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import io.quarkus.test.junit.NativeImageTest;
diff --git a/kogito-quarkus-examples/process-decisions-quarkus/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java b/kogito-quarkus-examples/process-decisions-quarkus/src/test/java/org/acme/traffic/TrafficProcessIT.java
similarity index 98%
rename from kogito-quarkus-examples/process-decisions-quarkus/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java
rename to kogito-quarkus-examples/process-decisions-quarkus/src/test/java/org/acme/traffic/TrafficProcessIT.java
index 4f9c49ed0e..1cd3f71822 100644
--- a/kogito-quarkus-examples/process-decisions-quarkus/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java
+++ b/kogito-quarkus-examples/process-decisions-quarkus/src/test/java/org/acme/traffic/TrafficProcessIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.math.BigDecimal;
import java.util.HashMap;
diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/README.md b/kogito-quarkus-examples/process-decisions-rest-quarkus/README.md
index 2850fbfb1a..e521b93d6e 100644
--- a/kogito-quarkus-examples/process-decisions-rest-quarkus/README.md
+++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/README.md
@@ -23,7 +23,7 @@ It is based on the traffic violation evaluation process, where it is required to
![Traffic Process](docs/images/traffic-rules-dmn-service-task.png)
-In this approach it requires coding, to provide an implementation in the application responsible to execute the task, in this case, a REST/HTTP call. The implementation is up to the user, but here it's been used what the platform provides, like the [Quarkus REST Client](https://quarkus.io/guides/rest-client). Details can be seen in the classes [LicenseValidationRestClient](src/main/java/org/kie/kogito/traffic/LicenseValidationRestClient.java) and [TrafficViolationRestClient](src/main/java/org/kie/kogito/traffic/TrafficViolationRestClient.java).
+In this approach it requires coding, to provide an implementation in the application responsible to execute the task, in this case, a REST/HTTP call. The implementation is up to the user, but here it's been used what the platform provides, like the [Quarkus REST Client](https://quarkus.io/guides/rest-client). Details can be seen in the classes [LicenseValidationRestClient](src/main/java/org/acme/traffic/LicenseValidationRestClient.java) and [TrafficViolationRestClient](src/main/java/org/acme/traffic/TrafficViolationRestClient.java).
The BPMN file where this process is declared is [traffic-rules-dmn-service-task.bpmn](src/main/resources/traffic-rules-dmn-service-task.bpmn)
@@ -44,13 +44,13 @@ These are the properties defined for the process, the most important one in this
* #### Proces Variables
-The variables used in the process itself, but the focus in this example are the classes that are used to define the POJOs to interact the process with decisions, that are the [Violation](src/main/java/org/kie/kogito/traffic/Violation.java), [Driver](src/main/java/org/kie/kogito/traffic/Driver.java), [Fine](src/main/java/org/kie/kogito/traffic/Fine.java) and [TrafficViolationResponse](src/main/java/org/kie/kogito/traffic/TrafficViolationResponse.java).
+The variables used in the process itself, but the focus in this example are the classes that are used to define the POJOs to interact the process with decisions, that are the [Violation](src/main/java/org/acme/traffic/Violation.java), [Driver](src/main/java/org/acme/traffic/Driver.java), [Fine](src/main/java/org/acme/traffic/Fine.java) and [TrafficViolationResponse](src/main/java/org/acme/traffic/TrafficViolationResponse.java).
**Mapping data from Process to/from DMN**
-It is important to mention DMN for instance can define the Data Type in its structure, but we can align all attributes names in a Java class that is used as process variables, in case the attribute names contain spaces or are not following java conventions we can use [Jackson](https://github.com/FasterXML/jackson) annotations to make the process variable POJOs aligned with DMN data types, for instance in the [Violation](src/main/java/org/kie/kogito/traffic/Violation.java) class, where it is mapped the `speedLimit` attribute as `Speed Limit` using `@JsonProperty` annotation, in this case, this attribute from the process variable with Violation can be seamlessly integrated Violation Data Type defined in DMN.
+It is important to mention DMN for instance can define the Data Type in its structure, but we can align all attributes names in a Java class that is used as process variables, in case the attribute names contain spaces or are not following java conventions we can use [Jackson](https://github.com/FasterXML/jackson) annotations to make the process variable POJOs aligned with DMN data types, for instance in the [Violation](src/main/java/org/acme/traffic/Violation.java) class, where it is mapped the `speedLimit` attribute as `Speed Limit` using `@JsonProperty` annotation, in this case, this attribute from the process variable with Violation can be seamlessly integrated Violation Data Type defined in DMN.
**Violation Data Type in DMN**
@@ -61,7 +61,7 @@ It is important to mention DMN for instance can define the Data Type in its stru
Fetch for driver information, in this implementation it is just mocking a result, that simply fill with an expired license date in case the `driverId` is an odd number and with a valid date in case of an even number. In a real use case, it could be performing an external call to a service or a database to get this information.
-The service task implementation is done in the [DriverService](src/main/java/org/kie/kogito/traffic/DriverService.java) class.
+The service task implementation is done in the [DriverService](src/main/java/org/acme/traffic/DriverService.java) class.
In the data assignment the input is the `driverId` and output is the `driver` variable, filled with all driver information.
@@ -102,7 +102,7 @@ The implementation properties where it is necessary to set the Java class implem
-The input for this task is the `Driver` and `Violation` variables, and the output is the `Suspended` and `Fine` that are wrapped into the [TrafficViolationResponse](src/main/java/org/kie/kogito/traffic/TrafficViolationResponse.java).
+The input for this task is the `Driver` and `Violation` variables, and the output is the `Suspended` and `Fine` that are wrapped into the [TrafficViolationResponse](src/main/java/org/acme/traffic/TrafficViolationResponse.java).
![Traffic Violation Service Data](docs/images/traffic-violation-drl-service-task-data.png)
@@ -111,7 +111,7 @@ The input for this task is the `Driver` and `Violation` variables, and the outpu
-The input for this task is the `Driver` and `Violation` variables, and the output is the `Suspended` and `Fine` that are wrapped into the [TrafficViolationResponse](src/main/java/org/kie/kogito/traffic/TrafficViolationResponse.java). For REST Work Item the URL and HTTP Method are set as input parameters in the process itselt, that is different from the Service Task approaach.
+The input for this task is the `Driver` and `Violation` variables, and the output is the `Suspended` and `Fine` that are wrapped into the [TrafficViolationResponse](src/main/java/org/acme/traffic/TrafficViolationResponse.java). For REST Work Item the URL and HTTP Method are set as input parameters in the process itselt, that is different from the Service Task approaach.
![Traffic Violation WIH Data](docs/images/traffic-violation-drl-wih-data.png)
@@ -129,7 +129,7 @@ Just an example task where it could be performed any action based on the conditi
This decision consistis in rules which are evaluated to check if a driver's license is expired or not according to the expiration date and thus populating the result in the information in the driver variable.
-The DRL file where this Rule Unit is declared is [LicenseValidationService.drl](src/main/resources/LicenseValidationService.drl) and the the Java class that contains the Rule Unit Data is [LicenseValidationService](src/main/java/org/kie/kogito/traffic/LicenseValidationService.java).
+The DRL file where this Rule Unit is declared is [LicenseValidationService.drl](src/main/resources/LicenseValidationService.drl) and the the Java class that contains the Rule Unit Data is [LicenseValidationService](src/main/java/org/acme/traffic/LicenseValidationService.java).
### Traffic Violation - DMN
diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/pom.xml b/kogito-quarkus-examples/process-decisions-rest-quarkus/pom.xml
index 852e7997b7..07264021a2 100644
--- a/kogito-quarkus-examples/process-decisions-rest-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/Driver.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/Driver.java
similarity index 98%
rename from kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/Driver.java
rename to kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/Driver.java
index f77a47b749..26bd79ee24 100644
--- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/Driver.java
+++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/Driver.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.util.Date;
diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/DriverService.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/DriverService.java
similarity index 97%
rename from kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/DriverService.java
rename to kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/DriverService.java
index 595aa50e4b..97a4cc9bd4 100644
--- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/DriverService.java
+++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/DriverService.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.time.ZonedDateTime;
import java.util.Date;
diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/Fine.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/Fine.java
similarity index 97%
rename from kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/Fine.java
rename to kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/Fine.java
index 4b6873829e..d82495c3d1 100644
--- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/Fine.java
+++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/Fine.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationRestClient.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/LicenseValidationRestClient.java
similarity index 97%
rename from kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationRestClient.java
rename to kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/LicenseValidationRestClient.java
index d624fcbe21..fe6a6f6819 100644
--- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationRestClient.java
+++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/LicenseValidationRestClient.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.util.Map;
diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationRestService.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/LicenseValidationRestService.java
similarity index 97%
rename from kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationRestService.java
rename to kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/LicenseValidationRestService.java
index f8dc393091..8b66c23835 100644
--- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationRestService.java
+++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/LicenseValidationRestService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.util.Collections;
diff --git a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/LicenseValidationService.java
similarity index 97%
rename from kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java
rename to kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/LicenseValidationService.java
index 53fd44ed58..2423a7c362 100644
--- a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java
+++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/LicenseValidationService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.util.Date;
diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/TrafficViolationResponse.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/TrafficViolationResponse.java
similarity index 97%
rename from kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/TrafficViolationResponse.java
rename to kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/TrafficViolationResponse.java
index c5945896ca..25445edd93 100644
--- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/TrafficViolationResponse.java
+++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/TrafficViolationResponse.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/TrafficViolationRestClient.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/TrafficViolationRestClient.java
similarity index 97%
rename from kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/TrafficViolationRestClient.java
rename to kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/TrafficViolationRestClient.java
index 7c6945cbf2..bd6a3b6df7 100644
--- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/TrafficViolationRestClient.java
+++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/TrafficViolationRestClient.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.util.Map;
diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/TrafficViolationRestService.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/TrafficViolationRestService.java
similarity index 97%
rename from kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/TrafficViolationRestService.java
rename to kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/TrafficViolationRestService.java
index 881e999698..78513c1667 100644
--- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/TrafficViolationRestService.java
+++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/TrafficViolationRestService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.util.HashMap;
import java.util.Map;
diff --git a/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/Violation.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/Violation.java
similarity index 98%
rename from kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/Violation.java
rename to kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/Violation.java
index 56446af2d2..232567b0e0 100644
--- a/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/Violation.java
+++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/acme/traffic/Violation.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.math.BigDecimal;
import java.util.Date;
diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/LicenseValidationService.drl b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/LicenseValidationService.drl
index 799c78abd4..06c7bc2412 100644
--- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/LicenseValidationService.drl
+++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/LicenseValidationService.drl
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic
+package org.acme.traffic
unit LicenseValidationService
diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/application.properties
index afbd25e4eb..023d701430 100644
--- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/application.properties
+++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/application.properties
@@ -4,5 +4,5 @@
quarkus.swagger-ui.always-include=true
# REST
-org.kie.kogito.traffic.TrafficViolationRestClient/mp-rest/url=http://localhost:8080/
-org.kie.kogito.traffic.LicenseValidationRestClient/mp-rest/url=http://localhost:8080/
\ No newline at end of file
+org.acme.traffic.TrafficViolationRestClient/mp-rest/url=http://localhost:8080/
+org.acme.traffic.LicenseValidationRestClient/mp-rest/url=http://localhost:8080/
\ No newline at end of file
diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/traffic-rules-dmn-service-task.bpmn b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/traffic-rules-dmn-service-task.bpmn
index 7ba4f69c61..9323dd6cb3 100644
--- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/traffic-rules-dmn-service-task.bpmn
+++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/traffic-rules-dmn-service-task.bpmn
@@ -1,25 +1,25 @@
-
-
-
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -92,7 +92,7 @@
-
+ _8A36870E-651D-4E0A-B345-D5CFF2182F0F_E183B890-1419-4A36-B1DC-257EB0B333E0
-
-
-
+
+
+ _BB50D380-3FE4-4B5E-9732-6E7E2B704BA0_driverInputX_BB50D380-3FE4-4B5E-9732-6E7E2B704BA0_violationInputX
@@ -126,7 +126,7 @@ DMN]]>
trafficViolationResponse
-
+ _A19108FE-08A2-4E80-B7A8-0254C49209A6_729FBA6E-72AB-4541-9965-DB7CDCD2E0A9
-
-
+
+ _8D1A7055-57B3-4C74-A502-2AB715599268_driverInputX
@@ -162,7 +162,7 @@ DRL]]>
_044AA388-325A-45DE-B783-4F48421B788B_8A36870E-651D-4E0A-B345-D5CFF2182F0F
-
+
@@ -172,7 +172,7 @@ DRL]]>
_A19108FE-08A2-4E80-B7A8-0254C49209A6
-
+ _93FFD317-476E-4624-84EF-994617572560_driverIdInputX
diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/traffic-rules-dmn-wih.bpmn b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/traffic-rules-dmn-wih.bpmn
index 6aa79d7bdf..0f1767de1f 100644
--- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/traffic-rules-dmn-wih.bpmn
+++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/traffic-rules-dmn-wih.bpmn
@@ -1,32 +1,32 @@
-
-
-
+
+
+
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
+
@@ -108,14 +108,14 @@ DMN]]>
-
-
+
+
-
+ _38F4877F-50AD-4500-98E1-9B4FD3972291_MethodInputX_38F4877F-50AD-4500-98E1-9B4FD3972291_UrlInputX
@@ -177,14 +177,14 @@ DRL]]>
-
+
-
+ _D8D9E6BA-5940-41F5-BF3A-1A08ADA72A4C_MethodInputX_D8D9E6BA-5940-41F5-BF3A-1A08ADA72A4C_UrlInputX
@@ -245,7 +245,7 @@ DRL]]>
_8A36870E-651D-4E0A-B345-D5CFF2182F0F_044AA388-325A-45DE-B783-4F48421B788B
-
+
@@ -255,7 +255,7 @@ DRL]]>
_A19108FE-08A2-4E80-B7A8-0254C49209A6
-
+ _93FFD317-476E-4624-84EF-994617572560_driverIdInputX
diff --git a/kogito-quarkus-examples/process-decisions-quarkus/src/test/java/org/kie/kogito/traffic/NativeTrafficProcessIT.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/test/java/org/acme/traffic/NativeTrafficProcessIT.java
similarity index 95%
rename from kogito-quarkus-examples/process-decisions-quarkus/src/test/java/org/kie/kogito/traffic/NativeTrafficProcessIT.java
rename to kogito-quarkus-examples/process-decisions-rest-quarkus/src/test/java/org/acme/traffic/NativeTrafficProcessIT.java
index 1697330392..edb541ac0c 100644
--- a/kogito-quarkus-examples/process-decisions-quarkus/src/test/java/org/kie/kogito/traffic/NativeTrafficProcessIT.java
+++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/test/java/org/acme/traffic/NativeTrafficProcessIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import io.quarkus.test.junit.NativeImageTest;
diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/test/java/org/acme/traffic/TrafficProcessIT.java
similarity index 98%
rename from kogito-quarkus-examples/process-decisions-rest-quarkus/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java
rename to kogito-quarkus-examples/process-decisions-rest-quarkus/src/test/java/org/acme/traffic/TrafficProcessIT.java
index c61d2d2cf7..ee80c83d3c 100644
--- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java
+++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/test/java/org/acme/traffic/TrafficProcessIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.math.BigDecimal;
import java.util.HashMap;
diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/README.md b/kogito-quarkus-examples/process-decisions-rules-quarkus/README.md
index 811b7c9406..20b50f7b23 100644
--- a/kogito-quarkus-examples/process-decisions-rules-quarkus/README.md
+++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/README.md
@@ -32,13 +32,13 @@ These are the properties defined for the process, the most important one in this
* #### Proces Variables
-The variables used in the process itself, but the focus in this example are the classes that are used to define the POJOs to interact the process with decisions, that are the [Violation](src/main/java/org/kie/kogito/traffic/Violation.java), [Driver](src/main/java/org/kie/kogito/traffic/Driver.java), [Fine](src/main/java/org/kie/kogito/traffic/Fine.java).
+The variables used in the process itself, but the focus in this example are the classes that are used to define the POJOs to interact the process with decisions, that are the [Violation](src/main/java/org/acme/traffic/Violation.java), [Driver](src/main/java/org/acme/traffic/Driver.java), [Fine](src/main/java/org/acme/traffic/Fine.java).
**Mapping data from Process to/from DMN**
-It is important to mention DMN for instance can define the Data Type in its structure, but we can align all attributes names in a Java class that is used as process variables, in case the attribute names contain spaces or are not following java conventions we can use [Jackson](https://github.com/FasterXML/jackson) annotations to make the process variable POJOs aligned with DMN data types, for instance in the [Violation](src/main/java/org/kie/kogito/traffic/Violation.java) class, where it is mapped the `speedLimit` attribute as `Speed Limit` using `@JsonProperty` annotation, in this case, this attribute from the process variable with Violation can be seamlessly integrated Violation Data Type defined in DMN.
+It is important to mention DMN for instance can define the Data Type in its structure, but we can align all attributes names in a Java class that is used as process variables, in case the attribute names contain spaces or are not following java conventions we can use [Jackson](https://github.com/FasterXML/jackson) annotations to make the process variable POJOs aligned with DMN data types, for instance in the [Violation](src/main/java/org/acme/traffic/Violation.java) class, where it is mapped the `speedLimit` attribute as `Speed Limit` using `@JsonProperty` annotation, in this case, this attribute from the process variable with Violation can be seamlessly integrated Violation Data Type defined in DMN.
**Violation Data Type in DMN**
@@ -49,7 +49,7 @@ It is important to mention DMN for instance can define the Data Type in its stru
Fetch for driver information, in this implementation it is just mocking a result, that simply fill with an expired license date in case the `driverId` is an odd number and with a valid date in case of an even number. In a real use case, it could be performing an external call to a service or a database to get this information.
-The service task implementation is done in the [DriverService](src/main/java/org/kie/kogito/traffic/DriverService.java) class.
+The service task implementation is done in the [DriverService](src/main/java/org/acme/traffic/DriverService.java) class.
In the data assignment the input is the `driverId` and output is the `driver` variable, filled with all driver information.
@@ -59,7 +59,7 @@ Represents the task to do the call to the DRL service.
-The properties to be set are mainly the `Rule Language`that should be set as `DRL` and the `Rule Flow Group` with `unit:` + `[the FQCN of the Rule Unit Data class]`, in this case [org.kie.kogito.traffic.licensevalidation.LicenseValidationService](src/main/java/org/kie/kogito/traffic/LicenseValidationService.java).
+The properties to be set are mainly the `Rule Language`that should be set as `DRL` and the `Rule Flow Group` with `unit:` + `[the FQCN of the Rule Unit Data class]`, in this case [licensevalidation.org.acme.traffic.LicenseValidationService](src/main/java/org/acme/traffic/licensevalidation/LicenseValidationService.java).
@@ -95,7 +95,7 @@ Just an example task where it could be performed any action based on the conditi
This decision consistis in rules which are evaluated to check if a driver's license is expired or not according to the expiration date and thus populating the result in the information in the driver variable.
-The DRL file where this Rule Unit is declared is [LicenseValidationService.drl](src/main/resources/LicenseValidationService.drl) and the the Java class that contains the Rule Unit Data is [LicenseValidationService](src/main/java/org/kie/kogito/traffic/LicenseValidationService.java).
+The DRL file where this Rule Unit is declared is [LicenseValidationService.drl](src/main/resources/LicenseValidationService.drl) and the the Java class that contains the Rule Unit Data is [LicenseValidationService](src/main/java/org/acme/traffic/LicenseValidationService.java).
### Traffic Violation - DMN
diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/pom.xml b/kogito-quarkus-examples/process-decisions-rules-quarkus/pom.xml
index d80e3fe235..1e08a9f15f 100644
--- a/kogito-quarkus-examples/process-decisions-rules-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/DriverService.java b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/acme/traffic/DriverService.java
similarity index 94%
rename from kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/DriverService.java
rename to kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/acme/traffic/DriverService.java
index 38ebb18de8..bc329fc09f 100644
--- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/DriverService.java
+++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/acme/traffic/DriverService.java
@@ -14,14 +14,14 @@
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.time.ZonedDateTime;
import java.util.Date;
import javax.enterprise.context.ApplicationScoped;
-import org.kie.kogito.traffic.licensevalidation.Driver;
+import org.acme.traffic.licensevalidation.Driver;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
diff --git a/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/Fine.java b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/acme/traffic/Fine.java
similarity index 97%
rename from kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/Fine.java
rename to kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/acme/traffic/Fine.java
index 4b6873829e..d82495c3d1 100644
--- a/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/Fine.java
+++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/acme/traffic/Fine.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/Violation.java b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/acme/traffic/Violation.java
similarity index 98%
rename from kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/Violation.java
rename to kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/acme/traffic/Violation.java
index 56446af2d2..232567b0e0 100644
--- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/Violation.java
+++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/acme/traffic/Violation.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.math.BigDecimal;
import java.util.Date;
diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidated/LicenseValidatedService.java b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/acme/traffic/licensevalidated/LicenseValidatedService.java
similarity index 96%
rename from kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidated/LicenseValidatedService.java
rename to kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/acme/traffic/licensevalidated/LicenseValidatedService.java
index b6a0374e9d..b37b889f3a 100644
--- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidated/LicenseValidatedService.java
+++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/acme/traffic/licensevalidated/LicenseValidatedService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic.licensevalidated;
+package org.acme.traffic.licensevalidated;
import java.util.Date;
diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidated/Validated.java b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/acme/traffic/licensevalidated/Validated.java
similarity index 96%
rename from kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidated/Validated.java
rename to kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/acme/traffic/licensevalidated/Validated.java
index 90c51f09e3..9f8a843e96 100644
--- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidated/Validated.java
+++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/acme/traffic/licensevalidated/Validated.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.traffic.licensevalidated;
+package org.acme.traffic.licensevalidated;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidation/Driver.java b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/acme/traffic/licensevalidation/Driver.java
similarity index 98%
rename from kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidation/Driver.java
rename to kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/acme/traffic/licensevalidation/Driver.java
index 6ee8bfbb04..992738b4f0 100644
--- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidation/Driver.java
+++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/acme/traffic/licensevalidation/Driver.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.traffic.licensevalidation;
+package org.acme.traffic.licensevalidation;
import java.util.Date;
diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/acme/traffic/licensevalidation/LicenseValidationService.java b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/acme/traffic/licensevalidation/LicenseValidationService.java
new file mode 100644
index 0000000000..7d4488af6b
--- /dev/null
+++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/acme/traffic/licensevalidation/LicenseValidationService.java
@@ -0,0 +1,46 @@
+/*
+ * Copyright 2020 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed 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.
+ */
+package org.acme.traffic.licensevalidation;
+
+import java.util.Date;
+
+import org.drools.ruleunits.api.DataSource;
+import org.drools.ruleunits.api.RuleUnitData;
+import org.drools.ruleunits.api.SingletonStore;
+
+public class LicenseValidationService implements RuleUnitData {
+ private SingletonStore driver;
+
+ public LicenseValidationService() {
+ this(DataSource.createSingleton());
+ }
+
+ public LicenseValidationService(SingletonStore driver) {
+ this.driver = driver;
+ }
+
+ public void setDriver(SingletonStore driver) {
+ this.driver = driver;
+ }
+
+ public SingletonStore getDriver() {
+ return driver;
+ }
+
+ public Date getCurrentTime() {
+ return new Date();
+ }
+}
diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidation/LicenseValidationService.java b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidation/LicenseValidationService.java
deleted file mode 100644
index 2d56c89eea..0000000000
--- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidation/LicenseValidationService.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright 2020 Red Hat, Inc. and/or its affiliates.
- *
- * Licensed 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.
- */
-package org.kie.kogito.traffic.licensevalidation;
-
-import java.util.Date;
-
-import org.drools.ruleunits.api.DataSource;
-import org.drools.ruleunits.api.RuleUnitData;
-import org.drools.ruleunits.api.SingletonStore;
-
-public class LicenseValidationService implements RuleUnitData {
- private SingletonStore driver;
-
- public LicenseValidationService() {
- this(DataSource.createSingleton());
- }
-
- public LicenseValidationService(SingletonStore driver) {
- this.driver = driver;
- }
-
- public void setDriver(SingletonStore driver) {
- this.driver = driver;
- }
-
- public SingletonStore getDriver() {
- return driver;
- }
-
- public Date getCurrentTime() {
- return new Date();
- }
-}
diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/LicenseValidatedService.drl b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/LicenseValidatedService.drl
index 9e91dd8bb8..cca71a9a6e 100644
--- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/LicenseValidatedService.drl
+++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/LicenseValidatedService.drl
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic.licensevalidated
+package org.acme.traffic.licensevalidated
unit LicenseValidatedService
diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/LicenseValidationService.drl b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/LicenseValidationService.drl
index 324866bfa3..1b4622d9a3 100644
--- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/LicenseValidationService.drl
+++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/LicenseValidationService.drl
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic.licensevalidation
+package org.acme.traffic.licensevalidation
unit LicenseValidationService
diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/traffic-rules-dmn.bpmn b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/traffic-rules-dmn.bpmn
index bb3c183e1e..ee189729e5 100644
--- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/traffic-rules-dmn.bpmn
+++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/traffic-rules-dmn.bpmn
@@ -1,36 +1,36 @@
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
-
+
-
-
+
+
-
-
-
+
+
+
-
+
@@ -114,7 +114,7 @@
-
+ _BB963FF4-CF17-4CA0-A727-9AFC2BE17C29_E7EF578E-3735-42D9-BF0C-8CCBF398D41C
-
-
+
+ _3F719C8E-DA3F-46F8-B8F2-5F04DB132E9C_validatedInputX
@@ -155,7 +155,7 @@ DRL]]>
_D2252EFF-5EC4-4D61-B797-653F71652627_044AA388-325A-45DE-B783-4F48421B788B
-
+ _A19108FE-08A2-4E80-B7A8-0254C49209A6_D3E2F4B7-7739-452F-8D55-0C4F169D4A44
-
-
+
+ _95EFED1F-73F8-47E7-9604-A81EFE5DE8F5_driverInputX
@@ -183,7 +183,7 @@ DRL]]>
driver
-
+
@@ -193,7 +193,7 @@ DRL]]>
_A19108FE-08A2-4E80-B7A8-0254C49209A6
-
+ _93FFD317-476E-4624-84EF-994617572560_driverIdInputX
@@ -261,10 +261,10 @@ DMN]]>
-
-
-
-
+
+
+
+ _B076DF7E-91A5-47C7-B3FC-2C2EC06E5941_namespaceInputX_B076DF7E-91A5-47C7-B3FC-2C2EC06E5941_decisionInputX
diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/test/java/org/kie/kogito/traffic/NativeTrafficProcessIT.java b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/test/java/org/acme/traffic/NativeTrafficProcessIT.java
similarity index 95%
rename from kogito-quarkus-examples/process-decisions-rest-quarkus/src/test/java/org/kie/kogito/traffic/NativeTrafficProcessIT.java
rename to kogito-quarkus-examples/process-decisions-rules-quarkus/src/test/java/org/acme/traffic/NativeTrafficProcessIT.java
index 1697330392..edb541ac0c 100644
--- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/test/java/org/kie/kogito/traffic/NativeTrafficProcessIT.java
+++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/test/java/org/acme/traffic/NativeTrafficProcessIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import io.quarkus.test.junit.NativeImageTest;
diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/test/java/org/acme/traffic/TrafficProcessIT.java
similarity index 98%
rename from kogito-quarkus-examples/process-decisions-rules-quarkus/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java
rename to kogito-quarkus-examples/process-decisions-rules-quarkus/src/test/java/org/acme/traffic/TrafficProcessIT.java
index 61a3400fdf..1d6f27e130 100644
--- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java
+++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/test/java/org/acme/traffic/TrafficProcessIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.math.BigDecimal;
import java.util.HashMap;
diff --git a/kogito-quarkus-examples/process-error-handling/mvnw b/kogito-quarkus-examples/process-error-handling/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-quarkus-examples/process-error-handling/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/process-error-handling/mvnw.cmd b/kogito-quarkus-examples/process-error-handling/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-quarkus-examples/process-error-handling/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/process-error-handling/pom.xml b/kogito-quarkus-examples/process-error-handling/pom.xml
index a8ea2e0d9c..16f49055e4 100644
--- a/kogito-quarkus-examples/process-error-handling/pom.xml
+++ b/kogito-quarkus-examples/process-error-handling/pom.xml
@@ -2,7 +2,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-incubation-api-quarkus/pom.xml b/kogito-quarkus-examples/process-incubation-api-quarkus/pom.xml
index bddd25ce0d..bc7f52fe59 100644
--- a/kogito-quarkus-examples/process-incubation-api-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-incubation-api-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/mvnw b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/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/process-infinispan-persistence-quarkus/mvnw.cmd b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/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/process-infinispan-persistence-quarkus/pom.xml b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/pom.xml
index fdecf09f82..55f27aa816 100644
--- a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/pom.xml b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/pom.xml
index 2473da2ba2..822b413e8b 100644
--- a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/resources/handle-travellers.bpmn b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/resources/handle-travellers.bpmn
index 5aeaea50cd..807b5dc51a 100644
--- a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/resources/handle-travellers.bpmn
+++ b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/resources/handle-travellers.bpmn
@@ -14,7 +14,7 @@
-
+
diff --git a/kogito-quarkus-examples/process-kafka-multi-quarkus/pom.xml b/kogito-quarkus-examples/process-kafka-multi-quarkus/pom.xml
index 3fa03011a6..2873039d86 100644
--- a/kogito-quarkus-examples/process-kafka-multi-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-kafka-multi-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/resources/handle-travellers.bpmn b/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/resources/handle-travellers.bpmn
index 5aeaea50cd..807b5dc51a 100644
--- a/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/resources/handle-travellers.bpmn
+++ b/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/resources/handle-travellers.bpmn
@@ -14,7 +14,7 @@
-
+
diff --git a/kogito-quarkus-examples/process-kafka-persistence-quarkus/pom.xml b/kogito-quarkus-examples/process-kafka-persistence-quarkus/pom.xml
index c0d02b120a..8b6db76e1d 100644
--- a/kogito-quarkus-examples/process-kafka-persistence-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-kafka-persistence-quarkus/pom.xml
@@ -19,7 +19,7 @@
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/mvnw b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/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/process-kafka-quickstart-quarkus/mvnw.cmd b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/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/process-kafka-quickstart-quarkus/pom.xml b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/pom.xml
index 294e08f529..de316a1b80 100644
--- a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/resources/handle-travellers.bpmn b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/resources/handle-travellers.bpmn
index 12d61037b4..ebb321b93e 100644
--- a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/resources/handle-travellers.bpmn
+++ b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/resources/handle-travellers.bpmn
@@ -11,7 +11,7 @@
-
+
diff --git a/kogito-quarkus-examples/process-knative-quickstart-quarkus/mvnw b/kogito-quarkus-examples/process-knative-quickstart-quarkus/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-quarkus-examples/process-knative-quickstart-quarkus/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/process-knative-quickstart-quarkus/mvnw.cmd b/kogito-quarkus-examples/process-knative-quickstart-quarkus/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-quarkus-examples/process-knative-quickstart-quarkus/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/process-knative-quickstart-quarkus/pom.xml b/kogito-quarkus-examples/process-knative-quickstart-quarkus/pom.xml
index 5d32855e63..d9eda52294 100644
--- a/kogito-quarkus-examples/process-knative-quickstart-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-knative-quickstart-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/main/resources/handle-travellers.bpmn b/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/main/resources/handle-travellers.bpmn
index 12d61037b4..ebb321b93e 100644
--- a/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/main/resources/handle-travellers.bpmn
+++ b/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/main/resources/handle-travellers.bpmn
@@ -11,7 +11,7 @@
-
+
diff --git a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/pom.xml b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/pom.xml
index 094560f07e..1e85b1c861 100644
--- a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/pom.xml b/kogito-quarkus-examples/process-monitoring-quarkus/pom.xml
index 1669a3fdfc..0febe54847 100755
--- a/kogito-quarkus-examples/process-monitoring-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-monitoring-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns="http://maven.apache.org/POM/4.0.0">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/src/main/java/org/kie/kogito/examples/quarkus/CalculationService.java b/kogito-quarkus-examples/process-monitoring-quarkus/src/main/java/org/acme/examples/quarkus/CalculationService.java
similarity index 90%
rename from kogito-quarkus-examples/process-monitoring-quarkus/src/main/java/org/kie/kogito/examples/quarkus/CalculationService.java
rename to kogito-quarkus-examples/process-monitoring-quarkus/src/main/java/org/acme/examples/quarkus/CalculationService.java
index 11dfcb97e2..1856b1cc0b 100644
--- a/kogito-quarkus-examples/process-monitoring-quarkus/src/main/java/org/kie/kogito/examples/quarkus/CalculationService.java
+++ b/kogito-quarkus-examples/process-monitoring-quarkus/src/main/java/org/acme/examples/quarkus/CalculationService.java
@@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.quarkus;
+package org.acme.examples.quarkus;
import java.util.Random;
import javax.enterprise.context.ApplicationScoped;
-import org.kie.kogito.examples.quarkus.demo.Order;
+import org.acme.examples.quarkus.demo.Order;
@ApplicationScoped
public class CalculationService {
diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/src/main/java/org/kie/kogito/examples/quarkus/demo/Order.java b/kogito-quarkus-examples/process-monitoring-quarkus/src/main/java/org/acme/examples/quarkus/demo/Order.java
similarity index 97%
rename from kogito-quarkus-examples/process-monitoring-quarkus/src/main/java/org/kie/kogito/examples/quarkus/demo/Order.java
rename to kogito-quarkus-examples/process-monitoring-quarkus/src/main/java/org/acme/examples/quarkus/demo/Order.java
index 03a8199193..8841baa41f 100755
--- a/kogito-quarkus-examples/process-monitoring-quarkus/src/main/java/org/kie/kogito/examples/quarkus/demo/Order.java
+++ b/kogito-quarkus-examples/process-monitoring-quarkus/src/main/java/org/acme/examples/quarkus/demo/Order.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.quarkus.demo;
+package org.acme.examples.quarkus.demo;
public class Order implements java.io.Serializable {
diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/src/main/resources/org/acme/examples/quarkus/orderItems.bpmn2 b/kogito-quarkus-examples/process-monitoring-quarkus/src/main/resources/org/acme/examples/quarkus/orderItems.bpmn2
new file mode 100644
index 0000000000..5c4db0b531
--- /dev/null
+++ b/kogito-quarkus-examples/process-monitoring-quarkus/src/main/resources/org/acme/examples/quarkus/orderItems.bpmn2
@@ -0,0 +1,224 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Message_1
+ Message_2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SequenceFlow_1
+
+
+
+
+
+
+
+ SequenceFlow_4
+
+
+
+
+
+
+
+ SequenceFlow_1
+ SequenceFlow_3
+
+
+
+
+ DataInput_1
+
+
+ DataOutput_1
+
+
+
+ order
+ DataInput_1
+
+
+ DataOutput_1
+ order
+
+
+
+
+
+
+
+
+
+
+ SequenceFlow_3
+ SequenceFlow_4
+
+
+
+
+
+
+
+
+
+
+
+
+ DataInput_14
+ DataInput_15
+ DataInput_16
+ DataInput_17
+ DataInput_18
+ DataInput_19
+ DataInput_20
+ DataInput_21
+ DataInput_22
+ DataInput_23
+
+
+
+
+ DataInput_14
+
+ Verify order
+ DataInput_14
+
+
+
+ DataInput_15
+
+ 1
+ DataInput_15
+
+
+
+ DataInput_16
+
+
+ DataInput_17
+
+
+ DataInput_18
+
+
+ DataInput_19
+
+ true
+ DataInput_19
+
+
+
+ DataInput_20
+
+
+ DataInput_21
+
+ en-UK
+ DataInput_21
+
+
+
+ DataInput_22
+
+
+ order
+ DataInput_23
+
+
+
+ john
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/kie/kogito/examples/orders.bpmn2 b/kogito-quarkus-examples/process-monitoring-quarkus/src/main/resources/org/acme/examples/quarkus/orders.bpmn2
similarity index 92%
rename from kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/kie/kogito/examples/orders.bpmn2
rename to kogito-quarkus-examples/process-monitoring-quarkus/src/main/resources/org/acme/examples/quarkus/orders.bpmn2
index 71e4146d37..5d32d890d5 100644
--- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/kie/kogito/examples/orders.bpmn2
+++ b/kogito-quarkus-examples/process-monitoring-quarkus/src/main/resources/org/acme/examples/quarkus/orders.bpmn2
@@ -1,11 +1,11 @@
-
+
-
-
-
+
+
+
@@ -45,8 +45,8 @@
_58684613-0155-48B2-8746-7675AFF24439_8216C810-34D8-4BFA-B814-1AA01907810F
-
-
+
+ _9484CB12-FE52-434C-AE9F-3C3C267D1C96_orderInputX
diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/src/main/resources/org/kie/kogito/examples/quarkus/orderItems.bpmn2 b/kogito-quarkus-examples/process-monitoring-quarkus/src/main/resources/org/kie/kogito/examples/quarkus/orderItems.bpmn2
deleted file mode 100644
index 9f8a81cb32..0000000000
--- a/kogito-quarkus-examples/process-monitoring-quarkus/src/main/resources/org/kie/kogito/examples/quarkus/orderItems.bpmn2
+++ /dev/null
@@ -1,224 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Message_1
- Message_2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SequenceFlow_1
-
-
-
-
-
-
-
- SequenceFlow_4
-
-
-
-
-
-
-
- SequenceFlow_1
- SequenceFlow_3
-
-
-
-
- DataInput_1
-
-
- DataOutput_1
-
-
-
- order
- DataInput_1
-
-
- DataOutput_1
- order
-
-
-
-
-
-
-
-
-
-
- SequenceFlow_3
- SequenceFlow_4
-
-
-
-
-
-
-
-
-
-
-
-
- DataInput_14
- DataInput_15
- DataInput_16
- DataInput_17
- DataInput_18
- DataInput_19
- DataInput_20
- DataInput_21
- DataInput_22
- DataInput_23
-
-
-
-
- DataInput_14
-
- Verify order
- DataInput_14
-
-
-
- DataInput_15
-
- 1
- DataInput_15
-
-
-
- DataInput_16
-
-
- DataInput_17
-
-
- DataInput_18
-
-
- DataInput_19
-
- true
- DataInput_19
-
-
-
- DataInput_20
-
-
- DataInput_21
-
- en-UK
- DataInput_21
-
-
-
- DataInput_22
-
-
- order
- DataInput_23
-
-
-
- john
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/DashboardGenerationIT.java b/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/acme/examples/quarkus/DashboardGenerationIT.java
similarity index 97%
rename from kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/DashboardGenerationIT.java
rename to kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/acme/examples/quarkus/DashboardGenerationIT.java
index 2ff62553c8..46a443b26c 100644
--- a/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/DashboardGenerationIT.java
+++ b/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/acme/examples/quarkus/DashboardGenerationIT.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.examples.quarkus;
+package org.acme.examples.quarkus;
import java.util.List;
diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/NativeDashboardGenerationIT.java b/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/acme/examples/quarkus/NativeDashboardGenerationIT.java
similarity index 95%
rename from kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/NativeDashboardGenerationIT.java
rename to kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/acme/examples/quarkus/NativeDashboardGenerationIT.java
index 7bf4ac629a..0f99c4b3e9 100644
--- a/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/NativeDashboardGenerationIT.java
+++ b/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/acme/examples/quarkus/NativeDashboardGenerationIT.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.examples.quarkus;
+package org.acme.examples.quarkus;
import io.quarkus.test.junit.NativeImageTest;
diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/ProcessMetricsTest.java b/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/acme/examples/quarkus/ProcessMetricsTest.java
similarity index 89%
rename from kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/ProcessMetricsTest.java
rename to kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/acme/examples/quarkus/ProcessMetricsTest.java
index a51cd75eee..eae8abf64d 100644
--- a/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/ProcessMetricsTest.java
+++ b/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/acme/examples/quarkus/ProcessMetricsTest.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.examples.quarkus;
+package org.acme.examples.quarkus;
import java.util.HashMap;
import java.util.Map;
@@ -22,10 +22,10 @@
import javax.inject.Inject;
import javax.inject.Named;
+import org.acme.examples.quarkus.demo.Order;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.kie.kogito.Model;
-import org.kie.kogito.examples.quarkus.demo.Order;
import org.kie.kogito.process.Process;
import org.kie.kogito.process.ProcessInstance;
@@ -91,13 +91,13 @@ public void testProcessMetricsQuarkus() {
String.format("kogito_process_instance_running_total{app_id=\"default-process-monitoring-listener\",artifactId=\"%s\",process_id=\"demo.orderItems\",version=\"%s\"} 1.0",
PROJECT_ARTIFACT_ID, PROJECT_VERSION)))
.body(containsString(
- String.format("kogito_work_item_duration_seconds_max{artifactId=\"%s\",name=\"org.kie.kogito.examples.quarkus.CalculationService_calculateTotal_3_Handler\",version=\"%s\"}",
+ String.format("kogito_work_item_duration_seconds_max{artifactId=\"%s\",name=\"org.acme.examples.quarkus.CalculationService_calculateTotal_3_Handler\",version=\"%s\"}",
PROJECT_ARTIFACT_ID, PROJECT_VERSION)))
.body(containsString(
- String.format("kogito_work_item_duration_seconds_count{artifactId=\"%s\",name=\"org.kie.kogito.examples.quarkus.CalculationService_calculateTotal_3_Handler\",version=\"%s\"}",
+ String.format("kogito_work_item_duration_seconds_count{artifactId=\"%s\",name=\"org.acme.examples.quarkus.CalculationService_calculateTotal_3_Handler\",version=\"%s\"}",
PROJECT_ARTIFACT_ID, PROJECT_VERSION)))
.body(containsString(
- String.format("kogito_work_item_duration_seconds_sum{artifactId=\"%s\",name=\"org.kie.kogito.examples.quarkus.CalculationService_calculateTotal_3_Handler\",version=\"%s\"}",
+ String.format("kogito_work_item_duration_seconds_sum{artifactId=\"%s\",name=\"org.acme.examples.quarkus.CalculationService_calculateTotal_3_Handler\",version=\"%s\"}",
PROJECT_ARTIFACT_ID, PROJECT_VERSION)));
}
}
diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/ProjectMetadataProvider.java b/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/acme/examples/quarkus/ProjectMetadataProvider.java
similarity index 97%
rename from kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/ProjectMetadataProvider.java
rename to kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/acme/examples/quarkus/ProjectMetadataProvider.java
index bd1570570f..aa2a309aeb 100644
--- a/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/ProjectMetadataProvider.java
+++ b/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/acme/examples/quarkus/ProjectMetadataProvider.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.quarkus;
+package org.acme.examples.quarkus;
import java.io.IOException;
import java.util.Properties;
diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/pom.xml b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/pom.xml
index 47aa6727e5..55faa2caef 100644
--- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/CalculationService.java b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/acme/examples/CalculationService.java
similarity index 92%
rename from kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/CalculationService.java
rename to kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/acme/examples/CalculationService.java
index fc2e8fee76..86eae23521 100644
--- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/CalculationService.java
+++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/acme/examples/CalculationService.java
@@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.util.Random;
import javax.enterprise.context.ApplicationScoped;
-import org.kie.kogito.examples.demo.Order;
+import org.acme.examples.demo.Order;
@ApplicationScoped
public class CalculationService {
diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/PersonValidationService.java b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/acme/examples/PersonValidationService.java
similarity index 92%
rename from kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/PersonValidationService.java
rename to kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/acme/examples/PersonValidationService.java
index af854584cb..a9896bbeb9 100644
--- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/PersonValidationService.java
+++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/acme/examples/PersonValidationService.java
@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
+import org.acme.examples.demo.Person;
import org.drools.ruleunits.api.DataSource;
import org.drools.ruleunits.api.DataStore;
import org.drools.ruleunits.api.RuleUnitData;
-import org.kie.kogito.examples.demo.Person;
public class PersonValidationService implements RuleUnitData {
private DataStore persons = DataSource.createStore();
diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/demo/Order.java b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/acme/examples/demo/Order.java
similarity index 97%
rename from kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/demo/Order.java
rename to kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/acme/examples/demo/Order.java
index 753b87aecd..5ef3a795e9 100755
--- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/demo/Order.java
+++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/acme/examples/demo/Order.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.demo;
+package org.acme.examples.demo;
public class Order implements java.io.Serializable {
diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/demo/Person.java b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/acme/examples/demo/Person.java
similarity index 97%
rename from kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/demo/Person.java
rename to kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/acme/examples/demo/Person.java
index c38f75fe3c..dad4622b65 100644
--- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/demo/Person.java
+++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/acme/examples/demo/Person.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.demo;
+package org.acme.examples.demo;
import java.io.Serializable;
diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/application.properties
index 29295e3600..af01fe35bf 100644
--- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/application.properties
+++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/application.properties
@@ -12,6 +12,6 @@ kogito.events.database=kogito
quarkus.http.cors=true
quarkus.container-image.build=true
-quarkus.container-image.group=org.kie.kogito.examples
+quarkus.container-image.group=org.acme.examples
quarkus.container-image.name=process-outbox-mongodb-quarkus
quarkus.container-image.tag=1.0
\ No newline at end of file
diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/acme/examples/PersonValidationService.drl
similarity index 90%
rename from kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl
rename to kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/acme/examples/PersonValidationService.drl
index 81e156389c..b0b311d775 100644
--- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl
+++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/acme/examples/PersonValidationService.drl
@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples
+package org.acme.examples
unit PersonValidationService
-import org.kie.kogito.examples.demo.Person;
+import org.acme.examples.demo.Person;
rule "Is adult"
when
diff --git a/kogito-springboot-examples/process-springboot-example/src/main/resources/org/kie/kogito/examples/orderItems.bpmn2 b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/acme/examples/orderItems.bpmn2
similarity index 96%
rename from kogito-springboot-examples/process-springboot-example/src/main/resources/org/kie/kogito/examples/orderItems.bpmn2
rename to kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/acme/examples/orderItems.bpmn2
index 9a3df852b4..fe6dbd00e8 100644
--- a/kogito-springboot-examples/process-springboot-example/src/main/resources/org/kie/kogito/examples/orderItems.bpmn2
+++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/acme/examples/orderItems.bpmn2
@@ -1,7 +1,7 @@
-
+
@@ -11,9 +11,9 @@
-
+
-
+
@@ -31,15 +31,15 @@
-
+ Message_1Message_2
-
+
-
+
diff --git a/kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/kie/kogito/examples/orders.bpmn2 b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/acme/examples/orders.bpmn2
similarity index 92%
rename from kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/kie/kogito/examples/orders.bpmn2
rename to kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/acme/examples/orders.bpmn2
index 71e4146d37..998e93cb78 100644
--- a/kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/kie/kogito/examples/orders.bpmn2
+++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/acme/examples/orders.bpmn2
@@ -1,11 +1,11 @@
-
+
-
-
-
+
+
+
@@ -45,8 +45,8 @@
_58684613-0155-48B2-8746-7675AFF24439_8216C810-34D8-4BFA-B814-1AA01907810F
-
-
+
+ _9484CB12-FE52-434C-AE9F-3C3C267D1C96_orderInputX
diff --git a/kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/kie/kogito/examples/persons.bpmn2 b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/acme/examples/persons.bpmn2
similarity index 93%
rename from kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/kie/kogito/examples/persons.bpmn2
rename to kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/acme/examples/persons.bpmn2
index 70a41e3cc5..5deac40f48 100644
--- a/kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/kie/kogito/examples/persons.bpmn2
+++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/acme/examples/persons.bpmn2
@@ -1,5 +1,5 @@
-
+
@@ -12,13 +12,13 @@
-
+
-
-
-
+
+
+
@@ -37,7 +37,7 @@
SequenceFlow_1
-
+
@@ -46,8 +46,8 @@
SequenceFlow_1SequenceFlow_2
-
-
+
+ BusinessRuleTask_1_personsInputX
@@ -84,7 +84,7 @@
SequenceFlow_4
-
+
diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/test/java/org/kie/kogito/quarkus/outbox/OutboxIT.java b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/test/java/org/acme/quarkus/outbox/OutboxIT.java
similarity index 99%
rename from kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/test/java/org/kie/kogito/quarkus/outbox/OutboxIT.java
rename to kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/test/java/org/acme/quarkus/outbox/OutboxIT.java
index 22fadaf7a2..6aa8268014 100644
--- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/test/java/org/kie/kogito/quarkus/outbox/OutboxIT.java
+++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/test/java/org/acme/quarkus/outbox/OutboxIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.quarkus.outbox;
+package org.acme.quarkus.outbox;
import java.nio.file.Path;
import java.nio.file.Paths;
diff --git a/kogito-quarkus-examples/process-performance-client/pom.xml b/kogito-quarkus-examples/process-performance-client/pom.xml
index 99cf83fa06..2d605de453 100755
--- a/kogito-quarkus-examples/process-performance-client/pom.xml
+++ b/kogito-quarkus-examples/process-performance-client/pom.xml
@@ -5,7 +5,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/AsyncRestDispatcher.java b/kogito-quarkus-examples/process-performance-client/src/main/java/org/acme/performance/client/AsyncRestDispatcher.java
similarity index 97%
rename from kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/AsyncRestDispatcher.java
rename to kogito-quarkus-examples/process-performance-client/src/main/java/org/acme/performance/client/AsyncRestDispatcher.java
index 565e46f314..88da440d1b 100644
--- a/kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/AsyncRestDispatcher.java
+++ b/kogito-quarkus-examples/process-performance-client/src/main/java/org/acme/performance/client/AsyncRestDispatcher.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.performance.client;
+package org.acme.performance.client;
import java.util.Collections;
import java.util.concurrent.ExecutionException;
diff --git a/kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/KafkaDispatcher.java b/kogito-quarkus-examples/process-performance-client/src/main/java/org/acme/performance/client/KafkaDispatcher.java
similarity index 98%
rename from kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/KafkaDispatcher.java
rename to kogito-quarkus-examples/process-performance-client/src/main/java/org/acme/performance/client/KafkaDispatcher.java
index 39d0a1e490..0c6c87055c 100644
--- a/kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/KafkaDispatcher.java
+++ b/kogito-quarkus-examples/process-performance-client/src/main/java/org/acme/performance/client/KafkaDispatcher.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.performance.client;
+package org.acme.performance.client;
import java.util.Collections;
import java.util.Map;
diff --git a/kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/MainRunner.java b/kogito-quarkus-examples/process-performance-client/src/main/java/org/acme/performance/client/MainRunner.java
similarity index 86%
rename from kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/MainRunner.java
rename to kogito-quarkus-examples/process-performance-client/src/main/java/org/acme/performance/client/MainRunner.java
index 988d2ead25..7a6f60bbec 100644
--- a/kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/MainRunner.java
+++ b/kogito-quarkus-examples/process-performance-client/src/main/java/org/acme/performance/client/MainRunner.java
@@ -14,9 +14,8 @@
* limitations under the License.
*/
-package org.kie.kogito.performance.client;
+package org.acme.performance.client;
-import org.kie.kogito.performance.client.RequestDispatcherFactory.RequestType;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -25,7 +24,7 @@ public class MainRunner {
private static final Logger logger = LoggerFactory.getLogger(MainRunner.class);
public static void main(String[] args) {
- try (RequestDispatcher dispatcher = RequestDispatcherFactory.getDispatcher(RequestType.KAFKA, "test")) {
+ try (RequestDispatcher dispatcher = RequestDispatcherFactory.getDispatcher(RequestDispatcherFactory.RequestType.KAFKA, "test")) {
new RequestDispatcherRunner(dispatcher, 100, 10).call();
} catch (Exception ex) {
logger.error("Execution error ", ex);
diff --git a/kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/RequestDispatcher.java b/kogito-quarkus-examples/process-performance-client/src/main/java/org/acme/performance/client/RequestDispatcher.java
similarity index 94%
rename from kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/RequestDispatcher.java
rename to kogito-quarkus-examples/process-performance-client/src/main/java/org/acme/performance/client/RequestDispatcher.java
index 1bdabe1066..05d5cb0237 100644
--- a/kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/RequestDispatcher.java
+++ b/kogito-quarkus-examples/process-performance-client/src/main/java/org/acme/performance/client/RequestDispatcher.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.performance.client;
+package org.acme.performance.client;
import java.util.function.Consumer;
diff --git a/kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/RequestDispatcherFactory.java b/kogito-quarkus-examples/process-performance-client/src/main/java/org/acme/performance/client/RequestDispatcherFactory.java
similarity index 96%
rename from kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/RequestDispatcherFactory.java
rename to kogito-quarkus-examples/process-performance-client/src/main/java/org/acme/performance/client/RequestDispatcherFactory.java
index 72b0f04ad0..49c51b01ad 100644
--- a/kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/RequestDispatcherFactory.java
+++ b/kogito-quarkus-examples/process-performance-client/src/main/java/org/acme/performance/client/RequestDispatcherFactory.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.performance.client;
+package org.acme.performance.client;
public class RequestDispatcherFactory {
diff --git a/kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/RequestDispatcherRunner.java b/kogito-quarkus-examples/process-performance-client/src/main/java/org/acme/performance/client/RequestDispatcherRunner.java
similarity index 99%
rename from kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/RequestDispatcherRunner.java
rename to kogito-quarkus-examples/process-performance-client/src/main/java/org/acme/performance/client/RequestDispatcherRunner.java
index ec74239016..11a00936cb 100644
--- a/kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/RequestDispatcherRunner.java
+++ b/kogito-quarkus-examples/process-performance-client/src/main/java/org/acme/performance/client/RequestDispatcherRunner.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.performance.client;
+package org.acme.performance.client;
import java.io.IOException;
import java.time.Duration;
diff --git a/kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/SyncRestDispatcher.java b/kogito-quarkus-examples/process-performance-client/src/main/java/org/acme/performance/client/SyncRestDispatcher.java
similarity index 97%
rename from kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/SyncRestDispatcher.java
rename to kogito-quarkus-examples/process-performance-client/src/main/java/org/acme/performance/client/SyncRestDispatcher.java
index 9f6728e852..a314823161 100644
--- a/kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/SyncRestDispatcher.java
+++ b/kogito-quarkus-examples/process-performance-client/src/main/java/org/acme/performance/client/SyncRestDispatcher.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.performance.client;
+package org.acme.performance.client;
import java.util.Collections;
import java.util.concurrent.ExecutionException;
diff --git a/kogito-quarkus-examples/process-performance-quarkus/README.md b/kogito-quarkus-examples/process-performance-quarkus/README.md
index f36be8e99c..f6749bf0e8 100644
--- a/kogito-quarkus-examples/process-performance-quarkus/README.md
+++ b/kogito-quarkus-examples/process-performance-quarkus/README.md
@@ -63,5 +63,5 @@ To run the generated native executable, generated in `target/`, execute
## Example Usage
-Once the service is up and running, to collect throughput numbers you need to manually change parameters in code of, compile and run class ```org.kie.kogito.performance.client.MainRunner``` in process-performance-client project
+Once the service is up and running, to collect throughput numbers you need to manually change parameters in code of, compile and run class ```org.acme.performance.client.MainRunner``` in process-performance-client project
diff --git a/kogito-quarkus-examples/process-performance-quarkus/pom.xml b/kogito-quarkus-examples/process-performance-quarkus/pom.xml
index 0d527b4389..c83f60f962 100755
--- a/kogito-quarkus-examples/process-performance-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-performance-quarkus/pom.xml
@@ -5,7 +5,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-performance-springboot/src/main/resources/org/kie/kogito/examples/kafkaTest.bpmn2 b/kogito-quarkus-examples/process-performance-quarkus/src/main/resources/org/acme/examples/kafkaTest.bpmn2
similarity index 97%
rename from kogito-springboot-examples/process-performance-springboot/src/main/resources/org/kie/kogito/examples/kafkaTest.bpmn2
rename to kogito-quarkus-examples/process-performance-quarkus/src/main/resources/org/acme/examples/kafkaTest.bpmn2
index 16c544ffe6..2b6e9462cc 100644
--- a/kogito-springboot-examples/process-performance-springboot/src/main/resources/org/kie/kogito/examples/kafkaTest.bpmn2
+++ b/kogito-quarkus-examples/process-performance-quarkus/src/main/resources/org/acme/examples/kafkaTest.bpmn2
@@ -6,7 +6,7 @@
-
+
diff --git a/kogito-quarkus-examples/process-performance-quarkus/src/main/resources/org/kie/kogito/examples/kafkaTestOtherChannel.bpmn2 b/kogito-quarkus-examples/process-performance-quarkus/src/main/resources/org/acme/examples/kafkaTestOtherChannel.bpmn2
similarity index 98%
rename from kogito-quarkus-examples/process-performance-quarkus/src/main/resources/org/kie/kogito/examples/kafkaTestOtherChannel.bpmn2
rename to kogito-quarkus-examples/process-performance-quarkus/src/main/resources/org/acme/examples/kafkaTestOtherChannel.bpmn2
index 4ce9c94cf6..64d28cd66b 100644
--- a/kogito-quarkus-examples/process-performance-quarkus/src/main/resources/org/kie/kogito/examples/kafkaTestOtherChannel.bpmn2
+++ b/kogito-quarkus-examples/process-performance-quarkus/src/main/resources/org/acme/examples/kafkaTestOtherChannel.bpmn2
@@ -6,7 +6,7 @@
-
+
diff --git a/kogito-springboot-examples/process-performance-springboot/src/main/resources/org/kie/kogito/examples/test.bpmn2 b/kogito-quarkus-examples/process-performance-quarkus/src/main/resources/org/acme/examples/test.bpmn2
similarity index 97%
rename from kogito-springboot-examples/process-performance-springboot/src/main/resources/org/kie/kogito/examples/test.bpmn2
rename to kogito-quarkus-examples/process-performance-quarkus/src/main/resources/org/acme/examples/test.bpmn2
index d41e777321..685f9246d6 100644
--- a/kogito-springboot-examples/process-performance-springboot/src/main/resources/org/kie/kogito/examples/test.bpmn2
+++ b/kogito-quarkus-examples/process-performance-quarkus/src/main/resources/org/acme/examples/test.bpmn2
@@ -3,7 +3,7 @@
-
+
diff --git a/kogito-quarkus-examples/process-postgresql-persistence-quarkus/pom.xml b/kogito-quarkus-examples/process-postgresql-persistence-quarkus/pom.xml
index 9068e217f4..740a899bd1 100644
--- a/kogito-quarkus-examples/process-postgresql-persistence-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-postgresql-persistence-quarkus/pom.xml
@@ -6,7 +6,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-quarkus-example/pom.xml b/kogito-quarkus-examples/process-quarkus-example/pom.xml
index 828f07f1fd..b5d4894bbb 100755
--- a/kogito-quarkus-examples/process-quarkus-example/pom.xml
+++ b/kogito-quarkus-examples/process-quarkus-example/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/CalculationService.java b/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/acme/examples/CalculationService.java
similarity index 92%
rename from kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/CalculationService.java
rename to kogito-quarkus-examples/process-quarkus-example/src/main/java/org/acme/examples/CalculationService.java
index bf28039f05..a19ceefae6 100644
--- a/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/CalculationService.java
+++ b/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/acme/examples/CalculationService.java
@@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.util.Random;
import javax.enterprise.context.ApplicationScoped;
-import org.kie.kogito.examples.demo.Order;
+import org.acme.examples.demo.Order;
@ApplicationScoped
public class CalculationService {
diff --git a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/PersonValidationService.java b/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/acme/examples/PersonValidationService.java
similarity index 92%
rename from kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/PersonValidationService.java
rename to kogito-quarkus-examples/process-quarkus-example/src/main/java/org/acme/examples/PersonValidationService.java
index 1601506f70..c6bc848a17 100644
--- a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/PersonValidationService.java
+++ b/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/acme/examples/PersonValidationService.java
@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
+import org.acme.examples.demo.Person;
import org.drools.ruleunits.api.DataSource;
import org.drools.ruleunits.api.DataStore;
import org.drools.ruleunits.api.RuleUnitData;
-import org.kie.kogito.examples.demo.Person;
public class PersonValidationService implements RuleUnitData {
private DataStore persons = DataSource.createStore();
diff --git a/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/demo/Order.java b/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/acme/examples/demo/Order.java
similarity index 97%
rename from kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/demo/Order.java
rename to kogito-quarkus-examples/process-quarkus-example/src/main/java/org/acme/examples/demo/Order.java
index de8b4fb8f2..ad88b5f75b 100755
--- a/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/demo/Order.java
+++ b/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/acme/examples/demo/Order.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.demo;
+package org.acme.examples.demo;
public class Order implements java.io.Serializable {
diff --git a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/demo/Person.java b/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/acme/examples/demo/Person.java
similarity index 97%
rename from kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/demo/Person.java
rename to kogito-quarkus-examples/process-quarkus-example/src/main/java/org/acme/examples/demo/Person.java
index 4ce2cb03d7..3bcbe19953 100644
--- a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/demo/Person.java
+++ b/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/acme/examples/demo/Person.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.demo;
+package org.acme.examples.demo;
import java.io.Serializable;
diff --git a/kogito-springboot-examples/process-springboot-example/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl b/kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/acme/examples/PersonValidationService.drl
similarity index 90%
rename from kogito-springboot-examples/process-springboot-example/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl
rename to kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/acme/examples/PersonValidationService.drl
index c78f0bc31b..bb86aec170 100644
--- a/kogito-springboot-examples/process-springboot-example/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl
+++ b/kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/acme/examples/PersonValidationService.drl
@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples
+package org.acme.examples
unit PersonValidationService
-import org.kie.kogito.examples.demo.Person;
+import org.acme.examples.demo.Person;
rule "Is adult"
when
diff --git a/kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/kie/kogito/examples/orderItems.bpmn2 b/kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/acme/examples/orderItems.bpmn2
similarity index 96%
rename from kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/kie/kogito/examples/orderItems.bpmn2
rename to kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/acme/examples/orderItems.bpmn2
index 9a3df852b4..fe6dbd00e8 100644
--- a/kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/kie/kogito/examples/orderItems.bpmn2
+++ b/kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/acme/examples/orderItems.bpmn2
@@ -1,7 +1,7 @@
-
+
@@ -11,9 +11,9 @@
-
+
-
+
@@ -31,15 +31,15 @@
-
+ Message_1Message_2
-
+
-
+
diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/src/main/resources/org/kie/kogito/examples/quarkus/orders.bpmn2 b/kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/acme/examples/orders.bpmn2
similarity index 91%
rename from kogito-quarkus-examples/process-monitoring-quarkus/src/main/resources/org/kie/kogito/examples/quarkus/orders.bpmn2
rename to kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/acme/examples/orders.bpmn2
index 20337562b1..998e93cb78 100644
--- a/kogito-quarkus-examples/process-monitoring-quarkus/src/main/resources/org/kie/kogito/examples/quarkus/orders.bpmn2
+++ b/kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/acme/examples/orders.bpmn2
@@ -1,11 +1,11 @@
-
+
-
-
-
+
+
+
@@ -45,8 +45,8 @@
_58684613-0155-48B2-8746-7675AFF24439_8216C810-34D8-4BFA-B814-1AA01907810F
-
-
+
+ _9484CB12-FE52-434C-AE9F-3C3C267D1C96_orderInputX
diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/kie/kogito/examples/persons.bpmn2 b/kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/acme/examples/persons.bpmn2
similarity index 93%
rename from kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/kie/kogito/examples/persons.bpmn2
rename to kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/acme/examples/persons.bpmn2
index 70a41e3cc5..5deac40f48 100644
--- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/kie/kogito/examples/persons.bpmn2
+++ b/kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/acme/examples/persons.bpmn2
@@ -1,5 +1,5 @@
-
+
@@ -12,13 +12,13 @@
-
+
-
-
-
+
+
+
@@ -37,7 +37,7 @@
SequenceFlow_1
-
+
@@ -46,8 +46,8 @@
SequenceFlow_1SequenceFlow_2
-
-
+
+ BusinessRuleTask_1_personsInputX
@@ -84,7 +84,7 @@
SequenceFlow_4
-
+
diff --git a/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/OrdersProcessIT.java b/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/acme/examples/OrdersProcessIT.java
similarity index 98%
rename from kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/OrdersProcessIT.java
rename to kogito-quarkus-examples/process-quarkus-example/src/test/java/org/acme/examples/OrdersProcessIT.java
index 55a9515e73..efa60f6f1a 100644
--- a/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/OrdersProcessIT.java
+++ b/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/acme/examples/OrdersProcessIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.util.Collections;
import java.util.HashMap;
@@ -24,12 +24,12 @@
import javax.inject.Inject;
import javax.inject.Named;
+import org.acme.examples.demo.Order;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.kie.kogito.Model;
import org.kie.kogito.auth.IdentityProviders;
import org.kie.kogito.auth.SecurityPolicy;
-import org.kie.kogito.examples.demo.Order;
import org.kie.kogito.process.Process;
import org.kie.kogito.process.ProcessInstance;
import org.kie.kogito.process.ProcessInstances;
diff --git a/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/OrdersRestIT.java b/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/acme/examples/OrdersRestIT.java
similarity index 99%
rename from kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/OrdersRestIT.java
rename to kogito-quarkus-examples/process-quarkus-example/src/test/java/org/acme/examples/OrdersRestIT.java
index a6c91f37bb..4634333b6e 100644
--- a/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/OrdersRestIT.java
+++ b/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/acme/examples/OrdersRestIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import javax.inject.Inject;
import javax.inject.Named;
diff --git a/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/PersonProcessIT.java b/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/acme/examples/PersonProcessIT.java
similarity index 98%
rename from kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/PersonProcessIT.java
rename to kogito-quarkus-examples/process-quarkus-example/src/test/java/org/acme/examples/PersonProcessIT.java
index bf8bec9a80..9f7330a24f 100644
--- a/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/PersonProcessIT.java
+++ b/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/acme/examples/PersonProcessIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.util.Collections;
import java.util.HashMap;
@@ -23,11 +23,11 @@
import javax.inject.Inject;
import javax.inject.Named;
+import org.acme.examples.demo.Person;
import org.junit.jupiter.api.Test;
import org.kie.kogito.Model;
import org.kie.kogito.auth.IdentityProviders;
import org.kie.kogito.auth.SecurityPolicy;
-import org.kie.kogito.examples.demo.Person;
import org.kie.kogito.process.Process;
import org.kie.kogito.process.ProcessInstance;
import org.kie.kogito.process.WorkItem;
diff --git a/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/PersonsRestIT.java b/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/acme/examples/PersonsRestIT.java
similarity index 99%
rename from kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/PersonsRestIT.java
rename to kogito-quarkus-examples/process-quarkus-example/src/test/java/org/acme/examples/PersonsRestIT.java
index 3dece4add2..2c8acca631 100644
--- a/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/PersonsRestIT.java
+++ b/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/acme/examples/PersonsRestIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import javax.inject.Inject;
import javax.inject.Named;
diff --git a/kogito-quarkus-examples/process-rest-service-call-quarkus/mvnw b/kogito-quarkus-examples/process-rest-service-call-quarkus/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-quarkus-examples/process-rest-service-call-quarkus/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/process-rest-service-call-quarkus/mvnw.cmd b/kogito-quarkus-examples/process-rest-service-call-quarkus/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-quarkus-examples/process-rest-service-call-quarkus/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/process-rest-service-call-quarkus/pom.xml b/kogito-quarkus-examples/process-rest-service-call-quarkus/pom.xml
index f15c86c1ef..7737faeeeb 100644
--- a/kogito-quarkus-examples/process-rest-service-call-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-rest-service-call-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/pom.xml b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/pom.xml
index a0cdb59184..179a7c2d4a 100644
--- a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-rest-workitem-quarkus/pom.xml b/kogito-quarkus-examples/process-rest-workitem-quarkus/pom.xml
index 70c6af42c8..860b1329c3 100644
--- a/kogito-quarkus-examples/process-rest-workitem-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-rest-workitem-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-saga-quarkus/README.md b/kogito-quarkus-examples/process-saga-quarkus/README.md
index 3316acafb5..ef863044a7 100644
--- a/kogito-quarkus-examples/process-saga-quarkus/README.md
+++ b/kogito-quarkus-examples/process-saga-quarkus/README.md
@@ -146,10 +146,10 @@ Response example:
In the console executing the application you can check the log it with the executed steps.
```text
-17:16:58:864 INFO [org.kie.kogito.examples.StockService] Created Stock for 12345678 with Id: 8ab1ac13-38d0-49e6-ab40-1edd2dc39922
-17:16:58:865 INFO [org.kie.kogito.examples.PaymentService] Created Payment for 12345678 with Id: 2bfc044a-ccb4-4072-a26e-5a533d835257
-17:16:58:865 INFO [org.kie.kogito.examples.ShippingService] Created Shipping for 12345678 with Id: 84a45015-c98b-4e08-b4cd-cf05a19b87e1
-17:16:58:865 INFO [org.kie.kogito.examples.OrderService] Success Order 12345678
+17:16:58:864 INFO [org.acme.examples.StockService] Created Stock for 12345678 with Id: 8ab1ac13-38d0-49e6-ab40-1edd2dc39922
+17:16:58:865 INFO [org.acme.examples.PaymentService] Created Payment for 12345678 with Id: 2bfc044a-ccb4-4072-a26e-5a533d835257
+17:16:58:865 INFO [org.acme.examples.ShippingService] Created Shipping for 12345678 with Id: 84a45015-c98b-4e08-b4cd-cf05a19b87e1
+17:16:58:865 INFO [org.acme.examples.OrderService] Success Order 12345678
```
#### Simulating errors to activate the compensation flows
@@ -200,13 +200,13 @@ Response example:
In the console executing the application you can check the log it with the executed steps.
```text
-17:16:17:723 INFO [org.kie.kogito.examples.StockService] Created Stock for 12345678 with Id: 9098daa2-f40f-4231-995a-1c7d159df190
-17:16:17:724 INFO [org.kie.kogito.examples.PaymentService] Created Payment for 12345678 with Id: d6ac4086-efe9-4a9e-849c-2b6d48dbc1f0
-17:16:17:724 INFO [org.kie.kogito.examples.ShippingService] Created Shipping for 12345678 with Id: 39c40aa1-10af-42ad-8ba2-b8dd9c6279e1
-17:16:17:746 WARN [org.kie.kogito.examples.ShippingService] Cancel Shipping for 39c40aa1-10af-42ad-8ba2-b8dd9c6279e1
-17:16:17:746 WARN [org.kie.kogito.examples.PaymentService] Cancel Payment for d6ac4086-efe9-4a9e-849c-2b6d48dbc1f0
-17:16:17:747 WARN [org.kie.kogito.examples.StockService] Cancel Stock for 9098daa2-f40f-4231-995a-1c7d159df190
-17:16:17:747 WARN [org.kie.kogito.examples.OrderService] Failed Order 12345678
+17:16:17:723 INFO [org.acme.examples.StockService] Created Stock for 12345678 with Id: 9098daa2-f40f-4231-995a-1c7d159df190
+17:16:17:724 INFO [org.acme.examples.PaymentService] Created Payment for 12345678 with Id: d6ac4086-efe9-4a9e-849c-2b6d48dbc1f0
+17:16:17:724 INFO [org.acme.examples.ShippingService] Created Shipping for 12345678 with Id: 39c40aa1-10af-42ad-8ba2-b8dd9c6279e1
+17:16:17:746 WARN [org.acme.examples.ShippingService] Cancel Shipping for 39c40aa1-10af-42ad-8ba2-b8dd9c6279e1
+17:16:17:746 WARN [org.acme.examples.PaymentService] Cancel Payment for d6ac4086-efe9-4a9e-849c-2b6d48dbc1f0
+17:16:17:747 WARN [org.acme.examples.StockService] Cancel Stock for 9098daa2-f40f-4231-995a-1c7d159df190
+17:16:17:747 WARN [org.acme.examples.OrderService] Failed Order 12345678
```
## Deploying with Kogito Operator
diff --git a/kogito-quarkus-examples/process-saga-quarkus/pom.xml b/kogito-quarkus-examples/process-saga-quarkus/pom.xml
index 1cf3201035..8b653012e6 100644
--- a/kogito-quarkus-examples/process-saga-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-saga-quarkus/pom.xml
@@ -2,7 +2,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/MockService.java b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/acme/examples/MockService.java
similarity index 97%
rename from kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/MockService.java
rename to kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/acme/examples/MockService.java
index f54ca193e4..8f4051d14d 100644
--- a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/MockService.java
+++ b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/acme/examples/MockService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.util.Objects;
import java.util.Optional;
diff --git a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/OrderService.java b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/acme/examples/OrderService.java
similarity index 97%
rename from kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/OrderService.java
rename to kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/acme/examples/OrderService.java
index 516164b9b3..640dc4125d 100644
--- a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/OrderService.java
+++ b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/acme/examples/OrderService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import javax.enterprise.context.ApplicationScoped;
diff --git a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/PaymentService.java b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/acme/examples/PaymentService.java
similarity index 97%
rename from kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/PaymentService.java
rename to kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/acme/examples/PaymentService.java
index 960c190f4f..58fb3464ed 100644
--- a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/PaymentService.java
+++ b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/acme/examples/PaymentService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
diff --git a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/Response.java b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/acme/examples/Response.java
similarity index 97%
rename from kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/Response.java
rename to kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/acme/examples/Response.java
index 193443e4ff..96f5025791 100644
--- a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/Response.java
+++ b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/acme/examples/Response.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import com.fasterxml.jackson.annotation.JsonIgnore;
diff --git a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/ServiceException.java b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/acme/examples/ServiceException.java
similarity index 95%
rename from kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/ServiceException.java
rename to kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/acme/examples/ServiceException.java
index 908552aa21..51d6a2cd5b 100644
--- a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/ServiceException.java
+++ b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/acme/examples/ServiceException.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
public class ServiceException extends RuntimeException {
diff --git a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/ShippingService.java b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/acme/examples/ShippingService.java
similarity index 98%
rename from kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/ShippingService.java
rename to kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/acme/examples/ShippingService.java
index 26c06a016c..0aa9432fa8 100644
--- a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/ShippingService.java
+++ b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/acme/examples/ShippingService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
diff --git a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/StockService.java b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/acme/examples/StockService.java
similarity index 97%
rename from kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/StockService.java
rename to kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/acme/examples/StockService.java
index 8c74346bdf..ea2f1bb41e 100644
--- a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/StockService.java
+++ b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/acme/examples/StockService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
diff --git a/kogito-quarkus-examples/process-saga-quarkus/src/main/resources/order-saga-error-handling.bpmn2 b/kogito-quarkus-examples/process-saga-quarkus/src/main/resources/order-saga-error-handling.bpmn2
index df323464d0..88717bb865 100644
--- a/kogito-quarkus-examples/process-saga-quarkus/src/main/resources/order-saga-error-handling.bpmn2
+++ b/kogito-quarkus-examples/process-saga-quarkus/src/main/resources/order-saga-error-handling.bpmn2
@@ -1,55 +1,55 @@
-
-
-
+
+
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -103,7 +103,7 @@
-
+ _83820D13-5545-488E-B86C-485C9FC4AEC5
-
+ _8EE09D40-0D96-4EC0-86E4-A3FB11B78EB0_idInputX
@@ -131,7 +131,7 @@ Success]]>
orderResponse
-
+
@@ -151,7 +151,7 @@ Success]]>
-
+
@@ -171,7 +171,7 @@ Success]]>
-
+
@@ -194,7 +194,7 @@ Success]]>
_83820D13-5545-488E-B86C-485C9FC4AEC5
-
+
@@ -206,7 +206,7 @@ Success]]>
-
+ _49632170-78A4-4962-B98C-E2962724056C_idInputX_49632170-78A4-4962-B98C-E2962724056C_failInputX
@@ -236,7 +236,7 @@ Success]]>
paymentResponse
-
+
@@ -248,7 +248,7 @@ Success]]>
-
+ _509E842A-8338-48F6-8268-161C000C840B_idInputX_509E842A-8338-48F6-8268-161C000C840B_failInputX
@@ -278,7 +278,7 @@ Success]]>
shippingResponse
-
+
@@ -290,7 +290,7 @@ Success]]>
-
+ _F12F8E21-9130-49C3-A73F-F3B0093104FB_idInputX_F12F8E21-9130-49C3-A73F-F3B0093104FB_failInputX
@@ -350,9 +350,9 @@ Success]]>
_D20C84EC-27D5-4FFD-B959-87DFF80B9AA1
-
+
-
+
@@ -362,7 +362,7 @@ Success]]>
_63149CDE-40ED-4AAF-B2CA-C2878156B8F7
-
+ _A4898FE5-A2BC-4D3C-90F2-7992CD7FB20C_idInputX
diff --git a/kogito-quarkus-examples/process-saga-quarkus/src/main/resources/order-saga.bpmn2 b/kogito-quarkus-examples/process-saga-quarkus/src/main/resources/order-saga.bpmn2
index 2e0de8760b..aab6c965f4 100644
--- a/kogito-quarkus-examples/process-saga-quarkus/src/main/resources/order-saga.bpmn2
+++ b/kogito-quarkus-examples/process-saga-quarkus/src/main/resources/order-saga.bpmn2
@@ -1,51 +1,51 @@
-
-
-
+
+
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -167,7 +167,7 @@
_A362E8DF-2D3C-4371-BB9A-611A8336BB5B_9990FC64-2DC3-409F-982C-747DA4EABC0E
-
+
@@ -177,7 +177,7 @@
_63149CDE-40ED-4AAF-B2CA-C2878156B8F7
-
+ _A4898FE5-A2BC-4D3C-90F2-7992CD7FB20C_idInputX
@@ -194,7 +194,7 @@
orderResponse
-
+ _83820D13-5545-488E-B86C-485C9FC4AEC5
-
+ _8EE09D40-0D96-4EC0-86E4-A3FB11B78EB0_idInputX
@@ -241,7 +241,7 @@ Success]]>
_2FAB8CB2-7CD0-4D20-BF40-4808AFA8297B_6B77DF02-AB0F-49C6-973B-9526E7BB0B8E
-
+
@@ -261,7 +261,7 @@ Success]]>
-
+
@@ -281,7 +281,7 @@ Success]]>
-
+
@@ -304,7 +304,7 @@ Success]]>
_83820D13-5545-488E-B86C-485C9FC4AEC5
-
+
@@ -315,7 +315,7 @@ Success]]>
-
+ _49632170-78A4-4962-B98C-E2962724056C_idInputX_49632170-78A4-4962-B98C-E2962724056C_failInputX
@@ -337,7 +337,7 @@ Success]]>
paymentResponse
-
+
@@ -348,7 +348,7 @@ Success]]>
-
+ _509E842A-8338-48F6-8268-161C000C840B_idInputX_509E842A-8338-48F6-8268-161C000C840B_failInputX
@@ -370,7 +370,7 @@ Success]]>
shippingResponse
-
+
@@ -381,7 +381,7 @@ Success]]>
-
+ _F12F8E21-9130-49C3-A73F-F3B0093104FB_idInputX_F12F8E21-9130-49C3-A73F-F3B0093104FB_failInputX
diff --git a/kogito-quarkus-examples/process-saga-quarkus/src/test/java/org/kie/kogito/examples/ProcessSagaIT.java b/kogito-quarkus-examples/process-saga-quarkus/src/test/java/org/acme/examples/ProcessSagaIT.java
similarity index 98%
rename from kogito-quarkus-examples/process-saga-quarkus/src/test/java/org/kie/kogito/examples/ProcessSagaIT.java
rename to kogito-quarkus-examples/process-saga-quarkus/src/test/java/org/acme/examples/ProcessSagaIT.java
index 02a02a792a..ccfca4ef12 100644
--- a/kogito-quarkus-examples/process-saga-quarkus/src/test/java/org/kie/kogito/examples/ProcessSagaIT.java
+++ b/kogito-quarkus-examples/process-saga-quarkus/src/test/java/org/acme/examples/ProcessSagaIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.junit.jupiter.api.Test;
diff --git a/kogito-quarkus-examples/process-scripts-quarkus/mvnw b/kogito-quarkus-examples/process-scripts-quarkus/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-quarkus-examples/process-scripts-quarkus/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/process-scripts-quarkus/mvnw.cmd b/kogito-quarkus-examples/process-scripts-quarkus/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-quarkus-examples/process-scripts-quarkus/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/process-scripts-quarkus/pom.xml b/kogito-quarkus-examples/process-scripts-quarkus/pom.xml
index 8515e4db68..1c9574c1e7 100644
--- a/kogito-quarkus-examples/process-scripts-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-scripts-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-service-calls-quarkus/mvnw b/kogito-quarkus-examples/process-service-calls-quarkus/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-quarkus-examples/process-service-calls-quarkus/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/process-service-calls-quarkus/mvnw.cmd b/kogito-quarkus-examples/process-service-calls-quarkus/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-quarkus-examples/process-service-calls-quarkus/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/process-service-calls-quarkus/pom.xml b/kogito-quarkus-examples/process-service-calls-quarkus/pom.xml
index 8c439f2359..91db0d1c7e 100644
--- a/kogito-quarkus-examples/process-service-calls-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-service-calls-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-timer-quarkus/mvnw b/kogito-quarkus-examples/process-timer-quarkus/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-quarkus-examples/process-timer-quarkus/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/process-timer-quarkus/mvnw.cmd b/kogito-quarkus-examples/process-timer-quarkus/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-quarkus-examples/process-timer-quarkus/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/process-timer-quarkus/pom.xml b/kogito-quarkus-examples/process-timer-quarkus/pom.xml
index 32533e0903..d222d6b118 100644
--- a/kogito-quarkus-examples/process-timer-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-timer-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/mvnw b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/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/process-usertasks-custom-lifecycle-quarkus/mvnw.cmd b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/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/process-usertasks-custom-lifecycle-quarkus/pom.xml b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/pom.xml
index 50dffbd7f2..3740955d76 100644
--- a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/pom.xml b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/pom.xml
index d0a90b39a0..86c05750bc 100644
--- a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/pom.xml
+++ b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/pom.xml
@@ -2,7 +2,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/java/org/kie/kogito/hr/Candidate.java b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/java/org/acme/hr/Candidate.java
similarity index 98%
rename from kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/java/org/kie/kogito/hr/Candidate.java
rename to kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/java/org/acme/hr/Candidate.java
index 1a8b140240..7285fb294f 100644
--- a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/java/org/kie/kogito/hr/Candidate.java
+++ b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/java/org/acme/hr/Candidate.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.hr;
+package org.acme.hr;
public class Candidate {
diff --git a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/resources/hiring.bpmn b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/resources/hiring.bpmn
index 925ce15331..9050567932 100644
--- a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/resources/hiring.bpmn
+++ b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/resources/hiring.bpmn
@@ -1,5 +1,5 @@
-
+
@@ -14,7 +14,7 @@
-
+
@@ -28,9 +28,9 @@
-
+
-
+
@@ -71,7 +71,7 @@
_D762FECA-89D1-40DE-97EC-F69FA9A3E4B3
-
+
@@ -124,7 +124,7 @@
_27F81353-7101-4BDF-BB04-2FD45983C17F
-
+
diff --git a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/test/java/org/kie/kogito/hr/HiringProcessIT.java b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/test/java/org/acme/hr/HiringProcessIT.java
similarity index 99%
rename from kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/test/java/org/kie/kogito/hr/HiringProcessIT.java
rename to kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/test/java/org/acme/hr/HiringProcessIT.java
index 01c683b6ee..b287925755 100644
--- a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/test/java/org/kie/kogito/hr/HiringProcessIT.java
+++ b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/test/java/org/acme/hr/HiringProcessIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.hr;
+package org.acme.hr;
import java.util.Arrays;
import java.util.HashMap;
diff --git a/kogito-quarkus-examples/process-usertasks-quarkus/mvnw b/kogito-quarkus-examples/process-usertasks-quarkus/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-quarkus-examples/process-usertasks-quarkus/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/process-usertasks-quarkus/mvnw.cmd b/kogito-quarkus-examples/process-usertasks-quarkus/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-quarkus-examples/process-usertasks-quarkus/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/process-usertasks-quarkus/pom.xml b/kogito-quarkus-examples/process-usertasks-quarkus/pom.xml
index 912b403358..731c7bbf0b 100644
--- a/kogito-quarkus-examples/process-usertasks-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-usertasks-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/pom.xml b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/pom.xml
index d2f0609460..465c2fd6f3 100644
--- a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/pom.xml
+++ b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/pom.xml
@@ -2,7 +2,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/java/org/kie/kogito/hr/Candidate.java b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/java/org/acme/hr/Candidate.java
similarity index 98%
rename from kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/java/org/kie/kogito/hr/Candidate.java
rename to kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/java/org/acme/hr/Candidate.java
index 1d37a2d4bf..3fe5f9c581 100644
--- a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/java/org/kie/kogito/hr/Candidate.java
+++ b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/java/org/acme/hr/Candidate.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.hr;
+package org.acme.hr;
public class Candidate {
diff --git a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/resources/hiring.bpmn b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/resources/hiring.bpmn
index 24edc296b2..b7566baa70 100644
--- a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/resources/hiring.bpmn
+++ b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/resources/hiring.bpmn
@@ -1,5 +1,5 @@
-
+
@@ -14,7 +14,7 @@
-
+
@@ -28,9 +28,9 @@
-
+
-
+
@@ -107,7 +107,7 @@
_ECE52C1C-B8CB-424D-8C0F-D5BFD50B1530
-
+
@@ -157,7 +157,7 @@
_B03EF43B-AF6A-4FDA-92B3-A166585A941D
-
+
diff --git a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/test/java/org/kie/kogito/hr/HiringProcessIT.java b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/test/java/org/acme/hr/HiringProcessIT.java
similarity index 99%
rename from kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/test/java/org/kie/kogito/hr/HiringProcessIT.java
rename to kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/test/java/org/acme/hr/HiringProcessIT.java
index 01c683b6ee..b287925755 100644
--- a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/test/java/org/kie/kogito/hr/HiringProcessIT.java
+++ b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/test/java/org/acme/hr/HiringProcessIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.hr;
+package org.acme.hr;
import java.util.Arrays;
import java.util.HashMap;
diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/pom.xml b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/pom.xml
index 85006df8d8..5c4f4c42fa 100644
--- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/pom.xml
+++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/mvnw b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/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/process-usertasks-with-security-oidc-quarkus/mvnw.cmd b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/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/process-usertasks-with-security-oidc-quarkus/pom.xml b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/pom.xml
index f6b3936147..c4b99c8635 100644
--- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/mvnw b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/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/process-usertasks-with-security-quarkus/mvnw.cmd b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/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/process-usertasks-with-security-quarkus/pom.xml b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/pom.xml
index 6f84b3d3ed..fb70f3914f 100644
--- a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/rules-incubation-api-quarkus/pom.xml b/kogito-quarkus-examples/rules-incubation-api-quarkus/pom.xml
index 75331b945f..f3e3a2cb53 100644
--- a/kogito-quarkus-examples/rules-incubation-api-quarkus/pom.xml
+++ b/kogito-quarkus-examples/rules-incubation-api-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/java/org/acme/CustomRestRules.java b/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/java/org/acme/examples/CustomRestRules.java
similarity index 97%
rename from kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/java/org/acme/CustomRestRules.java
rename to kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/java/org/acme/examples/CustomRestRules.java
index 923a30f4f5..84d9b9a2a7 100644
--- a/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/java/org/acme/CustomRestRules.java
+++ b/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/java/org/acme/examples/CustomRestRules.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.acme;
+package org.acme.examples;
import java.util.Map;
import java.util.stream.Stream;
@@ -25,7 +25,6 @@
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
-import org.kie.kogito.examples.Hello;
import org.kie.kogito.incubation.application.AppRoot;
import org.kie.kogito.incubation.common.DataContext;
import org.kie.kogito.incubation.common.MapDataContext;
diff --git a/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/java/org/kie/kogito/examples/Hello.java b/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/java/org/acme/examples/Hello.java
similarity index 96%
rename from kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/java/org/kie/kogito/examples/Hello.java
rename to kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/java/org/acme/examples/Hello.java
index 09fd0a12b4..257268a5de 100644
--- a/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/java/org/kie/kogito/examples/Hello.java
+++ b/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/java/org/acme/examples/Hello.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.drools.ruleunits.api.DataSource;
import org.drools.ruleunits.api.DataStore;
diff --git a/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/resources/org/kie/kogito/examples/Hello.drl b/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/resources/org/acme/examples/Hello.drl
similarity index 95%
rename from kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/resources/org/kie/kogito/examples/Hello.drl
rename to kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/resources/org/acme/examples/Hello.drl
index e6d2073438..1d08d9af73 100644
--- a/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/resources/org/kie/kogito/examples/Hello.drl
+++ b/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/resources/org/acme/examples/Hello.drl
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
unit Hello;
rule helloWorld
diff --git a/kogito-quarkus-examples/rules-legacy-quarkus-example/pom.xml b/kogito-quarkus-examples/rules-legacy-quarkus-example/pom.xml
index 3b0a409833..83b1c24ca5 100644
--- a/kogito-quarkus-examples/rules-legacy-quarkus-example/pom.xml
+++ b/kogito-quarkus-examples/rules-legacy-quarkus-example/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/Applicant.java b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/acme/legacy/Applicant.java
similarity index 97%
rename from kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/Applicant.java
rename to kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/acme/legacy/Applicant.java
index 771c31fe80..9ccfd60395 100644
--- a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/Applicant.java
+++ b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/acme/legacy/Applicant.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.legacy;
+package org.acme.legacy;
public class Applicant {
diff --git a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/FindApprovedLoansEndpoint.java b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/acme/legacy/FindApprovedLoansEndpoint.java
similarity index 98%
rename from kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/FindApprovedLoansEndpoint.java
rename to kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/acme/legacy/FindApprovedLoansEndpoint.java
index 7eb1ae4e38..7cee81b034 100644
--- a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/FindApprovedLoansEndpoint.java
+++ b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/acme/legacy/FindApprovedLoansEndpoint.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.legacy;
+package org.acme.legacy;
import java.util.ArrayList;
import java.util.List;
diff --git a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/LoanApplication.java b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/acme/legacy/LoanApplication.java
similarity index 98%
rename from kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/LoanApplication.java
rename to kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/acme/legacy/LoanApplication.java
index 053c5e25b9..2c8037b63d 100644
--- a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/LoanApplication.java
+++ b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/acme/legacy/LoanApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.legacy;
+package org.acme.legacy;
public class LoanApplication {
diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/LoanDto.java b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/acme/legacy/LoanDto.java
similarity index 97%
rename from kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/LoanDto.java
rename to kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/acme/legacy/LoanDto.java
index 1db9def3c2..ef1a82c5c6 100644
--- a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/LoanDto.java
+++ b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/acme/legacy/LoanDto.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.legacy;
+package org.acme.legacy;
import java.util.List;
diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/resources/org/kie/kogito/legacy/LoanRules.drl b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/resources/org/acme/legacy/LoanRules.drl
similarity index 95%
rename from kogito-springboot-examples/rules-legacy-springboot-example/src/main/resources/org/kie/kogito/legacy/LoanRules.drl
rename to kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/resources/org/acme/legacy/LoanRules.drl
index e9a24b46c9..5eafd184d5 100644
--- a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/resources/org/kie/kogito/legacy/LoanRules.drl
+++ b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/resources/org/acme/legacy/LoanRules.drl
@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.legacy;
+package org.acme.legacy;
-import org.kie.kogito.legacy.LoanApplication;
+import org.acme.legacy.LoanApplication;
global Integer maxAmount;
global java.util.List approvedApplications;
diff --git a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/java/org/kie/kogito/NativeRestQueryTestIT.java b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/java/org/acme/NativeRestQueryTestIT.java
similarity index 97%
rename from kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/java/org/kie/kogito/NativeRestQueryTestIT.java
rename to kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/java/org/acme/NativeRestQueryTestIT.java
index 3455e8798f..5bfcf4f811 100644
--- a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/java/org/kie/kogito/NativeRestQueryTestIT.java
+++ b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/java/org/acme/NativeRestQueryTestIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito;
+package org.acme;
import io.quarkus.test.junit.NativeImageTest;
diff --git a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/java/org/kie/kogito/RestQueryTest.java b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/java/org/acme/RestQueryTest.java
similarity index 99%
rename from kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/java/org/kie/kogito/RestQueryTest.java
rename to kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/java/org/acme/RestQueryTest.java
index e8d437ddf1..cd2ea2f6f7 100644
--- a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/java/org/kie/kogito/RestQueryTest.java
+++ b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/java/org/acme/RestQueryTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito;
+package org.acme;
import org.junit.jupiter.api.Test;
diff --git a/kogito-quarkus-examples/rules-quarkus-helloworld/pom.xml b/kogito-quarkus-examples/rules-quarkus-helloworld/pom.xml
index 3f593a1550..dad0b2230f 100755
--- a/kogito-quarkus-examples/rules-quarkus-helloworld/pom.xml
+++ b/kogito-quarkus-examples/rules-quarkus-helloworld/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/java/org/kie/kogito/examples/Hello.java b/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/java/org/acme/examples/Hello.java
similarity index 96%
rename from kogito-quarkus-examples/rules-quarkus-helloworld/src/main/java/org/kie/kogito/examples/Hello.java
rename to kogito-quarkus-examples/rules-quarkus-helloworld/src/main/java/org/acme/examples/Hello.java
index 8d068badf1..464cf71788 100644
--- a/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/java/org/kie/kogito/examples/Hello.java
+++ b/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/java/org/acme/examples/Hello.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.drools.ruleunits.api.DataSource;
import org.drools.ruleunits.api.DataStore;
diff --git a/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/java/org/kie/kogito/examples/MyAgendaEventListener.java b/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/java/org/acme/examples/MyAgendaEventListener.java
similarity index 97%
rename from kogito-quarkus-examples/rules-quarkus-helloworld/src/main/java/org/kie/kogito/examples/MyAgendaEventListener.java
rename to kogito-quarkus-examples/rules-quarkus-helloworld/src/main/java/org/acme/examples/MyAgendaEventListener.java
index 0af433e963..4888069408 100644
--- a/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/java/org/kie/kogito/examples/MyAgendaEventListener.java
+++ b/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/java/org/acme/examples/MyAgendaEventListener.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.util.concurrent.atomic.AtomicInteger;
diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/org/kie/kogito/examples/Hello.drl b/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/resources/org/acme/examples/Hello.drl
similarity index 95%
rename from kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/org/kie/kogito/examples/Hello.drl
rename to kogito-quarkus-examples/rules-quarkus-helloworld/src/main/resources/org/acme/examples/Hello.drl
index 7aaacc6c99..ecdea0651a 100644
--- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/org/kie/kogito/examples/Hello.drl
+++ b/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/resources/org/acme/examples/Hello.drl
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
unit Hello;
rule helloWorld
diff --git a/kogito-quarkus-examples/rules-quarkus-helloworld/src/test/java/org/kie/kogito/examples/HelloTest.java b/kogito-quarkus-examples/rules-quarkus-helloworld/src/test/java/org/acme/examples/HelloTest.java
similarity index 97%
rename from kogito-quarkus-examples/rules-quarkus-helloworld/src/test/java/org/kie/kogito/examples/HelloTest.java
rename to kogito-quarkus-examples/rules-quarkus-helloworld/src/test/java/org/acme/examples/HelloTest.java
index 689a1fd08c..813a99e5b5 100644
--- a/kogito-quarkus-examples/rules-quarkus-helloworld/src/test/java/org/kie/kogito/examples/HelloTest.java
+++ b/kogito-quarkus-examples/rules-quarkus-helloworld/src/test/java/org/acme/examples/HelloTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import javax.inject.Inject;
diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/README.md b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/README.md
index 504e15027f..a91fb5346f 100644
--- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/README.md
+++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/README.md
@@ -108,7 +108,7 @@ Note: This does not yet work on Windows, GraalVM and Quarkus should be rolling o
## Example Usage
-Here is an example of a input event that triggers the evaluation of the [Loan Unit](src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl) queries
+Here is an example of a input event that triggers the evaluation of the [Loan Unit](src/main/resources/org/acme/queries/RuleUnitQuery.drl) queries
included in this example. The `data` field contains the query input.
Just send this payload to the configured input topic:
@@ -120,7 +120,7 @@ Just send this payload to the configured input topic:
"source": "SomeEventSource",
"type": "RulesRequest",
"subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
+ "kogitoruleunitid": "org.acme.queries.LoanUnit",
"kogitoruleunitquery": "FindApproved",
"data": {
"maxAmount": 5000,
@@ -166,7 +166,7 @@ And you should receive something similar to this in the output topic:
"source": "find-approved",
"type": "RulesResponse",
"subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
+ "kogitoruleunitid": "org.acme.queries.LoanUnit",
"kogitoruleunitquery": "FindApproved",
"data": [
{
diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/out.txt b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/out.txt
deleted file mode 100644
index 9002dae5cc..0000000000
--- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/out.txt
+++ /dev/null
@@ -1,1950 +0,0 @@
-[INFO] Scanning for projects...
-[INFO] ------------------------------------------------------------------------
-[INFO] Detecting the operating system and CPU architecture
-[INFO] ------------------------------------------------------------------------
-[INFO] os.detected.name: linux
-[INFO] os.detected.arch: x86_64
-[INFO] os.detected.version: 5.19
-[INFO] os.detected.version.major: 5
-[INFO] os.detected.version.minor: 19
-[INFO] os.detected.release: fedora
-[INFO] os.detected.release.version: 36
-[INFO] os.detected.release.like.fedora: true
-[INFO] os.detected.classifier: linux-x86_64
-[INFO]
-[INFO] -------< org.kie.kogito.examples:ruleunit-event-driven-quarkus >--------
-[INFO] Building Kogito Example :: Rule Unit Event-Driven :: Quarkus 2.0.0-SNAPSHOT
-[INFO] --------------------------------[ jar ]---------------------------------
-[INFO]
-[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ ruleunit-event-driven-quarkus ---
-[INFO] Deleting /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target
-[INFO]
-[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-versions) @ ruleunit-event-driven-quarkus ---
-[INFO]
-[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-java-version) @ ruleunit-event-driven-quarkus ---
-[INFO]
-[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ ruleunit-event-driven-quarkus ---
-[INFO]
-[INFO] --- maven-checkstyle-plugin:3.1.1:check (default) @ ruleunit-event-driven-quarkus ---
-[INFO] You have 0 Checkstyle violations.
-[INFO]
-[INFO] --- buildnumber-maven-plugin:1.4:create (get-scm-revision) @ ruleunit-event-driven-quarkus ---
-[INFO] Executing: /bin/sh -c cd '/home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus' && 'git' 'rev-parse' '--verify' 'HEAD'
-[INFO] Working directory: /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus
-[INFO] Storing buildNumber: b44e1b0f077b5f2905c3a4d4652871e82082f4a6 at timestamp: 1665063468886
-[INFO] Storing buildScmBranch: main
-[INFO]
-[INFO] --- formatter-maven-plugin:2.13.0:format (default) @ ruleunit-event-driven-quarkus ---
-[INFO] Using 'UTF-8' encoding to format source files.
-[INFO] Number of files to be formatted: 5
-[INFO] Successfully formatted: 1 file(s)
-[INFO] Fail to format: 0 file(s)
-[INFO] Skipped: 4 file(s)
-[INFO] Read only skipped: 0 file(s)
-[INFO] Approximate time taken: 0s
-[INFO]
-[INFO] --- impsort-maven-plugin:1.5.0:sort (default) @ ruleunit-event-driven-quarkus ---
-[INFO] Using compiler compliance level: JAVA_11
-[INFO] Total Files Processed: 5 in 00:00.139
-[INFO] Already Sorted: 4
-[INFO] Needed Sorting: 1
-[INFO]
-[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ ruleunit-event-driven-quarkus ---
-[debug] execute contextualize
-[INFO] Using 'UTF-8' encoding to copy filtered resources.
-[INFO] Copying 2 resources
-[INFO]
-[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ruleunit-event-driven-quarkus ---
-[INFO] Changes detected - recompiling the module!
-[INFO] Compiling 4 source files to /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/classes
-[INFO]
-[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ ruleunit-event-driven-quarkus ---
-[debug] execute contextualize
-[INFO] Using 'UTF-8' encoding to copy filtered resources.
-[INFO] Copying 16 resources
-[INFO]
-[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ruleunit-event-driven-quarkus ---
-[INFO] Changes detected - recompiling the module!
-[INFO] Compiling 1 source file to /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/test-classes
-[WARNING] /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/java/org/kie/kogito/examples/RuleUnitEventDrivenIT.java:[61,13] configure(com.fasterxml.jackson.databind.MapperFeature,boolean) in com.fasterxml.jackson.databind.ObjectMapper has been deprecated
-[INFO]
-[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ ruleunit-event-driven-quarkus ---
-[INFO]
-[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ ruleunit-event-driven-quarkus ---
-[INFO] Building jar: /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/ruleunit-event-driven-quarkus.jar
-[INFO]
-[INFO] --- maven-jar-plugin:3.1.0:test-jar (test-jar) @ ruleunit-event-driven-quarkus ---
-[INFO] Building jar: /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/ruleunit-event-driven-quarkus-tests.jar
-[INFO]
-[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ ruleunit-event-driven-quarkus ---
-[INFO] Building jar: /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/ruleunit-event-driven-quarkus-sources.jar
-[INFO]
-[INFO] --- maven-source-plugin:3.0.1:test-jar-no-fork (attach-test-sources) @ ruleunit-event-driven-quarkus ---
-[INFO] Building jar: /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/ruleunit-event-driven-quarkus-test-sources.jar
-[INFO]
-[INFO] --- quarkus-maven-plugin:2.13.0.Final:build (default) @ ruleunit-event-driven-quarkus ---
-[INFO] Performed addonsConfig discovery, found: AddonsConfig{usePersistence=false, useTracing=false, useMonitoring=false, usePrometheusMonitoring=false, useCloudEvents=true, useExplainability=false, useProcessSVG=false, useEventDrivenDecisions=false, useEventDrivenRules=true}
-[INFO] Generator discovery performed, found [processes, rules]
-[INFO] Skipping generator 'processes' because disabled
-[INFO] [org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor] reflectiveEfestoGeneratedClassBuildItem org.kie.kogito.quarkus.common.deployment.KogitoGeneratedSourcesBuildItem@27405711
-[WARNING] [io.quarkus.config] Unrecognized configuration key "quarkus.swagger-ui.always-include" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo
-[INFO] [io.quarkus.arc.processor.BeanProcessor] Found unrecommended usage of private members (use package-private instead) in application beans:
- - @PostConstruct callback org.kie.kogito.queries.LoanUnitQueryFindAllApplicationAmountsEventDrivenExecutor#onPostConstruct(),
- - @PostConstruct callback org.kie.kogito.queries.LoanUnitQueryFindNotApprovedIdAndAmountEventDrivenExecutor#onPostConstruct(),
- - @PostConstruct callback org.kie.kogito.queries.LoanUnitQueryFindApprovedEventDrivenExecutor#onPostConstruct()
-[INFO] [io.quarkus.deployment.QuarkusAugmentor] Quarkus augmentation completed in 2671ms
-[INFO]
-[INFO] --- maven-resources-plugin:2.5:copy-resources (add-it-resources) @ ruleunit-event-driven-quarkus ---
-[debug] execute contextualize
-[INFO] Using 'UTF-8' encoding to copy filtered resources.
-[INFO] Copying 2 resources
-[INFO]
-[INFO] --- maven-failsafe-plugin:3.0.0-M5:integration-test (integration-test) @ ruleunit-event-driven-quarkus ---
-[INFO]
-[INFO] -------------------------------------------------------
-[INFO] T E S T S
-[INFO] -------------------------------------------------------
-[INFO] Running org.kie.kogito.examples.RuleUnitEventDrivenIT
-2022-10-06 15:37:58,032 INFO [org.tes.uti.ImageNameSubstitutor] (main) Found configured ImageNameSubstitutor: Kogito Image Name Substitutor
-2022-10-06 15:37:58,034 INFO [org.tes.uti.ImageNameSubstitutor] (main) Image name substitution will be performed by: Chained substitutor of 'DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor')' and then 'Kogito Image Name Substitutor'
-2022-10-06 15:37:58,054 INFO [org.tes.doc.DockerClientProviderStrategy] (pool-3-thread-1) Loaded org.testcontainers.dockerclient.UnixSocketClientProviderStrategy from ~/.testcontainers.properties, will try it first
-2022-10-06 15:37:58,389 INFO [org.tes.doc.DockerClientProviderStrategy] (pool-3-thread-1) Found Docker environment with local Unix socket (unix:///var/run/docker.sock)
-2022-10-06 15:37:58,390 INFO [org.tes.DockerClientFactory] (pool-3-thread-1) Docker host IP address is localhost
-2022-10-06 15:37:58,401 INFO [org.tes.DockerClientFactory] (pool-3-thread-1) Connected to docker:
- Server Version: 20.10.18
- API Version: 1.41
- Operating System: Fedora Linux 36 (Workstation Edition)
- Total Memory: 31835 MB
-2022-10-06 15:37:58,445 INFO [🐳 .11.8]] (pool-3-thread-1) Creating container for image: vectorized/redpanda:v21.11.8
-2022-10-06 15:37:58,465 INFO [🐳 .3.3]] (pool-3-thread-1) Creating container for image: testcontainers/ryuk:0.3.3
-2022-10-06 15:37:58,556 INFO [🐳 .3.3]] (pool-3-thread-1) Container testcontainers/ryuk:0.3.3 is starting: 333c5735674d41dc22a2db02f09cda2f3fa3e24c21d29b039733537745df5644
-2022-10-06 15:37:58,824 INFO [🐳 .3.3]] (pool-3-thread-1) Container testcontainers/ryuk:0.3.3 started in PT0.359444935S
-2022-10-06 15:37:58,865 INFO [🐳 .11.8]] (pool-3-thread-1) Container vectorized/redpanda:v21.11.8 is starting: f5b812c0f0a46f2f8f18d9d37e79549e4a39261697be7481d8a4c442cbad0da7
-We'd love to hear about your experience with redpanda:
-https://vectorized.io/feedback
-Starting redpanda...
-Running:
-HOSTNAME=f5b812c0f0a4 PWD=/ HOME=/var/lib/redpanda SHLVL=1 PATH=/opt/redpanda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /opt/redpanda/bin/redpanda redpanda --redpanda-cfg /etc/redpanda/redpanda.yaml --memory=1G --lock-memory=false --reserve-memory=0M --overprovisioned --smp=1
-2022-10-06 15:37:59,545 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: We'd love to hear about your experience with redpanda:
-2022-10-06 15:37:59,547 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: https://vectorized.io/feedback
-2022-10-06 15:37:59,547 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: Starting redpanda...
-2022-10-06 15:37:59,548 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: Running:
-2022-10-06 15:37:59,549 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: HOSTNAME=f5b812c0f0a4 PWD=/ HOME=/var/lib/redpanda SHLVL=1 PATH=/opt/redpanda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /opt/redpanda/bin/redpanda redpanda --redpanda-cfg /etc/redpanda/redpanda.yaml --memory=1G --lock-memory=false --reserve-memory=0M --overprovisioned --smp=1
-
-
-Welcome to the Redpanda community!
-
-Slack: https://vectorized.io/slack - is the main way the community interacts with one another in real time :)
-Twitter: https://twitter.com/vectorizedio - come say hi!
-Github Discussion: https://github.com/vectorizedio/redpanda/discussions - is preferred for longer, async, thoughtful discussions
-2022-10-06 15:37:59,573 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT:
-GitHub Issues: https://github.com/vectorizedio/redpanda/issues - is reserved only for actual issues. Please use the GitHub for discussions.
-Documentation: https://vectorized.io/docs/ - official docs site
-Support: https://support.vectorized.io/ - to share private information with the production support vectorized team
-2022-10-06 15:37:59,573 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT:
-Product Feedback: https://vectorized.io/feedback/ - let us know how we can improve your experience
-
-
-INFO redpanda::main - application.cc:160 - Redpanda v21.11.8 - e7867b4fd34296daa2497ebc352e68b9dbc2a6b5-dirty
-INFO redpanda::main - application.cc:168 - kernel=5.19.12-200.fc36.x86_64, nodename=f5b812c0f0a4, machine=x86_64
-2022-10-06 15:37:59,574 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: Welcome to the Redpanda community!
-2022-10-06 15:37:59,574 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT:
-2022-10-06 15:37:59,574 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: Slack: https://vectorized.io/slack - is the main way the community interacts with one another in real time :)
-2022-10-06 15:37:59,575 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: Twitter: https://twitter.com/vectorizedio - come say hi!
-2022-10-06 15:37:59,575 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: Github Discussion: https://github.com/vectorizedio/redpanda/discussions - is preferred for longer, async, thoughtful discussions
-2022-10-06 15:37:59,575 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: GitHub Issues: https://github.com/vectorizedio/redpanda/issues - is reserved only for actual issues. Please use the GitHub for discussions.
-2022-10-06 15:37:59,576 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: Documentation: https://vectorized.io/docs/ - official docs site
-2022-10-06 15:37:59,576 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: Support: https://support.vectorized.io/ - to share private information with the production support vectorized team
-2022-10-06 15:37:59,576 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: Product Feedback: https://vectorized.io/feedback/ - let us know how we can improve your experience
-2022-10-06 15:37:59,577 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT:
-2022-10-06 15:37:59,577 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT:
-2022-10-06 15:37:59,577 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO redpanda::main - application.cc:160 - Redpanda v21.11.8 - e7867b4fd34296daa2497ebc352e68b9dbc2a6b5-dirty
-2022-10-06 15:37:59,578 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO redpanda::main - application.cc:168 - kernel=5.19.12-200.fc36.x86_64, nodename=f5b812c0f0a4, machine=x86_64
-INFO 2022-10-06 13:37:59,618 [shard 0] redpanda::main - application.cc:144 - System resources: { cpus: 1, available memory: 1024.000MiB, reserved memory: 0.000bytes}
-INFO 2022-10-06 13:37:59,618 [shard 0] redpanda::main - application.cc:152 - File handle limit: 1073741816/1073741816
-2022-10-06 15:37:59,618 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,618 [shard 0] redpanda::main - application.cc:144 - System resources: { cpus: 1, available memory: 1024.000MiB, reserved memory: 0.000bytes}
-2022-10-06 15:37:59,619 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,618 [shard 0] redpanda::main - application.cc:152 - File handle limit: 1073741816/1073741816
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:323 - Configuration:
-
-config_file: /etc/redpanda/redpanda.yaml
-2022-10-06 15:37:59,626 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:323 - Configuration:
-node_uuid: m8mqeuQJxPuEdKnEY49cHwypzhCDKCPyfGqcyLSD2of3eQFof
-pandaproxy: {}
-redpanda:
- admin:
- - address: 0.0.0.0
- port: 9644
-2022-10-06 15:37:59,626 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR:
- advertised_kafka_api:
- - address: localhost
- name: OUTSIDE
- port: 49238
- - address: f5b812c0f0a4
- name: PLAINTEXT
-2022-10-06 15:37:59,627 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: config_file: /etc/redpanda/redpanda.yaml
- port: 29092
- auto_create_topics_enabled: true
- data_directory: /var/lib/redpanda/data
- developer_mode: true
- enable_idempotence: true
- enable_transactions: true
-2022-10-06 15:37:59,627 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: node_uuid: m8mqeuQJxPuEdKnEY49cHwypzhCDKCPyfGqcyLSD2of3eQFof
- kafka_api:
- - address: 0.0.0.0
- name: PLAINTEXT
- port: 29092
- - address: 0.0.0.0
- name: OUTSIDE
- port: 9092
- node_id: 0
- rpc_server:
-2022-10-06 15:37:59,627 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: pandaproxy: {}
- address: 0.0.0.0
- port: 33145
- seed_servers: []
-rpk:
- coredump_dir: /var/lib/redpanda/coredump
- enable_memory_locking: false
-2022-10-06 15:37:59,628 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: redpanda:
- enable_usage_stats: true
- overprovisioned: true
- tune_aio_events: false
- tune_ballast_file: false
- tune_clocksource: false
- tune_coredump: false
- tune_cpu: false
-2022-10-06 15:37:59,628 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: admin:
- tune_disk_irq: false
- tune_disk_nomerges: false
- tune_disk_scheduler: false
- tune_disk_write_cache: false
- tune_fstrim: false
- tune_network: false
- tune_swappiness: false
- tune_transparent_hugepages: false
-schema_registry: {}
-2022-10-06 15:37:59,628 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: - address: 0.0.0.0
-
-
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:327 - Use `rpk config set ` to change values below:
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metrics_reporter_report_interval:86400000 - cluster metrics reporter report interval
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metrics_reporter_tick_interval:60000 - Cluster metrics reporter tick interval
-2022-10-06 15:37:59,628 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: port: 9644
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.leader_balancer_idle_timeout:120000 - Leadership rebalancing idle timeout
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.full_raft_configuration_recovery_pattern:{} - Recover raft configuration on start for NTPs matching pattern
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_min_depth:1 - Minimum queue depth used in kafka queue depth control.
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_idle_depth:10 - Queue depth when idleness is detected in kafka queue depth control.
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.health_manager_tick_interval:180000 - How often the health manager runs
-2022-10-06 15:37:59,629 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: advertised_kafka_api:
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_max_latency_ms:80 - Max latency threshold for kafka queue depth control depth tracking.
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_depth_alpha:0.8 - Smoothing factor for kafka queue depth control depth tracking.
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_window_count:12 - Number of windows used in kafka queue depth control latency tracking.
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.superusers:{} - List of superuser usernames
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_cache_check_interval:30000 - Timeout to check if cache eviction should be triggered
-2022-10-06 15:37:59,629 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: - address: localhost
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_cache_size:21474836480 - Max size of archival cache
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_upload_ctrl_d_coeff:0 - derivative coefficient for upload PID controller.
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_enable:0 - Enable kafka queue depth control.
-2022-10-06 15:37:59,629 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: name: OUTSIDE
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_upload_ctrl_p_coeff:-2 - proportional coefficient for upload PID controller
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_upload_ctrl_update_interval_ms:60000 -
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_max_connection_idle_time_ms:5000 - Max https connection idle time (ms)
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_segment_upload_timeout_ms:30000 - Log segment upload timeout (ms)
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_trust_file:{nullopt} - Path to certificate that should be used to validate server certificate during TLS handshake
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_api_endpoint_port:443 - TLS port override
-2022-10-06 15:37:59,629 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: port: 49238
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_disable_tls:0 - Disable TLS for all S3 connections
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_reconciliation_interval_ms:10000 - Interval at which the archival service runs reconciliation (ms)
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_api_endpoint:{nullopt} - Optional API endpoint
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_secret_key:{nullopt} - AWS secret key
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_enable_remote_write:0 - Enable remote write for all topics
-2022-10-06 15:37:59,630 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: - address: f5b812c0f0a4
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_window_size_ms:1500 - Window size for kafka queue depth control latency tracking.
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_enable_remote_read:0 - Enable remote read for all topics
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.members_backend_retry_ms:5000 - Time between members backend reconciliation loop retries
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_max_shares:1000 - maximum number of IO and CPU shares that compaction process can use
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_min_shares:10 - minimum number of IO and CPU shares that compaction process can use
-2022-10-06 15:37:59,630 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: name: PLAINTEXT
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_d_coeff:0.2 - derivative coefficient for compaction PID controller.
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_i_coeff:0 - integral coefficient for compaction PID controller.
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_depth_update_ms:7000 - Update frequency for kafka queue depth control.
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_p_coeff:-12.5 - proportional coefficient for compaction PID controller. This has to be negative since compaction backlog should decrease when number of compaction shares increases
-2022-10-06 15:37:59,630 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: port: 29092
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_update_interval_ms:30000 -
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_auto_rebalance_on_node_add:0 - Enable automatic partition rebalancing when new nodes are added
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.node_management_operation_timeout_ms:5000 - Timeout for executing node management operations
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.leader_balancer_mute_timeout:300000 - Leadership rebalancing mute timeout
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.id_allocator_batch_size:1000 - Id allocator allocates messages in batches (each batch is a one log record) and then serves requests from memory without touching the log until the batch is exhausted.
-2022-10-06 15:37:59,630 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: auto_create_topics_enabled: true
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.id_allocator_log_capacity:100 - Capacity of the id_allocator log in number of messages. Once it reached id_allocator_stm should compact the log.
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_transfer_leader_recovery_timeout_ms:10000 - Timeout waiting for follower recovery when transferring leadership
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.reclaim_max_size:4194304 - Maximum batch cache reclaim size
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.fetch_session_eviction_timeout_ms:60000 - Minimum time before which unused session will get evicted from sessions. Max2022-10-06 15:37:59,631 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: data_directory: /var/lib/redpanda/data
-imum time after which inactive session will be deleted is two time given configuration valuecache
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.segment_appender_flush_timeout_ms:1000 - Maximum delay until buffered data is written
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.retention_bytes:{nullopt} - Default max bytes per partition on disk before triggering a compaction
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.join_retry_timeout_ms:5000 - Time between cluster join retries in milliseconds
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_admin_api:1 - Enable the admin API
-2022-10-06 15:37:59,631 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: developer_mode: true
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_io_timeout_ms:10000 - Raft I/O timeout
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.zstd_decompress_workspace_bytes:8388608 - Size of the zstd decompression workspace
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_backlog_size:{nullopt} - target backlog size for compaction controller. if not set compaction target compaction backlog would be equal to
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.append_chunk_size:16384 - Size of direct write operations to disk
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.auto_create_topics_enabled:1 - Allow topic auto creation
-2022-10-06 15:37:59,631 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: enable_idempotence: true
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.reclaim_stable_window:10000 - Length of time above which growth is reset
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_pid_file:1 - Enable pid file. You probably don't want to change this.
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_group_recovery_timeout_ms:30000 - Kafka group recovery timeout expressed in milliseconds
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.reclaim_growth_window:3000 - Length of time in which reclaim sizes grow
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_smp_max_non_local_requests:0 - Maximum number of x-core requests pending in Raft seastar::smp group. (for more details look at `seastar::smp_service_group` documentation)
-2022-10-06 15:37:59,631 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: enable_transactions: true
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_timeout_now_timeout_ms:1000 - Timeout for a timeout now request
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.recovery_append_timeout_ms:5000 - Timeout for append entries requests issued while updating stale follower
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.health_monitor_tick_interval:10000 - How often health monitor refresh cluster state
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.internal_topic_replication_factor:3 - Target replication factor for internal topics
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.replicate_append_timeout_ms:3000 - Timeout for append entries requests issued while replicating entries
-2022-10-06 15:37:59,632 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: kafka_api:
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.log_segment_size:1073741824 - How large in bytes should each log segment be (default 1G)
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.disable_batch_cache:0 - Disable batch cache in log manager
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.election_timeout_ms:1500 - Election timeout expressed in milliseconds
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.default_topic_partitions:1 - Default number of partitions per topic
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.wait_for_leader_timeout_ms:5000 - Timeout (ms) to wait for leadership in metadata cache
-2022-10-06 15:37:59,632 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: - address: 0.0.0.0
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_max_depth:100 - Maximum queue depth used in kafka queue depth control.
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cluster_id:{nullopt} - Cluster identifier
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.transaction_coordinator_delete_retention_ms:604800000 - delete segments older than this - default 1 week
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.storage_read_buffer_size:131072 - Size of each read buffer (one per in-flight read, per log segment)
-2022-10-06 15:37:59,632 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: name: PLAINTEXT
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metadata_status_wait_timeout_ms:2000 - Maximum time to wait in metadata request for cluster health to be refreshed
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.transaction_coordinator_cleanup_policy:delete - Cleanup policy for a transaction coordinator topic
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.max_kafka_throttle_delay_ms:60000 - Fail-safe maximum throttle delay on kafka requests
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_idempotence:1 - Enable idempotent producer
-2022-10-06 15:37:59,632 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: port: 29092
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.id_allocator_replication:1 - Replication factor for an id allocator topic
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.abort_timed_out_transactions_interval_ms:60000 - How often look for the inactive transactions and abort them
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_upload_ctrl_min_shares:100 - minimum number of IO and CPU shares that archival upload can use
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.default_topic_replications:1 - Default replication factor for new topics
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.rpc_server_listen_backlog:{nullopt} - TCP connection queue length for Kafka server and internal RPC server
-2022-10-06 15:37:59,633 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: - address: 0.0.0.0
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.group_topic_partitions:1 - Number of partitions in the internal group membership topic
-2022-10-06 15:37:59,633 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: name: OUTSIDE
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.log_compaction_interval_ms:10000 - How often do we trigger background compaction
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_enabled:0 - Enable archival storage
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.delete_retention_ms:604800000 - delete segments older than this - default 1 week
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.abort_index_segment_size:50000 - Capacity (in number of txns) of an abort index segment
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_bucket:{nullopt} - AWS bucket that should be used to store data
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_2022-10-06 15:37:59,633 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: port: 9092
-transactions:1 - Enable transactions
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metrics_reporter_url:https://m.rp.vectorized.io/v2 - cluster metrics reporter url
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.coproc_max_batch_size:32768 - Maximum amount of bytes to read from one topic read
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.transaction_coordinator_replication:1 - Replication factor for a transaction coordinator topic
-2022-10-06 15:37:59,633 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: node_id: 0
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metadata_dissemination_retry_delay_ms:320 - Delay before retry a topic lookup in a shard or other meta tables
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.log_message_timestamp_type:CreateTime - Default topic messages timestamp type
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.reclaim_min_size:131072 - Minimum batch cache reclaim size
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_max_connections:20 - Max number of simultaneous uploads to S3
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_replicate_batch_window_size:1048576 - Max size of requests cached for replication
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.quota_manager_gc_sec:30000 - Quota manager GC frequency in milliseconds
-2022-10-06 15:37:59,634 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: rpc_server:
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.rm_violation_recovery_policy:crash - Describes how to recover from an invariant violation happened on the partition level
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.coproc_max_ingest_bytes:655360 - Maximum amount of data to hold from input logs in memory
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.alter_topic_cfg_timeout_ms:5000 - Time to wait for entries replication in controller log when executing alter configuration requst
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_latency_alpha:0.002 - Smoothing parameter for kafka queue depth control latency tracking.
-2022-10-06 15:37:59,634 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: address: 0.0.0.0
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.log_cleanup_policy:delete - Default topic cleanup policy
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_metrics_reporter:1 - Enable cluster metrics reporter
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.health_monitor_max_metadata_age:10000 - Max age of metadata cached in the health monitor of non controller node
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_heartbeat_interval_ms:150 - Milliseconds for raft leader heartbeats
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_segment_max_upload_interval_sec:{nullopt} - Time that segment can be kept locally without uploading it to the remote storage (sec)
-2022-10-06 15:37:59,634 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: port: 33145
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.readers_cache_eviction_timeout_ms:30000 - Duration after which inactive readers will be evicted from cache
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_coproc:0 - Enable coprocessing mode
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.log_compression_type:producer - Default topic compression type
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.fetch_reads_debounce_timeout:1 - Time to wait for next read in fetch request when requested min bytes wasn't reached
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.release_cache_on_segment_roll:0 - Free cache when segments roll
-2022-10-06 15:37:59,634 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: seed_servers: []
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kvstore_flush_interval:10 - Key-value store flush interval (ms)
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.max_compacted_log_segment_size:5368709120 - Max compacted segment size after consolidation
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.rm_sync_timeout_ms:10000 - Time to wait state catch up before rejecting a request
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.transaction_coordinator_log_segment_size:1073741824 - How large in bytes should each log segment be (default 1G)
-2022-10-06 15:37:59,635 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: rpk:
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.tm_violation_recovery_policy:crash - Describes how to recover from an invariant violation happened on the transaction coordinator level
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.group_new_member_join_timeout:30000 - Timeout for new member joins
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_manifest_upload_timeout_ms:10000 - Manifest upload timeout (ms)
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.storage_read_readahead_count:10 - How many additional reads to issue ahead of current read location
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.group_initial_rebalance_delay:300 - Extra delay (ms) added to rebalance phase to wait for new members
-2022-10-06 15:37:59,635 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: coredump_dir: /var/lib/redpanda/coredump
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.group_max_session_timeout_ms:300000 - The maximum allowed session timeout for registered consumers. Longer timeouts give consumers more time to process messages in between heartbeats at the cost of a longer time to detect failures.
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_learner_recovery_rate:104857600 - Raft learner recovery rate limit in bytes per sec
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_upload_ctrl_max_shares:1000 - maximum number of IO and CPU shares that archival upload can use
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.group_min_session_timeout_ms:6000 - The minimum allowed session timeout for registered consumers. Shorter timeouts result in quicker failure detection at the cost of more frequent consumer heartbeating, which can overwhelm broker resources.
-2022-10-06 15:37:59,635 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: enable_memory_locking: false
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.controller_backend_housekeeping_interval_ms:1000 - Interval between iterations of controller backend housekeeping loop
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.tm_sync_timeout_ms:10000 - Time to wait state catch up before rejecting a request
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_max_concurrent_append_requests_per_follower:16 - Maximum number of concurrent append entries requests sent by leader to one follower
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.seed_server_meta_topic_partitions: -
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metadata_dissemination_interval_ms:3000 - Interaval for metadata dissemination batching
-INF2022-10-06 15:37:59,635 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: enable_usage_stats: true
-O 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.default_num_windows:10 - Default number of quota tracking windows
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_sasl:0 - Enable SASL authentication for Kafka connections.
-2022-10-06 15:37:59,636 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: overprovisioned: true
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kvstore_max_segment_size:16777216 - Key-value maximum segment size (bytes)
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.min_version: -
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_heartbeat_disconnect_failures:3 - After how many failed heartbeats to forcibly close an unresponsive TCP connection. Set to 0 to disable force disconnection.
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.max_version: -
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.default_window_sec:1000 - Default quota tracking window size in milliseconds
-2022-10-06 15:37:59,636 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_aio_events: false
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.fetch_max_bytes:57671680 - Maximum number of bytes returned in fetch request
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_heartbeat_timeout_ms:3000 - raft heartbeat RPC timeout
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_access_key:{nullopt} - AWS access key
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.transactional_id_expiration_ms:604800000 - Producer ids are expired once this time has elapsed after the last write with the given producer id.
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.tx_timeout_delay_ms:1000 - Delay before scheduling next check for timed out transactions
-2022-10-06 15:37:59,636 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_ballast_file: false
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.coproc_max_inflight_bytes:10485760 - Maximum amountt of inflight bytes when sending data to wasm engine
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.target_quota_byte_rate:2147483648 - Target quota byte rate (bytes per second) - 2GB default
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.create_topic_timeout_ms:2000 - Timeout (ms) to wait for new topic creation
-2022-10-06 15:37:59,636 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_clocksource: false
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metadata_dissemination_retries:30 - Number of attempts of looking up a topic's meta data like shard before failing a request
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.use_scheduling_groups: -
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.disable_metrics:0 - Disable registering metrics
-2022-10-06 15:37:59,637 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_coredump: false
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.rpc_server_tcp_send_buf:{nullopt} - TCP transmit buffer size in bytes.
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.coproc_offset_flush_interval_ms:300000 - Interval for which all coprocessor offsets are flushed to disk
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_leader_balancer:1 - Enable automatic leadership rebalancing
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_initial_backoff_ms:100 - Initial backoff time for exponetial backoff algorithm (ms)
-2022-10-06 15:37:59,637 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_cpu: false
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.rpc_server_tcp_recv_buf:{nullopt} - TCP receive buffer size in bytes.
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_max_bytes_per_fetch:67108864 - Limit fetch responses to this many bytes, even if total of partition bytes limits is higher
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.developer_mode:1 - Skips most of the checks performed at startup, not recomended for production use
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_region:{nullopt} - AWS region that houses the bucket used for storage
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compacted_log_segment_size:268435456 - How large in bytes should each compacted log segment be (default 256MiB)
-2022-10-06 15:37:59,637 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_disk_irq: false
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.advertised_kafka_api:{{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}} - Address of Kafka API published to the clients
-INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.coproc_supervisor_server:{host: 127.0.0.1, port: 43189} - IpAddress and port for supervisor service
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.node_id:{0} - Unique id identifying a node in the cluster
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.admin_api_tls:{} - TLS configuration for admin HTTP server
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_api_tls:{} - TLS configuration for Kafka API endpoint
-2022-10-06 15:37:59,637 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_disk_nomerges: false
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.advertised_rpc_api:{nullopt} - Address of RPC endpoint published to other cluster members
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_api:{{PLAINTEXT:{host: 0.0.0.0, port: 29092}}, {OUTSIDE:{host: 0.0.0.0, port: 9092}}} - Address and port of an interface to listen for Kafka API requests
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.rpc_server_tls:{ enabled: 0 key/cert files: {nullopt} ca file: {nullopt} client_auth_required: 0 } - TLS configuration for RPC server
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.rpc_server:{host: 0.0.0.0, port: 33145} - IpAddress and port for RPC server
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.dashboard_dir:{nullopt} - serve http dashboard on / url
-2022-10-06 15:37:59,638 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_disk_scheduler: false
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.admin:{{:{host: 0.0.0.0, port: 9644}}} - Address and port of admin server
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_central_config:0 - Enable central storage + sync of cluster configuration
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.seed_servers:{} - List of the seed servers used to join current cluster. If the seed_server list is empty the node will be a cluster root and it will form a new cluster
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.admin_api_doc_dir:/usr/share/redpanda/admin-api-doc - Admin API doc directory
-2022-10-06 15:37:59,638 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_disk_write_cache: false
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.rack:{nullopt} - Rack identifier
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_cache_directory:{nullopt} - Directory for archival cache. Should be present when `cloud_storage_enabled` is present
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.data_directory:{data_directory="/var/li2022-10-06 15:37:59,638 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_fstrim: false
-b/redpanda/data"} - Place where redpanda will keep the data
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy.consumer_instance_timeout_ms:300000 - How long to wait for an idle consumer before removing it
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy.advertised_pandaproxy_api:{} - Rest API address and port to publish to client
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy.api_doc_dir:/usr/share/redpanda/proxy-api-doc - API doc directory
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy.pandaproxy_api_tls:{} - TLS configuration for Pandaproxy api
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy.pandaproxy_api:{{:{host: 0.0.0.0, port: 8082}}} - Rest API listen address and port
-2022-10-06 15:37:59,638 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_network: false
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.sasl_mechanism: - The SASL mechanism to use when connecting
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.consumer_heartbeat_interval_ms:500 - Interval (in milliseconds) for consumer heartbeats
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.consumer_rebalance_timeout_ms:2000 - Timeout (in milliseconds) for consumer rebalance
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.consumer_request_max_bytes:1048576 - Max bytes to fetch per request
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.consumer_request_timeout_ms:100 - Interval (in milliseconds) for consumer request timeout
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.scram_username: - Username to use for SCRAM authentication mechanisms
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.produce_batch_delay_ms:100 - Delay (in milliseconds) to wait before sending batch
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.produce_batch_size_bytes:1048576 - Number of bytes to batch before sending to broker
-2022-10-06 15:37:59,638 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_swappiness: false
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.consumer_session_timeout_ms:300000 - Timeout (in milliseconds) for consumer session
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.produce_batch_record_count:1000 - Number of records to batch before sending to broker
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.retry_base_backoff_ms:100 - Delay (in milliseconds) for initial retry backoff
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.retries:5 - Number of times to retry a request to a broker
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.scram_password: - Password to use for SCRAM authentication mechanisms
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.broker_tls:{ enabled: 0 key/cert files: {nullopt} ca file: {nullopt} client_auth_required: 0 } - TLS configuration for the brokers
-2022-10-06 15:37:59,639 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_transparent_hugepages: false
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.brokers:{{host: 0.0.0.0, port: 29092}} - List of address and port of the brokers
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry.api_doc_dir:/usr/share/redpanda/proxy-api-doc - API doc directory
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry.schema_registry_replication_factor:{nullopt} - Replication factor for internal _schemas topic. If unset, defaults to `default_topic_replication`
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry.schema_registry_api_tls:{} - TLS configuration for Schema Registry API
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry.schema_registry_api:{{:{host: 0.0.0.0, port: 8081}}} - Schema Registry API listen address and port
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.sasl_mechanism: - The SASL mechanism to use when connecting
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.consumer_heartbeat_interval_ms:500 - Interval (in milliseconds) for consumer heartbeats
-2022-10-06 15:37:59,639 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: schema_registry: {}
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.consumer_rebalance_timeout_ms:2000 - Timeout (in milliseconds) for consumer rebalance
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.consumer_request_max_bytes:1048576 - Max bytes to fetch per request
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.consumer_request_timeout_ms:100 - Interval (in milliseconds) for consumer request timeout
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.scram_username: - Username to use for SCRAM authentication mechanisms
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.produce_batch_delay_ms:0 - Delay (in milliseconds) to wait before sending batch
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.produce_batch_size_bytes:0 - Number of bytes to batch before sending to broker
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.consumer_session_timeout_ms:10000 - Timeout (in milliseconds) for consumer session
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.produce_batch_record_count:0 - Number of records to batch before sending to broker
-2022-10-06 15:37:59,639 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR:
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.retry_base_backoff_ms:100 - Delay (in milliseconds) for initial retry backoff
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.retries:5 - Number of times to retry a request to a broker
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.scram_password: - Password to use for SCRAM authentication mechanisms
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.broker_tls:{ enabled: 0 key/cert files: {nullopt} ca file: {nullopt} client_auth_required: 0 } - TLS configuration for the brokers
-INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.brokers:{{host: 0.0.0.0, port: 29092}} - List of address and port of the brokers
-INFO 2022-10-06 13:37:59,627 [shard 0] syschecks - Writing pid file "/var/lib/redpanda/data/pid.lock"
-INFO 2022-10-06 13:37:59,637 [shard 0] storage - directories.h:33 - Checking `/var/lib/redpanda/data` for supported filesystems
-ERROR 2022-10-06 13:37:59,637 [shard 0] syschecks - Path: `/var/lib/redpanda/data' is not on XFS. This is a non-supported setup. Expect poor performance.
-2022-10-06 15:37:59,640 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR:
-2022-10-06 15:37:59,640 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:327 - Use `rpk config set ` to change values below:
-2022-10-06 15:37:59,640 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metrics_reporter_report_interval:86400000 - cluster metrics reporter report interval
-2022-10-06 15:37:59,640 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metrics_reporter_tick_interval:60000 - Cluster metrics reporter tick interval
-2022-10-06 15:37:59,641 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.leader_balancer_idle_timeout:120000 - Leadership rebalancing idle timeout
-2022-10-06 15:37:59,641 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.full_raft_configuration_recovery_pattern:{} - Recover raft configuration on start for NTPs matching pattern
-2022-10-06 15:37:59,641 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_min_depth:1 - Minimum queue depth used in kafka queue depth control.
-2022-10-06 15:37:59,642 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_idle_depth:10 - Queue depth when idleness is detected in kafka queue depth control.
-2022-10-06 15:37:59,642 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.health_manager_tick_interval:180000 - How often the health manager runs
-2022-10-06 15:37:59,642 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_max_latency_ms:80 - Max latency threshold for kafka queue depth control depth tracking.
-2022-10-06 15:37:59,642 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_depth_alpha:0.8 - Smoothing factor for kafka queue depth control depth tracking.
-2022-10-06 15:37:59,643 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_window_count:12 - Number of windows used in kafka queue depth control latency tracking.
-2022-10-06 15:37:59,643 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.superusers:{} - List of superuser usernames
-2022-10-06 15:37:59,643 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_cache_check_interval:30000 - Timeout to check if cache eviction should be triggered
-2022-10-06 15:37:59,643 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_cache_size:21474836480 - Max size of archival cache
-2022-10-06 15:37:59,644 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_upload_ctrl_d_coeff:0 - derivative coefficient for upload PID controller.
-2022-10-06 15:37:59,644 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_enable:0 - Enable kafka queue depth control.
-2022-10-06 15:37:59,644 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_upload_ctrl_p_coeff:-2 - proportional coefficient for upload PID controller
-2022-10-06 15:37:59,644 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_upload_ctrl_update_interval_ms:60000 -
-2022-10-06 15:37:59,645 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_max_connection_idle_time_ms:5000 - Max https connection idle time (ms)
-2022-10-06 15:37:59,645 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_segment_upload_timeout_ms:30000 - Log segment upload timeout (ms)
-2022-10-06 15:37:59,645 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_trust_file:{nullopt} - Path to certificate that should be used to validate server certificate during TLS handshake
-2022-10-06 15:37:59,646 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_api_endpoint_port:443 - TLS port override
-2022-10-06 15:37:59,646 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_disable_tls:0 - Disable TLS for all S3 connections
-2022-10-06 15:37:59,646 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_reconciliation_interval_ms:10000 - Interval at which the archival service runs reconciliation (ms)
-2022-10-06 15:37:59,646 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_api_endpoint:{nullopt} - Optional API endpoint
-2022-10-06 15:37:59,647 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_secret_key:{nullopt} - AWS secret key
-2022-10-06 15:37:59,647 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_enable_remote_write:0 - Enable remote write for all topics
-2022-10-06 15:37:59,647 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_window_size_ms:1500 - Window size for kafka queue depth control latency tracking.
-2022-10-06 15:37:59,648 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_enable_remote_read:0 - Enable remote read for all topics
-2022-10-06 15:37:59,648 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.members_backend_retry_ms:5000 - Time between members backend reconciliation loop retries
-2022-10-06 15:37:59,648 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_max_shares:1000 - maximum number of IO and CPU shares that compaction process can use
-2022-10-06 15:37:59,648 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_min_shares:10 - minimum number of IO and CPU shares that compaction process can use
-2022-10-06 15:37:59,649 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_d_coeff:0.2 - derivative coefficient for compaction PID controller.
-2022-10-06 15:37:59,649 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_i_coeff:0 - integral coefficient for compaction PID controller.
-2022-10-06 15:37:59,650 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_depth_update_ms:7000 - Update frequency for kafka queue depth control.
-2022-10-06 15:37:59,650 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:
-INFO 2022-10-06 13:37:59,650 [shard 0] redpanda::main - application.cc:654 - Partition manager started
-2022-10-06 15:37:59,650 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: 59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_p_coeff:-12.5 - proportional coefficient for compaction PID controller. This has to be negative since compaction backlog should decrease when number of compaction shares increases
-2022-10-06 15:37:59,650 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_update_interval_ms:30000 -
-2022-10-06 15:37:59,651 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_auto_rebalance_on_node_add:0 - Enable automatic partition rebalancing when new nodes are added
-2022-10-06 15:37:59,651 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.node_management_operation_timeout_ms:5000 - Timeout for executing node management operations
-2022-10-06 15:37:59,651 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.leader_balancer_mute_timeout:300000 - Leadership rebalancing mute timeout
-2022-10-06 15:37:59,652 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.id_allocator_batch_size:1000 - Id allocator allocates messages in batches (each batch is a one log record) and then serves requests from memory without touching the log until the batch is exhausted.
-2022-10-06 15:37:59,652 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.id_allocator_log_capacity:100 - Capacity of the id_allocator log in number of messages. Once it reached id_allocator_stm should compact the log.
-2022-10-06 15:37:59,652 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_transfer_leader_recovery_timeout_ms:10000 - Timeout waiting for follower recovery when transferring leadership
-2022-10-06 15:37:59,653 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.reclaim_max_size:4194304 - Maximum batch cache reclaim size
-2022-10-06 15:37:59,653 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.fetch_session_eviction_timeout_ms:60000 - Minimum time before which unused session will get evicted from sessions. Maximum time after which inactive session will be deleted is two time given configuration valuecache
-2022-10-06 15:37:59,653 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.segment_appender_flush_timeout_ms:1000 - Maximum delay until buffered data is written
-2022-10-06 15:37:59,653 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.retention_bytes:{nullopt} - Default max bytes per partition on disk before triggering a compaction
-2022-10-06 15:37:59,653 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.join_retry_timeout_ms:5000 - Time between cluster join retries in milliseconds
-2022-10-06 15:37:59,654 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_admin_api:1 - Enable the admin API
-2022-10-06 15:37:59,654 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_io_timeout_ms:10000 - Raft I/O timeout
-2022-10-06 15:37:59,654 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.zstd_decompress_workspace_bytes:8388608 - Size of the zstd decompression workspace
-2022-10-06 15:37:59,654 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_backlog_size:{nullopt} - target backlog size for compaction controller. if not set compaction target compaction backlog would be equal to
-2022-10-06 15:37:59,654 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.append_chunk_size:16384 - Size of direct write operations to disk
-2022-10-06 15:37:59,655 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.auto_create_topics_enabled:1 - Allow topic auto creation
-2022-10-06 15:37:59,655 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.reclaim_stable_window:10000 - Length of time above which growth is reset
-2022-10-06 15:37:59,655 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_pid_file:1 - Enable pid file. You probably don't want to change this.
-2022-10-06 15:37:59,655 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_group_recovery_timeout_ms:30000 - Kafka group recovery timeout expressed in milliseconds
-INFO 2022-10-06 13:37:59,655 [shard 0] cluster - raft0_utils.h:32 - Current node is cluster root
-2022-10-06 15:37:59,655 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.reclaim_growth_window:3000 - Length of time in which reclaim sizes grow
-2022-10-06 15:37:59,656 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_smp_max_non_local_requests:0 - Maximum number of x-core requests pending in Raft seastar::smp group. (for more details look at `seastar::smp_service_group` documentation)
-2022-10-06 15:37:59,656 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_timeout_now_timeout_ms:1000 - Timeout for a timeout now request
-2022-10-06 15:37:59,656 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.recovery_append_timeout_ms:5000 - Timeout for append entries requests issued while updating stale follower
-2022-10-06 15:37:59,656 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.health_monitor_tick_interval:10000 - How often health monitor refresh cluster state
-2022-10-06 15:37:59,656 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.internal_topic_replication_factor:3 - Target replication factor for internal topics
-2022-10-06 15:37:59,657 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.replicate_append_timeout_ms:3000 - Timeout for append entries requests issued while replicating entries
-2022-10-06 15:37:59,657 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.log_segment_size:1073741824 - How large in bytes should each log segment be (default 1G)
-2022-10-06 15:37:59,657 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.disable_batch_cache:0 - Disable batch cache in log manager
-2022-10-06 15:37:59,657 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.election_timeout_ms:1500 - Election timeout expressed in milliseconds
-2022-10-06 15:37:59,657 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.default_topic_partitions:1 - Default number of partitions per topic
-2022-10-06 15:37:59,658 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.wait_for_leader_timeout_ms:5000 - Timeout (ms) to wait for leadership in metadata cache
-2022-10-06 15:37:59,658 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_max_depth:100 - Maximum queue depth used in kafka queue depth control.
-2022-10-06 15:37:59,658 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cluster_id:{nullopt} - Cluster identifier
-2022-10-06 15:37:59,658 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.transaction_coordinator_delete_retention_ms:604800000 - delete segments older than this - default 1 week
-2022-10-06 15:37:59,658 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.storage_read_buffer_size:131072 - Size of each read buffer (one per in-flight read, per log segment)
-2022-10-06 15:37:59,659 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metadata_status_wait_timeout_ms:2000 - Maximum time to wait in metadata request for cluster health to be refreshed
-2022-10-06 15:37:59,659 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.transaction_coordinator_cleanup_policy:delete - Cleanup policy for a transaction coordinator topic
-2022-10-06 15:37:59,659 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.max_kafka_throttle_delay_ms:60000 - Fail-safe maximum throttle delay on kafka requests
-2022-10-06 15:37:59,659 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_idempotence:1 - Enable idempotent producer
-2022-10-06 15:37:59,659 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13
-2022-10-06 15:37:59,659 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: :37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.id_allocator_replication:1 - Replication factor for an id allocator topic
-2022-10-06 15:37:59,659 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.abort_timed_out_transactions_interval_ms:60000 - How often look for the inactive transactions and abort them
-2022-10-06 15:37:59,659 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_upload_ctrl_min_shares:100 - minimum number of IO and CPU shares that archival upload can use
-2022-10-06 15:37:59,660 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.default_topic_replications:1 - Default replication factor for new topics
-2022-10-06 15:37:59,660 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.rpc_server_listen_backlog:{nullopt} - TCP connection queue length for Kafka server and internal RPC server
-2022-10-06 15:37:59,660 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.group_topic_partitions:1 - Number of partitions in the internal group membership topic
-2022-10-06 15:37:59,660 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.log_compaction_interval_ms:10000 - How often do we trigger background compaction
-2022-10-06 15:37:59,660 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_enabled:0 - Enable archival storage
-2022-10-06 15:37:59,661 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.delete_retention_ms:604800000 - delete segments older than this - default 1 week
-2022-10-06 15:37:59,661 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.abort_index_segment_size:50000 - Capacity (in number of txns) of an abort index segment
-2022-10-06 15:37:59,661 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_bucket:{nullopt} - AWS bucket that should be used to store data
-2022-10-06 15:37:59,661 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_transactions:1 - Enable transactions
-2022-10-06 15:37:59,661 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metrics_reporter_url:https://m.rp.vectorized.io/v2 - cluster metrics reporter url
-2022-10-06 15:37:59,661 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.coproc_max_batch_size:32768 - Maximum amount of bytes to read from one topic read
-2022-10-06 15:37:59,662 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.transaction_coordinator_replication:1 - Replication factor for a transaction coordinator topic
-2022-10-06 15:37:59,662 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metadata_dissemination_retry_delay_ms:320 - Delay before retry a topic lookup in a shard or other meta tables
-2022-10-06 15:37:59,662 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.log_message_timestamp_type:CreateTime - Default topic messages timestamp type
-2022-10-06 15:37:59,662 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.reclaim_min_size:131072 - Minimum batch cache reclaim size
-2022-10-06 15:37:59,662 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_max_connections:20 - Max number of simultaneous uploads to S3
-2022-10-06 15:37:59,662 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_replicate_batch_window_size:1048576 - Max size of requests cached for replication
-2022-10-06 15:37:59,663 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.quota_manager_gc_sec:30000 - Quota manager GC frequency in milliseconds
-2022-10-06 15:37:59,663 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.rm_violation_recovery_policy:crash - Describes how to recover from an invariant violation happened on the partition level
-2022-10-06 15:37:59,663 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.coproc_max_ingest_bytes:655360 - Maximum amount of data to hold from input logs in memory
-2022-10-06 15:37:59,663 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.alter_topic_cfg_timeout_ms:5000 - Time to wait for entries replication in controller log when executing alter configuration requst
-2022-10-06 15:37:59,663 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_latency_alpha:0.002 - Smoothing parameter for kafka queue depth control latency tracking.
-2022-10-06 15:37:59,663 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.log_cleanup_policy:delete - Default topic cleanup policy
-2022-10-06 15:37:59,663 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_metrics_reporter:1 - Enable cluster metrics reporter
-2022-10-06 15:37:59,664 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.health_monitor_max_metadata_age:10000 - Max age of metadata cached in the health monitor of non controller node
-2022-10-06 15:37:59,664 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_heartbeat_interval_ms:150 - Milliseconds for raft leader heartbeats
-2022-10-06 15:37:59,664 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_segment_max_upload_interval_sec:{nullopt} - Time that segment can be kept locally without uploading it to the remote storage (sec)
-2022-10-06 15:37:59,664 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.readers_cache_eviction_timeout_ms:30000 - Duration after which inactive readers will be evicted from cache
-2022-10-06 15:37:59,664 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_coproc:0 - Enable coprocessing mode
-2022-10-06 15:37:59,664 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.log_compression_type:producer - Default topic compression type
-2022-10-06 15:37:59,665 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.fetch_reads_debounce_timeout:1 - Time to wait for next read in fetch request when requested min bytes wasn't reached
-2022-10-06 15:37:59,665 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.release_cache_on_segment_roll:0 - Free cache when segments roll
-2022-10-06 15:37:59,665 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kvstore_flush_interval:10 - Key-value store flush interval (ms)
-2022-10-06 15:37:59,665 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.max_compacted_log_segment_size:5368709120 - Max compacted segment size after consolidation
-2022-10-06 15:37:59,665 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.rm_sync_timeout_ms:10000 - Time to wait state catch up before rejecting a request
-2022-10-06 15:37:59,665 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.transaction_coordinator_log_segment_size:1073741824 - How large in bytes should each log segment be (default 1G)
-2022-10-06 15:37:59,665 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.tm_violation_recovery_policy:crash - Describes how to recover from an invariant violation happened on the transaction coordinator level
-INFO 2022-10-06 13:37:59,665 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/redpanda/kvstore/0_0/0-0-v1.log
-2022-10-06 15:37:59,666 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.group_new_member_join_timeout:30000 - Timeout for new member joins
-2022-10-06 15:37:59,666 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_manifest_upload_timeout_ms:10000 - Manifest upload timeout (ms)
-2022-10-06 15:37:59,666 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.storage_read_readahead_count:10 - How many additional reads to issue ahead of current read location
-2022-10-06 15:37:59,666 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.group_initial_rebalance_delay:300 - Extra del
-2022-10-06 15:37:59,666 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: ay (ms) added to rebalance phase to wait for new members
-2022-10-06 15:37:59,666 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.group_max_session_timeout_ms:300000 - The maximum allowed session timeout for registered consumers. Longer timeouts give consumers more time to process messages in between heartbeats at the cost of a longer time to detect failures.
-2022-10-06 15:37:59,666 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_learner_recovery_rate:104857600 - Raft learner recovery rate limit in bytes per sec
-2022-10-06 15:37:59,667 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_upload_ctrl_max_shares:1000 - maximum number of IO and CPU shares that archival upload can use
-2022-10-06 15:37:59,667 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.group_min_session_timeout_ms:6000 - The minimum allowed session timeout for registered consumers. Shorter timeouts result in quicker failure detection at the cost of more frequent consumer heartbeating, which can overwhelm broker resources.
-2022-10-06 15:37:59,667 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.controller_backend_housekeeping_interval_ms:1000 - Interval between iterations of controller backend housekeeping loop
-2022-10-06 15:37:59,667 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.tm_sync_timeout_ms:10000 - Time to wait state catch up before rejecting a request
-2022-10-06 15:37:59,667 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_max_concurrent_append_requests_per_follower:16 - Maximum number of concurrent append entries requests sent by leader to one follower
-2022-10-06 15:37:59,667 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.seed_server_meta_topic_partitions: -
-2022-10-06 15:37:59,668 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metadata_dissemination_interval_ms:3000 - Interaval for metadata dissemination batching
-2022-10-06 15:37:59,668 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.default_num_windows:10 - Default number of quota tracking windows
-2022-10-06 15:37:59,668 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_sasl:0 - Enable SASL authentication for Kafka connections.
-2022-10-06 15:37:59,668 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kvstore_max_segment_size:16777216 - Key-value maximum segment size (bytes)
-2022-10-06 15:37:59,668 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.min_version: -
-2022-10-06 15:37:59,668 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_heartbeat_disconnect_failures:3 - After how many failed heartbeats to forcibly close an unresponsive TCP connection. Set to 0 to disable force disconnection.
-2022-10-06 15:37:59,668 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.max_version: -
-2022-10-06 15:37:59,669 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.default_window_sec:1000 - Default quota tracking window size in milliseconds
-2022-10-06 15:37:59,669 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.fetch_max_bytes:57671680 - Maximum number of bytes returned in fetch request
-2022-10-06 15:37:59,669 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_heartbeat_timeout_ms:3000 - raft heartbeat RPC timeout
-2022-10-06 15:37:59,669 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_access_key:{nullopt} - AWS access key
-2022-10-06 15:37:59,669 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.transactional_id_expiration_ms:604800000 - Producer ids are expired once this time has elapsed after the last write with the given producer id.
-2022-10-06 15:37:59,669 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.tx_timeout_delay_ms:1000 - Delay before scheduling next check for timed out transactions
-2022-10-06 15:37:59,669 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.coproc_max_inflight_bytes:10485760 - Maximum amountt of inflight bytes when sending data to wasm engine
-2022-10-06 15:37:59,669 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.target_quota_byte_rate:2147483648 - Target quota byte rate (bytes per second) - 2GB default
-2022-10-06 15:37:59,669 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.create_topic_timeout_ms:2000 - Timeout (ms) to wait for new topic creation
-2022-10-06 15:37:59,670 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metadata_dissemination_retries:30 - Number of attempts of looking up a topic's meta data like shard before failing a request
-2022-10-06 15:37:59,670 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.use_scheduling_groups: -
-2022-10-06 15:37:59,670 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.disable_metrics:0 - Disable registering metrics
-2022-10-06 15:37:59,670 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.rpc_server_tcp_send_buf:{nullopt} - TCP transmit buffer size in bytes.
-2022-10-06 15:37:59,670 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.coproc_offset_flush_interval_ms:300000 - Interval for which all coprocessor offsets are flushed to disk
-2022-10-06 15:37:59,670 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_leader_balancer:1 - Enable automatic leadership rebalancing
-2022-10-06 15:37:59,670 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_initial_backoff_ms:100 - Initial backoff time for exponetial backoff algorithm (ms)
-2022-10-06 15:37:59,671 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.rpc_server_tcp_recv_buf:{nullopt} - TCP receive buffer size in bytes.
-2022-10-06 15:37:59,671 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_max_bytes_per_fetch:67108864 - Limit fetch responses to this many bytes, even if total of partition bytes limits is higher
-2022-10-06 15:37:59,671 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.developer_mode:1 - Skips most of the checks performed at startup, not recomended for production use
-2022-10-06 15:37:59,671 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_region:{nullopt} - AWS region that houses the bucket used for storage
-2022-10-06 15:37:59,671 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compacted_log_segment_size:268435456 - How large in bytes should each compacted log segment be (default 256MiB)
-2022-10-06 15:37:59,671 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.advertised_kafka_api:{{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}} - Address of Kafka API published to the clients
-2022-10-06 15:37:59,671 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.coproc_supervisor_server:{host: 127.0.0.1, port: 43189} - IpAddress and port for supervisor service
-2022-10-06 15:37:59,672 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.node_id:{0} - Unique id identifying a node in the cluster
-2022-10-06 15:37:59,672 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.admin_api_tls:{} - TLS configuration for admin HTTP server
-2022-10-06 15:37:59,672 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_api_tls:{} - TLS configuration for Kafka API endpoint
-2022-10-06 15:37:59,672 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.advertised_rpc_api:{nullopt} - Address of RPC endpoint published to other cluster members
-2022-10-06 15:37:59,672 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO
-2022-10-06 15:37:59,672 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_api:{{PLAINTEXT:{host: 0.0.0.0, port: 29092}}, {OUTSIDE:{host: 0.0.0.0, port: 9092}}} - Address and port of an interface to listen for Kafka API requests
-2022-10-06 15:37:59,673 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.rpc_server_tls:{ enabled: 0 key/cert files: {nullopt} ca file: {nullopt} client_auth_required: 0 } - TLS configuration for RPC server
-2022-10-06 15:37:59,673 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.rpc_server:{host: 0.0.0.0, port: 33145} - IpAddress and port for RPC server
-2022-10-06 15:37:59,673 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.dashboard_dir:{nullopt} - serve http dashboard on / url
-2022-10-06 15:37:59,673 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.admin:{{:{host: 0.0.0.0, port: 9644}}} - Address and port of admin server
-2022-10-06 15:37:59,673 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_central_config:0 - Enable central storage + sync of cluster configuration
-2022-10-06 15:37:59,673 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.seed_servers:{} - List of the seed servers used to join current cluster. If the seed_server list is empty the node will be a cluster root and it will form a new cluster
-2022-10-06 15:37:59,673 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.admin_api_doc_dir:/usr/share/redpanda/admin-api-doc - Admin API doc directory
-2022-10-06 15:37:59,674 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.rack:{nullopt} - Rack identifier
-2022-10-06 15:37:59,674 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_cache_directory:{nullopt} - Directory for archival cache. Should be present when `cloud_storage_enabled` is present
-2022-10-06 15:37:59,674 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.data_directory:{data_directory="/var/lib/redpanda/data"} - Place where redpanda will keep the data
-2022-10-06 15:37:59,674 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy.consumer_instance_timeout_ms:300000 - How long to wait for an idle consumer before removing it
-2022-10-06 15:37:59,674 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy.advertised_pandaproxy_api:{} - Rest API address and port to publish to client
-2022-10-06 15:37:59,674 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy.api_doc_dir:/usr/share/redpanda/proxy-api-doc - API doc directory
-2022-10-06 15:37:59,674 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy.pandaproxy_api_tls:{} - TLS configuration for Pandaproxy api
-2022-10-06 15:37:59,674 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy.pandaproxy_api:{{:{host: 0.0.0.0, port: 8082}}} - Rest API listen address and port
-2022-10-06 15:37:59,675 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.sasl_mechanism: - The SASL mechanism to use when connecting
-2022-10-06 15:37:59,675 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.consumer_heartbeat_interval_ms:500 - Interval (in milliseconds) for consumer heartbeats
-2022-10-06 15:37:59,675 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.consumer_rebalance_timeout_ms:2000 - Timeout (in milliseconds) for consumer rebalance
-2022-10-06 15:37:59,675 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.consumer_request_max_bytes:1048576 - Max bytes to fetch per request
-2022-10-06 15:37:59,675 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.consumer_request_timeout_ms:100 - Interval (in milliseconds) for consumer request timeout
-2022-10-06 15:37:59,675 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.scram_username: - Username to use for SCRAM authentication mechanisms
-2022-10-06 15:37:59,675 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.produce_batch_delay_ms:100 - Delay (in milliseconds) to wait before sending batch
-2022-10-06 15:37:59,676 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.produce_batch_size_bytes:1048576 - Number of bytes to batch before sending to broker
-2022-10-06 15:37:59,676 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.consumer_session_timeout_ms:300000 - Timeout (in milliseconds) for consumer session
-INFO 2022-10-06 13:37:59,675 [shard 0] cluster - partition_manager.cc:80 - Log created manage completed, ntp: {redpanda/controller/0}, rev: 0, 0 segments, 0 bytes
-INFO 2022-10-06 13:37:59,676 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:992 - Starting
-2022-10-06 15:37:59,676 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.produce_batch_record_count:1000 - Number of records to batch before sending to broker
-INFO 2022-10-06 13:37:59,676 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:1024 - Starting with voted_for {id: {-2147483648}, revision: {-9223372036854775808}} term 0 initial_state true
-2022-10-06 15:37:59,676 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.retry_base_backoff_ms:100 - Delay (in milliseconds) for initial retry backoff
-2022-10-06 15:37:59,676 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.retries:5 - Number of times to retry a request to a broker
-2022-10-06 15:37:59,676 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.scram_password: - Password to use for SCRAM authentication mechanisms
-2022-10-06 15:37:59,676 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.broker_tls:{ enabled: 0 key/cert files: {nullopt} ca file: {nullopt} client_auth_required: 0 } - TLS configuration for the brokers
-2022-10-06 15:37:59,676 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.brokers:{{host: 0.0.0.0, port: 29092}} - List of address and port of the brokers
-2022-10-06 15:37:59,677 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry.api_doc_dir:/usr/share/redpanda/proxy-api-doc - API doc directory
-2022-10-06 15:37:59,677 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry.schema_registry_replication_factor:{nullopt} - Replication factor for internal _schemas topic. If unset, defaults to `default_topic_replication`
-2022-10-06 15:37:59,677 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry.schema_registry_api_tls:{} - TLS configuration for Schema Registry API
-2022-10-06 15:37:59,677 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry.schema_registry_api:{{:{host: 0.0.0.0, port: 8081}}} - Schema Registry API listen address and port
-2022-10-06 15:37:59,677 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.sasl_mechanism: - The SASL mechanism to use when connecting
-2022-10-06 15:37:59,677 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.consumer_heartbeat_interval_ms:500 - Interval (in milliseconds) for consumer heartbeats
-2022-10-06 15:37:59,677 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.consumer_rebalance_timeout_ms:2000 - Timeout (in milliseconds) for consumer rebalance
-2022-10-06 15:37:59,677 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.consumer_request_max_bytes:1048576 - Max bytes to fetch per request
-2022-10-06 15:37:59,678 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.consumer_request_timeout_ms:100 - Interval (in milliseconds) for consumer request timeout
-2022-10-06 15:37:59,678 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.scram_username: - Username to use for SCRAM authentication mechanisms
-2022-10-06 15:37:59,678 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.produce_batch_delay_ms:0 - Delay (in milliseconds) to wait before sending batch
-2022-10-06 15:37:59,678 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.
-2022-10-06 15:37:59,678 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: cc:332 - schema_registry_client.produce_batch_size_bytes:0 - Number of bytes to batch before sending to broker
-2022-10-06 15:37:59,678 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.consumer_session_timeout_ms:10000 - Timeout (in milliseconds) for consumer session
-2022-10-06 15:37:59,678 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.produce_batch_record_count:0 - Number of records to batch before sending to broker
-2022-10-06 15:37:59,678 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.retry_base_backoff_ms:100 - Delay (in milliseconds) for initial retry backoff
-2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.retries:5 - Number of times to retry a request to a broker
-2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.scram_password: - Password to use for SCRAM authentication mechanisms
-2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.broker_tls:{ enabled: 0 key/cert files: {nullopt} ca file: {nullopt} client_auth_required: 0 } - TLS configuration for the brokers
-2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.brokers:{{host: 0.0.0.0, port: 29092}} - List of address and port of the brokers
-2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] syschecks - Writing pid file "/var/lib/redpanda/data/pid.lock"
-2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,637 [shard 0] storage - directories.h:33 - Checking `/var/lib/redpanda/data` for supported filesystems
-2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: ERROR 2022-10-06 13:37:59,637 [shard 0] syschecks - Path: `/var/lib/redpanda/data' is not on XFS. This is a non-supported setup. Expect poor performance.
-2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,650 [shard 0] redpanda::main - application.cc:654 - Partition manager started
-2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,655 [shard 0] cluster - raft0_utils.h:32 - Current node is cluster root
-2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,665 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/redpanda/kvstore/0_0/0-0-v1.log
-2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,675 [shard 0] cluster - partition_manager.cc:80 - Log created manage completed, ntp: {redpanda/controller/0}, rev: 0, 0 segments, 0 bytes
-2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,676 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:992 - Starting
-2022-10-06 15:37:59,680 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,676 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:1024 - Starting with voted_for {id: {-2147483648}, revision: {-9223372036854775808}} term 0 initial_state true
-INFO 2022-10-06 13:37:59,698 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:1066 - Read bootstrap state: data_seen 0 config_seen 0 eol false commit 0 term 0 prev_idx 0 prev_term 0 config_tracker -9223372036854775808 commit_base_tracker -9223372036854775808 configurations {}
-INFO 2022-10-06 13:37:59,698 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:1067 - Current log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}
-INFO 2022-10-06 13:37:59,698 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:1091 - Truncating configurations at -9223372036854775808
-2022-10-06 15:37:59,698 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,698 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:1066 - Read bootstrap state: data_seen 0 config_seen 0 eol false commit 0 term 0 prev_idx 0 prev_term 0 config_tracker -9223372036854775808 commit_base_tracker -9223372036854775808 configurations {}
-2022-10-06 15:37:59,698 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,698 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:1067 - Current log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}
-2022-10-06 15:37:59,699 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,698 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:1091 - Truncating configurations at -9223372036854775808
-INFO 2022-10-06 13:37:59,720 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:1188 - started raft, log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}, term: 0, configuration: {current: {voters: {{id: {0}, revision: {0}}}, learners: {}}, old:{nullopt}, revision: 0, brokers: {{id: 0, kafka_advertised_listeners: {{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}}, rpc_address: {host: 0.0.0.0, port: 33145}, rack: {nullopt}, properties: {cores 1, mem_available 0, disk_available 0}, membership_state: active}}}
-2022-10-06 15:37:59,721 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,720 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:1188 - started raft, log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}, term: 0, configuration: {current: {voters: {{id: {0}, revision: {0}}}, learners: {}}, old:{nullopt}, revision: 0, brokers: {{id: 0, kafka_advertised_listeners: {{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}}, rpc_address: {host: 0.0.0.0, port: 33145}, rack: {nullopt}, properties: {cores 1, mem_available 0, disk_available 0}, membership_state: active}}}
-INFO 2022-10-06 13:37:59,731 [shard 0] cluster - members_manager.cc:72 - starting cluster::members_manager...
-INFO 2022-10-06 13:37:59,731 [shard 0] cluster - state_machine.cc:29 - Starting state machine for ntp={redpanda/controller/0}
-INFO 2022-10-06 13:37:59,732 [shard 0] cluster - leader_balancer.cc:92 - Leader balancer: controller leadership lost
-2022-10-06 15:37:59,732 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,731 [shard 0] cluster - members_manager.cc:72 - starting cluster::members_manager...
-INFO 2022-10-06 13:37:59,732 [shard 0] redpanda::main - application.cc:1114 - Started RPC server listening at {host: 0.0.0.0, port: 33145}
-2022-10-06 15:37:59,732 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,731 [shard 0] cluster - state_machine.cc:29 - Starting state machine for ntp={redpanda/controller/0}
-INFO 2022-10-06 13:37:59,732 [shard 0] redpanda::main - application.cc:1174 - Started Kafka API server listening at {{PLAINTEXT:{host: 0.0.0.0, port: 29092}}, {OUTSIDE:{host: 0.0.0.0, port: 9092}}}
-2022-10-06 15:37:59,732 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,732 [shard 0] cluster - leader_balancer.cc:92 - Leader balancer: controller leadership lost
-INFO 2022-10-06 13:37:59,732 [shard 0] raft - [group_id:0, {redpanda/controller/0}] vote_stm.cc:252 - became the leader term:1
-INFO 2022-10-06 13:37:59,732 [shard 0] cluster - leader_balancer.cc:86 - Leader balancer: controller leadership detected. Starting rebalancer in 30 seconds
-2022-10-06 15:37:59,732 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,732 [shard 0] redpanda::main - application.cc:1114 - Started RPC server listening at {host: 0.0.0.0, port: 33145}
-INFO 2022-10-06 13:37:59,732 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/redpanda/controller/0_0/0-1-v1.log
-2022-10-06 15:37:59,733 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,732 [shard 0] redpanda::main - application.cc:1174 - Started Kafka API server listening at {{PLAINTEXT:{host: 0.0.0.0, port: 29092}}, {OUTSIDE:{host: 0.0.0.0, port: 9092}}}
-INFO 2022-10-06 13:37:59,732 [shard 0] admin_api_server - admin_server.cc:96 - Started HTTP admin service listening at {{:{host: 0.0.0.0, port: 9644}}}
-INFO 2022-10-06 13:37:59,733 [shard 0] redpanda::main - application.cc:1013 - Started Pandaproxy listening at {{:{host: 0.0.0.0, port: 8082}}}
-2022-10-06 15:37:59,733 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,732 [shard 0] raft - [group_id:0, {redpanda/controller/0}] vote_stm.cc:252 - became the leader term:1
-2022-10-06 15:37:59,733 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,732 [shard 0] cluster - leader_balancer.cc:86 - Leader balancer: controller leadership detected. Starting rebalancer in 30 seconds
-2022-10-06 15:37:59,733 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,732 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/redpanda/controller/0_0/0-1-v1.log
-2022-10-06 15:37:59,733 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,732 [shard 0] admin_api_server - admin_server.cc:96 - Started HTTP admin service listening at {{:{host: 0.0.0.0, port: 9644}}}
-2022-10-06 15:37:59,733 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,733 [shard 0] redpanda::main - application.cc:1013 - Started Pandaproxy listening at {{:{host: 0.0.0.0, port: 8082}}}
-2022-10-06 15:37:59,733 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,733 [shard 0] redpanda::main - application.cc:1021 - Started Schema Registry listening at {{:{host: 0.0.0.0, port: 8081}}}
-INFO 2022-10-06 13:37:59,733 [shard 0] redpanda::main - application.cc:1021 - Started Schema Registry listening at {{:{host: 0.0.0.0, port: 8081}}}
-INFO 2022-10-06 13:37:59,733 [shard 0] redpanda::main - application.cc:1026 - Successfully started Redpanda!
-2022-10-06 15:37:59,733 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,733 [shard 0] redpanda::main - application.cc:1026 - Successfully started Redpanda!
-2022-10-06 15:37:59,743 INFO [🐳 .11.8]] (pool-3-thread-1) Container vectorized/redpanda:v21.11.8 started in PT1.336889165S
-2022-10-06 15:37:59,743 INFO [org.kie.kog.tes.KogitoKafkaContainer] (pool-3-thread-1) Kafka servers: OUTSIDE://localhost:49238
-Executing "/usr/lib/jvm/java-17-openjdk-17.0.4.1.1-1.fc36.x86_64/bin/java -Dquarkus.http.port=0 -Dquarkus.http.ssl-port=8444 -Dtest.url=http://localhost:0 -Dquarkus.log.file.path=/home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/test-run/target/quarkus.log -Dquarkus.log.file.enable=true -Dkafka.bootstrap.servers=localhost:49238 -jar /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/quarkus-app/quarkus-run.jar"
-__ ____ __ _____ ___ __ ____ ______
- --/ __ \/ / / / _ | / _ \/ //_/ / / / __/
- -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \
---\___\_\____/_/ |_/_/|_/_/|_|\____/___/
-2022-10-06 15:38:00,016 WARN [io.qua.config] (main) Unrecognized configuration key "quarkus.swagger-ui.always-include" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo
-2022-10-06 15:38:00,480 INFO [io.sma.rea.mes.kafka] (main) SRMSG18229: Configured topics for channel 'kogito_incoming_stream': [ruleunit-event-driven-requests]
-2022-10-06 15:38:00,486 INFO [io.sma.rea.mes.kafka] (main) SRMSG18214: Key deserializer omitted, using String as default
-2022-10-06 15:38:00,638 INFO [io.sma.rea.mes.kafka] (main) SRMSG18258: Kafka producer kafka-producer-kogito_outgoing_stream, connected to Kafka brokers 'localhost:49238', is configured to write records to 'ruleunit-event-driven-responses'
-2022-10-06 15:38:00,678 INFO [io.sma.rea.mes.kafka] (smallrye-kafka-consumer-thread-0) SRMSG18257: Kafka consumer kafka-consumer-kogito_incoming_stream, connected to Kafka brokers 'localhost:49238', belongs to the 'ruleunit-event-driven-example' consumer group and is configured to poll records from [ruleunit-event-driven-requests]
-INFO 2022-10-06 13:38:00,821 [shard 0] cluster - topics_frontend.cc:71 - Create topics {{configuration: { topic: {ns: {kafka}, topic: {ruleunit-event-driven-requests}}, partition_count: 1, replication_factor: 1, properties: { compression: {nullopt}, cleanup_policy_bitflags: {nullopt}, compaction_strategy: {nullopt}, retention_bytes: {}, retention_duration_ms: {}, segment_size: {nullopt}, timestamp_type: {nullopt}, recovery_enabled: {nullopt}, shadow_indexing: {nullopt} }}, custom_assignments: {}}}
-2022-10-06 15:38:00,821 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,821 [shard 0] cluster - topics_frontend.cc:71 - Create topics {{configuration: { topic: {ns: {kafka}, topic: {ruleunit-event-driven-requests}}, partition_count: 1, replication_factor: 1, properties: { compression: {nullopt}, cleanup_policy_bitflags: {nullopt}, compaction_strategy: {nullopt}, retention_bytes: {}, retention_duration_ms: {}, segment_size: {nullopt}, timestamp_type: {nullopt}, recovery_enabled: {nullopt}, shadow_indexing: {nullopt} }}, custom_assignments: {}}}
-INFO 2022-10-06 13:38:00,845 [shard 0] cluster - partition_manager.cc:80 - Log created manage completed, ntp: {kafka/ruleunit-event-driven-requests/0}, rev: 2, 0 segments, 0 bytes
-INFO 2022-10-06 13:38:00,845 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:992 - Starting
-INFO 2022-10-06 13:38:00,845 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:1024 - Starting with voted_for {id: {-2147483648}, revision: {-9223372036854775808}} term 0 initial_state true
-2022-10-06 15:38:00,845 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,845 [shard 0] cluster - partition_manager.cc:80 - Log created manage completed, ntp: {kafka/ruleunit-event-driven-requests/0}, rev: 2, 0 segments, 0 bytes
-2022-10-06 15:38:00,845 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,845 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:992 - Starting
-2022-10-06 15:38:00,845 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,845 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:1024 - Starting with voted_for {id: {-2147483648}, revision: {-9223372036854775808}} term 0 initial_state true
-2022-10-06 15:38:00,861 INFO [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventReceiver] (main) Subscribing consumer for class class org.kie.kogito.queries.LoanUnit
-2022-10-06 15:38:00,863 INFO [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventReceiver] (main) Subscribing consumer for class class org.kie.kogito.queries.LoanUnit
-2022-10-06 15:38:00,866 INFO [org.kie.kog.add.qua.mes.com.QuarkusKogitoExtensionInitializer] (main) Registered Kogito CloudEvent extension
-INFO 2022-10-06 13:38:00,867 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-requests/0} - offset_translator.cc:90 - resetting offset translation state
-2022-10-06 15:38:00,867 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,867 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-requests/0} - offset_translator.cc:90 - resetting offset translation state
-2022-10-06 15:38:00,868 INFO [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventReceiver] (main) Subscribing consumer for class class org.kie.kogito.queries.LoanUnit
-INFO 2022-10-06 13:38:00,889 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-requests/0} - offset_translator.cc:141 - started, state: {base offset/delta: {-9223372036854775808}/0, map size: 1, last delta: 0}, highest_known_offset: -9223372036854775808
-INFO 2022-10-06 13:38:00,889 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:1066 - Read bootstrap state: data_seen 0 config_seen 0 eol false commit 0 term 0 prev_idx 0 prev_term 0 config_tracker -9223372036854775808 commit_base_tracker -9223372036854775808 configurations {}
-INFO 2022-10-06 13:38:00,889 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:1067 - Current log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}
-INFO 2022-10-06 13:38:00,889 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:1091 - Truncating configurations at -9223372036854775808
-2022-10-06 15:38:00,890 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,889 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-requests/0} - offset_translator.cc:141 - started, state: {base offset/delta: {-9223372036854775808}/0, map size: 1, last delta: 0}, highest_known_offset: -9223372036854775808
-2022-10-06 15:38:00,890 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,889 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:1066 - Read bootstrap state: data_seen 0 config_seen 0 eol false commit 0 term 0 prev_idx 0 prev_term 0 config_tracker -9223372036854775808 commit_base_tracker -9223372036854775808 configurations {}
-2022-10-06 15:38:00,890 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,889 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:1067 - Current log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}
-2022-10-06 15:38:00,890 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,889 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:1091 - Truncating configurations at -9223372036854775808
-INFO 2022-10-06 13:38:00,911 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-requests/0} - offset_translator.cc:203 - synced with log, state: {base offset/delta: {-9223372036854775808}/0, map size: 1, last delta: 0}, highest_known_offset: -9223372036854775808
-INFO 2022-10-06 13:38:00,911 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:1188 - started raft, log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}, term: 0, configuration: {current: {voters: {{id: {0}, revision: {2}}}, learners: {}}, old:{nullopt}, revision: 2, brokers: {{id: 0, kafka_advertised_listeners: {{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}}, rpc_address: {host: 0.0.0.0, port: 33145}, rack: {nullopt}, properties: {cores 1, mem_available 0, disk_available 0}, membership_state: active}}}
-INFO 2022-10-06 13:38:00,911 [shard 0] cluster - state_machine.cc:29 - Starting state machine for ntp={kafka/ruleunit-event-driven-requests/0}
-INFO 2022-10-06 13:38:00,911 [shard 0] cluster - controller_backend.cc:437 - partition operation {type: addition, ntp: {kafka/ruleunit-event-driven-requests/0}, offset: 2, new_assignment: { id: 0, group_id: 1, replicas: {{node_id: 0, shard: 0}} }, previous_assignment: {nullopt}} finished
-2022-10-06 15:38:00,912 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,911 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-requests/0} - offset_translator.cc:203 - synced with log, state: {base offset/delta: {-9223372036854775808}/0, map size: 1, last delta: 0}, highest_known_offset: -9223372036854775808
-2022-10-06 15:38:00,912 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,911 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:1188 - started raft, log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}, term: 0, configuration: {current: {voters: {{id: {0}, revision: {2}}}, learners: {}}, old:{nullopt}, revision: 2, brokers: {{id: 0, kafka_advertised_listeners: {{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}}, rpc_address: {host: 0.0.0.0, port: 33145}, rack: {nullopt}, properties: {cores 1, mem_available 0, disk_available 0}, membership_state: active}}}
-2022-10-06 15:38:00,912 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,911 [shard 0] cluster - state_machine.cc:29 - Starting state machine for ntp={kafka/ruleunit-event-driven-requests/0}
-2022-10-06 15:38:00,912 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,911 [shard 0] cluster - controller_backend.cc:437 - partition operation {type: addition, ntp: {kafka/ruleunit-event-driven-requests/0}, offset: 2, new_assignment: { id: 0, group_id: 1, replicas: {{node_id: 0, shard: 0}} }, previous_assignment: {nullopt}} finished
-INFO 2022-10-06 13:38:00,922 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] vote_stm.cc:252 - became the leader term:1
-INFO 2022-10-06 13:38:00,923 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/kafka/ruleunit-event-driven-requests/0_2/0-1-v1.log
-2022-10-06 15:38:00,923 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,922 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] vote_stm.cc:252 - became the leader term:1
-2022-10-06 15:38:00,923 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,923 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/kafka/ruleunit-event-driven-requests/0_2/0-1-v1.log
-2022-10-06 15:38:00,924 INFO [io.quarkus] (main) ruleunit-event-driven-quarkus 2.0.0-SNAPSHOT on JVM (powered by Quarkus 2.13.0.Final) started in 1.112s. Listening on: http://0.0.0.0:41805
-2022-10-06 15:38:00,925 INFO [io.quarkus] (main) Profile prod activated.
-2022-10-06 15:38:00,925 INFO [io.quarkus] (main) Installed features: [cdi, kafka-client, kogito-addon-events-rules-extension, kogito-addon-messaging-extension, kogito-rules, resteasy, resteasy-jackson, smallrye-context-propagation, smallrye-health, smallrye-reactive-messaging, smallrye-reactive-messaging-kafka, vertx]
-INFO 2022-10-06 13:38:00,930 [shard 0] cluster - topics_frontend.cc:71 - Create topics {{configuration: { topic: {ns: {kafka_internal}, topic: {group}}, partition_count: 1, replication_factor: 1, properties: { compression: {nullopt}, cleanup_policy_bitflags: {compact}, compaction_strategy: {nullopt}, retention_bytes: {}, retention_duration_ms: {}, segment_size: {nullopt}, timestamp_type: {nullopt}, recovery_enabled: {nullopt}, shadow_indexing: {nullopt} }}, custom_assignments: {}}}
-2022-10-06 15:38:00,930 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,930 [shard 0] cluster - topics_frontend.cc:71 - Create topics {{configuration: { topic: {ns: {kafka_internal}, topic: {group}}, partition_count: 1, replication_factor: 1, properties: { compression: {nullopt}, cleanup_policy_bitflags: {compact}, compaction_strategy: {nullopt}, retention_bytes: {}, retention_duration_ms: {}, segment_size: {nullopt}, timestamp_type: {nullopt}, recovery_enabled: {nullopt}, shadow_indexing: {nullopt} }}, custom_assignments: {}}}
-INFO 2022-10-06 13:38:00,938 [shard 0] cluster - partition_manager.cc:80 - Log created manage completed, ntp: {kafka_internal/group/0}, rev: 4, 0 segments, 0 bytes
-INFO 2022-10-06 13:38:00,938 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:992 - Starting
-INFO 2022-10-06 13:38:00,938 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:1024 - Starting with voted_for {id: {-2147483648}, revision: {-9223372036854775808}} term 0 initial_state true
-2022-10-06 15:38:00,938 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,938 [shard 0] cluster - partition_manager.cc:80 - Log created manage completed, ntp: {kafka_internal/group/0}, rev: 4, 0 segments, 0 bytes
-2022-10-06 15:38:00,938 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,938 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:992 - Starting
-2022-10-06 15:38:00,938 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,938 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:1024 - Starting with voted_for {id: {-2147483648}, revision: {-9223372036854775808}} term 0 initial_state true
-INFO 2022-10-06 13:38:00,956 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:1066 - Read bootstrap state: data_seen 0 config_seen 0 eol false commit 0 term 0 prev_idx 0 prev_term 0 config_tracker -9223372036854775808 commit_base_tracker -9223372036854775808 configurations {}
-INFO 2022-10-06 13:38:00,956 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:1067 - Current log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}
-INFO 2022-10-06 13:38:00,956 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:1091 - Truncating configurations at -9223372036854775808
-2022-10-06 15:38:00,957 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,956 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:1066 - Read bootstrap state: data_seen 0 config_seen 0 eol false commit 0 term 0 prev_idx 0 prev_term 0 config_tracker -9223372036854775808 commit_base_tracker -9223372036854775808 configurations {}
-2022-10-06 15:38:00,957 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,956 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:1067 - Current log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}
-2022-10-06 15:38:00,957 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,956 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:1091 - Truncating configurations at -9223372036854775808
-INFO 2022-10-06 13:38:00,978 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:1188 - started raft, log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}, term: 0, configuration: {current: {voters: {{id: {0}, revision: {4}}}, learners: {}}, old:{nullopt}, revision: 4, brokers: {{id: 0, kafka_advertised_listeners: {{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}}, rpc_address: {host: 0.0.0.0, port: 33145}, rack: {nullopt}, properties: {cores 1, mem_available 0, disk_available 0}, membership_state: active}}}
-INFO 2022-10-06 13:38:00,978 [shard 0] cluster - controller_backend.cc:437 - partition operation {type: addition, ntp: {kafka_internal/group/0}, offset: 4, new_assignment: { id: 0, group_id: 2, replicas: {{node_id: 0, shard: 0}} }, previous_assignment: {nullopt}} finished
-2022-10-06 15:38:00,978 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,978 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:1188 - started raft, log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}, term: 0, configuration: {current: {voters: {{id: {0}, revision: {4}}}, learners: {}}, old:{nullopt}, revision: 4, brokers: {{id: 0, kafka_advertised_listeners: {{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}}, rpc_address: {host: 0.0.0.0, port: 33145}, rack: {nullopt}, properties: {cores 1, mem_available 0, disk_available 0}, membership_state: active}}}
-2022-10-06 15:38:00,979 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,978 [shard 0] cluster - controller_backend.cc:437 - partition operation {type: addition, ntp: {kafka_internal/group/0}, offset: 4, new_assignment: { id: 0, group_id: 2, replicas: {{node_id: 0, shard: 0}} }, previous_assignment: {nullopt}} finished
-INFO 2022-10-06 13:38:00,989 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] vote_stm.cc:252 - became the leader term:1
-INFO 2022-10-06 13:38:00,989 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/kafka_internal/group/0_4/0-1-v1.log
-2022-10-06 15:38:00,989 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,989 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] vote_stm.cc:252 - became the leader term:1
-2022-10-06 15:38:00,990 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,989 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/kafka_internal/group/0_4/0-1-v1.log
-INFO 2022-10-06 13:38:01,067 [shard 0] kafka - fetch_session_cache.cc:106 - fetch session created: 1
-2022-10-06 15:38:01,067 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,067 [shard 0] kafka - fetch_session_cache.cc:106 - fetch session created: 1
-2022-10-06 15:38:01,101 INFO [org.apa.kaf.cli.con.ConsumerConfig] (main) ConsumerConfig values:
- allow.auto.create.topics = true
- auto.commit.interval.ms = 5000
- auto.offset.reset = earliest
- bootstrap.servers = [localhost:49238]
- check.crcs = true
- client.dns.lookup = use_all_dns_ips
- client.id = consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1
- client.rack =
- connections.max.idle.ms = 540000
- default.api.timeout.ms = 60000
- enable.auto.commit = false
- exclude.internal.topics = true
- fetch.max.bytes = 52428800
- fetch.max.wait.ms = 500
- fetch.min.bytes = 1
- group.id = org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer
- group.instance.id = null
- heartbeat.interval.ms = 3000
- interceptor.classes = []
- internal.leave.group.on.close = true
- internal.throw.on.fetch.stable.offset.unsupported = false
- isolation.level = read_uncommitted
- key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer
- max.partition.fetch.bytes = 1048576
- max.poll.interval.ms = 300000
- max.poll.records = 500
- metadata.max.age.ms = 300000
- metric.reporters = []
- metrics.num.samples = 2
- metrics.recording.level = INFO
- metrics.sample.window.ms = 30000
- partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor]
- receive.buffer.bytes = 65536
- reconnect.backoff.max.ms = 1000
- reconnect.backoff.ms = 50
- request.timeout.ms = 30000
- retry.backoff.ms = 100
- sasl.client.callback.handler.class = null
- sasl.jaas.config = null
- sasl.kerberos.kinit.cmd = /usr/bin/kinit
- sasl.kerberos.min.time.before.relogin = 60000
- sasl.kerberos.service.name = null
- sasl.kerberos.ticket.renew.jitter = 0.05
- sasl.kerberos.ticket.renew.window.factor = 0.8
- sasl.login.callback.handler.class = null
- sasl.login.class = null
- sasl.login.connect.timeout.ms = null
- sasl.login.read.timeout.ms = null
- sasl.login.refresh.buffer.seconds = 300
- sasl.login.refresh.min.period.seconds = 60
- sasl.login.refresh.window.factor = 0.8
- sasl.login.refresh.window.jitter = 0.05
- sasl.login.retry.backoff.max.ms = 10000
- sasl.login.retry.backoff.ms = 100
- sasl.mechanism = GSSAPI
- sasl.oauthbearer.clock.skew.seconds = 30
- sasl.oauthbearer.expected.audience = null
- sasl.oauthbearer.expected.issuer = null
- sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000
- sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000
- sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100
- sasl.oauthbearer.jwks.endpoint.url = null
- sasl.oauthbearer.scope.claim.name = scope
- sasl.oauthbearer.sub.claim.name = sub
- sasl.oauthbearer.token.endpoint.url = null
- security.protocol = PLAINTEXT
- security.providers = null
- send.buffer.bytes = 131072
- session.timeout.ms = 45000
- socket.connection.setup.timeout.max.ms = 30000
- socket.connection.setup.timeout.ms = 10000
- ssl.cipher.suites = null
- ssl.enabled.protocols = [TLSv1.2, TLSv1.3]
- ssl.endpoint.identification.algorithm = https
- ssl.engine.factory.class = null
- ssl.key.password = null
- ssl.keymanager.algorithm = SunX509
- ssl.keystore.certificate.chain = null
- ssl.keystore.key = null
- ssl.keystore.location = null
- ssl.keystore.password = null
- ssl.keystore.type = JKS
- ssl.protocol = TLSv1.3
- ssl.provider = null
- ssl.secure.random.implementation = null
- ssl.trustmanager.algorithm = PKIX
- ssl.truststore.certificates = null
- ssl.truststore.location = null
- ssl.truststore.password = null
- ssl.truststore.type = JKS
- value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer
-
-2022-10-06 15:38:01,173 INFO [org.apa.kaf.com.uti.AppInfoParser] (main) Kafka version: 3.2.1
-2022-10-06 15:38:01,173 INFO [org.apa.kaf.com.uti.AppInfoParser] (main) Kafka commitId: b172a0a94f4ebb9f
-2022-10-06 15:38:01,173 INFO [org.apa.kaf.com.uti.AppInfoParser] (main) Kafka startTimeMs: 1665063481172
-2022-10-06 15:38:01,174 INFO [org.apa.kaf.cli.con.KafkaConsumer] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Subscribed to topic(s): ruleunit-event-driven-responses
-INFO 2022-10-06 13:38:01,350 [shard 0] cluster - topics_frontend.cc:71 - Create topics {{configuration: { topic: {ns: {kafka}, topic: {ruleunit-event-driven-responses}}, partition_count: 1, replication_factor: 1, properties: { compression: {nullopt}, cleanup_policy_bitflags: {nullopt}, compaction_strategy: {nullopt}, retention_bytes: {}, retention_duration_ms: {}, segment_size: {nullopt}, timestamp_type: {nullopt}, recovery_enabled: {nullopt}, shadow_indexing: {nullopt} }}, custom_assignments: {}}}
-2022-10-06 15:38:01,350 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,350 [shard 0] cluster - topics_frontend.cc:71 - Create topics {{configuration: { topic: {ns: {kafka}, topic: {ruleunit-event-driven-responses}}, partition_count: 1, replication_factor: 1, properties: { compression: {nullopt}, cleanup_policy_bitflags: {nullopt}, compaction_strategy: {nullopt}, retention_bytes: {}, retention_duration_ms: {}, segment_size: {nullopt}, timestamp_type: {nullopt}, recovery_enabled: {nullopt}, shadow_indexing: {nullopt} }}, custom_assignments: {}}}
-INFO 2022-10-06 13:38:01,374 [shard 0] cluster - partition_manager.cc:80 - Log created manage completed, ntp: {kafka/ruleunit-event-driven-responses/0}, rev: 6, 0 segments, 0 bytes
-INFO 2022-10-06 13:38:01,374 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:992 - Starting
-INFO 2022-10-06 13:38:01,374 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:1024 - Starting with voted_for {id: {-2147483648}, revision: {-9223372036854775808}} term 0 initial_state true
-2022-10-06 15:38:01,374 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,374 [shard 0] cluster - partition_manager.cc:80 - Log created manage completed, ntp: {kafka/ruleunit-event-driven-responses/0}, rev: 6, 0 segments, 0 bytes
-2022-10-06 15:38:01,374 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,374 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:992 - Starting
-2022-10-06 15:38:01,374 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,374 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:1024 - Starting with voted_for {id: {-2147483648}, revision: {-9223372036854775808}} term 0 initial_state true
-INFO 2022-10-06 13:38:01,396 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-responses/0} - offset_translator.cc:90 - resetting offset translation state
-2022-10-06 15:38:01,396 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,396 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-responses/0} - offset_translator.cc:90 - resetting offset translation state
-INFO 2022-10-06 13:38:01,420 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-responses/0} - offset_translator.cc:141 - started, state: {base offset/delta: {-9223372036854775808}/0, map size: 1, last delta: 0}, highest_known_offset: -9223372036854775808
-2022-10-06 15:38:01,421 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,420 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-responses/0} - offset_translator.cc:141 - started, state: {base offset/delta: {-9223372036854775808}/0, map size: 1, last delta: 0}, highest_known_offset: -9223372036854775808
-INFO 2022-10-06 13:38:01,420 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:1066 - Read bootstrap state: data_seen 0 config_seen 0 eol false commit 0 term 0 prev_idx 0 prev_term 0 config_tracker -9223372036854775808 commit_base_tracker -9223372036854775808 configurations {}
-INFO 2022-10-06 13:38:01,420 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:1067 - Current log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}
-INFO 2022-10-06 13:38:01,420 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:1091 - Truncating configurations at -9223372036854775808
-2022-10-06 15:38:01,421 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,420 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:1066 - Read bootstrap state: data_seen 0 config_seen 0 eol false commit 0 term 0 prev_idx 0 prev_term 0 config_tracker -9223372036854775808 commit_base_tracker -9223372036854775808 configurations {}
-2022-10-06 15:38:01,421 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,420 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:1067 - Current log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}
-2022-10-06 15:38:01,421 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,420 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:1091 - Truncating configurations at -9223372036854775808
-INFO 2022-10-06 13:38:01,443 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-responses/0} - offset_translator.cc:203 - synced with log, state: {base offset/delta: {-9223372036854775808}/0, map size: 1, last delta: 0}, highest_known_offset: -9223372036854775808
-INFO 2022-10-06 13:38:01,443 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:1188 - started raft, log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}, term: 0, configuration: {current: {voters: {{id: {0}, revision: {6}}}, learners: {}}, old:{nullopt}, revision: 6, brokers: {{id: 0, kafka_advertised_listeners: {{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}}, rpc_address: {host: 0.0.0.0, port: 33145}, rack: {nullopt}, properties: {cores 1, mem_available 0, disk_available 0}, membership_state: active}}}
-INFO 2022-10-06 13:38:01,443 [shard 0] cluster - state_machine.cc:29 - Starting state machine for ntp={kafka/ruleunit-event-driven-responses/0}
-INFO 2022-10-06 13:38:01,443 [shard 0] cluster - controller_backend.cc:437 - partition operation {type: addition, ntp: {kafka/ruleunit-event-driven-responses/0}, offset: 6, new_assignment: { id: 0, group_id: 3, replicas: {{node_id: 0, shard: 0}} }, previous_assignment: {nullopt}} finished
-2022-10-06 15:38:01,443 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,443 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-responses/0} - offset_translator.cc:203 - synced with log, state: {base offset/delta: {-9223372036854775808}/0, map size: 1, last delta: 0}, highest_known_offset: -9223372036854775808
-2022-10-06 15:38:01,443 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,443 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:1188 - started raft, log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}, term: 0, configuration: {current: {voters: {{id: {0}, revision: {6}}}, learners: {}}, old:{nullopt}, revision: 6, brokers: {{id: 0, kafka_advertised_listeners: {{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}}, rpc_address: {host: 0.0.0.0, port: 33145}, rack: {nullopt}, properties: {cores 1, mem_available 0, disk_available 0}, membership_state: active}}}
-2022-10-06 15:38:01,443 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,443 [shard 0] cluster - state_machine.cc:29 - Starting state machine for ntp={kafka/ruleunit-event-driven-responses/0}
-2022-10-06 15:38:01,444 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,443 [shard 0] cluster - controller_backend.cc:437 - partition operation {type: addition, ntp: {kafka/ruleunit-event-driven-responses/0}, offset: 6, new_assignment: { id: 0, group_id: 3, replicas: {{node_id: 0, shard: 0}} }, previous_assignment: {nullopt}} finished
-INFO 2022-10-06 13:38:01,454 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] vote_stm.cc:252 - became the leader term:1
-INFO 2022-10-06 13:38:01,454 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/kafka/ruleunit-event-driven-responses/0_6/0-1-v1.log
-2022-10-06 15:38:01,454 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,454 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] vote_stm.cc:252 - became the leader term:1
-2022-10-06 15:38:01,454 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,454 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/kafka/ruleunit-event-driven-responses/0_6/0-1-v1.log
-2022-10-06 15:38:01,466 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Discovered group coordinator localhost:49238 (id: 2147483647 rack: null)
-2022-10-06 15:38:01,468 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] (Re-)joining group
-2022-10-06 15:38:01,481 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Request joining group due to: need to re-join with the given member-id: consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1-e3bb2d05-e4c5-4e4f-a008-3e574d459031
-2022-10-06 15:38:01,482 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Request joining group due to: rebalance failed due to 'The group member needs to have a valid member id before actually entering a consumer group.' (MemberIdRequiredException)
-2022-10-06 15:38:01,482 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] (Re-)joining group
-2022-10-06 15:38:01,483 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Successfully joined group with generation Generation{generationId=1, memberId='consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1-e3bb2d05-e4c5-4e4f-a008-3e574d459031', protocol='range'}
-2022-10-06 15:38:01,485 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Finished assignment for group at generation 1: {consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1-e3bb2d05-e4c5-4e4f-a008-3e574d459031=Assignment(partitions=[ruleunit-event-driven-responses-0])}
-2022-10-06 15:38:01,490 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Successfully synced group in generation Generation{generationId=1, memberId='consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1-e3bb2d05-e4c5-4e4f-a008-3e574d459031', protocol='range'}
-2022-10-06 15:38:01,490 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Notifying assignor about the new Assignment(partitions=[ruleunit-event-driven-responses-0])
-2022-10-06 15:38:01,492 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Adding newly assigned partitions: ruleunit-event-driven-responses-0
-2022-10-06 15:38:01,498 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Found no committed offset for partition ruleunit-event-driven-responses-0
-2022-10-06 15:38:01,507 INFO [org.apa.kaf.cli.con.int.SubscriptionState] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Resetting offset for partition ruleunit-event-driven-responses-0 to position FetchPosition{offset=0, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[localhost:49238 (id: 0 rack: null)], epoch=absent}}.
-INFO 2022-10-06 13:38:01,512 [shard 0] kafka - fetch_session_cache.cc:106 - fetch session created: 2
-2022-10-06 15:38:01,513 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,512 [shard 0] kafka - fetch_session_cache.cc:106 - fetch session created: 2
-2022-10-06 15:38:04,190 INFO [org.apa.kaf.cli.pro.ProducerConfig] (awaitility-thread) ProducerConfig values:
- acks = -1
- batch.size = 16384
- bootstrap.servers = [localhost:49238]
- buffer.memory = 33554432
- client.dns.lookup = use_all_dns_ips
- client.id = org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer
- compression.type = none
- connections.max.idle.ms = 540000
- delivery.timeout.ms = 120000
- enable.idempotence = true
- interceptor.classes = []
- key.serializer = class org.apache.kafka.common.serialization.StringSerializer
- linger.ms = 0
- max.block.ms = 60000
- max.in.flight.requests.per.connection = 5
- max.request.size = 1048576
- metadata.max.age.ms = 300000
- metadata.max.idle.ms = 300000
- metric.reporters = []
- metrics.num.samples = 2
- metrics.recording.level = INFO
- metrics.sample.window.ms = 30000
- partitioner.class = class org.apache.kafka.clients.producer.internals.DefaultPartitioner
- receive.buffer.bytes = 32768
- reconnect.backoff.max.ms = 1000
- reconnect.backoff.ms = 50
- request.timeout.ms = 30000
- retries = 2147483647
- retry.backoff.ms = 100
- sasl.client.callback.handler.class = null
- sasl.jaas.config = null
- sasl.kerberos.kinit.cmd = /usr/bin/kinit
- sasl.kerberos.min.time.before.relogin = 60000
- sasl.kerberos.service.name = null
- sasl.kerberos.ticket.renew.jitter = 0.05
- sasl.kerberos.ticket.renew.window.factor = 0.8
- sasl.login.callback.handler.class = null
- sasl.login.class = null
- sasl.login.connect.timeout.ms = null
- sasl.login.read.timeout.ms = null
- sasl.login.refresh.buffer.seconds = 300
- sasl.login.refresh.min.period.seconds = 60
- sasl.login.refresh.window.factor = 0.8
- sasl.login.refresh.window.jitter = 0.05
- sasl.login.retry.backoff.max.ms = 10000
- sasl.login.retry.backoff.ms = 100
- sasl.mechanism = GSSAPI
- sasl.oauthbearer.clock.skew.seconds = 30
- sasl.oauthbearer.expected.audience = null
- sasl.oauthbearer.expected.issuer = null
- sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000
- sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000
- sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100
- sasl.oauthbearer.jwks.endpoint.url = null
- sasl.oauthbearer.scope.claim.name = scope
- sasl.oauthbearer.sub.claim.name = sub
- sasl.oauthbearer.token.endpoint.url = null
- security.protocol = PLAINTEXT
- security.providers = null
- send.buffer.bytes = 131072
- socket.connection.setup.timeout.max.ms = 30000
- socket.connection.setup.timeout.ms = 10000
- ssl.cipher.suites = null
- ssl.enabled.protocols = [TLSv1.2, TLSv1.3]
- ssl.endpoint.identification.algorithm = https
- ssl.engine.factory.class = null
- ssl.key.password = null
- ssl.keymanager.algorithm = SunX509
- ssl.keystore.certificate.chain = null
- ssl.keystore.key = null
- ssl.keystore.location = null
- ssl.keystore.password = null
- ssl.keystore.type = JKS
- ssl.protocol = TLSv1.3
- ssl.provider = null
- ssl.secure.random.implementation = null
- ssl.trustmanager.algorithm = PKIX
- ssl.truststore.certificates = null
- ssl.truststore.location = null
- ssl.truststore.password = null
- ssl.truststore.type = JKS
- transaction.timeout.ms = 60000
- transactional.id = null
- value.serializer = class org.apache.kafka.common.serialization.StringSerializer
-
-2022-10-06 15:38:04,198 INFO [org.apa.kaf.cli.pro.KafkaProducer] (awaitility-thread) [Producer clientId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer] Instantiated an idempotent producer.
-2022-10-06 15:38:04,208 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) Kafka version: 3.2.1
-2022-10-06 15:38:04,208 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) Kafka commitId: b172a0a94f4ebb9f
-2022-10-06 15:38:04,208 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) Kafka startTimeMs: 1665063484208
-2022-10-06 15:38:04,208 INFO [org.kie.kog.tes.qua.kaf.KafkaTestClient] (awaitility-thread) Publishing event with data {
- "specversion": "1.0",
- "id": "a89b61a2-5644-487a-8a86-144855c5dce8",
- "source": "SomeEventSource",
- "type": "RulesRequest",
- "subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
- "kogitoruleunitquery": "FindApproved",
- "data": {
- "maxAmount": 5000,
- "loanApplications": [
- {
- "id": "ABC10001",
- "amount": 2000,
- "deposit": 100,
- "applicant": {
- "age": 45,
- "name": "John"
- }
- },
- {
- "id": "ABC10002",
- "amount": 5000,
- "deposit": 100,
- "applicant": {
- "age": 25,
- "name": "Paul"
- }
- },
- {
- "id": "ABC10015",
- "amount": 1000,
- "deposit": 100,
- "applicant": {
- "age": 12,
- "name": "George"
- }
- }
- ]
- }
-}
- for topic ruleunit-event-driven-requests
-INFO 2022-10-06 13:38:04,211 [shard 0] cluster - topics_frontend.cc:71 - Create topics {{configuration: { topic: {ns: {kafka_internal}, topic: {id_allocator}}, partition_count: 1, replication_factor: 1, properties: { compression: {nullopt}, cleanup_policy_bitflags: {none}, compaction_strategy: {nullopt}, retention_bytes: {}, retention_duration_ms: {}, segment_size: {nullopt}, timestamp_type: {nullopt}, recovery_enabled: {nullopt}, shadow_indexing: {nullopt} }}, custom_assignments: {}}}
-2022-10-06 15:38:04,212 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,211 [shard 0] cluster - topics_frontend.cc:71 - Create topics {{configuration: { topic: {ns: {kafka_internal}, topic: {id_allocator}}, partition_count: 1, replication_factor: 1, properties: { compression: {nullopt}, cleanup_policy_bitflags: {none}, compaction_strategy: {nullopt}, retention_bytes: {}, retention_duration_ms: {}, segment_size: {nullopt}, timestamp_type: {nullopt}, recovery_enabled: {nullopt}, shadow_indexing: {nullopt} }}, custom_assignments: {}}}
-INFO 2022-10-06 13:38:04,229 [shard 0] cluster - partition_manager.cc:80 - Log created manage completed, ntp: {kafka_internal/id_allocator/0}, rev: 8, 0 segments, 0 bytes
-INFO 2022-10-06 13:38:04,229 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:992 - Starting
-INFO 2022-10-06 13:38:04,229 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:1024 - Starting with voted_for {id: {-2147483648}, revision: {-9223372036854775808}} term 0 initial_state true
-2022-10-06 15:38:04,230 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,229 [shard 0] cluster - partition_manager.cc:80 - Log created manage completed, ntp: {kafka_internal/id_allocator/0}, rev: 8, 0 segments, 0 bytes
-2022-10-06 15:38:04,230 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,229 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:992 - Starting
-2022-10-06 15:38:04,230 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,229 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:1024 - Starting with voted_for {id: {-2147483648}, revision: {-9223372036854775808}} term 0 initial_state true
-INFO 2022-10-06 13:38:04,251 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:1066 - Read bootstrap state: data_seen 0 config_seen 0 eol false commit 0 term 0 prev_idx 0 prev_term 0 config_tracker -9223372036854775808 commit_base_tracker -9223372036854775808 configurations {}
-INFO 2022-10-06 13:38:04,251 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:1067 - Current log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}
-INFO 2022-10-06 13:38:04,252 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:1091 - Truncating configurations at -9223372036854775808
-2022-10-06 15:38:04,252 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,251 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:1066 - Read bootstrap state: data_seen 0 config_seen 0 eol false commit 0 term 0 prev_idx 0 prev_term 0 config_tracker -9223372036854775808 commit_base_tracker -9223372036854775808 configurations {}
-2022-10-06 15:38:04,252 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,251 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:1067 - Current log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}
-2022-10-06 15:38:04,252 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,252 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:1091 - Truncating configurations at -9223372036854775808
-INFO 2022-10-06 13:38:04,274 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:1188 - started raft, log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}, term: 0, configuration: {current: {voters: {{id: {0}, revision: {8}}}, learners: {}}, old:{nullopt}, revision: 8, brokers: {{id: 0, kafka_advertised_listeners: {{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}}, rpc_address: {host: 0.0.0.0, port: 33145}, rack: {nullopt}, properties: {cores 1, mem_available 0, disk_available 0}, membership_state: active}}}
-INFO 2022-10-06 13:38:04,274 [shard 0] cluster - state_machine.cc:29 - Starting state machine for ntp={kafka_internal/id_allocator/0}
-INFO 2022-10-06 13:38:04,274 [shard 0] cluster - controller_backend.cc:437 - partition operation {type: addition, ntp: {kafka_internal/id_allocator/0}, offset: 8, new_assignment: { id: 0, group_id: 4, replicas: {{node_id: 0, shard: 0}} }, previous_assignment: {nullopt}} finished
-2022-10-06 15:38:04,274 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,274 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:1188 - started raft, log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}, term: 0, configuration: {current: {voters: {{id: {0}, revision: {8}}}, learners: {}}, old:{nullopt}, revision: 8, brokers: {{id: 0, kafka_advertised_listeners: {{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}}, rpc_address: {host: 0.0.0.0, port: 33145}, rack: {nullopt}, properties: {cores 1, mem_available 0, disk_available 0}, membership_state: active}}}
-2022-10-06 15:38:04,275 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,274 [shard 0] cluster - state_machine.cc:29 - Starting state machine for ntp={kafka_internal/id_allocator/0}
-2022-10-06 15:38:04,275 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,274 [shard 0] cluster - controller_backend.cc:437 - partition operation {type: addition, ntp: {kafka_internal/id_allocator/0}, offset: 8, new_assignment: { id: 0, group_id: 4, replicas: {{node_id: 0, shard: 0}} }, previous_assignment: {nullopt}} finished
-INFO 2022-10-06 13:38:04,285 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] vote_stm.cc:252 - became the leader term:1
-INFO 2022-10-06 13:38:04,285 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/kafka_internal/id_allocator/0_8/0-1-v1.log
-2022-10-06 15:38:04,286 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,285 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] vote_stm.cc:252 - became the leader term:1
-2022-10-06 15:38:04,286 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,285 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/kafka_internal/id_allocator/0_8/0-1-v1.log
-2022-10-06 15:38:04,545 INFO [org.apa.kaf.cli.pro.int.TransactionManager] (kafka-producer-network-thread | org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer) [Producer clientId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer] ProducerId set to 1 with epoch 0
-2022-10-06 15:38:04,579 INFO [org.apa.kaf.cli.pro.KafkaProducer] (awaitility-thread) [Producer clientId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer] Closing the Kafka producer with timeoutMillis = 9223372036854775807 ms.
-2022-10-06 15:38:04,582 INFO [org.apa.kaf.com.met.Metrics] (awaitility-thread) Metrics scheduler closed
-2022-10-06 15:38:04,582 INFO [org.apa.kaf.com.met.Metrics] (awaitility-thread) Closing reporter org.apache.kafka.common.metrics.JmxReporter
-2022-10-06 15:38:04,582 INFO [org.apa.kaf.com.met.Metrics] (awaitility-thread) Metrics reporters closed
-2022-10-06 15:38:04,582 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) App info kafka.producer for org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer unregistered
-2022-10-06 15:38:05,587 INFO [io.sma.rea.mes.kafka] (vert.x-eventloop-thread-10) SRMSG18256: Initialize record store for topic-partition 'ruleunit-event-driven-requests-0' at position -1.
-2022-10-06 15:38:05,597 DEBUG [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventReceiver] (vert.x-eventloop-thread-10) Received message {
- "specversion": "1.0",
- "id": "a89b61a2-5644-487a-8a86-144855c5dce8",
- "source": "SomeEventSource",
- "type": "RulesRequest",
- "subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
- "kogitoruleunitquery": "FindApproved",
- "data": {
- "maxAmount": 5000,
- "loanApplications": [
- {
- "id": "ABC10001",
- "amount": 2000,
- "deposit": 100,
- "applicant": {
- "age": 45,
- "name": "John"
- }
- },
- {
- "id": "ABC10002",
- "amount": 5000,
- "deposit": 100,
- "applicant": {
- "age": 25,
- "name": "Paul"
- }
- },
- {
- "id": "ABC10015",
- "amount": 1000,
- "deposit": 100,
- "applicant": {
- "age": 12,
- "name": "George"
- }
- }
- ]
- }
-}
-
-2022-10-06 15:38:05,617 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Processing event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindApproved, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}]
-2022-10-06 15:38:05,719 DEBUG [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventEmitter] (vert.x-eventloop-thread-10) publishing event CloudEvent{id='5a855b0a-c37b-4090-8ff5-ab6b81392d0f', source=find-approved, type='RulesResponse', subject='TheSubject', data=BytesCloudEventData{value=[91, 123, 34, 105, 100, 34, 58, 34, 65, 66, 67, 49, 48, 48, 48, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 110, 116, 34, 58, 123, 34, 110, 97, 109, 101, 34, 58, 34, 74, 111, 104, 110, 34, 44, 34, 97, 103, 101, 34, 58, 52, 53, 125, 44, 34, 97, 109, 111, 117, 110, 116, 34, 58, 50, 48, 48, 48, 44, 34, 100, 101, 112, 111, 115, 105, 116, 34, 58, 49, 48, 48, 44, 34, 97, 112, 112, 114, 111, 118, 101, 100, 34, 58, 116, 114, 117, 101, 125, 93]}, extensions={kogitoruleunitquery=FindApproved, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}} for type RulesResponse
-2022-10-06 15:38:05,726 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Processing event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindApproved, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}]
-2022-10-06 15:38:05,727 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Invalid request. Event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindApproved, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}] with extension KogitoRulesExtension [ruleUnitId=org.kie.kogito.queries.LoanUnit, ruleUnitQuery=FindApproved] is not recognized by executor AbstractEventDrivenQueryExecutor [ruleUnit=org.kie.kogito.queries.LoanUnitRuleUnit@322c39d7, queryName=FindNotApprovedIdAndAmount, objectClass=class org.kie.kogito.queries.LoanUnit]
-2022-10-06 15:38:05,728 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Processing event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindApproved, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}]
-2022-10-06 15:38:05,728 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Invalid request. Event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindApproved, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}] with extension KogitoRulesExtension [ruleUnitId=org.kie.kogito.queries.LoanUnit, ruleUnitQuery=FindApproved] is not recognized by executor AbstractEventDrivenQueryExecutor [ruleUnit=org.kie.kogito.queries.LoanUnitRuleUnit@322c39d7, queryName=FindAllApplicationAmounts, objectClass=class org.kie.kogito.queries.LoanUnit]
-2022-10-06 15:38:05,728 DEBUG [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventReceiver] (vert.x-eventloop-thread-10) Acking message id {
- "specversion": "1.0",
- "id": "a89b61a2-5644-487a-8a86-144855c5dce8",
- "source": "SomeEventSource",
- "type": "RulesRequest",
- "subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
- "kogitoruleunitquery": "FindApproved",
- "data": {
- "maxAmount": 5000,
- "loanApplications": [
- {
- "id": "ABC10001",
- "amount": 2000,
- "deposit": 100,
- "applicant": {
- "age": 45,
- "name": "John"
- }
- },
- {
- "id": "ABC10002",
- "amount": 5000,
- "deposit": 100,
- "applicant": {
- "age": 25,
- "name": "Paul"
- }
- },
- {
- "id": "ABC10015",
- "amount": 1000,
- "deposit": 100,
- "applicant": {
- "age": 12,
- "name": "George"
- }
- }
- ]
- }
-}
-
-2022-10-06 15:38:06,750 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Revoke previously assigned partitions ruleunit-event-driven-responses-0
-2022-10-06 15:38:06,753 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Member consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1-e3bb2d05-e4c5-4e4f-a008-3e574d459031 sending LeaveGroup request to coordinator localhost:49238 (id: 2147483647 rack: null) due to the consumer is being closed
-2022-10-06 15:38:06,754 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Resetting generation and member id due to: consumer pro-actively leaving the group
-2022-10-06 15:38:06,754 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Request joining group due to: consumer pro-actively leaving the group
-2022-10-06 15:38:06,755 INFO [org.apa.kaf.com.met.Metrics] (pool-4-thread-1) Metrics scheduler closed
-2022-10-06 15:38:06,755 INFO [org.apa.kaf.com.met.Metrics] (pool-4-thread-1) Closing reporter org.apache.kafka.common.metrics.JmxReporter
-2022-10-06 15:38:06,755 INFO [org.apa.kaf.com.met.Metrics] (pool-4-thread-1) Metrics reporters closed
-2022-10-06 15:38:06,758 INFO [org.apa.kaf.com.uti.AppInfoParser] (pool-4-thread-1) App info kafka.consumer for consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1 unregistered
-2022-10-06 15:38:06,772 INFO [org.apa.kaf.cli.con.ConsumerConfig] (main) ConsumerConfig values:
- allow.auto.create.topics = true
- auto.commit.interval.ms = 5000
- auto.offset.reset = earliest
- bootstrap.servers = [localhost:49238]
- check.crcs = true
- client.dns.lookup = use_all_dns_ips
- client.id = consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2
- client.rack =
- connections.max.idle.ms = 540000
- default.api.timeout.ms = 60000
- enable.auto.commit = false
- exclude.internal.topics = true
- fetch.max.bytes = 52428800
- fetch.max.wait.ms = 500
- fetch.min.bytes = 1
- group.id = org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer
- group.instance.id = null
- heartbeat.interval.ms = 3000
- interceptor.classes = []
- internal.leave.group.on.close = true
- internal.throw.on.fetch.stable.offset.unsupported = false
- isolation.level = read_uncommitted
- key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer
- max.partition.fetch.bytes = 1048576
- max.poll.interval.ms = 300000
- max.poll.records = 500
- metadata.max.age.ms = 300000
- metric.reporters = []
- metrics.num.samples = 2
- metrics.recording.level = INFO
- metrics.sample.window.ms = 30000
- partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor]
- receive.buffer.bytes = 65536
- reconnect.backoff.max.ms = 1000
- reconnect.backoff.ms = 50
- request.timeout.ms = 30000
- retry.backoff.ms = 100
- sasl.client.callback.handler.class = null
- sasl.jaas.config = null
- sasl.kerberos.kinit.cmd = /usr/bin/kinit
- sasl.kerberos.min.time.before.relogin = 60000
- sasl.kerberos.service.name = null
- sasl.kerberos.ticket.renew.jitter = 0.05
- sasl.kerberos.ticket.renew.window.factor = 0.8
- sasl.login.callback.handler.class = null
- sasl.login.class = null
- sasl.login.connect.timeout.ms = null
- sasl.login.read.timeout.ms = null
- sasl.login.refresh.buffer.seconds = 300
- sasl.login.refresh.min.period.seconds = 60
- sasl.login.refresh.window.factor = 0.8
- sasl.login.refresh.window.jitter = 0.05
- sasl.login.retry.backoff.max.ms = 10000
- sasl.login.retry.backoff.ms = 100
- sasl.mechanism = GSSAPI
- sasl.oauthbearer.clock.skew.seconds = 30
- sasl.oauthbearer.expected.audience = null
- sasl.oauthbearer.expected.issuer = null
- sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000
- sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000
- sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100
- sasl.oauthbearer.jwks.endpoint.url = null
- sasl.oauthbearer.scope.claim.name = scope
- sasl.oauthbearer.sub.claim.name = sub
- sasl.oauthbearer.token.endpoint.url = null
- security.protocol = PLAINTEXT
- security.providers = null
- send.buffer.bytes = 131072
- session.timeout.ms = 45000
- socket.connection.setup.timeout.max.ms = 30000
- socket.connection.setup.timeout.ms = 10000
- ssl.cipher.suites = null
- ssl.enabled.protocols = [TLSv1.2, TLSv1.3]
- ssl.endpoint.identification.algorithm = https
- ssl.engine.factory.class = null
- ssl.key.password = null
- ssl.keymanager.algorithm = SunX509
- ssl.keystore.certificate.chain = null
- ssl.keystore.key = null
- ssl.keystore.location = null
- ssl.keystore.password = null
- ssl.keystore.type = JKS
- ssl.protocol = TLSv1.3
- ssl.provider = null
- ssl.secure.random.implementation = null
- ssl.trustmanager.algorithm = PKIX
- ssl.truststore.certificates = null
- ssl.truststore.location = null
- ssl.truststore.password = null
- ssl.truststore.type = JKS
- value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer
-
-2022-10-06 15:38:06,775 INFO [org.apa.kaf.com.uti.AppInfoParser] (main) Kafka version: 3.2.1
-2022-10-06 15:38:06,775 INFO [org.apa.kaf.com.uti.AppInfoParser] (main) Kafka commitId: b172a0a94f4ebb9f
-2022-10-06 15:38:06,775 INFO [org.apa.kaf.com.uti.AppInfoParser] (main) Kafka startTimeMs: 1665063486775
-2022-10-06 15:38:06,775 INFO [org.apa.kaf.cli.con.KafkaConsumer] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Subscribed to topic(s): ruleunit-event-driven-responses
-2022-10-06 15:38:06,778 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Discovered group coordinator localhost:49238 (id: 2147483647 rack: null)
-2022-10-06 15:38:06,779 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] (Re-)joining group
-2022-10-06 15:38:06,781 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Request joining group due to: need to re-join with the given member-id: consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2-2f78b085-a7a3-45f8-80be-dc2f159efeef
-2022-10-06 15:38:06,781 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Request joining group due to: rebalance failed due to 'The group member needs to have a valid member id before actually entering a consumer group.' (MemberIdRequiredException)
-2022-10-06 15:38:06,781 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] (Re-)joining group
-2022-10-06 15:38:06,782 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Successfully joined group with generation Generation{generationId=3, memberId='consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2-2f78b085-a7a3-45f8-80be-dc2f159efeef', protocol='range'}
-2022-10-06 15:38:06,782 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Finished assignment for group at generation 3: {consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2-2f78b085-a7a3-45f8-80be-dc2f159efeef=Assignment(partitions=[ruleunit-event-driven-responses-0])}
-2022-10-06 15:38:06,783 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Successfully synced group in generation Generation{generationId=3, memberId='consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2-2f78b085-a7a3-45f8-80be-dc2f159efeef', protocol='range'}
-2022-10-06 15:38:06,784 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Notifying assignor about the new Assignment(partitions=[ruleunit-event-driven-responses-0])
-2022-10-06 15:38:06,784 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Adding newly assigned partitions: ruleunit-event-driven-responses-0
-2022-10-06 15:38:06,784 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Setting offset for partition ruleunit-event-driven-responses-0 to the committed offset FetchPosition{offset=1, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[localhost:49238 (id: 0 rack: null)], epoch=absent}}
-INFO 2022-10-06 13:38:06,786 [shard 0] kafka - fetch_session_cache.cc:106 - fetch session created: 3
-2022-10-06 15:38:06,787 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:06,786 [shard 0] kafka - fetch_session_cache.cc:106 - fetch session created: 3
-2022-10-06 15:38:09,778 INFO [org.apa.kaf.cli.pro.ProducerConfig] (awaitility-thread) ProducerConfig values:
- acks = -1
- batch.size = 16384
- bootstrap.servers = [localhost:49238]
- buffer.memory = 33554432
- client.dns.lookup = use_all_dns_ips
- client.id = org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer
- compression.type = none
- connections.max.idle.ms = 540000
- delivery.timeout.ms = 120000
- enable.idempotence = true
- interceptor.classes = []
- key.serializer = class org.apache.kafka.common.serialization.StringSerializer
- linger.ms = 0
- max.block.ms = 60000
- max.in.flight.requests.per.connection = 5
- max.request.size = 1048576
- metadata.max.age.ms = 300000
- metadata.max.idle.ms = 300000
- metric.reporters = []
- metrics.num.samples = 2
- metrics.recording.level = INFO
- metrics.sample.window.ms = 30000
- partitioner.class = class org.apache.kafka.clients.producer.internals.DefaultPartitioner
- receive.buffer.bytes = 32768
- reconnect.backoff.max.ms = 1000
- reconnect.backoff.ms = 50
- request.timeout.ms = 30000
- retries = 2147483647
- retry.backoff.ms = 100
- sasl.client.callback.handler.class = null
- sasl.jaas.config = null
- sasl.kerberos.kinit.cmd = /usr/bin/kinit
- sasl.kerberos.min.time.before.relogin = 60000
- sasl.kerberos.service.name = null
- sasl.kerberos.ticket.renew.jitter = 0.05
- sasl.kerberos.ticket.renew.window.factor = 0.8
- sasl.login.callback.handler.class = null
- sasl.login.class = null
- sasl.login.connect.timeout.ms = null
- sasl.login.read.timeout.ms = null
- sasl.login.refresh.buffer.seconds = 300
- sasl.login.refresh.min.period.seconds = 60
- sasl.login.refresh.window.factor = 0.8
- sasl.login.refresh.window.jitter = 0.05
- sasl.login.retry.backoff.max.ms = 10000
- sasl.login.retry.backoff.ms = 100
- sasl.mechanism = GSSAPI
- sasl.oauthbearer.clock.skew.seconds = 30
- sasl.oauthbearer.expected.audience = null
- sasl.oauthbearer.expected.issuer = null
- sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000
- sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000
- sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100
- sasl.oauthbearer.jwks.endpoint.url = null
- sasl.oauthbearer.scope.claim.name = scope
- sasl.oauthbearer.sub.claim.name = sub
- sasl.oauthbearer.token.endpoint.url = null
- security.protocol = PLAINTEXT
- security.providers = null
- send.buffer.bytes = 131072
- socket.connection.setup.timeout.max.ms = 30000
- socket.connection.setup.timeout.ms = 10000
- ssl.cipher.suites = null
- ssl.enabled.protocols = [TLSv1.2, TLSv1.3]
- ssl.endpoint.identification.algorithm = https
- ssl.engine.factory.class = null
- ssl.key.password = null
- ssl.keymanager.algorithm = SunX509
- ssl.keystore.certificate.chain = null
- ssl.keystore.key = null
- ssl.keystore.location = null
- ssl.keystore.password = null
- ssl.keystore.type = JKS
- ssl.protocol = TLSv1.3
- ssl.provider = null
- ssl.secure.random.implementation = null
- ssl.trustmanager.algorithm = PKIX
- ssl.truststore.certificates = null
- ssl.truststore.location = null
- ssl.truststore.password = null
- ssl.truststore.type = JKS
- transaction.timeout.ms = 60000
- transactional.id = null
- value.serializer = class org.apache.kafka.common.serialization.StringSerializer
-
-2022-10-06 15:38:09,780 INFO [org.apa.kaf.cli.pro.KafkaProducer] (awaitility-thread) [Producer clientId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer] Instantiated an idempotent producer.
-2022-10-06 15:38:09,784 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) Kafka version: 3.2.1
-2022-10-06 15:38:09,784 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) Kafka commitId: b172a0a94f4ebb9f
-2022-10-06 15:38:09,784 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) Kafka startTimeMs: 1665063489783
-2022-10-06 15:38:09,784 INFO [org.kie.kog.tes.qua.kaf.KafkaTestClient] (awaitility-thread) Publishing event with data {
- "specversion": "1.0",
- "id": "a89b61a2-5644-487a-8a86-144855c5dce8",
- "source": "SomeEventSource",
- "type": "RulesRequest",
- "subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
- "kogitoruleunitquery": "FindNotApprovedIdAndAmount",
- "data": {
- "maxAmount": 5000,
- "loanApplications": [
- {
- "id": "ABC10001",
- "amount": 2000,
- "deposit": 100,
- "applicant": {
- "age": 45,
- "name": "John"
- }
- },
- {
- "id": "ABC10002",
- "amount": 5000,
- "deposit": 100,
- "applicant": {
- "age": 25,
- "name": "Paul"
- }
- },
- {
- "id": "ABC10015",
- "amount": 1000,
- "deposit": 100,
- "applicant": {
- "age": 12,
- "name": "George"
- }
- }
- ]
- }
-}
- for topic ruleunit-event-driven-requests
-2022-10-06 15:38:09,786 INFO [org.apa.kaf.cli.pro.int.TransactionManager] (kafka-producer-network-thread | org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer) [Producer clientId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer] ProducerId set to 2 with epoch 0
-2022-10-06 15:38:09,790 INFO [org.apa.kaf.cli.pro.KafkaProducer] (awaitility-thread) [Producer clientId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer] Closing the Kafka producer with timeoutMillis = 9223372036854775807 ms.
-2022-10-06 15:38:09,791 INFO [org.apa.kaf.com.met.Metrics] (awaitility-thread) Metrics scheduler closed
-2022-10-06 15:38:09,791 INFO [org.apa.kaf.com.met.Metrics] (awaitility-thread) Closing reporter org.apache.kafka.common.metrics.JmxReporter
-2022-10-06 15:38:09,791 INFO [org.apa.kaf.com.met.Metrics] (awaitility-thread) Metrics reporters closed
-2022-10-06 15:38:09,791 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) App info kafka.producer for org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer unregistered
-2022-10-06 15:38:09,791 DEBUG [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventReceiver] (vert.x-eventloop-thread-10) Received message {
- "specversion": "1.0",
- "id": "a89b61a2-5644-487a-8a86-144855c5dce8",
- "source": "SomeEventSource",
- "type": "RulesRequest",
- "subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
- "kogitoruleunitquery": "FindNotApprovedIdAndAmount",
- "data": {
- "maxAmount": 5000,
- "loanApplications": [
- {
- "id": "ABC10001",
- "amount": 2000,
- "deposit": 100,
- "applicant": {
- "age": 45,
- "name": "John"
- }
- },
- {
- "id": "ABC10002",
- "amount": 5000,
- "deposit": 100,
- "applicant": {
- "age": 25,
- "name": "Paul"
- }
- },
- {
- "id": "ABC10015",
- "amount": 1000,
- "deposit": 100,
- "applicant": {
- "age": 12,
- "name": "George"
- }
- }
- ]
- }
-}
-
-2022-10-06 15:38:09,792 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Processing event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindNotApprovedIdAndAmount, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}]
-2022-10-06 15:38:09,792 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Invalid request. Event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindNotApprovedIdAndAmount, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}] with extension KogitoRulesExtension [ruleUnitId=org.kie.kogito.queries.LoanUnit, ruleUnitQuery=FindNotApprovedIdAndAmount] is not recognized by executor AbstractEventDrivenQueryExecutor [ruleUnit=org.kie.kogito.queries.LoanUnitRuleUnit@322c39d7, queryName=FindApproved, objectClass=class org.kie.kogito.queries.LoanUnit]
-2022-10-06 15:38:09,793 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Processing event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindNotApprovedIdAndAmount, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}]
-2022-10-06 15:38:09,825 DEBUG [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventEmitter] (vert.x-eventloop-thread-10) publishing event CloudEvent{id='3be203a5-5a72-4ad6-b45a-e4466408277a', source=find-not-approved-id-and-amount, type='RulesResponse', subject='TheSubject', data=BytesCloudEventData{value=[91, 123, 34, 36, 97, 109, 111, 117, 110, 116, 34, 58, 53, 48, 48, 48, 44, 34, 36, 105, 100, 34, 58, 34, 65, 66, 67, 49, 48, 48, 48, 50, 34, 125, 44, 123, 34, 36, 97, 109, 111, 117, 110, 116, 34, 58, 49, 48, 48, 48, 44, 34, 36, 105, 100, 34, 58, 34, 65, 66, 67, 49, 48, 48, 49, 53, 34, 125, 93]}, extensions={kogitoruleunitquery=FindNotApprovedIdAndAmount, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}} for type RulesResponse
-2022-10-06 15:38:09,826 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Processing event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindNotApprovedIdAndAmount, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}]
-2022-10-06 15:38:09,827 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Invalid request. Event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindNotApprovedIdAndAmount, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}] with extension KogitoRulesExtension [ruleUnitId=org.kie.kogito.queries.LoanUnit, ruleUnitQuery=FindNotApprovedIdAndAmount] is not recognized by executor AbstractEventDrivenQueryExecutor [ruleUnit=org.kie.kogito.queries.LoanUnitRuleUnit@322c39d7, queryName=FindAllApplicationAmounts, objectClass=class org.kie.kogito.queries.LoanUnit]
-2022-10-06 15:38:09,827 DEBUG [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventReceiver] (vert.x-eventloop-thread-10) Acking message id {
- "specversion": "1.0",
- "id": "a89b61a2-5644-487a-8a86-144855c5dce8",
- "source": "SomeEventSource",
- "type": "RulesRequest",
- "subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
- "kogitoruleunitquery": "FindNotApprovedIdAndAmount",
- "data": {
- "maxAmount": 5000,
- "loanApplications": [
- {
- "id": "ABC10001",
- "amount": 2000,
- "deposit": 100,
- "applicant": {
- "age": 45,
- "name": "John"
- }
- },
- {
- "id": "ABC10002",
- "amount": 5000,
- "deposit": 100,
- "applicant": {
- "age": 25,
- "name": "Paul"
- }
- },
- {
- "id": "ABC10015",
- "amount": 1000,
- "deposit": 100,
- "applicant": {
- "age": 12,
- "name": "George"
- }
- }
- ]
- }
-}
-
-2022-10-06 15:38:10,834 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Revoke previously assigned partitions ruleunit-event-driven-responses-0
-2022-10-06 15:38:10,836 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Member consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2-2f78b085-a7a3-45f8-80be-dc2f159efeef sending LeaveGroup request to coordinator localhost:49238 (id: 2147483647 rack: null) due to the consumer is being closed
-2022-10-06 15:38:10,836 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Resetting generation and member id due to: consumer pro-actively leaving the group
-2022-10-06 15:38:10,837 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Request joining group due to: consumer pro-actively leaving the group
-2022-10-06 15:38:10,837 INFO [org.apa.kaf.com.met.Metrics] (pool-5-thread-1) Metrics scheduler closed
-2022-10-06 15:38:10,837 INFO [org.apa.kaf.com.met.Metrics] (pool-5-thread-1) Closing reporter org.apache.kafka.common.metrics.JmxReporter
-2022-10-06 15:38:10,837 INFO [org.apa.kaf.com.met.Metrics] (pool-5-thread-1) Metrics reporters closed
-2022-10-06 15:38:10,839 INFO [org.apa.kaf.com.uti.AppInfoParser] (pool-5-thread-1) App info kafka.consumer for consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2 unregistered
-2022-10-06 15:38:10,844 INFO [org.apa.kaf.cli.con.ConsumerConfig] (main) ConsumerConfig values:
- allow.auto.create.topics = true
- auto.commit.interval.ms = 5000
- auto.offset.reset = earliest
- bootstrap.servers = [localhost:49238]
- check.crcs = true
- client.dns.lookup = use_all_dns_ips
- client.id = consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3
- client.rack =
- connections.max.idle.ms = 540000
- default.api.timeout.ms = 60000
- enable.auto.commit = false
- exclude.internal.topics = true
- fetch.max.bytes = 52428800
- fetch.max.wait.ms = 500
- fetch.min.bytes = 1
- group.id = org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer
- group.instance.id = null
- heartbeat.interval.ms = 3000
- interceptor.classes = []
- internal.leave.group.on.close = true
- internal.throw.on.fetch.stable.offset.unsupported = false
- isolation.level = read_uncommitted
- key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer
- max.partition.fetch.bytes = 1048576
- max.poll.interval.ms = 300000
- max.poll.records = 500
- metadata.max.age.ms = 300000
- metric.reporters = []
- metrics.num.samples = 2
- metrics.recording.level = INFO
- metrics.sample.window.ms = 30000
- partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor]
- receive.buffer.bytes = 65536
- reconnect.backoff.max.ms = 1000
- reconnect.backoff.ms = 50
- request.timeout.ms = 30000
- retry.backoff.ms = 100
- sasl.client.callback.handler.class = null
- sasl.jaas.config = null
- sasl.kerberos.kinit.cmd = /usr/bin/kinit
- sasl.kerberos.min.time.before.relogin = 60000
- sasl.kerberos.service.name = null
- sasl.kerberos.ticket.renew.jitter = 0.05
- sasl.kerberos.ticket.renew.window.factor = 0.8
- sasl.login.callback.handler.class = null
- sasl.login.class = null
- sasl.login.connect.timeout.ms = null
- sasl.login.read.timeout.ms = null
- sasl.login.refresh.buffer.seconds = 300
- sasl.login.refresh.min.period.seconds = 60
- sasl.login.refresh.window.factor = 0.8
- sasl.login.refresh.window.jitter = 0.05
- sasl.login.retry.backoff.max.ms = 10000
- sasl.login.retry.backoff.ms = 100
- sasl.mechanism = GSSAPI
- sasl.oauthbearer.clock.skew.seconds = 30
- sasl.oauthbearer.expected.audience = null
- sasl.oauthbearer.expected.issuer = null
- sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000
- sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000
- sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100
- sasl.oauthbearer.jwks.endpoint.url = null
- sasl.oauthbearer.scope.claim.name = scope
- sasl.oauthbearer.sub.claim.name = sub
- sasl.oauthbearer.token.endpoint.url = null
- security.protocol = PLAINTEXT
- security.providers = null
- send.buffer.bytes = 131072
- session.timeout.ms = 45000
- socket.connection.setup.timeout.max.ms = 30000
- socket.connection.setup.timeout.ms = 10000
- ssl.cipher.suites = null
- ssl.enabled.protocols = [TLSv1.2, TLSv1.3]
- ssl.endpoint.identification.algorithm = https
- ssl.engine.factory.class = null
- ssl.key.password = null
- ssl.keymanager.algorithm = SunX509
- ssl.keystore.certificate.chain = null
- ssl.keystore.key = null
- ssl.keystore.location = null
- ssl.keystore.password = null
- ssl.keystore.type = JKS
- ssl.protocol = TLSv1.3
- ssl.provider = null
- ssl.secure.random.implementation = null
- ssl.trustmanager.algorithm = PKIX
- ssl.truststore.certificates = null
- ssl.truststore.location = null
- ssl.truststore.password = null
- ssl.truststore.type = JKS
- value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer
-
-2022-10-06 15:38:10,848 INFO [org.apa.kaf.com.uti.AppInfoParser] (main) Kafka version: 3.2.1
-2022-10-06 15:38:10,848 INFO [org.apa.kaf.com.uti.AppInfoParser] (main) Kafka commitId: b172a0a94f4ebb9f
-2022-10-06 15:38:10,849 INFO [org.apa.kaf.com.uti.AppInfoParser] (main) Kafka startTimeMs: 1665063490848
-2022-10-06 15:38:10,849 INFO [org.apa.kaf.cli.con.KafkaConsumer] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Subscribed to topic(s): ruleunit-event-driven-responses
-2022-10-06 15:38:10,854 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Discovered group coordinator localhost:49238 (id: 2147483647 rack: null)
-2022-10-06 15:38:10,855 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] (Re-)joining group
-2022-10-06 15:38:10,858 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Request joining group due to: need to re-join with the given member-id: consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3-ca80add5-49c0-419c-a7fb-478bcf468700
-2022-10-06 15:38:10,859 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Request joining group due to: rebalance failed due to 'The group member needs to have a valid member id before actually entering a consumer group.' (MemberIdRequiredException)
-2022-10-06 15:38:10,859 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] (Re-)joining group
-2022-10-06 15:38:10,860 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Successfully joined group with generation Generation{generationId=5, memberId='consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3-ca80add5-49c0-419c-a7fb-478bcf468700', protocol='range'}
-2022-10-06 15:38:10,860 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Finished assignment for group at generation 5: {consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3-ca80add5-49c0-419c-a7fb-478bcf468700=Assignment(partitions=[ruleunit-event-driven-responses-0])}
-2022-10-06 15:38:10,862 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Successfully synced group in generation Generation{generationId=5, memberId='consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3-ca80add5-49c0-419c-a7fb-478bcf468700', protocol='range'}
-2022-10-06 15:38:10,863 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Notifying assignor about the new Assignment(partitions=[ruleunit-event-driven-responses-0])
-2022-10-06 15:38:10,863 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Adding newly assigned partitions: ruleunit-event-driven-responses-0
-2022-10-06 15:38:10,864 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Setting offset for partition ruleunit-event-driven-responses-0 to the committed offset FetchPosition{offset=2, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[localhost:49238 (id: 0 rack: null)], epoch=absent}}
-INFO 2022-10-06 13:38:10,868 [shard 0] kafka - fetch_session_cache.cc:106 - fetch session created: 4
-2022-10-06 15:38:10,868 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:10,868 [shard 0] kafka - fetch_session_cache.cc:106 - fetch session created: 4
-2022-10-06 15:38:13,850 INFO [org.apa.kaf.cli.pro.ProducerConfig] (awaitility-thread) ProducerConfig values:
- acks = -1
- batch.size = 16384
- bootstrap.servers = [localhost:49238]
- buffer.memory = 33554432
- client.dns.lookup = use_all_dns_ips
- client.id = org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer
- compression.type = none
- connections.max.idle.ms = 540000
- delivery.timeout.ms = 120000
- enable.idempotence = true
- interceptor.classes = []
- key.serializer = class org.apache.kafka.common.serialization.StringSerializer
- linger.ms = 0
- max.block.ms = 60000
- max.in.flight.requests.per.connection = 5
- max.request.size = 1048576
- metadata.max.age.ms = 300000
- metadata.max.idle.ms = 300000
- metric.reporters = []
- metrics.num.samples = 2
- metrics.recording.level = INFO
- metrics.sample.window.ms = 30000
- partitioner.class = class org.apache.kafka.clients.producer.internals.DefaultPartitioner
- receive.buffer.bytes = 32768
- reconnect.backoff.max.ms = 1000
- reconnect.backoff.ms = 50
- request.timeout.ms = 30000
- retries = 2147483647
- retry.backoff.ms = 100
- sasl.client.callback.handler.class = null
- sasl.jaas.config = null
- sasl.kerberos.kinit.cmd = /usr/bin/kinit
- sasl.kerberos.min.time.before.relogin = 60000
- sasl.kerberos.service.name = null
- sasl.kerberos.ticket.renew.jitter = 0.05
- sasl.kerberos.ticket.renew.window.factor = 0.8
- sasl.login.callback.handler.class = null
- sasl.login.class = null
- sasl.login.connect.timeout.ms = null
- sasl.login.read.timeout.ms = null
- sasl.login.refresh.buffer.seconds = 300
- sasl.login.refresh.min.period.seconds = 60
- sasl.login.refresh.window.factor = 0.8
- sasl.login.refresh.window.jitter = 0.05
- sasl.login.retry.backoff.max.ms = 10000
- sasl.login.retry.backoff.ms = 100
- sasl.mechanism = GSSAPI
- sasl.oauthbearer.clock.skew.seconds = 30
- sasl.oauthbearer.expected.audience = null
- sasl.oauthbearer.expected.issuer = null
- sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000
- sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000
- sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100
- sasl.oauthbearer.jwks.endpoint.url = null
- sasl.oauthbearer.scope.claim.name = scope
- sasl.oauthbearer.sub.claim.name = sub
- sasl.oauthbearer.token.endpoint.url = null
- security.protocol = PLAINTEXT
- security.providers = null
- send.buffer.bytes = 131072
- socket.connection.setup.timeout.max.ms = 30000
- socket.connection.setup.timeout.ms = 10000
- ssl.cipher.suites = null
- ssl.enabled.protocols = [TLSv1.2, TLSv1.3]
- ssl.endpoint.identification.algorithm = https
- ssl.engine.factory.class = null
- ssl.key.password = null
- ssl.keymanager.algorithm = SunX509
- ssl.keystore.certificate.chain = null
- ssl.keystore.key = null
- ssl.keystore.location = null
- ssl.keystore.password = null
- ssl.keystore.type = JKS
- ssl.protocol = TLSv1.3
- ssl.provider = null
- ssl.secure.random.implementation = null
- ssl.trustmanager.algorithm = PKIX
- ssl.truststore.certificates = null
- ssl.truststore.location = null
- ssl.truststore.password = null
- ssl.truststore.type = JKS
- transaction.timeout.ms = 60000
- transactional.id = null
- value.serializer = class org.apache.kafka.common.serialization.StringSerializer
-
-2022-10-06 15:38:13,851 INFO [org.apa.kaf.cli.pro.KafkaProducer] (awaitility-thread) [Producer clientId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer] Instantiated an idempotent producer.
-2022-10-06 15:38:13,853 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) Kafka version: 3.2.1
-2022-10-06 15:38:13,853 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) Kafka commitId: b172a0a94f4ebb9f
-2022-10-06 15:38:13,853 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) Kafka startTimeMs: 1665063493853
-2022-10-06 15:38:13,853 INFO [org.kie.kog.tes.qua.kaf.KafkaTestClient] (awaitility-thread) Publishing event with data {
- "specversion": "1.0",
- "id": "a89b61a2-5644-487a-8a86-144855c5dce8",
- "source": "SomeEventSource",
- "type": "RulesRequest",
- "subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
- "kogitoruleunitquery": "FindAllApplicationAmounts",
- "data": {
- "maxAmount": 5000,
- "loanApplications": [
- {
- "id": "ABC10001",
- "amount": 2000,
- "deposit": 100,
- "applicant": {
- "age": 45,
- "name": "John"
- }
- },
- {
- "id": "ABC10002",
- "amount": 5000,
- "deposit": 100,
- "applicant": {
- "age": 25,
- "name": "Paul"
- }
- },
- {
- "id": "ABC10015",
- "amount": 1000,
- "deposit": 100,
- "applicant": {
- "age": 12,
- "name": "George"
- }
- }
- ]
- }
-}
- for topic ruleunit-event-driven-requests
-2022-10-06 15:38:13,856 INFO [org.apa.kaf.cli.pro.int.TransactionManager] (kafka-producer-network-thread | org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer) [Producer clientId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer] ProducerId set to 3 with epoch 0
-2022-10-06 15:38:13,869 INFO [org.apa.kaf.cli.pro.KafkaProducer] (awaitility-thread) [Producer clientId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer] Closing the Kafka producer with timeoutMillis = 9223372036854775807 ms.
-2022-10-06 15:38:13,871 DEBUG [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventReceiver] (vert.x-eventloop-thread-10) Received message {
- "specversion": "1.0",
- "id": "a89b61a2-5644-487a-8a86-144855c5dce8",
- "source": "SomeEventSource",
- "type": "RulesRequest",
- "subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
- "kogitoruleunitquery": "FindAllApplicationAmounts",
- "data": {
- "maxAmount": 5000,
- "loanApplications": [
- {
- "id": "ABC10001",
- "amount": 2000,
- "deposit": 100,
- "applicant": {
- "age": 45,
- "name": "John"
- }
- },
- {
- "id": "ABC10002",
- "amount": 5000,
- "deposit": 100,
- "applicant": {
- "age": 25,
- "name": "Paul"
- }
- },
- {
- "id": "ABC10015",
- "amount": 1000,
- "deposit": 100,
- "applicant": {
- "age": 12,
- "name": "George"
- }
- }
- ]
- }
-}
-
-2022-10-06 15:38:13,872 INFO [org.apa.kaf.com.met.Metrics] (awaitility-thread) Metrics scheduler closed
-2022-10-06 15:38:13,872 INFO [org.apa.kaf.com.met.Metrics] (awaitility-thread) Closing reporter org.apache.kafka.common.metrics.JmxReporter
-2022-10-06 15:38:13,872 INFO [org.apa.kaf.com.met.Metrics] (awaitility-thread) Metrics reporters closed
-2022-10-06 15:38:13,872 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) App info kafka.producer for org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer unregistered
-2022-10-06 15:38:13,872 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Processing event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindAllApplicationAmounts, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}]
-2022-10-06 15:38:13,873 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Invalid request. Event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindAllApplicationAmounts, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}] with extension KogitoRulesExtension [ruleUnitId=org.kie.kogito.queries.LoanUnit, ruleUnitQuery=FindAllApplicationAmounts] is not recognized by executor AbstractEventDrivenQueryExecutor [ruleUnit=org.kie.kogito.queries.LoanUnitRuleUnit@322c39d7, queryName=FindApproved, objectClass=class org.kie.kogito.queries.LoanUnit]
-2022-10-06 15:38:13,874 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Processing event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindAllApplicationAmounts, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}]
-2022-10-06 15:38:13,875 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Invalid request. Event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindAllApplicationAmounts, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}] with extension KogitoRulesExtension [ruleUnitId=org.kie.kogito.queries.LoanUnit, ruleUnitQuery=FindAllApplicationAmounts] is not recognized by executor AbstractEventDrivenQueryExecutor [ruleUnit=org.kie.kogito.queries.LoanUnitRuleUnit@322c39d7, queryName=FindNotApprovedIdAndAmount, objectClass=class org.kie.kogito.queries.LoanUnit]
-2022-10-06 15:38:13,876 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Processing event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindAllApplicationAmounts, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}]
-2022-10-06 15:38:13,921 DEBUG [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventEmitter] (vert.x-eventloop-thread-10) publishing event CloudEvent{id='e3e2b624-cd6e-4f27-8323-7abf530070cb', source=find-all-application-amounts, type='RulesResponse', subject='TheSubject', data=BytesCloudEventData{value=[91, 123, 34, 97, 109, 111, 117, 110, 116, 115, 34, 58, 56, 48, 48, 48, 125, 93]}, extensions={kogitoruleunitquery=FindAllApplicationAmounts, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}} for type RulesResponse
-2022-10-06 15:38:13,922 DEBUG [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventReceiver] (vert.x-eventloop-thread-10) Acking message id {
- "specversion": "1.0",
- "id": "a89b61a2-5644-487a-8a86-144855c5dce8",
- "source": "SomeEventSource",
- "type": "RulesRequest",
- "subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
- "kogitoruleunitquery": "FindAllApplicationAmounts",
- "data": {
- "maxAmount": 5000,
- "loanApplications": [
- {
- "id": "ABC10001",
- "amount": 2000,
- "deposit": 100,
- "applicant": {
- "age": 45,
- "name": "John"
- }
- },
- {
- "id": "ABC10002",
- "amount": 5000,
- "deposit": 100,
- "applicant": {
- "age": 25,
- "name": "Paul"
- }
- },
- {
- "id": "ABC10015",
- "amount": 1000,
- "deposit": 100,
- "applicant": {
- "age": 12,
- "name": "George"
- }
- }
- ]
- }
-}
-
-2022-10-06 15:38:14,935 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Revoke previously assigned partitions ruleunit-event-driven-responses-0
-2022-10-06 15:38:14,937 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Member consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3-ca80add5-49c0-419c-a7fb-478bcf468700 sending LeaveGroup request to coordinator localhost:49238 (id: 2147483647 rack: null) due to the consumer is being closed
-2022-10-06 15:38:14,938 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Resetting generation and member id due to: consumer pro-actively leaving the group
-2022-10-06 15:38:14,938 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Request joining group due to: consumer pro-actively leaving the group
-2022-10-06 15:38:14,939 INFO [org.apa.kaf.com.met.Metrics] (pool-6-thread-1) Metrics scheduler closed
-2022-10-06 15:38:14,940 INFO [org.apa.kaf.com.met.Metrics] (pool-6-thread-1) Closing reporter org.apache.kafka.common.metrics.JmxReporter
-2022-10-06 15:38:14,940 INFO [org.apa.kaf.com.met.Metrics] (pool-6-thread-1) Metrics reporters closed
-2022-10-06 15:38:14,944 INFO [org.apa.kaf.com.uti.AppInfoParser] (pool-6-thread-1) App info kafka.consumer for consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3 unregistered
-[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.636 s - in org.kie.kogito.examples.RuleUnitEventDrivenIT
-2022-10-06 15:38:15,114 WARN [org.apa.kaf.cli.NetworkClient] (smallrye-kafka-consumer-thread-0) [Consumer clientId=kafka-consumer-kogito_incoming_stream, groupId=ruleunit-event-driven-example] Connection to node 0 (localhost/127.0.0.1:49238) could not be established. Broker may not be available.
-2022-10-06 15:38:15,115 WARN [org.apa.kaf.cli.NetworkClient] (kafka-producer-network-thread | kafka-producer-kogito_outgoing_stream) [Producer clientId=kafka-producer-kogito_outgoing_stream] Connection to node 0 (localhost/127.0.0.1:49238) could not be established. Broker may not be available.
-[INFO]
-[INFO] Results:
-[INFO]
-[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0
-[INFO]
-[INFO]
-[INFO] --- maven-failsafe-plugin:3.0.0-M5:integration-test (default) @ ruleunit-event-driven-quarkus ---
-[INFO] Skipping execution of surefire because it has already been run for this configuration
-[INFO]
-[INFO] --- maven-failsafe-plugin:3.0.0-M5:verify (integration-test) @ ruleunit-event-driven-quarkus ---
-[INFO]
-[INFO] --- maven-failsafe-plugin:3.0.0-M5:verify (default) @ ruleunit-event-driven-quarkus ---
-[INFO]
-[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ ruleunit-event-driven-quarkus ---
-[INFO] Installing /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/ruleunit-event-driven-quarkus.jar to /home/ftirados/.m2/repository/org/kie/kogito/examples/ruleunit-event-driven-quarkus/2.0.0-SNAPSHOT/ruleunit-event-driven-quarkus-2.0.0-SNAPSHOT.jar
-[INFO] Installing /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/pom.xml to /home/ftirados/.m2/repository/org/kie/kogito/examples/ruleunit-event-driven-quarkus/2.0.0-SNAPSHOT/ruleunit-event-driven-quarkus-2.0.0-SNAPSHOT.pom
-[INFO] Installing /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/ruleunit-event-driven-quarkus-tests.jar to /home/ftirados/.m2/repository/org/kie/kogito/examples/ruleunit-event-driven-quarkus/2.0.0-SNAPSHOT/ruleunit-event-driven-quarkus-2.0.0-SNAPSHOT-tests.jar
-[INFO] Installing /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/ruleunit-event-driven-quarkus-sources.jar to /home/ftirados/.m2/repository/org/kie/kogito/examples/ruleunit-event-driven-quarkus/2.0.0-SNAPSHOT/ruleunit-event-driven-quarkus-2.0.0-SNAPSHOT-sources.jar
-[INFO] Installing /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/ruleunit-event-driven-quarkus-test-sources.jar to /home/ftirados/.m2/repository/org/kie/kogito/examples/ruleunit-event-driven-quarkus/2.0.0-SNAPSHOT/ruleunit-event-driven-quarkus-2.0.0-SNAPSHOT-test-sources.jar
-[INFO] ------------------------------------------------------------------------
-[INFO] BUILD SUCCESS
-[INFO] ------------------------------------------------------------------------
-[INFO] Total time: 28.313 s
-[INFO] Finished at: 2022-10-06T15:38:15+02:00
-[INFO] ------------------------------------------------------------------------
diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/pom.xml b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/pom.xml
index d04d837993..885c5cd2a3 100644
--- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/pom.xml
+++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/pom.xml
@@ -5,7 +5,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/AllAmounts.java b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/acme/queries/AllAmounts.java
similarity index 96%
rename from kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/AllAmounts.java
rename to kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/acme/queries/AllAmounts.java
index e0c67ef987..9c39f215d0 100644
--- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/AllAmounts.java
+++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/acme/queries/AllAmounts.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.queries;
public class AllAmounts {
private int amounts;
diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/Applicant.java b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/acme/queries/Applicant.java
similarity index 97%
rename from kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/Applicant.java
rename to kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/acme/queries/Applicant.java
index 175d3a98d5..c63d1274c8 100644
--- a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/Applicant.java
+++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/acme/queries/Applicant.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.queries;
public class Applicant {
diff --git a/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanApplication.java b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/acme/queries/LoanApplication.java
similarity index 98%
rename from kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanApplication.java
rename to kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/acme/queries/LoanApplication.java
index 70eec1c4e3..a6a205d958 100644
--- a/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanApplication.java
+++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/acme/queries/LoanApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.queries;
public class LoanApplication {
diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/LoanUnit.java b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/acme/queries/LoanUnit.java
similarity index 98%
rename from kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/LoanUnit.java
rename to kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/acme/queries/LoanUnit.java
index 3f68f880e8..bd51d017ce 100644
--- a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/LoanUnit.java
+++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/acme/queries/LoanUnit.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.queries;
import org.drools.ruleunits.api.DataSource;
import org.drools.ruleunits.api.DataStore;
diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/resources/org/acme/queries/RuleUnitQuery.drl
similarity index 93%
rename from kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl
rename to kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/resources/org/acme/queries/RuleUnitQuery.drl
index 2f14454ead..4a55746570 100644
--- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl
+++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/resources/org/acme/queries/RuleUnitQuery.drl
@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.queries;
unit LoanUnit;
-import org.kie.kogito.queries.LoanApplication;
-import org.kie.kogito.queries.AllAmounts;
+import org.acme.queries.LoanApplication;
+import org.acme.queries.AllAmounts;
rule SmallDepositApprove when
$l: /loanApplications[ applicant.age >= 20, deposit < 1000, amount <= 2000 ]
diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/java/org/kie/kogito/examples/RuleUnitEventDrivenIT.java b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/java/org/acme/examples/RuleUnitEventDrivenIT.java
similarity index 99%
rename from kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/java/org/kie/kogito/examples/RuleUnitEventDrivenIT.java
rename to kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/java/org/acme/examples/RuleUnitEventDrivenIT.java
index 4d3687a923..cef3a820e5 100644
--- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/java/org/kie/kogito/examples/RuleUnitEventDrivenIT.java
+++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/java/org/acme/examples/RuleUnitEventDrivenIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.io.IOException;
import java.net.URL;
diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_all_application_amounts/input.json b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_all_application_amounts/input.json
index 123fec11d0..cd57723a01 100644
--- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_all_application_amounts/input.json
+++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_all_application_amounts/input.json
@@ -4,7 +4,7 @@
"source": "SomeEventSource",
"type": "RulesRequest",
"subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
+ "kogitoruleunitid": "org.acme.queries.LoanUnit",
"kogitoruleunitquery": "FindAllApplicationAmounts",
"data": {
"maxAmount": 5000,
diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_all_application_amounts/output.json b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_all_application_amounts/output.json
index 93dc6db47f..fb1516895d 100644
--- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_all_application_amounts/output.json
+++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_all_application_amounts/output.json
@@ -4,7 +4,7 @@
"source": "find-all-application-amounts",
"type": "RulesResponse",
"subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
+ "kogitoruleunitid": "org.acme.queries.LoanUnit",
"kogitoruleunitquery": "FindAllApplicationAmounts",
"data": [
{
diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_approved/input.json b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_approved/input.json
index 7e7fea489c..71dba2fd94 100644
--- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_approved/input.json
+++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_approved/input.json
@@ -4,7 +4,7 @@
"source": "SomeEventSource",
"type": "RulesRequest",
"subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
+ "kogitoruleunitid": "org.acme.queries.LoanUnit",
"kogitoruleunitquery": "FindApproved",
"data": {
"maxAmount": 5000,
diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_approved/output.json b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_approved/output.json
index 9106df086e..825a95ad40 100644
--- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_approved/output.json
+++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_approved/output.json
@@ -4,7 +4,7 @@
"source": "find-approved",
"type": "RulesResponse",
"subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
+ "kogitoruleunitid": "org.acme.queries.LoanUnit",
"kogitoruleunitquery": "FindApproved",
"data": [
{
diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_not_approved_id_and_amount/input.json b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_not_approved_id_and_amount/input.json
index e433d32a9b..b67dd817fd 100644
--- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_not_approved_id_and_amount/input.json
+++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_not_approved_id_and_amount/input.json
@@ -4,7 +4,7 @@
"source": "SomeEventSource",
"type": "RulesRequest",
"subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
+ "kogitoruleunitid": "org.acme.queries.LoanUnit",
"kogitoruleunitquery": "FindNotApprovedIdAndAmount",
"data": {
"maxAmount": 5000,
diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_not_approved_id_and_amount/output.json b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_not_approved_id_and_amount/output.json
index 61844e894e..fc1e6eca28 100644
--- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_not_approved_id_and_amount/output.json
+++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/events/query/find_not_approved_id_and_amount/output.json
@@ -4,7 +4,7 @@
"source": "find-not-approved-id-and-amount",
"type": "RulesResponse",
"subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
+ "kogitoruleunitid": "org.acme.queries.LoanUnit",
"kogitoruleunitquery": "FindNotApprovedIdAndAmount",
"data": [
{
diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/pom.xml b/kogito-quarkus-examples/ruleunit-quarkus-example/pom.xml
index 8093fb0f02..0307e841d9 100644
--- a/kogito-quarkus-examples/ruleunit-quarkus-example/pom.xml
+++ b/kogito-quarkus-examples/ruleunit-quarkus-example/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/AllAmounts.java b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/acme/queries/AllAmounts.java
similarity index 96%
rename from kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/AllAmounts.java
rename to kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/acme/queries/AllAmounts.java
index e0c67ef987..9c39f215d0 100644
--- a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/AllAmounts.java
+++ b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/acme/queries/AllAmounts.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.queries;
public class AllAmounts {
private int amounts;
diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/Applicant.java b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/acme/queries/Applicant.java
similarity index 97%
rename from kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/Applicant.java
rename to kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/acme/queries/Applicant.java
index 175d3a98d5..c63d1274c8 100644
--- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/Applicant.java
+++ b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/acme/queries/Applicant.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.queries;
public class Applicant {
diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/LoanApplication.java b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/acme/queries/LoanApplication.java
similarity index 98%
rename from kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/LoanApplication.java
rename to kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/acme/queries/LoanApplication.java
index 70eec1c4e3..a6a205d958 100644
--- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/LoanApplication.java
+++ b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/acme/queries/LoanApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.queries;
public class LoanApplication {
diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/LoanUnit.java b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/acme/queries/LoanUnit.java
similarity index 98%
rename from kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/LoanUnit.java
rename to kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/acme/queries/LoanUnit.java
index 3f68f880e8..bd51d017ce 100644
--- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/LoanUnit.java
+++ b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/acme/queries/LoanUnit.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.queries;
import org.drools.ruleunits.api.DataSource;
import org.drools.ruleunits.api.DataStore;
diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/resources/org/acme/queries/RuleUnitQuery.drl
similarity index 93%
rename from kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl
rename to kogito-quarkus-examples/ruleunit-quarkus-example/src/main/resources/org/acme/queries/RuleUnitQuery.drl
index 2f14454ead..4a55746570 100644
--- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl
+++ b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/resources/org/acme/queries/RuleUnitQuery.drl
@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.queries;
unit LoanUnit;
-import org.kie.kogito.queries.LoanApplication;
-import org.kie.kogito.queries.AllAmounts;
+import org.acme.queries.LoanApplication;
+import org.acme.queries.AllAmounts;
rule SmallDepositApprove when
$l: /loanApplications[ applicant.age >= 20, deposit < 1000, amount <= 2000 ]
diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/ruleunit/NativeRestQueryTestIT.java b/kogito-quarkus-examples/ruleunit-quarkus-example/src/test/java/org/acme/decisiontable/quarkus/ruleunit/NativeRestQueryTestIT.java
similarity index 93%
rename from kogito-quarkus-examples/ruleunit-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/ruleunit/NativeRestQueryTestIT.java
rename to kogito-quarkus-examples/ruleunit-quarkus-example/src/test/java/org/acme/decisiontable/quarkus/ruleunit/NativeRestQueryTestIT.java
index ae65452de2..44964ea463 100644
--- a/kogito-quarkus-examples/ruleunit-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/ruleunit/NativeRestQueryTestIT.java
+++ b/kogito-quarkus-examples/ruleunit-quarkus-example/src/test/java/org/acme/decisiontable/quarkus/ruleunit/NativeRestQueryTestIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.decisiontable.quarkus.ruleunit;
+package org.acme.decisiontable.quarkus.ruleunit;
import io.quarkus.test.junit.NativeImageTest;
diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/ruleunit/RestQueryTest.java b/kogito-quarkus-examples/ruleunit-quarkus-example/src/test/java/org/acme/decisiontable/quarkus/ruleunit/RestQueryTest.java
similarity index 98%
rename from kogito-quarkus-examples/ruleunit-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/ruleunit/RestQueryTest.java
rename to kogito-quarkus-examples/ruleunit-quarkus-example/src/test/java/org/acme/decisiontable/quarkus/ruleunit/RestQueryTest.java
index c9cda39bbd..db973f609a 100644
--- a/kogito-quarkus-examples/ruleunit-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/ruleunit/RestQueryTest.java
+++ b/kogito-quarkus-examples/ruleunit-quarkus-example/src/test/java/org/acme/decisiontable/quarkus/ruleunit/RestQueryTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.decisiontable.quarkus.ruleunit;
+package org.acme.decisiontable.quarkus.ruleunit;
import org.junit.jupiter.api.Test;
diff --git a/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/pom.xml b/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/pom.xml
index 90831591a0..e36d455787 100644
--- a/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/pom.xml
+++ b/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-quarkus-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/decisiontable-springboot-example/pom.xml b/kogito-springboot-examples/decisiontable-springboot-example/pom.xml
index a6cc7875ee..cc7ba0719e 100644
--- a/kogito-springboot-examples/decisiontable-springboot-example/pom.xml
+++ b/kogito-springboot-examples/decisiontable-springboot-example/pom.xml
@@ -3,7 +3,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/Applicant.java b/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/acme/queries/Applicant.java
similarity index 97%
rename from kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/Applicant.java
rename to kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/acme/queries/Applicant.java
index 175d3a98d5..c63d1274c8 100644
--- a/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/Applicant.java
+++ b/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/acme/queries/Applicant.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.queries;
public class Applicant {
diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/KogitoSpringbootApplication.java b/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/acme/queries/KogitoSpringbootApplication.java
similarity index 95%
rename from kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/KogitoSpringbootApplication.java
rename to kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/acme/queries/KogitoSpringbootApplication.java
index 1d841598f7..05518ab0e3 100644
--- a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/KogitoSpringbootApplication.java
+++ b/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/acme/queries/KogitoSpringbootApplication.java
@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.legacy;
+package org.acme.queries;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
-@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**", "org.drools.**" })
+@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**", "org.acme.**" })
public class KogitoSpringbootApplication {
public static void main(String[] args) {
diff --git a/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/LoanApplication.java b/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/acme/queries/LoanApplication.java
similarity index 98%
rename from kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/LoanApplication.java
rename to kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/acme/queries/LoanApplication.java
index 70eec1c4e3..a6a205d958 100644
--- a/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/LoanApplication.java
+++ b/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/acme/queries/LoanApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.queries;
public class LoanApplication {
diff --git a/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanUnit.java b/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/acme/queries/LoanUnit.java
similarity index 97%
rename from kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanUnit.java
rename to kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/acme/queries/LoanUnit.java
index 3d35a77609..063377fe07 100644
--- a/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanUnit.java
+++ b/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/acme/queries/LoanUnit.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.queries;
import org.drools.ruleunits.api.DataSource;
import org.drools.ruleunits.api.DataStore;
diff --git a/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/resources/org/kie/kogito/queries/LoanUnit.drl.xls b/kogito-springboot-examples/decisiontable-springboot-example/src/main/resources/org/acme/queries/LoanUnit.drl.xls
similarity index 57%
rename from kogito-quarkus-examples/decisiontable-quarkus-example/src/main/resources/org/kie/kogito/queries/LoanUnit.drl.xls
rename to kogito-springboot-examples/decisiontable-springboot-example/src/main/resources/org/acme/queries/LoanUnit.drl.xls
index cfa4b8db5f..5e9e0040f4 100644
Binary files a/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/resources/org/kie/kogito/queries/LoanUnit.drl.xls and b/kogito-springboot-examples/decisiontable-springboot-example/src/main/resources/org/acme/queries/LoanUnit.drl.xls differ
diff --git a/kogito-springboot-examples/decisiontable-springboot-example/src/test/java/org/kie/kogito/decisiontable/springboot/RestQueryTest.java b/kogito-springboot-examples/decisiontable-springboot-example/src/test/java/org/acme/decisiontable/springboot/RestQueryTest.java
similarity index 97%
rename from kogito-springboot-examples/decisiontable-springboot-example/src/test/java/org/kie/kogito/decisiontable/springboot/RestQueryTest.java
rename to kogito-springboot-examples/decisiontable-springboot-example/src/test/java/org/acme/decisiontable/springboot/RestQueryTest.java
index 30860d23fb..7e735b7de3 100644
--- a/kogito-springboot-examples/decisiontable-springboot-example/src/test/java/org/kie/kogito/decisiontable/springboot/RestQueryTest.java
+++ b/kogito-springboot-examples/decisiontable-springboot-example/src/test/java/org/acme/decisiontable/springboot/RestQueryTest.java
@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.decisiontable.springboot;
+package org.acme.decisiontable.springboot;
+import org.acme.queries.KogitoSpringbootApplication;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import org.kie.kogito.queries.KogitoSpringbootApplication;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.web.server.LocalServerPort;
import org.springframework.test.annotation.DirtiesContext;
diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/pom.xml b/kogito-springboot-examples/dmn-drools-springboot-metrics/pom.xml
index 67de35feea..19aaeedb72 100755
--- a/kogito-springboot-examples/dmn-drools-springboot-metrics/pom.xml
+++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/pom.xml
@@ -5,12 +5,12 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOTdmn-drools-springboot-metrics
- Kogito Example :: DMN Metrics SpringBoot
+ Kogito Example :: DMN Drools SpringBoot Metrics2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/filtered-resources/META-INF/dashboards/domain-dashboard-dmn-drools-springboot-metrics-Custom.json b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/filtered-resources/META-INF/dashboards/domain-dashboard-dmn-drools-springboot-metrics-Custom.json
index ea0c67bf6d..369f323736 100644
--- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/filtered-resources/META-INF/dashboards/domain-dashboard-dmn-drools-springboot-metrics-Custom.json
+++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/filtered-resources/META-INF/dashboards/domain-dashboard-dmn-drools-springboot-metrics-Custom.json
@@ -1 +1,211 @@
-{"id":"-1553684235","uid":"4c69e1c6-b58d-4371-953c-2fa2ab4157bb","title":"dmn-drools-springboot-metrics_${project.version} - Custom - Domain Dashboard","tags":[],"style":"dark","timezone":"","editable":true,"hideControls":false,"graphTooltip":0,"panels":[{"type":"graph","title":"Decision Eligibility","gridPos":{"x":0,"y":0,"w":12,"h":8},"id":1,"pluginVersion":"6.6.1","targets":[{"expr":"sum by (identifier) (increase(string_dmn_result_total{endpoint=\"LoanEligibility\",decision=\"Eligibility\",artifactId=\"dmn-drools-springboot-metrics\",version=\"${project.version}\"}[1m]))","format":"time_series","intervalFactor":2,"refId":"A","instant":false}],"bars":false,"dashes":false,"fill":1,"fillGradient":0,"hiddenSeries":false,"linewidth":1,"pointradius":2,"points":false,"percentage":false,"renderer":"flot","spaceLength":10,"stack":false,"steppedLine":false,"lines":true,"dashLength":0},{"type":"graph","title":"Decision Judgement","gridPos":{"x":12,"y":0,"w":12,"h":8},"id":2,"pluginVersion":"6.6.1","targets":[{"expr":"sum by (identifier) (increase(string_dmn_result_total{endpoint=\"LoanEligibility\",decision=\"Judgement\",artifactId=\"dmn-drools-springboot-metrics\",version=\"${project.version}\"}[1m]))","format":"time_series","intervalFactor":2,"refId":"A","instant":false}],"bars":false,"dashes":false,"fill":1,"fillGradient":0,"hiddenSeries":false,"linewidth":1,"pointradius":2,"points":false,"percentage":false,"renderer":"flot","spaceLength":10,"stack":false,"steppedLine":false,"lines":true,"dashLength":0},{"type":"graph","title":"Decision Is Enough?","gridPos":{"x":0,"y":8,"w":12,"h":8},"id":3,"pluginVersion":"6.6.1","targets":[{"expr":"(sum(increase(number_dmn_result_sum{endpoint=\"LoanEligibility\",decision=\"Is Enough?\",artifactId=\"dmn-drools-springboot-metrics\",version=\"${project.version}\"}[1m])))/(sum(increase(number_dmn_result_count{endpoint=\"LoanEligibility\",decision=\"Is Enough?\",artifactId=\"dmn-drools-springboot-metrics\",version=\"${project.version}\"}[1m])))","format":"time_series","intervalFactor":2,"refId":"A","instant":false}],"bars":false,"dashes":false,"fill":1,"fillGradient":0,"hiddenSeries":false,"linewidth":1,"pointradius":2,"points":false,"percentage":false,"renderer":"flot","spaceLength":10,"stack":false,"steppedLine":false,"lines":true,"dashLength":0},{"type":"graph","title":"Decision Decide","gridPos":{"x":12,"y":8,"w":12,"h":8},"id":4,"pluginVersion":"6.6.1","targets":[{"expr":"sum by (identifier) (increase(boolean_dmn_result_total{endpoint=\"LoanEligibility\",decision=\"Decide\",artifactId=\"dmn-drools-springboot-metrics\",version=\"${project.version}\"}[1m]))","format":"time_series","intervalFactor":2,"refId":"A","instant":false}],"bars":false,"dashes":false,"fill":1,"fillGradient":0,"hiddenSeries":false,"linewidth":1,"pointradius":2,"points":false,"percentage":false,"renderer":"flot","spaceLength":10,"stack":false,"steppedLine":false,"lines":true,"dashLength":0}],"time":{"from":"now-10m","to":"now"},"timepicker":{"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"],"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"now":false,"notice":false,"enable":false,"collapse":false},"templating":{"enable":false,"list":[]},"refresh":"5s","schemaVersion":22,"version":14,"links":[],"annotations":{"list":[{"builtIn":1,"datasource":"-- Grafana --","enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations & Alerts","type":"dashboard"}]}}
\ No newline at end of file
+{
+ "id": "-1553684235",
+ "uid": "4c69e1c6-b58d-4371-953c-2fa2ab4157bb",
+ "title": "dmn-drools-springboot-metrics_${project.version} - Custom - Domain Dashboard",
+ "tags": [],
+ "style": "dark",
+ "timezone": "",
+ "editable": true,
+ "hideControls": false,
+ "graphTooltip": 0,
+ "panels": [
+ {
+ "type": "graph",
+ "title": "Decision Eligibility",
+ "gridPos": {
+ "x": 0,
+ "y": 0,
+ "w": 12,
+ "h": 8
+ },
+ "id": 1,
+ "pluginVersion": "6.6.1",
+ "targets": [
+ {
+ "expr": "sum by (identifier) (increase(string_dmn_result_total{endpoint=\"LoanEligibility\",decision=\"Eligibility\",artifactId=\"dmn-drools-springboot-metrics\",version=\"${project.version}\"}[1m]))",
+ "format": "time_series",
+ "intervalFactor": 2,
+ "refId": "A",
+ "instant": false
+ }
+ ],
+ "bars": false,
+ "dashes": false,
+ "fill": 1,
+ "fillGradient": 0,
+ "hiddenSeries": false,
+ "linewidth": 1,
+ "pointradius": 2,
+ "points": false,
+ "percentage": false,
+ "renderer": "flot",
+ "spaceLength": 10,
+ "stack": false,
+ "steppedLine": false,
+ "lines": true,
+ "dashLength": 0
+ },
+ {
+ "type": "graph",
+ "title": "Decision Judgement",
+ "gridPos": {
+ "x": 12,
+ "y": 0,
+ "w": 12,
+ "h": 8
+ },
+ "id": 2,
+ "pluginVersion": "6.6.1",
+ "targets": [
+ {
+ "expr": "sum by (identifier) (increase(string_dmn_result_total{endpoint=\"LoanEligibility\",decision=\"Judgement\",artifactId=\"dmn-drools-springboot-metrics\",version=\"${project.version}\"}[1m]))",
+ "format": "time_series",
+ "intervalFactor": 2,
+ "refId": "A",
+ "instant": false
+ }
+ ],
+ "bars": false,
+ "dashes": false,
+ "fill": 1,
+ "fillGradient": 0,
+ "hiddenSeries": false,
+ "linewidth": 1,
+ "pointradius": 2,
+ "points": false,
+ "percentage": false,
+ "renderer": "flot",
+ "spaceLength": 10,
+ "stack": false,
+ "steppedLine": false,
+ "lines": true,
+ "dashLength": 0
+ },
+ {
+ "type": "graph",
+ "title": "Decision Is Enough?",
+ "gridPos": {
+ "x": 0,
+ "y": 8,
+ "w": 12,
+ "h": 8
+ },
+ "id": 3,
+ "pluginVersion": "6.6.1",
+ "targets": [
+ {
+ "expr": "(sum(increase(number_dmn_result_sum{endpoint=\"LoanEligibility\",decision=\"Is Enough?\",artifactId=\"dmn-drools-springboot-metrics\",version=\"${project.version}\"}[1m])))/(sum(increase(number_dmn_result_count{endpoint=\"LoanEligibility\",decision=\"Is Enough?\",artifactId=\"dmn-drools-springboot-metrics\",version=\"${project.version}\"}[1m])))",
+ "format": "time_series",
+ "intervalFactor": 2,
+ "refId": "A",
+ "instant": false
+ }
+ ],
+ "bars": false,
+ "dashes": false,
+ "fill": 1,
+ "fillGradient": 0,
+ "hiddenSeries": false,
+ "linewidth": 1,
+ "pointradius": 2,
+ "points": false,
+ "percentage": false,
+ "renderer": "flot",
+ "spaceLength": 10,
+ "stack": false,
+ "steppedLine": false,
+ "lines": true,
+ "dashLength": 0
+ },
+ {
+ "type": "graph",
+ "title": "Decision Decide",
+ "gridPos": {
+ "x": 12,
+ "y": 8,
+ "w": 12,
+ "h": 8
+ },
+ "id": 4,
+ "pluginVersion": "6.6.1",
+ "targets": [
+ {
+ "expr": "sum by (identifier) (increase(boolean_dmn_result_total{endpoint=\"LoanEligibility\",decision=\"Decide\",artifactId=\"dmn-drools-springboot-metrics\",version=\"${project.version}\"}[1m]))",
+ "format": "time_series",
+ "intervalFactor": 2,
+ "refId": "A",
+ "instant": false
+ }
+ ],
+ "bars": false,
+ "dashes": false,
+ "fill": 1,
+ "fillGradient": 0,
+ "hiddenSeries": false,
+ "linewidth": 1,
+ "pointradius": 2,
+ "points": false,
+ "percentage": false,
+ "renderer": "flot",
+ "spaceLength": 10,
+ "stack": false,
+ "steppedLine": false,
+ "lines": true,
+ "dashLength": 0
+ }
+ ],
+ "time": {
+ "from": "now-10m",
+ "to": "now"
+ },
+ "timepicker": {
+ "time_options": [
+ "5m",
+ "15m",
+ "1h",
+ "6h",
+ "12h",
+ "24h",
+ "2d",
+ "7d",
+ "30d"
+ ],
+ "refresh_intervals": [
+ "5s",
+ "10s",
+ "30s",
+ "1m",
+ "5m",
+ "15m",
+ "30m",
+ "1h",
+ "2h",
+ "1d"
+ ],
+ "now": false,
+ "notice": false,
+ "enable": false,
+ "collapse": false
+ },
+ "templating": {
+ "enable": false,
+ "list": []
+ },
+ "refresh": "5s",
+ "schemaVersion": 22,
+ "version": 14,
+ "links": [],
+ "annotations": {
+ "list": [
+ {
+ "builtIn": 1,
+ "datasource": "-- Grafana --",
+ "enable": true,
+ "hide": true,
+ "iconColor": "rgba(0, 211, 255, 1)",
+ "name": "Annotations & Alerts",
+ "type": "dashboard"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/filtered-resources/META-INF/dashboards/operational-dashboard-dmn-drools-springboot-metrics-Custom.json b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/filtered-resources/META-INF/dashboards/operational-dashboard-dmn-drools-springboot-metrics-Custom.json
index bcafbe6296..5e66d2c24b 100644
--- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/filtered-resources/META-INF/dashboards/operational-dashboard-dmn-drools-springboot-metrics-Custom.json
+++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/filtered-resources/META-INF/dashboards/operational-dashboard-dmn-drools-springboot-metrics-Custom.json
@@ -1 +1,469 @@
-{"id":"685152267","uid":"7d6b35da-af42-47f6-bf2c-bedc4caaa7e7","title":"dmn-drools-springboot-metrics_${project.version} - Custom - Operational Dashboard","tags":[],"style":"dark","timezone":"","editable":true,"hideControls":false,"graphTooltip":0,"panels":[{"type":"stat","title":"LoanEligibility endpoint request count per day","gridPos":{"x":0,"y":0,"w":12,"h":8},"id":1,"pluginVersion":"6.6.1","targets":[{"expr":"sum(increase(api_http_response_code_total{endpoint=\"LoanEligibility\", artifactId=\"dmn-drools-springboot-metrics\", version=\"${project.version}\"}[1d]))","format":"time_series","intervalFactor":1,"refId":"A","instant":false}],"links":[],"options":{"colorMode":"value","fieldOptions":{"calcs":["last"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green"}]}},"overrides":[],"values":false},"graphMode":"area","justifyMode":"auto","orientation":"auto"}},{"type":"graph","title":"Average requests per minute to LoanEligibility endpoint","gridPos":{"x":12,"y":0,"w":12,"h":8},"id":2,"pluginVersion":"6.6.1","targets":[{"expr":"sum(increase(api_http_response_code_total{endpoint=\"LoanEligibility\", artifactId=\"dmn-drools-springboot-metrics\", version=\"${project.version}\"}[1m]))","intervalFactor":2,"refId":"A","instant":false}],"bars":false,"dashes":false,"fill":1,"fillGradient":0,"hiddenSeries":false,"linewidth":1,"pointradius":2,"points":false,"percentage":false,"renderer":"flot","spaceLength":10,"stack":false,"steppedLine":false,"lines":true,"aliasColors":{},"dashLength":10,"legend":{"alignAsTable":false,"avg":false,"current":false,"hideEmpty":false,"hideZero":false,"legend":false,"max":false,"min":false,"rightSide":false,"show":false,"total":false,"values":false},"nullPointMode":"null","seriesOverrides":[],"thresholds":[],"timeRegions":[],"tooltip":{"shared":true,"sort":0,"value_type":"individual","show":false,"showHistogram":false},"xaxis":{"mode":"time","show":false,"values":[]},"yaxes":[{"format":"short","logBase":1,"min":"0","show":true},{"format":"short","logBase":1,"show":false}],"yaxis":{"align":false},"options":{"dataLinks":[]}},{"type":"graph","title":"Execution time quantiles for endpoint LoanEligibility","gridPos":{"x":0,"y":8,"w":12,"h":8},"id":3,"pluginVersion":"6.6.1","targets":[{"expr":"sum(increase(api_execution_elapsed_seconds_sum{endpoint=\"LoanEligibility\", artifactId=\"dmn-drools-springboot-metrics\", version=\"${project.version}\"}[1m]))/sum(increase(api_execution_elapsed_seconds_count{endpoint=\"LoanEligibility\", artifactId=\"dmn-drools-springboot-metrics\", version=\"${project.version}\"}[1m]))","format":"time_series","intervalFactor":1,"refId":"A","instant":false}],"links":[],"bars":false,"dashes":false,"fill":1,"fillGradient":0,"hiddenSeries":false,"linewidth":1,"pointradius":2,"points":false,"percentage":false,"renderer":"flot","spaceLength":10,"stack":false,"steppedLine":false,"lines":true,"aliasColors":{},"dashLength":10,"legend":{"alignAsTable":true,"avg":false,"current":false,"hideEmpty":false,"hideZero":false,"legend":false,"max":false,"min":false,"rightSide":false,"show":true,"total":false,"values":false},"nullPointMode":"null","seriesOverrides":[],"thresholds":[],"timeRegions":[],"tooltip":{"shared":true,"sort":0,"value_type":"individual","show":false,"showHistogram":false},"xaxis":{"mode":"time","show":true,"values":[]},"yaxes":[{"format":"s","logBase":1,"show":true},{"format":"none","logBase":1,"show":false}],"yaxis":{"align":false},"options":{"dataLinks":[]}},{"type":"graph","title":"LoanEligibility endpoint status code responses per minute","gridPos":{"x":12,"y":8,"w":12,"h":8},"id":4,"pluginVersion":"6.6.1","targets":[{"expr":"sum by (identifier) (increase(api_http_response_code_total{endpoint=\"LoanEligibility\", artifactId=\"dmn-drools-springboot-metrics\", version=\"${project.version}\"}[1m]))","intervalFactor":2,"refId":"A","instant":false}],"bars":false,"dashes":false,"fill":1,"fillGradient":0,"hiddenSeries":false,"linewidth":1,"pointradius":2,"points":false,"percentage":false,"renderer":"flot","spaceLength":10,"stack":false,"steppedLine":false,"lines":true,"aliasColors":{},"dashLength":10,"legend":{"alignAsTable":false,"avg":false,"current":false,"hideEmpty":false,"hideZero":false,"legend":false,"max":false,"min":false,"rightSide":false,"show":true,"total":false,"values":false},"nullPointMode":"null","seriesOverrides":[],"thresholds":[],"timeRegions":[],"tooltip":{"shared":true,"sort":0,"value_type":"individual","show":false,"showHistogram":false},"xaxis":{"mode":"time","show":true,"values":[]},"yaxes":[{"format":"short","logBase":1,"show":true},{"format":"short","logBase":1,"show":true}],"yaxis":{"align":false},"options":{"dataLinks":[]}},{"type":"table","title":"Exceptions details","gridPos":{"x":0,"y":16,"w":12,"h":8},"id":5,"pluginVersion":"6.6.1","targets":[{"expr":"sum by (identifier) (increase(api_http_stacktrace_exceptions_total{endpoint=\"LoanEligibility\", artifactId=\"dmn-drools-springboot-metrics\", version=\"${project.version}\"}[1d]))","format":"table","intervalFactor":2,"refId":"A","instant":true}],"fontSize":"100%","showHeader":true,"styles":[{"alias":"Time","align":"auto","pattern":"Time","type":"date","dateFormat":"YYYY-MM-DD HH:mm:ss"},{"alias":"","align":"right","pattern":"/.*/","type":"number","colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"decimals":2,"thresholds":[],"unit":"short"}],"transform":"table","sort":{"col":0,"desc":true},"columns":[],"options":{}},{"type":"stat","title":"Exception count per day","gridPos":{"x":12,"y":16,"w":12,"h":8},"id":6,"pluginVersion":"6.6.1","targets":[{"expr":"sum(increase(api_http_stacktrace_exceptions_total{endpoint=\"LoanEligibility\", artifactId=\"dmn-drools-springboot-metrics\", version=\"${project.version}\"}[1d]))","intervalFactor":2,"refId":"A","instant":true}],"options":{"colorMode":"value","fieldOptions":{"calcs":["last"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green"},{"color":"red","value":80.0}]}},"overrides":[],"values":false},"graphMode":"area","justifyMode":"auto","orientation":"auto"}}],"time":{"from":"now-3h","to":"now"},"timepicker":{"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"],"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"now":false,"notice":false,"enable":false,"collapse":false},"templating":{"enable":false,"list":[]},"refresh":"10s","schemaVersion":22,"version":14,"links":[],"annotations":{"list":[{"builtIn":1,"datasource":"-- Grafana --","enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations & Alerts","type":"dashboard"}]}}
\ No newline at end of file
+{
+ "id": "685152267",
+ "uid": "7d6b35da-af42-47f6-bf2c-bedc4caaa7e7",
+ "title": "dmn-drools-springboot-metrics_${project.version} - Custom - Operational Dashboard",
+ "tags": [],
+ "style": "dark",
+ "timezone": "",
+ "editable": true,
+ "hideControls": false,
+ "graphTooltip": 0,
+ "panels": [
+ {
+ "type": "stat",
+ "title": "LoanEligibility endpoint request count per day",
+ "gridPos": {
+ "x": 0,
+ "y": 0,
+ "w": 12,
+ "h": 8
+ },
+ "id": 1,
+ "pluginVersion": "6.6.1",
+ "targets": [
+ {
+ "expr": "sum(increase(api_http_response_code_total{endpoint=\"LoanEligibility\", artifactId=\"dmn-drools-springboot-metrics\", version=\"${project.version}\"}[1d]))",
+ "format": "time_series",
+ "intervalFactor": 1,
+ "refId": "A",
+ "instant": false
+ }
+ ],
+ "links": [],
+ "options": {
+ "colorMode": "value",
+ "fieldOptions": {
+ "calcs": [
+ "last"
+ ],
+ "defaults": {
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ }
+ ]
+ }
+ },
+ "overrides": [],
+ "values": false
+ },
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "auto"
+ }
+ },
+ {
+ "type": "graph",
+ "title": "Average requests per minute to LoanEligibility endpoint",
+ "gridPos": {
+ "x": 12,
+ "y": 0,
+ "w": 12,
+ "h": 8
+ },
+ "id": 2,
+ "pluginVersion": "6.6.1",
+ "targets": [
+ {
+ "expr": "sum(increase(api_http_response_code_total{endpoint=\"LoanEligibility\", artifactId=\"dmn-drools-springboot-metrics\", version=\"${project.version}\"}[1m]))",
+ "intervalFactor": 2,
+ "refId": "A",
+ "instant": false
+ }
+ ],
+ "bars": false,
+ "dashes": false,
+ "fill": 1,
+ "fillGradient": 0,
+ "hiddenSeries": false,
+ "linewidth": 1,
+ "pointradius": 2,
+ "points": false,
+ "percentage": false,
+ "renderer": "flot",
+ "spaceLength": 10,
+ "stack": false,
+ "steppedLine": false,
+ "lines": true,
+ "aliasColors": {},
+ "dashLength": 10,
+ "legend": {
+ "alignAsTable": false,
+ "avg": false,
+ "current": false,
+ "hideEmpty": false,
+ "hideZero": false,
+ "legend": false,
+ "max": false,
+ "min": false,
+ "rightSide": false,
+ "show": false,
+ "total": false,
+ "values": false
+ },
+ "nullPointMode": "null",
+ "seriesOverrides": [],
+ "thresholds": [],
+ "timeRegions": [],
+ "tooltip": {
+ "shared": true,
+ "sort": 0,
+ "value_type": "individual",
+ "show": false,
+ "showHistogram": false
+ },
+ "xaxis": {
+ "mode": "time",
+ "show": false,
+ "values": []
+ },
+ "yaxes": [
+ {
+ "format": "short",
+ "logBase": 1,
+ "min": "0",
+ "show": true
+ },
+ {
+ "format": "short",
+ "logBase": 1,
+ "show": false
+ }
+ ],
+ "yaxis": {
+ "align": false
+ },
+ "options": {
+ "dataLinks": []
+ }
+ },
+ {
+ "type": "graph",
+ "title": "Execution time quantiles for endpoint LoanEligibility",
+ "gridPos": {
+ "x": 0,
+ "y": 8,
+ "w": 12,
+ "h": 8
+ },
+ "id": 3,
+ "pluginVersion": "6.6.1",
+ "targets": [
+ {
+ "expr": "sum(increase(api_execution_elapsed_seconds_sum{endpoint=\"LoanEligibility\", artifactId=\"dmn-drools-springboot-metrics\", version=\"${project.version}\"}[1m]))/sum(increase(api_execution_elapsed_seconds_count{endpoint=\"LoanEligibility\", artifactId=\"dmn-drools-springboot-metrics\", version=\"${project.version}\"}[1m]))",
+ "format": "time_series",
+ "intervalFactor": 1,
+ "refId": "A",
+ "instant": false
+ }
+ ],
+ "links": [],
+ "bars": false,
+ "dashes": false,
+ "fill": 1,
+ "fillGradient": 0,
+ "hiddenSeries": false,
+ "linewidth": 1,
+ "pointradius": 2,
+ "points": false,
+ "percentage": false,
+ "renderer": "flot",
+ "spaceLength": 10,
+ "stack": false,
+ "steppedLine": false,
+ "lines": true,
+ "aliasColors": {},
+ "dashLength": 10,
+ "legend": {
+ "alignAsTable": true,
+ "avg": false,
+ "current": false,
+ "hideEmpty": false,
+ "hideZero": false,
+ "legend": false,
+ "max": false,
+ "min": false,
+ "rightSide": false,
+ "show": true,
+ "total": false,
+ "values": false
+ },
+ "nullPointMode": "null",
+ "seriesOverrides": [],
+ "thresholds": [],
+ "timeRegions": [],
+ "tooltip": {
+ "shared": true,
+ "sort": 0,
+ "value_type": "individual",
+ "show": false,
+ "showHistogram": false
+ },
+ "xaxis": {
+ "mode": "time",
+ "show": true,
+ "values": []
+ },
+ "yaxes": [
+ {
+ "format": "s",
+ "logBase": 1,
+ "show": true
+ },
+ {
+ "format": "none",
+ "logBase": 1,
+ "show": false
+ }
+ ],
+ "yaxis": {
+ "align": false
+ },
+ "options": {
+ "dataLinks": []
+ }
+ },
+ {
+ "type": "graph",
+ "title": "LoanEligibility endpoint status code responses per minute",
+ "gridPos": {
+ "x": 12,
+ "y": 8,
+ "w": 12,
+ "h": 8
+ },
+ "id": 4,
+ "pluginVersion": "6.6.1",
+ "targets": [
+ {
+ "expr": "sum by (identifier) (increase(api_http_response_code_total{endpoint=\"LoanEligibility\", artifactId=\"dmn-drools-springboot-metrics\", version=\"${project.version}\"}[1m]))",
+ "intervalFactor": 2,
+ "refId": "A",
+ "instant": false
+ }
+ ],
+ "bars": false,
+ "dashes": false,
+ "fill": 1,
+ "fillGradient": 0,
+ "hiddenSeries": false,
+ "linewidth": 1,
+ "pointradius": 2,
+ "points": false,
+ "percentage": false,
+ "renderer": "flot",
+ "spaceLength": 10,
+ "stack": false,
+ "steppedLine": false,
+ "lines": true,
+ "aliasColors": {},
+ "dashLength": 10,
+ "legend": {
+ "alignAsTable": false,
+ "avg": false,
+ "current": false,
+ "hideEmpty": false,
+ "hideZero": false,
+ "legend": false,
+ "max": false,
+ "min": false,
+ "rightSide": false,
+ "show": true,
+ "total": false,
+ "values": false
+ },
+ "nullPointMode": "null",
+ "seriesOverrides": [],
+ "thresholds": [],
+ "timeRegions": [],
+ "tooltip": {
+ "shared": true,
+ "sort": 0,
+ "value_type": "individual",
+ "show": false,
+ "showHistogram": false
+ },
+ "xaxis": {
+ "mode": "time",
+ "show": true,
+ "values": []
+ },
+ "yaxes": [
+ {
+ "format": "short",
+ "logBase": 1,
+ "show": true
+ },
+ {
+ "format": "short",
+ "logBase": 1,
+ "show": true
+ }
+ ],
+ "yaxis": {
+ "align": false
+ },
+ "options": {
+ "dataLinks": []
+ }
+ },
+ {
+ "type": "table",
+ "title": "Exceptions details",
+ "gridPos": {
+ "x": 0,
+ "y": 16,
+ "w": 12,
+ "h": 8
+ },
+ "id": 5,
+ "pluginVersion": "6.6.1",
+ "targets": [
+ {
+ "expr": "sum by (identifier) (increase(api_http_stacktrace_exceptions_total{endpoint=\"LoanEligibility\", artifactId=\"dmn-drools-springboot-metrics\", version=\"${project.version}\"}[1d]))",
+ "format": "table",
+ "intervalFactor": 2,
+ "refId": "A",
+ "instant": true
+ }
+ ],
+ "fontSize": "100%",
+ "showHeader": true,
+ "styles": [
+ {
+ "alias": "Time",
+ "align": "auto",
+ "pattern": "Time",
+ "type": "date",
+ "dateFormat": "YYYY-MM-DD HH:mm:ss"
+ },
+ {
+ "alias": "",
+ "align": "right",
+ "pattern": "/.*/",
+ "type": "number",
+ "colors": [
+ "rgba(245, 54, 54, 0.9)",
+ "rgba(237, 129, 40, 0.89)",
+ "rgba(50, 172, 45, 0.97)"
+ ],
+ "decimals": 2,
+ "thresholds": [],
+ "unit": "short"
+ }
+ ],
+ "transform": "table",
+ "sort": {
+ "col": 0,
+ "desc": true
+ },
+ "columns": [],
+ "options": {}
+ },
+ {
+ "type": "stat",
+ "title": "Exception count per day",
+ "gridPos": {
+ "x": 12,
+ "y": 16,
+ "w": 12,
+ "h": 8
+ },
+ "id": 6,
+ "pluginVersion": "6.6.1",
+ "targets": [
+ {
+ "expr": "sum(increase(api_http_stacktrace_exceptions_total{endpoint=\"LoanEligibility\", artifactId=\"dmn-drools-springboot-metrics\", version=\"${project.version}\"}[1d]))",
+ "intervalFactor": 2,
+ "refId": "A",
+ "instant": true
+ }
+ ],
+ "options": {
+ "colorMode": "value",
+ "fieldOptions": {
+ "calcs": [
+ "last"
+ ],
+ "defaults": {
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80.0
+ }
+ ]
+ }
+ },
+ "overrides": [],
+ "values": false
+ },
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "auto"
+ }
+ }
+ ],
+ "time": {
+ "from": "now-3h",
+ "to": "now"
+ },
+ "timepicker": {
+ "time_options": [
+ "5m",
+ "15m",
+ "1h",
+ "6h",
+ "12h",
+ "24h",
+ "2d",
+ "7d",
+ "30d"
+ ],
+ "refresh_intervals": [
+ "5s",
+ "10s",
+ "30s",
+ "1m",
+ "5m",
+ "15m",
+ "30m",
+ "1h",
+ "2h",
+ "1d"
+ ],
+ "now": false,
+ "notice": false,
+ "enable": false,
+ "collapse": false
+ },
+ "templating": {
+ "enable": false,
+ "list": []
+ },
+ "refresh": "10s",
+ "schemaVersion": 22,
+ "version": 14,
+ "links": [],
+ "annotations": {
+ "list": [
+ {
+ "builtIn": 1,
+ "datasource": "-- Grafana --",
+ "enable": true,
+ "hide": true,
+ "iconColor": "rgba(0, 211, 255, 1)",
+ "name": "Annotations & Alerts",
+ "type": "dashboard"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/app/CustomDMNRuntimeEventListener.java b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/acme/app/CustomDMNRuntimeEventListener.java
similarity index 95%
rename from kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/app/CustomDMNRuntimeEventListener.java
rename to kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/acme/app/CustomDMNRuntimeEventListener.java
index 8aa7c6e104..3e149f2a64 100644
--- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/app/CustomDMNRuntimeEventListener.java
+++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/acme/app/CustomDMNRuntimeEventListener.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.app;
+package org.acme.app;
import org.kie.dmn.api.core.event.AfterEvaluateAllEvent;
import org.kie.dmn.api.core.event.AfterEvaluateContextEntryEvent;
@@ -86,7 +86,7 @@ public void afterEvaluateAll(AfterEvaluateAllEvent event) {
private void registerEvent(DMNEvent event) {
logger.debug(event.getClass().getSimpleName());
- prometheusMeterRegistry.counter("org.kie.kogito.examples.customdmnruntimeeventlistener", "event",
+ prometheusMeterRegistry.counter("org.acme.examples.customdmnruntimeeventlistener", "event",
event.getClass().getSimpleName().toLowerCase()).increment();
}
}
diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/app/RuleEventListenerConfig.java b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/acme/app/RuleEventListenerConfig.java
similarity index 93%
rename from kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/app/RuleEventListenerConfig.java
rename to kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/acme/app/RuleEventListenerConfig.java
index ec19ada235..29db5b2d80 100644
--- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/app/RuleEventListenerConfig.java
+++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/acme/app/RuleEventListenerConfig.java
@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.app;
+package org.acme.app;
+import org.acme.examples.CustomRuleEventListener;
import org.kie.kogito.drools.core.config.DefaultRuleEventListenerConfig;
-import org.kie.kogito.examples.CustomRuleEventListener;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/examples/CustomRuleEventListener.java b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/acme/examples/CustomRuleEventListener.java
similarity index 96%
rename from kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/examples/CustomRuleEventListener.java
rename to kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/acme/examples/CustomRuleEventListener.java
index af8bb110d9..04b1e0b906 100644
--- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/examples/CustomRuleEventListener.java
+++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/acme/examples/CustomRuleEventListener.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.drools.core.event.DefaultAgendaEventListener;
import org.kie.api.event.KieRuntimeEvent;
@@ -102,7 +102,7 @@ public void afterRuleFlowGroupDeactivated(RuleFlowGroupDeactivatedEvent event) {
private void registerEvent(KieRuntimeEvent event) {
logger.debug(event.getClass().getSimpleName());
- prometheusMeterRegistry.counter("org.kie.kogito.examples.customruleeventlistener", "event",
+ prometheusMeterRegistry.counter("org.acme.examples.customruleeventlistener", "event",
event.getClass().getSimpleName().toLowerCase()).increment();
}
}
diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/examples/Hello.java b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/acme/examples/Hello.java
similarity index 96%
rename from kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/examples/Hello.java
rename to kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/acme/examples/Hello.java
index f9a66b2d24..9e77c14ed1 100644
--- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/examples/Hello.java
+++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/acme/examples/Hello.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.drools.ruleunits.api.DataSource;
import org.drools.ruleunits.api.DataStore;
diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/examples/springboot/KogitoSpringbootApplication.java b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/acme/examples/springboot/KogitoSpringbootApplication.java
similarity index 93%
rename from kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/examples/springboot/KogitoSpringbootApplication.java
rename to kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/acme/examples/springboot/KogitoSpringbootApplication.java
index 73e73fc5fb..0a7bcb8147 100644
--- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/examples/springboot/KogitoSpringbootApplication.java
+++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/acme/examples/springboot/KogitoSpringbootApplication.java
@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.springboot;
+package org.acme.examples.springboot;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
-@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**", "http**" })
+@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**", "org.acme.**", "http**" })
public class KogitoSpringbootApplication {
public static void main(String[] args) {
diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/org/kie/kogito/examples/Hello.drl b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/org/acme/examples/Hello.drl
similarity index 95%
rename from kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/org/kie/kogito/examples/Hello.drl
rename to kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/org/acme/examples/Hello.drl
index e6d2073438..1d08d9af73 100644
--- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/org/kie/kogito/examples/Hello.drl
+++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/org/acme/examples/Hello.drl
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
unit Hello;
rule helloWorld
diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/org/kie/kogito/examples/LoanEligibility.dmn b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/org/acme/examples/LoanEligibility.dmn
similarity index 100%
rename from kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/org/kie/kogito/examples/LoanEligibility.dmn
rename to kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/org/acme/examples/LoanEligibility.dmn
diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/org/kie/kogito/examples/Traffic Violation.dmn b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/org/acme/examples/Traffic Violation.dmn
similarity index 100%
rename from kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/org/kie/kogito/examples/Traffic Violation.dmn
rename to kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/org/acme/examples/Traffic Violation.dmn
diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/DashboardsListTest.java b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/acme/examples/springboot/DashboardsListTest.java
similarity index 97%
rename from kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/DashboardsListTest.java
rename to kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/acme/examples/springboot/DashboardsListTest.java
index a0ae9e8eb2..de3f9cc38d 100644
--- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/DashboardsListTest.java
+++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/acme/examples/springboot/DashboardsListTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.springboot;
+package org.acme.examples.springboot;
import java.util.List;
diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/DroolsMetricsTest.java b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/acme/examples/springboot/DroolsMetricsTest.java
similarity index 87%
rename from kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/DroolsMetricsTest.java
rename to kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/acme/examples/springboot/DroolsMetricsTest.java
index abebfb6da0..e0b9ced3b0 100644
--- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/DroolsMetricsTest.java
+++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/acme/examples/springboot/DroolsMetricsTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.springboot;
+package org.acme.examples.springboot;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
@@ -72,21 +72,21 @@ public void testDrlMetrics() {
.get("/actuator/prometheus")
.then()
.statusCode(200)
- .body(containsString("org_kie_kogito_examples_customruleeventlistener_total{event=\"afteractivationfiredeventimpl" +
+ .body(containsString("org_acme_examples_customruleeventlistener_total{event=\"afteractivationfiredeventimpl" +
"\",} 1.0"));
given()
.when()
.get("/actuator/prometheus")
.then()
.statusCode(200)
- .body(containsString("org_kie_kogito_examples_customruleeventlistener_total{event=\"beforeactivationfiredeventimpl" +
+ .body(containsString("org_acme_examples_customruleeventlistener_total{event=\"beforeactivationfiredeventimpl" +
"\",} 1.0"));
given()
.when()
.get("/actuator/prometheus")
.then()
.statusCode(200)
- .body(containsString("org_kie_kogito_examples_customruleeventlistener_total{event=\"activationcreatedeventimpl" +
+ .body(containsString("org_acme_examples_customruleeventlistener_total{event=\"activationcreatedeventimpl" +
"\",} 1.0"));
}
}
diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/GrafanaDockerComposeIT.java b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/acme/examples/springboot/GrafanaDockerComposeIT.java
similarity index 99%
rename from kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/GrafanaDockerComposeIT.java
rename to kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/acme/examples/springboot/GrafanaDockerComposeIT.java
index ddcb5668c4..7611a26fa2 100644
--- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/GrafanaDockerComposeIT.java
+++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/acme/examples/springboot/GrafanaDockerComposeIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.springboot;
+package org.acme.examples.springboot;
import java.io.File;
import java.net.URISyntaxException;
diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/LoanEligibilityTest.java b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/acme/examples/springboot/LoanEligibilityTest.java
similarity index 92%
rename from kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/LoanEligibilityTest.java
rename to kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/acme/examples/springboot/LoanEligibilityTest.java
index 894f46759c..028641fed6 100644
--- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/LoanEligibilityTest.java
+++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/acme/examples/springboot/LoanEligibilityTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.springboot;
+package org.acme.examples.springboot;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
@@ -130,16 +130,15 @@ public void testEvaluateLoanEligibility() {
String.format("api_http_response_code_total{artifactId=\"%s\",endpoint=\"LoanEligibility\",identifier=\"200\",version=\"%s\",} 2.0", PROJECT_ARTIFACT_ID, PROJECT_VERSION)))
.body(containsString(
String.format("api_execution_elapsed_seconds_count{artifactId=\"%s\",endpoint=\"LoanEligibility\",version=\"%s\",} 2.0", PROJECT_ARTIFACT_ID, PROJECT_VERSION)))
- .body(containsString("org_kie_kogito_examples_customdmnruntimeeventlistener_total{event" +
+ .body(containsString("org_acme_examples_customdmnruntimeeventlistener_total{event" +
"=\"beforeevaluatedecisiontableeventimpl\",}"))
- .body(containsString("org_kie_kogito_examples_customdmnruntimeeventlistener_total{event" +
+ .body(containsString("org_acme_examples_customdmnruntimeeventlistener_total{event" +
"=\"afterevaluatedecisiontableeventimpl\",}"))
- .body(containsString("org_kie_kogito_examples_customdmnruntimeeventlistener_total{event" +
+ .body(containsString("org_acme_examples_customdmnruntimeeventlistener_total{event" +
"=\"beforeevaluatealleventimpl\",}"))
- .body(containsString("org_kie_kogito_examples_customdmnruntimeeventlistener_total{event" +
+ .body(containsString("org_acme_examples_customdmnruntimeeventlistener_total{event" +
"=\"afterevaluatealleventimpl\",}"))
- .body(containsString("org_kie_kogito_examples_customdmnruntimeeventlistener_total{event" +
+ .body(containsString("org_acme_examples_customdmnruntimeeventlistener_total{event" +
"=\"afterevaluatedecisioneventimpl\",}"));
}
-
}
diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/ProjectMetadataProvider.java b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/acme/examples/springboot/ProjectMetadataProvider.java
similarity index 97%
rename from kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/ProjectMetadataProvider.java
rename to kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/acme/examples/springboot/ProjectMetadataProvider.java
index b295acb4f8..6731846354 100644
--- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/ProjectMetadataProvider.java
+++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/acme/examples/springboot/ProjectMetadataProvider.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.springboot;
+package org.acme.examples.springboot;
import java.io.IOException;
import java.util.Properties;
diff --git a/kogito-springboot-examples/dmn-event-driven-springboot/pom.xml b/kogito-springboot-examples/dmn-event-driven-springboot/pom.xml
index dfb740f571..a6cfe43ca9 100644
--- a/kogito-springboot-examples/dmn-event-driven-springboot/pom.xml
+++ b/kogito-springboot-examples/dmn-event-driven-springboot/pom.xml
@@ -6,7 +6,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/dmn-event-driven-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/KogitoSpringbootApplication.java b/kogito-springboot-examples/dmn-event-driven-springboot/src/main/java/org/acme/dmn/springboot/example/KogitoSpringbootApplication.java
similarity index 85%
rename from kogito-springboot-examples/dmn-event-driven-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/KogitoSpringbootApplication.java
rename to kogito-springboot-examples/dmn-event-driven-springboot/src/main/java/org/acme/dmn/springboot/example/KogitoSpringbootApplication.java
index 3e65b56318..ee50271f91 100644
--- a/kogito-springboot-examples/dmn-event-driven-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/KogitoSpringbootApplication.java
+++ b/kogito-springboot-examples/dmn-event-driven-springboot/src/main/java/org/acme/dmn/springboot/example/KogitoSpringbootApplication.java
@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.springboot.example;
+package org.acme.dmn.springboot.example;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
-@SpringBootApplication(scanBasePackages = { "org.kie.kogito.app.**", "org.kie.kogito.**", "http**" })
+@SpringBootApplication(scanBasePackages = { "org.acme.**", "org.kie.kogito.**", "http**" })
public class KogitoSpringbootApplication {
public static void main(String[] args) {
diff --git a/kogito-springboot-examples/dmn-event-driven-springboot/src/test/java/org/kie/kogito/examples/DmnEventDrivenIT.java b/kogito-springboot-examples/dmn-event-driven-springboot/src/test/java/org/acme/examples/DmnEventDrivenIT.java
similarity index 98%
rename from kogito-springboot-examples/dmn-event-driven-springboot/src/test/java/org/kie/kogito/examples/DmnEventDrivenIT.java
rename to kogito-springboot-examples/dmn-event-driven-springboot/src/test/java/org/acme/examples/DmnEventDrivenIT.java
index 5f27725cd9..05917d1b91 100644
--- a/kogito-springboot-examples/dmn-event-driven-springboot/src/test/java/org/kie/kogito/examples/DmnEventDrivenIT.java
+++ b/kogito-springboot-examples/dmn-event-driven-springboot/src/test/java/org/acme/examples/DmnEventDrivenIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.io.IOException;
import java.net.URL;
@@ -28,10 +28,10 @@
import java.util.concurrent.atomic.AtomicReference;
import java.util.stream.Stream;
+import org.acme.dmn.springboot.example.KogitoSpringbootApplication;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
-import org.kie.kogito.dmn.springboot.example.KogitoSpringbootApplication;
import org.kie.kogito.test.springboot.kafka.KafkaTestClient;
import org.kie.kogito.testcontainers.springboot.KafkaSpringBootTestResource;
import org.skyscreamer.jsonassert.JSONAssert;
diff --git a/kogito-springboot-examples/dmn-listener-springboot/pom.xml b/kogito-springboot-examples/dmn-listener-springboot/pom.xml
index 4bf7103971..556c9c88ea 100644
--- a/kogito-springboot-examples/dmn-listener-springboot/pom.xml
+++ b/kogito-springboot-examples/dmn-listener-springboot/pom.xml
@@ -6,7 +6,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/ExampleDMNRuntimeEventListener.java b/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/acme/dmn/springboot/example/listener/ExampleDMNRuntimeEventListener.java
similarity index 96%
rename from kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/ExampleDMNRuntimeEventListener.java
rename to kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/acme/dmn/springboot/example/listener/ExampleDMNRuntimeEventListener.java
index 6f03197c52..cf4e2a5451 100644
--- a/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/ExampleDMNRuntimeEventListener.java
+++ b/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/acme/dmn/springboot/example/listener/ExampleDMNRuntimeEventListener.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.springboot.example.listener;
+package org.acme.dmn.springboot.example.listener;
import org.springframework.stereotype.Component;
diff --git a/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/ExampleDecisionEventListenerConfig.java b/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/acme/dmn/springboot/example/listener/ExampleDecisionEventListenerConfig.java
similarity index 97%
rename from kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/ExampleDecisionEventListenerConfig.java
rename to kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/acme/dmn/springboot/example/listener/ExampleDecisionEventListenerConfig.java
index 6796d66ad7..9ff004fd40 100644
--- a/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/ExampleDecisionEventListenerConfig.java
+++ b/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/acme/dmn/springboot/example/listener/ExampleDecisionEventListenerConfig.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.springboot.example.listener;
+package org.acme.dmn.springboot.example.listener;
import org.kie.kogito.dmn.config.CachedDecisionEventListenerConfig;
import org.springframework.stereotype.Component;
diff --git a/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/KogitoSpringbootApplication.java b/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/acme/dmn/springboot/example/listener/KogitoSpringbootApplication.java
similarity index 92%
rename from kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/KogitoSpringbootApplication.java
rename to kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/acme/dmn/springboot/example/listener/KogitoSpringbootApplication.java
index 7d9e1d2726..922c1c6837 100644
--- a/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/KogitoSpringbootApplication.java
+++ b/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/acme/dmn/springboot/example/listener/KogitoSpringbootApplication.java
@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.springboot.example.listener;
+package org.acme.dmn.springboot.example.listener;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
-@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**", "http**" })
+@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**", "org.acme.**", "http**" })
public class KogitoSpringbootApplication {
public static void main(String[] args) {
diff --git a/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/LoggingDMNRuntimeEventListener.java b/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/acme/dmn/springboot/example/listener/LoggingDMNRuntimeEventListener.java
similarity index 98%
rename from kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/LoggingDMNRuntimeEventListener.java
rename to kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/acme/dmn/springboot/example/listener/LoggingDMNRuntimeEventListener.java
index 5475a79af8..91b18832c6 100644
--- a/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/LoggingDMNRuntimeEventListener.java
+++ b/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/acme/dmn/springboot/example/listener/LoggingDMNRuntimeEventListener.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.springboot.example.listener;
+package org.acme.dmn.springboot.example.listener;
import org.kie.dmn.api.core.event.AfterEvaluateAllEvent;
import org.kie.dmn.api.core.event.AfterEvaluateContextEntryEvent;
diff --git a/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/kie/kogito/dmn/springboot/example/listener/TrafficViolationListenerTest.java b/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/acme/dmn/springboot/example/listener/TrafficViolationListenerTest.java
similarity index 89%
rename from kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/kie/kogito/dmn/springboot/example/listener/TrafficViolationListenerTest.java
rename to kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/acme/dmn/springboot/example/listener/TrafficViolationListenerTest.java
index a17dfd4c20..c776b0f4e0 100644
--- a/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/kie/kogito/dmn/springboot/example/listener/TrafficViolationListenerTest.java
+++ b/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/acme/dmn/springboot/example/listener/TrafficViolationListenerTest.java
@@ -13,18 +13,18 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.springboot.example.listener;
+package org.acme.dmn.springboot.example.listener;
import java.util.List;
import java.util.Map;
import java.util.Optional;
+import org.acme.dmn.springboot.example.mock.MockDMNRuntimeEventListener;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.kie.dmn.api.core.event.DMNRuntimeEventListener;
import org.kie.kogito.decision.DecisionConfig;
import org.kie.kogito.decision.DecisionEventListenerConfig;
-import org.kie.kogito.dmn.springboot.example.mock.MockDMNRuntimeEventListener;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.web.server.LocalServerPort;
@@ -36,7 +36,6 @@
import static io.restassured.RestAssured.given;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
-import static org.kie.kogito.dmn.springboot.example.listener.TrafficViolationTest.TRAFFIC_VIOLATION_TEST_BODY;
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = KogitoSpringbootApplication.class)
@DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD)
@@ -70,7 +69,7 @@ public void testEvaluateTrafficViolation() {
testListener.reset();
- given().body(TRAFFIC_VIOLATION_TEST_BODY).contentType(ContentType.JSON).post("/Traffic Violation");
+ given().body(TrafficViolationTest.TRAFFIC_VIOLATION_TEST_BODY).contentType(ContentType.JSON).post("/Traffic Violation");
Map testListenerCalls = testListener.getCalls();
assertTrue(testListenerCalls.containsKey("beforeEvaluateAll"));
diff --git a/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/kie/kogito/dmn/springboot/example/listener/TrafficViolationTest.java b/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/acme/dmn/springboot/example/listener/TrafficViolationTest.java
similarity index 97%
rename from kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/kie/kogito/dmn/springboot/example/listener/TrafficViolationTest.java
rename to kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/acme/dmn/springboot/example/listener/TrafficViolationTest.java
index d440b2f912..360f29762d 100644
--- a/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/kie/kogito/dmn/springboot/example/listener/TrafficViolationTest.java
+++ b/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/acme/dmn/springboot/example/listener/TrafficViolationTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.springboot.example.listener;
+package org.acme.dmn.springboot.example.listener;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
diff --git a/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/kie/kogito/dmn/springboot/example/mock/MockDMNRuntimeEventListener.java b/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/acme/dmn/springboot/example/mock/MockDMNRuntimeEventListener.java
similarity index 96%
rename from kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/kie/kogito/dmn/springboot/example/mock/MockDMNRuntimeEventListener.java
rename to kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/acme/dmn/springboot/example/mock/MockDMNRuntimeEventListener.java
index ca42ac1075..061390a47f 100644
--- a/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/kie/kogito/dmn/springboot/example/mock/MockDMNRuntimeEventListener.java
+++ b/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/acme/dmn/springboot/example/mock/MockDMNRuntimeEventListener.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.springboot.example.mock;
+package org.acme.dmn.springboot.example.mock;
import java.util.HashMap;
import java.util.Map;
diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/pom.xml b/kogito-springboot-examples/dmn-pmml-springboot-example/pom.xml
index 48564bdf33..d501af4f88 100644
--- a/kogito-springboot-examples/dmn-pmml-springboot-example/pom.xml
+++ b/kogito-springboot-examples/dmn-pmml-springboot-example/pom.xml
@@ -5,7 +5,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/KogitoSpringbootApplication.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/main/java/org/acme/dmn/pmml/springboot/example/KogitoSpringbootApplication.java
similarity index 86%
rename from kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/KogitoSpringbootApplication.java
rename to kogito-springboot-examples/dmn-pmml-springboot-example/src/main/java/org/acme/dmn/pmml/springboot/example/KogitoSpringbootApplication.java
index d6f7c7a33f..7922f4e6a2 100644
--- a/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/KogitoSpringbootApplication.java
+++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/main/java/org/acme/dmn/pmml/springboot/example/KogitoSpringbootApplication.java
@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.dmn.pmml.springboot.example;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
-@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**" })
+@SpringBootApplication(scanBasePackages = { "org.acme.**", "org.kie.kogito.**", "http**" })
public class KogitoSpringbootApplication {
public static void main(String[] args) {
diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/main/java/org/kie/kogito/dmn/pmml/springboot/example/KogitoSpringbootApplication.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/main/java/org/kie/kogito/dmn/pmml/springboot/example/KogitoSpringbootApplication.java
deleted file mode 100644
index 4f4d108346..0000000000
--- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/main/java/org/kie/kogito/dmn/pmml/springboot/example/KogitoSpringbootApplication.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright 2020 Red Hat, Inc. and/or its affiliates.
- *
- * Licensed 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.
- */
-package org.kie.kogito.dmn.pmml.springboot.example;
-
-import org.springframework.boot.SpringApplication;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-
-@SpringBootApplication(scanBasePackages = { "org.kie.kogito.dmn.pmml.**", "org.kie.kogito.**", "http**" })
-public class KogitoSpringbootApplication {
-
- public static void main(String[] args) {
- SpringApplication.run(KogitoSpringbootApplication.class, args);
- }
-}
diff --git a/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/CommonTestUtils.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/CommonTestUtils.java
similarity index 98%
rename from kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/CommonTestUtils.java
rename to kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/CommonTestUtils.java
index 32415993c1..a8670d1b88 100644
--- a/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/CommonTestUtils.java
+++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/CommonTestUtils.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.pmml.springboot.example;
+package org.acme.dmn.pmml.springboot.example;
import java.util.Map;
diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNMiningModelTest.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/DMNMiningModelTest.java
similarity index 97%
rename from kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNMiningModelTest.java
rename to kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/DMNMiningModelTest.java
index 3d9de5cda8..870cd2230c 100644
--- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNMiningModelTest.java
+++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/DMNMiningModelTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.springboot.example;
+package org.acme.dmn.pmml.springboot.example;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNRegressionTest.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/DMNRegressionTest.java
similarity index 97%
rename from kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNRegressionTest.java
rename to kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/DMNRegressionTest.java
index 0db95dc71b..3bc4b498ed 100644
--- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNRegressionTest.java
+++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/DMNRegressionTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.springboot.example;
+package org.acme.dmn.pmml.springboot.example;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNScoreCardTest.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/DMNScoreCardTest.java
similarity index 98%
rename from kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNScoreCardTest.java
rename to kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/DMNScoreCardTest.java
index 6287eaa2aa..b24b29b0cb 100644
--- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNScoreCardTest.java
+++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/DMNScoreCardTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.springboot.example;
+package org.acme.dmn.pmml.springboot.example;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNTreeTest.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/DMNTreeTest.java
similarity index 97%
rename from kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNTreeTest.java
rename to kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/DMNTreeTest.java
index 3885a8b888..e764ffccd8 100644
--- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNTreeTest.java
+++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/DMNTreeTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.springboot.example;
+package org.acme.dmn.pmml.springboot.example;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DecisionTreeTest.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/DecisionTreeTest.java
similarity index 90%
rename from kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DecisionTreeTest.java
rename to kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/DecisionTreeTest.java
index 617b877357..8a014f447d 100644
--- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DecisionTreeTest.java
+++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/DecisionTreeTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.springboot.example;
+package org.acme.dmn.pmml.springboot.example;
import java.util.HashMap;
import java.util.Map;
@@ -26,8 +26,8 @@
import io.restassured.RestAssured;
-import static org.kie.kogito.dmn.pmml.springboot.example.CommonTestUtils.testDescriptive;
-import static org.kie.kogito.dmn.pmml.springboot.example.CommonTestUtils.testResult;
+import static org.acme.dmn.pmml.springboot.example.CommonTestUtils.testDescriptive;
+import static org.acme.dmn.pmml.springboot.example.CommonTestUtils.testResult;
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = KogitoSpringbootApplication.class)
@DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD)
diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/LinRegTest.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/LinRegTest.java
similarity index 76%
rename from kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/LinRegTest.java
rename to kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/LinRegTest.java
index 24ff9ec0c8..a89b86072f 100644
--- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/LinRegTest.java
+++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/LinRegTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.springboot.example;
+package org.acme.dmn.pmml.springboot.example;
import java.util.Collections;
import java.util.Map;
@@ -26,11 +26,6 @@
import io.restassured.RestAssured;
-import static org.kie.kogito.dmn.pmml.springboot.example.CommonTestUtils.testDescriptive;
-import static org.kie.kogito.dmn.pmml.springboot.example.CommonTestUtils.testDescriptiveWrongData;
-import static org.kie.kogito.dmn.pmml.springboot.example.CommonTestUtils.testResult;
-import static org.kie.kogito.dmn.pmml.springboot.example.CommonTestUtils.testResultWrongData;
-
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = KogitoSpringbootApplication.class)
@DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD)
public class LinRegTest {
@@ -49,25 +44,25 @@ public void setUp() {
@Test
void testEvaluateLinRegResult() {
String inputData = "{\"fld1\":3.0, \"fld2\":2.0, \"fld3\":\"y\"}";
- testResult(inputData, BASE_PATH, TARGET, 52.5f);
+ CommonTestUtils.testResult(inputData, BASE_PATH, TARGET, 52.5f);
}
@Test
void testEvaluateLinRegResultWrongData() {
String inputData = "{\"fld1\":\"wrong-input\", \"fld2\":2.0, \"fld3\":\"y\"}";
- testResultWrongData(inputData, BASE_PATH);
+ CommonTestUtils.testResultWrongData(inputData, BASE_PATH);
}
@Test
void testEvaluateLinRegDescriptive() {
String inputData = "{\"fld1\":3.0, \"fld2\":2.0, \"fld3\":\"y\"}";
final Map expectedResultMap = Collections.singletonMap(TARGET, 52.5f);
- testDescriptive(inputData, BASE_PATH, TARGET, expectedResultMap);
+ CommonTestUtils.testDescriptive(inputData, BASE_PATH, TARGET, expectedResultMap);
}
@Test
void testEvaluateLinRegDescriptiveWrongData() {
String inputData = "{\"fld1\":\"wrong-input\", \"fld2\":2.0, \"fld3\":\"y\"}";
- testDescriptiveWrongData(inputData, BASE_PATH);
+ CommonTestUtils.testDescriptiveWrongData(inputData, BASE_PATH);
}
}
diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/MiningModelTest.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/MiningModelTest.java
similarity index 76%
rename from kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/MiningModelTest.java
rename to kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/MiningModelTest.java
index 0c57345b4d..4c3fc3749e 100644
--- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/MiningModelTest.java
+++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/MiningModelTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.springboot.example;
+package org.acme.dmn.pmml.springboot.example;
import java.util.Collections;
import java.util.Map;
@@ -26,11 +26,6 @@
import io.restassured.RestAssured;
-import static org.kie.kogito.dmn.pmml.springboot.example.CommonTestUtils.testDescriptive;
-import static org.kie.kogito.dmn.pmml.springboot.example.CommonTestUtils.testDescriptiveWrongData;
-import static org.kie.kogito.dmn.pmml.springboot.example.CommonTestUtils.testResult;
-import static org.kie.kogito.dmn.pmml.springboot.example.CommonTestUtils.testResultWrongData;
-
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = KogitoSpringbootApplication.class)
@DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD)
public class MiningModelTest {
@@ -49,25 +44,25 @@ public void setUp() {
@Test
void testEvaluateMiningModelResult() {
String inputData = "{\"input1\":200.0, \"input2\":-1.0, \"input3\":2.0}";
- testResult(inputData, BASE_PATH, TARGET, -299.0f);
+ CommonTestUtils.testResult(inputData, BASE_PATH, TARGET, -299.0f);
}
@Test
void testEvaluateMiningModelResultWrongData() {
String inputData = "{\"input1\":wrong-data, \"input2\":-1.0, \"input3\":2.0}";
- testResultWrongData(inputData, BASE_PATH);
+ CommonTestUtils.testResultWrongData(inputData, BASE_PATH);
}
@Test
void testEvaluateMiningModelResultDescriptive() {
String inputData = "{\"input1\":200.0, \"input2\":-1.0, \"input3\":2.0}";
final Map expectedResultMap = Collections.singletonMap(TARGET, -299.0f);
- testDescriptive(inputData, BASE_PATH, TARGET, expectedResultMap);
+ CommonTestUtils.testDescriptive(inputData, BASE_PATH, TARGET, expectedResultMap);
}
@Test
void testEvaluateMiningModelResultDescriptiveWrongData() {
String inputData = "{\"input1\":wrong-data, \"input2\":-1.0, \"input3\":2.0}";
- testDescriptiveWrongData(inputData, BASE_PATH);
+ CommonTestUtils.testDescriptiveWrongData(inputData, BASE_PATH);
}
}
diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/ScoreCardTest.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/ScoreCardTest.java
similarity index 86%
rename from kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/ScoreCardTest.java
rename to kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/ScoreCardTest.java
index 64a10b51df..f21bdaef7e 100644
--- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/ScoreCardTest.java
+++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/acme/dmn/pmml/springboot/example/ScoreCardTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.springboot.example;
+package org.acme.dmn.pmml.springboot.example;
import java.util.Collections;
import java.util.Map;
@@ -26,10 +26,10 @@
import io.restassured.RestAssured;
-import static org.kie.kogito.dmn.pmml.springboot.example.CommonTestUtils.testDescriptive;
-import static org.kie.kogito.dmn.pmml.springboot.example.CommonTestUtils.testDescriptiveWrongData;
-import static org.kie.kogito.dmn.pmml.springboot.example.CommonTestUtils.testResult;
-import static org.kie.kogito.dmn.pmml.springboot.example.CommonTestUtils.testResultWrongData;
+import static org.acme.dmn.pmml.springboot.example.CommonTestUtils.testDescriptive;
+import static org.acme.dmn.pmml.springboot.example.CommonTestUtils.testDescriptiveWrongData;
+import static org.acme.dmn.pmml.springboot.example.CommonTestUtils.testResult;
+import static org.acme.dmn.pmml.springboot.example.CommonTestUtils.testResultWrongData;
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = KogitoSpringbootApplication.class)
@DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD)
diff --git a/kogito-springboot-examples/dmn-springboot-example/README.md b/kogito-springboot-examples/dmn-springboot-example/README.md
index ab8e58e95d..265ce9329e 100644
--- a/kogito-springboot-examples/dmn-springboot-example/README.md
+++ b/kogito-springboot-examples/dmn-springboot-example/README.md
@@ -97,7 +97,7 @@ In order to have the DMN generated resources properly scanned by Spring Boot, pl
The generated classes must be included in the annotation definitions of the main `Application` class:
```
-@SpringBootApplication(scanBasePackages={"org.kie.kogito.**", "org.kie.kogito.app.**", "http*"})
+@SpringBootApplication(scanBasePackages={"org.kie.kogito.**", "org.acme.**", "http*"})
public class KogitoSpringbootApplication {
public static void main(String[] args) {
diff --git a/kogito-springboot-examples/dmn-springboot-example/pom.xml b/kogito-springboot-examples/dmn-springboot-example/pom.xml
index 1016db26ac..088c80f493 100644
--- a/kogito-springboot-examples/dmn-springboot-example/pom.xml
+++ b/kogito-springboot-examples/dmn-springboot-example/pom.xml
@@ -6,7 +6,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/dmn-springboot-example/src/main/java/org/kie/kogito/dmn/springboot/example/KogitoSpringbootApplication.java b/kogito-springboot-examples/dmn-springboot-example/src/main/java/org/acme/dmn/springboot/example/KogitoSpringbootApplication.java
similarity index 91%
rename from kogito-springboot-examples/dmn-springboot-example/src/main/java/org/kie/kogito/dmn/springboot/example/KogitoSpringbootApplication.java
rename to kogito-springboot-examples/dmn-springboot-example/src/main/java/org/acme/dmn/springboot/example/KogitoSpringbootApplication.java
index a1e86fc7c6..b935785eb1 100644
--- a/kogito-springboot-examples/dmn-springboot-example/src/main/java/org/kie/kogito/dmn/springboot/example/KogitoSpringbootApplication.java
+++ b/kogito-springboot-examples/dmn-springboot-example/src/main/java/org/acme/dmn/springboot/example/KogitoSpringbootApplication.java
@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.springboot.example;
+package org.acme.dmn.springboot.example;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
-@SpringBootApplication(scanBasePackages = { "org.kie.kogito.dmn.**", "org.kie.kogito.app.**", "http**" })
+@SpringBootApplication(scanBasePackages = { "org.kie.kogito.dmn.**", "org.acme.**", "http**" })
public class KogitoSpringbootApplication {
public static void main(String[] args) {
diff --git a/kogito-springboot-examples/dmn-springboot-example/src/test/java/org/kie/kogito/dmn/springboot/example/TrafficViolationTest.java b/kogito-springboot-examples/dmn-springboot-example/src/test/java/org/acme/dmn/springboot/example/TrafficViolationTest.java
similarity index 97%
rename from kogito-springboot-examples/dmn-springboot-example/src/test/java/org/kie/kogito/dmn/springboot/example/TrafficViolationTest.java
rename to kogito-springboot-examples/dmn-springboot-example/src/test/java/org/acme/dmn/springboot/example/TrafficViolationTest.java
index cdd4237320..c9f2914b06 100644
--- a/kogito-springboot-examples/dmn-springboot-example/src/test/java/org/kie/kogito/dmn/springboot/example/TrafficViolationTest.java
+++ b/kogito-springboot-examples/dmn-springboot-example/src/test/java/org/acme/dmn/springboot/example/TrafficViolationTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.springboot.example;
+package org.acme.dmn.springboot.example;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
diff --git a/kogito-springboot-examples/dmn-tracing-springboot/pom.xml b/kogito-springboot-examples/dmn-tracing-springboot/pom.xml
index 458b024c42..6bc323e31e 100644
--- a/kogito-springboot-examples/dmn-tracing-springboot/pom.xml
+++ b/kogito-springboot-examples/dmn-tracing-springboot/pom.xml
@@ -6,7 +6,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/dmn-tracing-springboot/src/main/java/org/kie/kogito/dmn/springboot/tracing/KogitoSpringbootApplication.java b/kogito-springboot-examples/dmn-tracing-springboot/src/main/java/org/acme/dmn/springboot/tracing/KogitoSpringbootApplication.java
similarity index 95%
rename from kogito-springboot-examples/dmn-tracing-springboot/src/main/java/org/kie/kogito/dmn/springboot/tracing/KogitoSpringbootApplication.java
rename to kogito-springboot-examples/dmn-tracing-springboot/src/main/java/org/acme/dmn/springboot/tracing/KogitoSpringbootApplication.java
index f6648ebbae..b47caf2ecb 100644
--- a/kogito-springboot-examples/dmn-tracing-springboot/src/main/java/org/kie/kogito/dmn/springboot/tracing/KogitoSpringbootApplication.java
+++ b/kogito-springboot-examples/dmn-tracing-springboot/src/main/java/org/acme/dmn/springboot/tracing/KogitoSpringbootApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.springboot.tracing;
+package org.acme.dmn.springboot.tracing;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
diff --git a/kogito-springboot-examples/dmn-tracing-springboot/src/test/java/org/kie/kogito/dmn/springboot/tracing/LoanEligibilityIT.java b/kogito-springboot-examples/dmn-tracing-springboot/src/test/java/org/acme/dmn/springboot/tracing/LoanEligibilityIT.java
similarity index 96%
rename from kogito-springboot-examples/dmn-tracing-springboot/src/test/java/org/kie/kogito/dmn/springboot/tracing/LoanEligibilityIT.java
rename to kogito-springboot-examples/dmn-tracing-springboot/src/test/java/org/acme/dmn/springboot/tracing/LoanEligibilityIT.java
index e3db89f928..07bf903b3b 100644
--- a/kogito-springboot-examples/dmn-tracing-springboot/src/test/java/org/kie/kogito/dmn/springboot/tracing/LoanEligibilityIT.java
+++ b/kogito-springboot-examples/dmn-tracing-springboot/src/test/java/org/acme/dmn/springboot/tracing/LoanEligibilityIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.springboot.tracing;
+package org.acme.dmn.springboot.tracing;
import java.util.Optional;
import java.util.concurrent.CountDownLatch;
@@ -35,9 +35,9 @@
import io.restassured.http.ContentType;
import static io.restassured.RestAssured.given;
+import static org.acme.dmn.springboot.tracing.matcher.StringMatchesUUIDPattern.matchesThePatternOfAUUID;
import static org.hamcrest.Matchers.is;
import static org.junit.jupiter.api.Assertions.assertEquals;
-import static org.kie.kogito.dmn.springboot.tracing.matcher.StringMatchesUUIDPattern.matchesThePatternOfAUUID;
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = KogitoSpringbootApplication.class)
@ContextConfiguration(initializers = KafkaSpringBootTestResource.class)
diff --git a/kogito-springboot-examples/dmn-tracing-springboot/src/test/java/org/kie/kogito/dmn/springboot/tracing/matcher/StringMatchesUUIDPattern.java b/kogito-springboot-examples/dmn-tracing-springboot/src/test/java/org/acme/dmn/springboot/tracing/matcher/StringMatchesUUIDPattern.java
similarity index 95%
rename from kogito-springboot-examples/dmn-tracing-springboot/src/test/java/org/kie/kogito/dmn/springboot/tracing/matcher/StringMatchesUUIDPattern.java
rename to kogito-springboot-examples/dmn-tracing-springboot/src/test/java/org/acme/dmn/springboot/tracing/matcher/StringMatchesUUIDPattern.java
index 8c34bb72ad..f64becdabc 100644
--- a/kogito-springboot-examples/dmn-tracing-springboot/src/test/java/org/kie/kogito/dmn/springboot/tracing/matcher/StringMatchesUUIDPattern.java
+++ b/kogito-springboot-examples/dmn-tracing-springboot/src/test/java/org/acme/dmn/springboot/tracing/matcher/StringMatchesUUIDPattern.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.springboot.tracing.matcher;
+package org.acme.dmn.springboot.tracing.matcher;
import org.hamcrest.Description;
import org.hamcrest.Matcher;
diff --git a/kogito-springboot-examples/flexible-process-springboot/pom.xml b/kogito-springboot-examples/flexible-process-springboot/pom.xml
index a54b5b752d..07b838ef57 100644
--- a/kogito-springboot-examples/flexible-process-springboot/pom.xml
+++ b/kogito-springboot-examples/flexible-process-springboot/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/Comment.java b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/model/Comment.java
similarity index 97%
rename from kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/Comment.java
rename to kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/model/Comment.java
index c6e924361e..cfbae34857 100644
--- a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/Comment.java
+++ b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/model/Comment.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.flexible.example.model;
+package org.acme.flexible.example.model;
import java.time.ZonedDateTime;
diff --git a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/Product.java b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/model/Product.java
similarity index 96%
rename from kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/Product.java
rename to kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/model/Product.java
index 9efe281bc8..a9a6e7f4e5 100644
--- a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/Product.java
+++ b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/model/Product.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.flexible.example.model;
+package org.acme.flexible.example.model;
public class Product {
diff --git a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/Questionnaire.java b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/model/Questionnaire.java
similarity index 97%
rename from kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/Questionnaire.java
rename to kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/model/Questionnaire.java
index 974f8c7fb1..11c645b477 100644
--- a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/Questionnaire.java
+++ b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/model/Questionnaire.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.flexible.example.model;
+package org.acme.flexible.example.model;
import java.time.ZonedDateTime;
diff --git a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/State.java b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/model/State.java
similarity index 93%
rename from kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/State.java
rename to kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/model/State.java
index 29b47e5ed5..f0d9c410fe 100644
--- a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/State.java
+++ b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/model/State.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.flexible.example.model;
+package org.acme.flexible.example.model;
public enum State {
NEW,
diff --git a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/SupportCase.java b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/model/SupportCase.java
similarity index 95%
rename from kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/SupportCase.java
rename to kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/model/SupportCase.java
index efb4b4ed24..33ef63166e 100644
--- a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/SupportCase.java
+++ b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/model/SupportCase.java
@@ -13,21 +13,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.flexible.example.model;
+package org.acme.flexible.example.model;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
-import static org.kie.kogito.flexible.example.model.State.NEW;
-
public class SupportCase {
private Product product;
private String description;
private String engineer;
private String customer;
- private State state = NEW;
+ private State state = State.NEW;
private List comments;
private Questionnaire questionnaire;
diff --git a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/service/CommentService.java b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/service/CommentService.java
similarity index 71%
rename from kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/service/CommentService.java
rename to kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/service/CommentService.java
index 55f280ba70..9afa59de44 100644
--- a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/service/CommentService.java
+++ b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/service/CommentService.java
@@ -13,25 +13,22 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.flexible.example.service;
+package org.acme.flexible.example.service;
-import org.kie.kogito.flexible.example.model.Comment;
-import org.kie.kogito.flexible.example.model.State;
-import org.kie.kogito.flexible.example.model.SupportCase;
+import org.acme.flexible.example.model.Comment;
+import org.acme.flexible.example.model.State;
+import org.acme.flexible.example.model.SupportCase;
import org.springframework.stereotype.Component;
-import static org.kie.kogito.flexible.example.model.State.WAITING_FOR_CUSTOMER;
-import static org.kie.kogito.flexible.example.model.State.WAITING_FOR_OWNER;
-
@Component
public class CommentService {
public SupportCase addCustomerComment(SupportCase supportCase, String comment, String author) {
- return addComment(supportCase, author, comment, WAITING_FOR_OWNER);
+ return addComment(supportCase, author, comment, State.WAITING_FOR_OWNER);
}
public SupportCase addSupportComment(SupportCase supportCase, String comment, String author) {
- return addComment(supportCase, author, comment, WAITING_FOR_CUSTOMER);
+ return addComment(supportCase, author, comment, State.WAITING_FOR_CUSTOMER);
}
private SupportCase addComment(SupportCase supportCase, String author, String comment, State newState) {
diff --git a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/service/StateService.java b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/service/StateService.java
similarity index 84%
rename from kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/service/StateService.java
rename to kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/service/StateService.java
index ae43868e2c..e05b52afca 100644
--- a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/service/StateService.java
+++ b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/service/StateService.java
@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.flexible.example.service;
+package org.acme.flexible.example.service;
-import org.kie.kogito.flexible.example.model.Questionnaire;
-import org.kie.kogito.flexible.example.model.State;
-import org.kie.kogito.flexible.example.model.SupportCase;
+import org.acme.flexible.example.model.Questionnaire;
+import org.acme.flexible.example.model.State;
+import org.acme.flexible.example.model.SupportCase;
import org.springframework.stereotype.Component;
@Component
diff --git a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/service/TriageService.java b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/service/TriageService.java
similarity index 93%
rename from kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/service/TriageService.java
rename to kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/service/TriageService.java
index 7b0a8f6f40..64f6b7dbb7 100644
--- a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/service/TriageService.java
+++ b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/flexible/example/service/TriageService.java
@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.flexible.example.service;
+package org.acme.flexible.example.service;
import java.util.Random;
-import org.kie.kogito.flexible.example.model.State;
-import org.kie.kogito.flexible.example.model.SupportCase;
+import org.acme.flexible.example.model.State;
+import org.acme.flexible.example.model.SupportCase;
import org.springframework.stereotype.Component;
@Component
diff --git a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/tests/KogitoSpringbootApplication.java b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/tests/KogitoSpringbootApplication.java
new file mode 100644
index 0000000000..8e7a538689
--- /dev/null
+++ b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/acme/tests/KogitoSpringbootApplication.java
@@ -0,0 +1,28 @@
+/*
+ * Copyright 2020 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed 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.
+ */
+package org.acme.tests;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**", "org.acme.**" })
+public class KogitoSpringbootApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(KogitoSpringbootApplication.class, args);
+ }
+
+}
diff --git a/kogito-springboot-examples/flexible-process-springboot/src/main/resources/service-desk.bpmn b/kogito-springboot-examples/flexible-process-springboot/src/main/resources/service-desk.bpmn
index b172529784..1823b8534d 100644
--- a/kogito-springboot-examples/flexible-process-springboot/src/main/resources/service-desk.bpmn
+++ b/kogito-springboot-examples/flexible-process-springboot/src/main/resources/service-desk.bpmn
@@ -1,17 +1,17 @@
-
+
-
+
-
+
-
-
+
+
-
+
@@ -56,10 +56,10 @@
-
+
-
+
@@ -72,42 +72,42 @@
-
-
-
+
+
+
-
-
+
+
-
+
-
-
-
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -167,7 +167,7 @@
-
+
@@ -175,8 +175,8 @@
_C651F6F2-8C0D-4E9A-94B3-0BB337536F51
-
-
+
+ _5DCB19C5-63B3-4846-A8C7-9E383306E915_supportCaseInputX
@@ -296,7 +296,7 @@
supportGroup
-
+
@@ -305,9 +305,9 @@
_4D493B33-AE13-464F-B7F5-4A7A9A9044BA_5CF61231-028A-4E4A-AC50-01C1737FEC0A
-
+
-
+ _D17F5E0D-779E-4AF4-9E33-6E37D8F54DA7_supportCaseInputX_D17F5E0D-779E-4AF4-9E33-6E37D8F54DA7_supportGroupInputX
@@ -337,7 +337,7 @@
_6B10C12D-99D4-4758-B2D3-32D8E527A287_28168759-AF8E-47D3-9FEA-8095507ABEB7
-
+
@@ -345,9 +345,9 @@
_DBE81078-2C21-4128-ADDE-CA5E170F0792
-
+
-
+ _26E99F98-8E2E-4321-98A7-BE7570FF0BD2_supportCaseInputX_26E99F98-8E2E-4321-98A7-BE7570FF0BD2_supportGroupInputX
@@ -382,10 +382,10 @@
_DBE81078-2C21-4128-ADDE-CA5E170F0792
-
+
-
+ _BACB7C86-E7FA-4E2B-931A-CC02C812A698_TaskNameInputX_BACB7C86-E7FA-4E2B-931A-CC02C812A698_supportCaseInputX
@@ -448,7 +448,7 @@
-
+
@@ -456,10 +456,10 @@
_56AFC157-45AE-44E0-A94D-52AE95EFC74B
-
+
-
+ _BEAA2A42-CD36-4A08-BB42-4823EAA5C137_supportCaseInputX_BEAA2A42-CD36-4A08-BB42-4823EAA5C137_evaluationInputX
@@ -667,7 +667,7 @@
author
-
+
@@ -675,10 +675,10 @@
_D49DA468-8A7B-4688-A8DB-5B09D1AE22B1
-
+
-
+ _5B1A92B6-7044-4C8B-9011-62CD592F255F_supportCaseInputX_5B1A92B6-7044-4C8B-9011-62CD592F255F_commentInputX
@@ -705,7 +705,7 @@
supportCase
-
+
@@ -713,10 +713,10 @@
_021482FA-6264-4060-B11B-ABD91159122A
-
+
-
+ _D514F716-3F06-468F-A487-892F6089C776_supportCaseInputX_D514F716-3F06-468F-A487-892F6089C776_commentInputX
@@ -743,7 +743,7 @@
supportCase
-
+
diff --git a/kogito-springboot-examples/flexible-process-springboot/src/test/java/org/kie/kogito/flexible/example/springboot/ServiceDeskProcessTest.java b/kogito-springboot-examples/flexible-process-springboot/src/test/java/org/acme/flexible/example/springboot/ServiceDeskProcessTest.java
similarity index 94%
rename from kogito-springboot-examples/flexible-process-springboot/src/test/java/org/kie/kogito/flexible/example/springboot/ServiceDeskProcessTest.java
rename to kogito-springboot-examples/flexible-process-springboot/src/test/java/org/acme/flexible/example/springboot/ServiceDeskProcessTest.java
index cdcfba2ad2..22bd5ce5b5 100644
--- a/kogito-springboot-examples/flexible-process-springboot/src/test/java/org/kie/kogito/flexible/example/springboot/ServiceDeskProcessTest.java
+++ b/kogito-springboot-examples/flexible-process-springboot/src/test/java/org/acme/flexible/example/springboot/ServiceDeskProcessTest.java
@@ -13,19 +13,20 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.flexible.example.springboot;
+package org.acme.flexible.example.springboot;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
+import org.acme.flexible.example.model.Product;
+import org.acme.flexible.example.model.State;
+import org.acme.flexible.example.model.SupportCase;
+import org.acme.flexible.example.service.TriageService;
+import org.acme.tests.KogitoSpringbootApplication;
+import org.hamcrest.CoreMatchers;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import org.kie.kogito.flexible.example.model.Product;
-import org.kie.kogito.flexible.example.model.State;
-import org.kie.kogito.flexible.example.model.SupportCase;
-import org.kie.kogito.flexible.example.service.TriageService;
-import org.kie.kogito.tests.KogitoSpringbootApplication;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.web.server.LocalServerPort;
import org.springframework.test.annotation.DirtiesContext;
@@ -86,7 +87,7 @@ private String createSupportCase() {
.statusCode(201)
.header("Location", notNullValue())
.body("id", notNullValue())
- .body("supportCase.state", is(State.WAITING_FOR_OWNER.name()))
+ .body("supportCase.state", CoreMatchers.is(State.WAITING_FOR_OWNER.name()))
.body("supportCase.engineer", anyOf(is(TriageService.KOGITO_ENGINEERS[0]), is(TriageService.KOGITO_ENGINEERS[1])))
.body("supportGroup", is("Kogito"))
.extract()
diff --git a/kogito-springboot-examples/onboarding-springboot/pom.xml b/kogito-springboot-examples/onboarding-springboot/pom.xml
index cbf0db3c57..9e37cd3ef0 100644
--- a/kogito-springboot-examples/onboarding-springboot/pom.xml
+++ b/kogito-springboot-examples/onboarding-springboot/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/KogitoOnboardingApplication.java b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/acme/examples/KogitoOnboardingApplication.java
similarity index 97%
rename from kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/KogitoOnboardingApplication.java
rename to kogito-springboot-examples/onboarding-springboot/src/main/java/org/acme/examples/KogitoOnboardingApplication.java
index 2764617167..4693046119 100644
--- a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/KogitoOnboardingApplication.java
+++ b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/acme/examples/KogitoOnboardingApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.actuate.autoconfigure.metrics.cache.CacheMetricsAutoConfiguration;
diff --git a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/WorkItemHandlerConfig.java b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/acme/examples/WorkItemHandlerConfig.java
similarity index 97%
rename from kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/WorkItemHandlerConfig.java
rename to kogito-springboot-examples/onboarding-springboot/src/main/java/org/acme/examples/WorkItemHandlerConfig.java
index 92d7ecb125..24d422c85f 100644
--- a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/WorkItemHandlerConfig.java
+++ b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/acme/examples/WorkItemHandlerConfig.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.util.ArrayList;
import java.util.Arrays;
@@ -24,11 +24,11 @@
import javax.annotation.PostConstruct;
+import org.acme.examples.onboarding.DecisionTaskWorkItemHandler;
import org.kie.kogito.addons.k8s.Endpoint;
import org.kie.kogito.addons.k8s.EndpointQueryKey;
import org.kie.kogito.addons.k8s.LocalEndpointDiscovery;
import org.kie.kogito.addons.springboot.k8s.workitems.SpringDiscoveredEndpointCaller;
-import org.kie.kogito.examples.onboarding.DecisionTaskWorkItemHandler;
import org.kie.kogito.internal.process.runtime.KogitoWorkItemHandler;
import org.kie.kogito.process.impl.DefaultWorkItemHandlerConfig;
import org.springframework.beans.factory.annotation.Autowired;
diff --git a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/Address.java b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/acme/examples/onboarding/Address.java
similarity index 97%
rename from kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/Address.java
rename to kogito-springboot-examples/onboarding-springboot/src/main/java/org/acme/examples/onboarding/Address.java
index e4adcdbe31..cd8564b170 100644
--- a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/Address.java
+++ b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/acme/examples/onboarding/Address.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.onboarding;
+package org.acme.examples.onboarding;
/**
* This class was automatically generated by the data modeler tool.
diff --git a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/DecisionTaskWorkItemHandler.java b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/acme/examples/onboarding/DecisionTaskWorkItemHandler.java
similarity index 97%
rename from kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/DecisionTaskWorkItemHandler.java
rename to kogito-springboot-examples/onboarding-springboot/src/main/java/org/acme/examples/onboarding/DecisionTaskWorkItemHandler.java
index 60c766bfc3..27fc0526fb 100644
--- a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/DecisionTaskWorkItemHandler.java
+++ b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/acme/examples/onboarding/DecisionTaskWorkItemHandler.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.onboarding;
+package org.acme.examples.onboarding;
import java.util.Map;
diff --git a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/Employee.java b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/acme/examples/onboarding/Employee.java
similarity index 86%
rename from kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/Employee.java
rename to kogito-springboot-examples/onboarding-springboot/src/main/java/org/acme/examples/onboarding/Employee.java
index 12923c8e7f..0e0f50ff13 100644
--- a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/Employee.java
+++ b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/acme/examples/onboarding/Employee.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.onboarding;
+package org.acme.examples.onboarding;
/**
* This class was automatically generated by the data modeler tool.
@@ -27,7 +27,7 @@ public class Employee implements java.io.Serializable {
private java.lang.String personalId;
private java.util.Date birthDate;
- private org.kie.kogito.examples.onboarding.Address address;
+ private Address address;
public Employee() {
}
@@ -64,17 +64,17 @@ public void setBirthDate(java.util.Date birthDate) {
this.birthDate = birthDate;
}
- public org.kie.kogito.examples.onboarding.Address getAddress() {
+ public Address getAddress() {
return this.address;
}
- public void setAddress(org.kie.kogito.examples.onboarding.Address address) {
+ public void setAddress(Address address) {
this.address = address;
}
public Employee(java.lang.String firstName, java.lang.String lastName,
java.lang.String personalId, java.util.Date birthDate,
- org.kie.kogito.examples.onboarding.Address address) {
+ Address address) {
this.firstName = firstName;
this.lastName = lastName;
this.personalId = personalId;
diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/Payroll.java b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/acme/examples/onboarding/Payroll.java
similarity index 97%
rename from kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/Payroll.java
rename to kogito-springboot-examples/onboarding-springboot/src/main/java/org/acme/examples/onboarding/Payroll.java
index 9ed04c3f25..a638f39014 100644
--- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/Payroll.java
+++ b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/acme/examples/onboarding/Payroll.java
@@ -13,14 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.onboarding;
+package org.acme.examples.onboarding;
import com.fasterxml.jackson.annotation.JsonFormat;
/**
* This class was automatically generated by the data modeler tool.
*/
-
public class Payroll implements java.io.Serializable {
static final long serialVersionUID = 1L;
diff --git a/kogito-springboot-examples/onboarding-springboot/src/main/resources/org/kie/kogito/examples/onboarding/DecisionTasks.wid b/kogito-springboot-examples/onboarding-springboot/src/main/resources/org/acme/examples/onboarding/DecisionTasks.wid
similarity index 100%
rename from kogito-springboot-examples/onboarding-springboot/src/main/resources/org/kie/kogito/examples/onboarding/DecisionTasks.wid
rename to kogito-springboot-examples/onboarding-springboot/src/main/resources/org/acme/examples/onboarding/DecisionTasks.wid
diff --git a/kogito-springboot-examples/onboarding-springboot/src/main/resources/org/kie/kogito/examples/onboarding/onboarding.bpmn b/kogito-springboot-examples/onboarding-springboot/src/main/resources/org/acme/examples/onboarding/onboarding.bpmn
similarity index 95%
rename from kogito-springboot-examples/onboarding-springboot/src/main/resources/org/kie/kogito/examples/onboarding/onboarding.bpmn
rename to kogito-springboot-examples/onboarding-springboot/src/main/resources/org/acme/examples/onboarding/onboarding.bpmn
index c82b0acf00..632af58e18 100644
--- a/kogito-springboot-examples/onboarding-springboot/src/main/resources/org/kie/kogito/examples/onboarding/onboarding.bpmn
+++ b/kogito-springboot-examples/onboarding-springboot/src/main/resources/org/acme/examples/onboarding/onboarding.bpmn
@@ -1,7 +1,7 @@
-
-
+
+
@@ -13,15 +13,15 @@
-
-
+
+
-
+
-
+
@@ -32,15 +32,15 @@
-
+
-
+
-
+
@@ -125,9 +125,9 @@
_44ABA3C5-9A26-4843-B03B-99C2C0251707
-
+
-
+
@@ -209,7 +209,7 @@
_D5E3808E-4D68-4B8F-939D-17C7643E58FD_D32B4A20-53D1-46F3-95F6-276A2392931F
-
+
@@ -248,7 +248,7 @@
-
+
@@ -314,8 +314,8 @@
_DF6979D3-AFD3-4BC8-A866-8B9214F7F0FB_BB67B9E9-611B-4B17-A6F9-3CD4DCA4B249
-
-
+
+ _9D7A4927-BFCB-4F17-A4D4-E3D03B3FBE49_employeeInputX
@@ -353,7 +353,7 @@
-
+
diff --git a/kogito-springboot-examples/onboarding-springboot/src/main/resources/org/kie/kogito/examples/onboarding/setupHR.bpmn b/kogito-springboot-examples/onboarding-springboot/src/main/resources/org/acme/examples/onboarding/setupHR.bpmn
similarity index 96%
rename from kogito-springboot-examples/onboarding-springboot/src/main/resources/org/kie/kogito/examples/onboarding/setupHR.bpmn
rename to kogito-springboot-examples/onboarding-springboot/src/main/resources/org/acme/examples/onboarding/setupHR.bpmn
index 6197ea0873..e5ecbd9828 100644
--- a/kogito-springboot-examples/onboarding-springboot/src/main/resources/org/kie/kogito/examples/onboarding/setupHR.bpmn
+++ b/kogito-springboot-examples/onboarding-springboot/src/main/resources/org/acme/examples/onboarding/setupHR.bpmn
@@ -1,15 +1,15 @@
-
+
-
+
-
+
@@ -50,7 +50,7 @@
-
+
diff --git a/kogito-springboot-examples/onboarding-springboot/src/main/resources/org/kie/kogito/examples/onboarding/setupPayroll.bpmn b/kogito-springboot-examples/onboarding-springboot/src/main/resources/org/acme/examples/onboarding/setupPayroll.bpmn
similarity index 96%
rename from kogito-springboot-examples/onboarding-springboot/src/main/resources/org/kie/kogito/examples/onboarding/setupPayroll.bpmn
rename to kogito-springboot-examples/onboarding-springboot/src/main/resources/org/acme/examples/onboarding/setupPayroll.bpmn
index 1b8d288b15..09f2350df7 100644
--- a/kogito-springboot-examples/onboarding-springboot/src/main/resources/org/kie/kogito/examples/onboarding/setupPayroll.bpmn
+++ b/kogito-springboot-examples/onboarding-springboot/src/main/resources/org/acme/examples/onboarding/setupPayroll.bpmn
@@ -1,27 +1,27 @@
-
-
+
+
-
+
-
+
-
+
-
+
@@ -96,7 +96,7 @@
-
+
@@ -172,7 +172,7 @@
-
+
@@ -243,7 +243,7 @@
-
+
@@ -302,7 +302,7 @@
_7B55F281-D560-4130-88C9-177C960E8682SequenceFlow_3
- org.kie.kogito.examples.onboarding.Payroll empPayroll = new org.kie.kogito.examples.onboarding.Payroll(vacationDays, taxRate, paymentDate);
+ org.acme.examples.onboarding.Payroll empPayroll = new org.acme.examples.onboarding.Payroll(vacationDays, taxRate, paymentDate);
kcontext.setVariable("payroll", empPayroll);
diff --git a/kogito-springboot-examples/onboarding-springboot/src/test/java/org/kie/kogito/examples/onboarding/OnboardingEndpointIT.java b/kogito-springboot-examples/onboarding-springboot/src/test/java/org/acme/examples/onboarding/OnboardingEndpointIT.java
similarity index 97%
rename from kogito-springboot-examples/onboarding-springboot/src/test/java/org/kie/kogito/examples/onboarding/OnboardingEndpointIT.java
rename to kogito-springboot-examples/onboarding-springboot/src/test/java/org/acme/examples/onboarding/OnboardingEndpointIT.java
index 03279f7644..9ad64f9713 100644
--- a/kogito-springboot-examples/onboarding-springboot/src/test/java/org/kie/kogito/examples/onboarding/OnboardingEndpointIT.java
+++ b/kogito-springboot-examples/onboarding-springboot/src/test/java/org/acme/examples/onboarding/OnboardingEndpointIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.onboarding;
+package org.acme.examples.onboarding;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
@@ -23,11 +23,11 @@
import java.util.Map;
import java.util.function.Function;
+import org.acme.examples.KogitoOnboardingApplication;
+import org.acme.examples.test.RecordedOutputWorkItemHandler;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
-import org.kie.kogito.examples.KogitoOnboardingApplication;
-import org.kie.kogito.examples.test.RecordedOutputWorkItemHandler;
import org.kie.kogito.internal.process.runtime.KogitoWorkItem;
import org.kie.kogito.internal.process.runtime.KogitoWorkItemHandler;
import org.kie.kogito.process.ProcessConfig;
diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/kie/kogito/examples/test/RecordedOutputWorkItemHandler.java b/kogito-springboot-examples/onboarding-springboot/src/test/java/org/acme/examples/test/RecordedOutputWorkItemHandler.java
similarity index 97%
rename from kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/kie/kogito/examples/test/RecordedOutputWorkItemHandler.java
rename to kogito-springboot-examples/onboarding-springboot/src/test/java/org/acme/examples/test/RecordedOutputWorkItemHandler.java
index 98c20ea8b5..ddbaef6549 100644
--- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/kie/kogito/examples/test/RecordedOutputWorkItemHandler.java
+++ b/kogito-springboot-examples/onboarding-springboot/src/test/java/org/acme/examples/test/RecordedOutputWorkItemHandler.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.test;
+package org.acme.examples.test;
import java.util.HashMap;
import java.util.Map;
diff --git a/kogito-springboot-examples/onboarding-springboot/src/test/java/org/kie/kogito/examples/test/RecordedWorkItemHandlerConfig.java b/kogito-springboot-examples/onboarding-springboot/src/test/java/org/acme/examples/test/RecordedWorkItemHandlerConfig.java
similarity index 97%
rename from kogito-springboot-examples/onboarding-springboot/src/test/java/org/kie/kogito/examples/test/RecordedWorkItemHandlerConfig.java
rename to kogito-springboot-examples/onboarding-springboot/src/test/java/org/acme/examples/test/RecordedWorkItemHandlerConfig.java
index de8947db89..4b99bcab28 100644
--- a/kogito-springboot-examples/onboarding-springboot/src/test/java/org/kie/kogito/examples/test/RecordedWorkItemHandlerConfig.java
+++ b/kogito-springboot-examples/onboarding-springboot/src/test/java/org/acme/examples/test/RecordedWorkItemHandlerConfig.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.test;
+package org.acme.examples.test;
import java.util.ArrayList;
import java.util.Arrays;
diff --git a/kogito-springboot-examples/pmml-event-driven-springboot/pom.xml b/kogito-springboot-examples/pmml-event-driven-springboot/pom.xml
index 9a46b97a15..f5abbaf394 100644
--- a/kogito-springboot-examples/pmml-event-driven-springboot/pom.xml
+++ b/kogito-springboot-examples/pmml-event-driven-springboot/pom.xml
@@ -5,7 +5,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/pmml-event-driven-springboot/src/main/java/org/kie/kogito/pmml/springboot/example/KogitoSpringbootApplication.java b/kogito-springboot-examples/pmml-event-driven-springboot/src/main/java/org/acme/pmml/springboot/example/KogitoSpringbootApplication.java
similarity index 95%
rename from kogito-springboot-examples/pmml-event-driven-springboot/src/main/java/org/kie/kogito/pmml/springboot/example/KogitoSpringbootApplication.java
rename to kogito-springboot-examples/pmml-event-driven-springboot/src/main/java/org/acme/pmml/springboot/example/KogitoSpringbootApplication.java
index 96dbd9d8d6..611fe9aecc 100644
--- a/kogito-springboot-examples/pmml-event-driven-springboot/src/main/java/org/kie/kogito/pmml/springboot/example/KogitoSpringbootApplication.java
+++ b/kogito-springboot-examples/pmml-event-driven-springboot/src/main/java/org/acme/pmml/springboot/example/KogitoSpringbootApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.pmml.springboot.example;
+package org.acme.pmml.springboot.example;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
diff --git a/kogito-springboot-examples/pmml-event-driven-springboot/src/test/java/org/kie/kogito/examples/PmmlEventDrivenIT.java b/kogito-springboot-examples/pmml-event-driven-springboot/src/test/java/org/acme/examples/PmmlEventDrivenIT.java
similarity index 98%
rename from kogito-springboot-examples/pmml-event-driven-springboot/src/test/java/org/kie/kogito/examples/PmmlEventDrivenIT.java
rename to kogito-springboot-examples/pmml-event-driven-springboot/src/test/java/org/acme/examples/PmmlEventDrivenIT.java
index f125539a2f..1c4ee32bdc 100644
--- a/kogito-springboot-examples/pmml-event-driven-springboot/src/test/java/org/kie/kogito/examples/PmmlEventDrivenIT.java
+++ b/kogito-springboot-examples/pmml-event-driven-springboot/src/test/java/org/acme/examples/PmmlEventDrivenIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.io.IOException;
import java.net.URL;
@@ -25,8 +25,8 @@
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.atomic.AtomicReference;
+import org.acme.pmml.springboot.example.KogitoSpringbootApplication;
import org.junit.jupiter.api.Test;
-import org.kie.kogito.pmml.springboot.example.KogitoSpringbootApplication;
import org.kie.kogito.test.springboot.kafka.KafkaTestClient;
import org.kie.kogito.testcontainers.springboot.KafkaSpringBootTestResource;
import org.skyscreamer.jsonassert.JSONAssert;
diff --git a/kogito-springboot-examples/pmml-springboot-example/pom.xml b/kogito-springboot-examples/pmml-springboot-example/pom.xml
index 8f7ef4a2f8..e52f78f6db 100644
--- a/kogito-springboot-examples/pmml-springboot-example/pom.xml
+++ b/kogito-springboot-examples/pmml-springboot-example/pom.xml
@@ -5,7 +5,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/pmml-springboot-example/src/main/java/org/kie/kogito/pmml/springboot/example/KogitoSpringbootApplication.java b/kogito-springboot-examples/pmml-springboot-example/src/main/java/org/acme/pmml/springboot/example/KogitoSpringbootApplication.java
similarity index 95%
rename from kogito-springboot-examples/pmml-springboot-example/src/main/java/org/kie/kogito/pmml/springboot/example/KogitoSpringbootApplication.java
rename to kogito-springboot-examples/pmml-springboot-example/src/main/java/org/acme/pmml/springboot/example/KogitoSpringbootApplication.java
index a2c900d261..2688d313ac 100644
--- a/kogito-springboot-examples/pmml-springboot-example/src/main/java/org/kie/kogito/pmml/springboot/example/KogitoSpringbootApplication.java
+++ b/kogito-springboot-examples/pmml-springboot-example/src/main/java/org/acme/pmml/springboot/example/KogitoSpringbootApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.pmml.springboot.example;
+package org.acme.pmml.springboot.example;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/CommonTestUtils.java b/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/acme/pmml/springboot/example/CommonTestUtils.java
similarity index 98%
rename from kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/CommonTestUtils.java
rename to kogito-springboot-examples/pmml-springboot-example/src/test/java/org/acme/pmml/springboot/example/CommonTestUtils.java
index 1af710d2ac..0faac75e3a 100644
--- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/CommonTestUtils.java
+++ b/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/acme/pmml/springboot/example/CommonTestUtils.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.dmn.pmml.springboot.example;
+package org.acme.pmml.springboot.example;
import java.util.Map;
diff --git a/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/LinRegTest.java b/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/acme/pmml/springboot/example/LinRegTest.java
similarity index 89%
rename from kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/LinRegTest.java
rename to kogito-springboot-examples/pmml-springboot-example/src/test/java/org/acme/pmml/springboot/example/LinRegTest.java
index e2be1f17ab..536f00bafe 100644
--- a/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/LinRegTest.java
+++ b/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/acme/pmml/springboot/example/LinRegTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.pmml.springboot.example;
+package org.acme.pmml.springboot.example;
import java.util.Collections;
import java.util.Map;
@@ -26,8 +26,8 @@
import io.restassured.RestAssured;
-import static org.kie.kogito.pmml.springboot.example.CommonTestUtils.testDescriptive;
-import static org.kie.kogito.pmml.springboot.example.CommonTestUtils.testResult;
+import static org.acme.pmml.springboot.example.CommonTestUtils.testDescriptive;
+import static org.acme.pmml.springboot.example.CommonTestUtils.testResult;
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = KogitoSpringbootApplication.class)
@DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD)
diff --git a/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/MiningModelTest.java b/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/acme/pmml/springboot/example/MiningModelTest.java
similarity index 92%
rename from kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/MiningModelTest.java
rename to kogito-springboot-examples/pmml-springboot-example/src/test/java/org/acme/pmml/springboot/example/MiningModelTest.java
index 875c7a2f1f..9046bab5d6 100644
--- a/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/MiningModelTest.java
+++ b/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/acme/pmml/springboot/example/MiningModelTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.pmml.springboot.example;
+package org.acme.pmml.springboot.example;
import java.util.Collections;
import java.util.Map;
@@ -26,8 +26,8 @@
import io.restassured.RestAssured;
-import static org.kie.kogito.pmml.springboot.example.CommonTestUtils.testDescriptive;
-import static org.kie.kogito.pmml.springboot.example.CommonTestUtils.testResult;
+import static org.acme.pmml.springboot.example.CommonTestUtils.testDescriptive;
+import static org.acme.pmml.springboot.example.CommonTestUtils.testResult;
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = KogitoSpringbootApplication.class)
@DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD)
diff --git a/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/SampleMineTest.java b/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/acme/pmml/springboot/example/SampleMineTest.java
similarity index 84%
rename from kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/SampleMineTest.java
rename to kogito-springboot-examples/pmml-springboot-example/src/test/java/org/acme/pmml/springboot/example/SampleMineTest.java
index 686593bf21..fa196f6aa3 100644
--- a/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/SampleMineTest.java
+++ b/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/acme/pmml/springboot/example/SampleMineTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.pmml.springboot.example;
+package org.acme.pmml.springboot.example;
import java.util.HashMap;
import java.util.Map;
@@ -26,9 +26,6 @@
import io.restassured.RestAssured;
-import static org.kie.kogito.pmml.springboot.example.CommonTestUtils.testDescriptive;
-import static org.kie.kogito.pmml.springboot.example.CommonTestUtils.testResult;
-
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = KogitoSpringbootApplication.class)
@DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD)
class SampleMineTest {
@@ -47,7 +44,7 @@ public void setUp() {
@Test
void testEvaluateSampleMineResult() {
String inputData = "{\"temperature\":30.0, \"humidity\":10.0}";
- testResult(inputData, BASE_PATH, TARGET, "sunglasses");
+ CommonTestUtils.testResult(inputData, BASE_PATH, TARGET, "sunglasses");
}
@Test
@@ -56,7 +53,7 @@ void testEvaluateSampleMineDescriptive() {
final Map expectedResultMap = new HashMap<>();
expectedResultMap.put(TARGET, "sunglasses");
expectedResultMap.put("weatherdecision", "sunglasses");
- testDescriptive(inputData, BASE_PATH, TARGET, expectedResultMap);
+ CommonTestUtils.testDescriptive(inputData, BASE_PATH, TARGET, expectedResultMap);
}
}
diff --git a/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/SimpleScorecardTest.java b/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/acme/pmml/springboot/example/SimpleScorecardTest.java
similarity index 84%
rename from kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/SimpleScorecardTest.java
rename to kogito-springboot-examples/pmml-springboot-example/src/test/java/org/acme/pmml/springboot/example/SimpleScorecardTest.java
index 0ab88633a0..c95d80a27f 100644
--- a/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/SimpleScorecardTest.java
+++ b/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/acme/pmml/springboot/example/SimpleScorecardTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.pmml.springboot.example;
+package org.acme.pmml.springboot.example;
import java.util.HashMap;
import java.util.Map;
@@ -26,9 +26,6 @@
import io.restassured.RestAssured;
-import static org.kie.kogito.pmml.springboot.example.CommonTestUtils.testDescriptive;
-import static org.kie.kogito.pmml.springboot.example.CommonTestUtils.testResult;
-
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = KogitoSpringbootApplication.class)
@DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD)
class SimpleScorecardTest {
@@ -47,7 +44,7 @@ public void setUp() {
@Test
void testEvaluateSimpleScorecardResult() {
String inputData = "{\"input1\":5.0, \"input2\":-10.0}";
- testResult(inputData, BASE_PATH, TARGET, -15.0f);
+ CommonTestUtils.testResult(inputData, BASE_PATH, TARGET, -15.0f);
}
@Test
@@ -57,7 +54,7 @@ void testEvaluateSimpleScorecardDescriptive() {
expectedResultMap.put(TARGET, -15.0f);
expectedResultMap.put("Reason Code 1", "Input1ReasonCode");
expectedResultMap.put("Reason Code 2", "Input2ReasonCode");
- testDescriptive(inputData, BASE_PATH, TARGET, expectedResultMap);
+ CommonTestUtils.testDescriptive(inputData, BASE_PATH, TARGET, expectedResultMap);
}
}
diff --git a/kogito-springboot-examples/pom.xml b/kogito-springboot-examples/pom.xml
index df57d4a323..7044ec6ba8 100644
--- a/kogito-springboot-examples/pom.xml
+++ b/kogito-springboot-examples/pom.xml
@@ -5,7 +5,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-business-rules-springboot/mvnw b/kogito-springboot-examples/process-business-rules-springboot/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-springboot-examples/process-business-rules-springboot/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-springboot-examples/process-business-rules-springboot/mvnw.cmd b/kogito-springboot-examples/process-business-rules-springboot/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-springboot-examples/process-business-rules-springboot/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-springboot-examples/process-business-rules-springboot/pom.xml b/kogito-springboot-examples/process-business-rules-springboot/pom.xml
index e770ea884d..e3d3af7da7 100644
--- a/kogito-springboot-examples/process-business-rules-springboot/pom.xml
+++ b/kogito-springboot-examples/process-business-rules-springboot/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-business-rules-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java b/kogito-springboot-examples/process-business-rules-springboot/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
similarity index 97%
rename from kogito-springboot-examples/process-business-rules-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java
rename to kogito-springboot-examples/process-business-rules-springboot/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
index 4b2388ce3c..e92f609608 100644
--- a/kogito-springboot-examples/process-business-rules-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java
+++ b/kogito-springboot-examples/process-business-rules-springboot/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.tests;
+package org.acme.tests;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
diff --git a/kogito-springboot-examples/process-business-rules-springboot/src/test/java/org/acme/travels/PersonsProcessTest.java b/kogito-springboot-examples/process-business-rules-springboot/src/test/java/org/acme/travels/PersonsProcessTest.java
index aefc9e3487..8d8bf99bbd 100644
--- a/kogito-springboot-examples/process-business-rules-springboot/src/test/java/org/acme/travels/PersonsProcessTest.java
+++ b/kogito-springboot-examples/process-business-rules-springboot/src/test/java/org/acme/travels/PersonsProcessTest.java
@@ -19,13 +19,13 @@
import java.util.List;
import java.util.Map;
+import org.acme.tests.KogitoInfinispanSpringbootApplication;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.kie.kogito.Model;
import org.kie.kogito.process.Process;
import org.kie.kogito.process.ProcessInstance;
import org.kie.kogito.process.WorkItem;
-import org.kie.kogito.tests.KogitoInfinispanSpringbootApplication;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.test.context.SpringBootTest;
diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/README.md b/kogito-springboot-examples/process-decisions-rest-springboot/README.md
index fd42534ac3..8f618bab1c 100644
--- a/kogito-springboot-examples/process-decisions-rest-springboot/README.md
+++ b/kogito-springboot-examples/process-decisions-rest-springboot/README.md
@@ -23,7 +23,7 @@ It is based on the traffic violation evaluation process, where it is required to
![Traffic Process](docs/images/traffic-rules-dmn-service-task.png)
-In this approach it requires coding, to provide an implementation in the application responsible to execute the task, in this case, a REST/HTTP call. The implementation is up to the user, but here it's been used what the platform provides, like the [RestTemplate](https://spring.io/guides/gs/consuming-rest/). Details can be seen in the classes [LicenseValidationRestService](src/main/java/org/kie/kogito/traffic/LicenseValidationRestService.java) and [TrafficViolationRestService](src/main/java/org/kie/kogito/traffic/TrafficViolationRestService.java).
+In this approach it requires coding, to provide an implementation in the application responsible to execute the task, in this case, a REST/HTTP call. The implementation is up to the user, but here it's been used what the platform provides, like the [RestTemplate](https://spring.io/guides/gs/consuming-rest/). Details can be seen in the classes [LicenseValidationRestService](src/main/java/org/acme/traffic/LicenseValidationRestService.java) and [TrafficViolationRestService](src/main/java/org/acme/traffic/TrafficViolationRestService.java).
The BPMN file where this process is declared is [traffic-rules-dmn-service-task.bpmn](src/main/resources/traffic-rules-dmn-service-task.bpmn)
@@ -44,13 +44,13 @@ These are the properties defined for the process, the most important one in this
* #### Proces Variables
-The variables used in the process itself, but the focus in this example are the classes that are used to define the POJOs to interact the process with decisions, that are the [Violation](src/main/java/org/kie/kogito/traffic/Violation.java), [Driver](src/main/java/org/kie/kogito/traffic/Driver.java), [Fine](src/main/java/org/kie/kogito/traffic/Fine.java) and [TrafficViolationResponse](src/main/java/org/kie/kogito/traffic/TrafficViolationResponse.java).
+The variables used in the process itself, but the focus in this example are the classes that are used to define the POJOs to interact the process with decisions, that are the [Violation](src/main/java/org/acme/traffic/Violation.java), [Driver](src/main/java/org/acme/traffic/Driver.java), [Fine](src/main/java/org/acme/traffic/Fine.java) and [TrafficViolationResponse](src/main/java/org/acme/traffic/TrafficViolationResponse.java).
**Mapping data from Process to/from DMN**
-It is important to mention DMN for instance can define the Data Type in its structure, but we can align all attributes names in a Java class that is used as process variables, in case the attribute names contain spaces or are not following java conventions we can use [Jackson](https://github.com/FasterXML/jackson) annotations to make the process variable POJOs aligned with DMN data types, for instance in the [Violation](src/main/java/org/kie/kogito/traffic/Violation.java) class, where it is mapped the `speedLimit` attribute as `Speed Limit` using `@JsonProperty` annotation, in this case, this attribute from the process variable with Violation can be seamlessly integrated Violation Data Type defined in DMN.
+It is important to mention DMN for instance can define the Data Type in its structure, but we can align all attributes names in a Java class that is used as process variables, in case the attribute names contain spaces or are not following java conventions we can use [Jackson](https://github.com/FasterXML/jackson) annotations to make the process variable POJOs aligned with DMN data types, for instance in the [Violation](src/main/java/org/acme/traffic/Violation.java) class, where it is mapped the `speedLimit` attribute as `Speed Limit` using `@JsonProperty` annotation, in this case, this attribute from the process variable with Violation can be seamlessly integrated Violation Data Type defined in DMN.
**Violation Data Type in DMN**
@@ -61,7 +61,7 @@ It is important to mention DMN for instance can define the Data Type in its stru
Fetch for driver information, in this implementation it is just mocking a result, that simply fill with an expired license date in case the `driverId` is an odd number and with a valid date in case of an even number. In a real use case, it could be performing an external call to a service or a database to get this information.
-The service task implementation is done in the [DriverService](src/main/java/org/kie/kogito/traffic/DriverService.java) class.
+The service task implementation is done in the [DriverService](src/main/java/org/acme/traffic/DriverService.java) class.
In the data assignment the input is the `driverId` and output is the `driver` variable, filled with all driver information.
@@ -102,7 +102,7 @@ The implementation properties where it is necessary to set the Java class implem
-The input for this task is the `Driver` and `Violation` variables, and the output is the `Suspended` and `Fine` that are wrapped into the [TrafficViolationResponse](src/main/java/org/kie/kogito/traffic/TrafficViolationResponse.java).
+The input for this task is the `Driver` and `Violation` variables, and the output is the `Suspended` and `Fine` that are wrapped into the [TrafficViolationResponse](src/main/java/org/acme/traffic/TrafficViolationResponse.java).
![Traffic Violation Service Data](docs/images/traffic-violation-drl-service-task-data.png)
@@ -111,7 +111,7 @@ The input for this task is the `Driver` and `Violation` variables, and the outpu
-The input for this task is the `Driver` and `Violation` variables, and the output is the `Suspended` and `Fine` that are wrapped into the [TrafficViolationResponse](src/main/java/org/kie/kogito/traffic/TrafficViolationResponse.java). For REST Work Item the URL and HTTP Method are set as input parameters in the process itselt, that is different from the Service Task approaach.
+The input for this task is the `Driver` and `Violation` variables, and the output is the `Suspended` and `Fine` that are wrapped into the [TrafficViolationResponse](src/main/java/org/acme/traffic/TrafficViolationResponse.java). For REST Work Item the URL and HTTP Method are set as input parameters in the process itselt, that is different from the Service Task approaach.
![Traffic Violation WIH Data](docs/images/traffic-violation-drl-wih-data.png)
@@ -129,7 +129,7 @@ Just an example task where it could be performed any action based on the conditi
This decision consistis in rules which are evaluated to check if a driver's license is expired or not according to the expiration date and thus populating the result in the information in the driver variable.
-The DRL file where this Rule Unit is declared is [LicenseValidationService.drl](src/main/resources/LicenseValidationService.drl) and the the Java class that contains the Rule Unit Data is [LicenseValidationService](src/main/java/org/kie/kogito/traffic/LicenseValidationService.java).
+The DRL file where this Rule Unit is declared is [LicenseValidationService.drl](src/main/resources/LicenseValidationService.drl) and the the Java class that contains the Rule Unit Data is [LicenseValidationService](src/main/java/org/acme/traffic/LicenseValidationService.java).
### Traffic Violation - DMN
diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/pom.xml b/kogito-springboot-examples/process-decisions-rest-springboot/pom.xml
index ce8928da69..cafff2b8e2 100644
--- a/kogito-springboot-examples/process-decisions-rest-springboot/pom.xml
+++ b/kogito-springboot-examples/process-decisions-rest-springboot/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/Driver.java b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/Driver.java
similarity index 98%
rename from kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/Driver.java
rename to kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/Driver.java
index f77a47b749..26bd79ee24 100644
--- a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/Driver.java
+++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/Driver.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.util.Date;
diff --git a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/DriverService.java b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/DriverService.java
similarity index 97%
rename from kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/DriverService.java
rename to kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/DriverService.java
index c6e2e44bb9..a0b9732243 100644
--- a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/DriverService.java
+++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/DriverService.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.time.ZonedDateTime;
import java.util.Date;
diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/Fine.java b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/Fine.java
similarity index 97%
rename from kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/Fine.java
rename to kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/Fine.java
index 4b6873829e..d82495c3d1 100644
--- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/Fine.java
+++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/Fine.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/KogitoApplication.java b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/KogitoApplication.java
similarity index 96%
rename from kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/KogitoApplication.java
rename to kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/KogitoApplication.java
index e761b023d5..df9c9b6b57 100644
--- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/KogitoApplication.java
+++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/KogitoApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/LicenseValidationRestService.java b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/LicenseValidationRestService.java
similarity index 98%
rename from kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/LicenseValidationRestService.java
rename to kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/LicenseValidationRestService.java
index efcefb779c..5926141d66 100644
--- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/LicenseValidationRestService.java
+++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/LicenseValidationRestService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.net.URI;
import java.util.Collections;
diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/LicenseValidationService.java
similarity index 97%
rename from kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java
rename to kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/LicenseValidationService.java
index 53fd44ed58..2423a7c362 100644
--- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java
+++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/LicenseValidationService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.util.Date;
diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/TrafficViolationResponse.java b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/TrafficViolationResponse.java
similarity index 97%
rename from kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/TrafficViolationResponse.java
rename to kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/TrafficViolationResponse.java
index cd550b1c03..eabb4ee936 100644
--- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/TrafficViolationResponse.java
+++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/TrafficViolationResponse.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/TrafficViolationRestService.java b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/TrafficViolationRestService.java
similarity index 98%
rename from kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/TrafficViolationRestService.java
rename to kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/TrafficViolationRestService.java
index 5b4b78550a..36346663e5 100644
--- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/TrafficViolationRestService.java
+++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/TrafficViolationRestService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.net.URI;
import java.util.HashMap;
diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/Violation.java b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/Violation.java
similarity index 98%
rename from kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/Violation.java
rename to kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/Violation.java
index 56446af2d2..232567b0e0 100644
--- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/Violation.java
+++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/acme/traffic/Violation.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.math.BigDecimal;
import java.util.Date;
diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/resources/LicenseValidationService.drl b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/resources/LicenseValidationService.drl
index 799c78abd4..06c7bc2412 100644
--- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/resources/LicenseValidationService.drl
+++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/resources/LicenseValidationService.drl
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic
+package org.acme.traffic
unit LicenseValidationService
diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/resources/traffic-rules-dmn-service-task.bpmn b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/resources/traffic-rules-dmn-service-task.bpmn
index 7ba4f69c61..9323dd6cb3 100644
--- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/resources/traffic-rules-dmn-service-task.bpmn
+++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/resources/traffic-rules-dmn-service-task.bpmn
@@ -1,25 +1,25 @@
-
-
-
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -92,7 +92,7 @@
-
+ _8A36870E-651D-4E0A-B345-D5CFF2182F0F_E183B890-1419-4A36-B1DC-257EB0B333E0
-
-
-
+
+
+ _BB50D380-3FE4-4B5E-9732-6E7E2B704BA0_driverInputX_BB50D380-3FE4-4B5E-9732-6E7E2B704BA0_violationInputX
@@ -126,7 +126,7 @@ DMN]]>
trafficViolationResponse
-
+ _A19108FE-08A2-4E80-B7A8-0254C49209A6_729FBA6E-72AB-4541-9965-DB7CDCD2E0A9
-
-
+
+ _8D1A7055-57B3-4C74-A502-2AB715599268_driverInputX
@@ -162,7 +162,7 @@ DRL]]>
_044AA388-325A-45DE-B783-4F48421B788B_8A36870E-651D-4E0A-B345-D5CFF2182F0F
-
+
@@ -172,7 +172,7 @@ DRL]]>
_A19108FE-08A2-4E80-B7A8-0254C49209A6
-
+ _93FFD317-476E-4624-84EF-994617572560_driverIdInputX
diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/resources/traffic-rules-dmn-wih.bpmn b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/resources/traffic-rules-dmn-wih.bpmn
index 6aa79d7bdf..0f1767de1f 100644
--- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/resources/traffic-rules-dmn-wih.bpmn
+++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/resources/traffic-rules-dmn-wih.bpmn
@@ -1,32 +1,32 @@
-
-
-
+
+
+
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
+
@@ -108,14 +108,14 @@ DMN]]>
-
-
+
+
-
+ _38F4877F-50AD-4500-98E1-9B4FD3972291_MethodInputX_38F4877F-50AD-4500-98E1-9B4FD3972291_UrlInputX
@@ -177,14 +177,14 @@ DRL]]>
-
+
-
+ _D8D9E6BA-5940-41F5-BF3A-1A08ADA72A4C_MethodInputX_D8D9E6BA-5940-41F5-BF3A-1A08ADA72A4C_UrlInputX
@@ -245,7 +245,7 @@ DRL]]>
_8A36870E-651D-4E0A-B345-D5CFF2182F0F_044AA388-325A-45DE-B783-4F48421B788B
-
+
@@ -255,7 +255,7 @@ DRL]]>
_A19108FE-08A2-4E80-B7A8-0254C49209A6
-
+ _93FFD317-476E-4624-84EF-994617572560_driverIdInputX
diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java b/kogito-springboot-examples/process-decisions-rest-springboot/src/test/java/org/acme/traffic/TrafficProcessIT.java
similarity index 98%
rename from kogito-springboot-examples/process-decisions-rest-springboot/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java
rename to kogito-springboot-examples/process-decisions-rest-springboot/src/test/java/org/acme/traffic/TrafficProcessIT.java
index 5eedf8de77..56855b7b99 100644
--- a/kogito-springboot-examples/process-decisions-rest-springboot/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java
+++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/test/java/org/acme/traffic/TrafficProcessIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.math.BigDecimal;
import java.util.HashMap;
diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/README.md b/kogito-springboot-examples/process-decisions-rules-springboot/README.md
index 69289d2ec6..409558dbf5 100644
--- a/kogito-springboot-examples/process-decisions-rules-springboot/README.md
+++ b/kogito-springboot-examples/process-decisions-rules-springboot/README.md
@@ -32,13 +32,13 @@ These are the properties defined for the process, the most important one in this
* #### Proces Variables
-The variables used in the process itself, but the focus in this example are the classes that are used to define the POJOs to interact the process with decisions, that are the [Violation](src/main/java/org/kie/kogito/traffic/Violation.java), [Driver](src/main/java/org/kie/kogito/traffic/Driver.java), [Fine](src/main/java/org/kie/kogito/traffic/Fine.java).
+The variables used in the process itself, but the focus in this example are the classes that are used to define the POJOs to interact the process with decisions, that are the [Violation](src/main/java/org/acme/traffic/Violation.java), [Driver](src/main/java/org/acme/traffic/Driver.java), [Fine](src/main/java/org/acme/traffic/Fine.java).
**Mapping data from Process to/from DMN**
-It is important to mention DMN for instance can define the Data Type in its structure, but we can align all attributes names in a Java class that is used as process variables, in case the attribute names contain spaces or are not following java conventions we can use [Jackson](https://github.com/FasterXML/jackson) annotations to make the process variable POJOs aligned with DMN data types, for instance in the [Violation](src/main/java/org/kie/kogito/traffic/Violation.java) class, where it is mapped the `speedLimit` attribute as `Speed Limit` using `@JsonProperty` annotation, in this case, this attribute from the process variable with Violation can be seamlessly integrated Violation Data Type defined in DMN.
+It is important to mention DMN for instance can define the Data Type in its structure, but we can align all attributes names in a Java class that is used as process variables, in case the attribute names contain spaces or are not following java conventions we can use [Jackson](https://github.com/FasterXML/jackson) annotations to make the process variable POJOs aligned with DMN data types, for instance in the [Violation](src/main/java/org/acme/traffic/Violation.java) class, where it is mapped the `speedLimit` attribute as `Speed Limit` using `@JsonProperty` annotation, in this case, this attribute from the process variable with Violation can be seamlessly integrated Violation Data Type defined in DMN.
**Violation Data Type in DMN**
@@ -49,7 +49,7 @@ It is important to mention DMN for instance can define the Data Type in its stru
Fetch for driver information, in this implementation it is just mocking a result, that simply fill with an expired license date in case the `driverId` is an odd number and with a valid date in case of an even number. In a real use case, it could be performing an external call to a service or a database to get this information.
-The service task implementation is done in the [DriverService](src/main/java/org/kie/kogito/traffic/DriverService.java) class.
+The service task implementation is done in the [DriverService](src/main/java/org/acme/traffic/DriverService.java) class.
In the data assignment the input is the `driverId` and output is the `driver` variable, filled with all driver information.
@@ -59,7 +59,7 @@ Represents the task to do the call to the DRL service.
-The properties to be set are mainly the `Rule Language`that should be set as `DRL` and the `Rule Flow Group` with `unit:` + `[the FQCN of the Rule Unit Data class]`, in this case [org.kie.kogito.traffic.LicenseValidationService](src/main/java/org/kie/kogito/traffic/LicenseValidationService.java).
+The properties to be set are mainly the `Rule Language`that should be set as `DRL` and the `Rule Flow Group` with `unit:` + `[the FQCN of the Rule Unit Data class]`, in this case [org.acme.traffic.LicenseValidationService](src/main/java/org/acme/traffic/LicenseValidationService.java).
@@ -95,7 +95,7 @@ Just an example task where it could be performed any action based on the conditi
This decision consistis in rules which are evaluated to check if a driver's license is expired or not according to the expiration date and thus populating the result in the information in the driver variable.
-The DRL file where this Rule Unit is declared is [LicenseValidationService.drl](src/main/resources/LicenseValidationService.drl) and the the Java class that contains the Rule Unit Data is [LicenseValidationService](src/main/java/org/kie/kogito/traffic/LicenseValidationService.java).
+The DRL file where this Rule Unit is declared is [LicenseValidationService.drl](src/main/resources/LicenseValidationService.drl) and the the Java class that contains the Rule Unit Data is [LicenseValidationService](src/main/java/org/acme/traffic/LicenseValidationService.java).
### Traffic Violation - DMN
diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/pom.xml b/kogito-springboot-examples/process-decisions-rules-springboot/pom.xml
index 72beacfa13..512dce2e2a 100644
--- a/kogito-springboot-examples/process-decisions-rules-springboot/pom.xml
+++ b/kogito-springboot-examples/process-decisions-rules-springboot/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/DriverService.java b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/DriverService.java
similarity index 94%
rename from kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/DriverService.java
rename to kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/DriverService.java
index 9db51425a8..92a63e6937 100644
--- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/DriverService.java
+++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/DriverService.java
@@ -14,12 +14,12 @@
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.time.ZonedDateTime;
import java.util.Date;
-import org.kie.kogito.traffic.licensevalidation.Driver;
+import org.acme.traffic.licensevalidation.Driver;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/Fine.java b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/Fine.java
new file mode 100644
index 0000000000..d82495c3d1
--- /dev/null
+++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/Fine.java
@@ -0,0 +1,43 @@
+/*
+ * Copyright 2021 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed 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.
+ */
+package org.acme.traffic;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+public class Fine {
+
+ @JsonProperty("Amount")
+ private Double amount;
+
+ @JsonProperty("Points")
+ private Integer points;
+
+ public Double getAmount() {
+ return amount;
+ }
+
+ public void setAmount(Double amount) {
+ this.amount = amount;
+ }
+
+ public Integer getPoints() {
+ return points;
+ }
+
+ public void setPoints(Integer points) {
+ this.points = points;
+ }
+}
diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/KogitoApplication.java b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/KogitoApplication.java
similarity index 94%
rename from kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/KogitoApplication.java
rename to kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/KogitoApplication.java
index 6009267b46..9329d207bb 100644
--- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/KogitoApplication.java
+++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/KogitoApplication.java
@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
-@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**", "com.example.**" })
+@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**", "org.acme.**" })
public class KogitoApplication {
public static void main(String[] args) {
diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/Violation.java b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/Violation.java
new file mode 100644
index 0000000000..232567b0e0
--- /dev/null
+++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/Violation.java
@@ -0,0 +1,90 @@
+/*
+ * Copyright 2021 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed 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.
+ */
+
+package org.acme.traffic;
+
+import java.math.BigDecimal;
+import java.util.Date;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+public class Violation {
+
+ @JsonProperty("Code")
+ private String code;
+
+ @JsonProperty("Date")
+ private Date date;
+
+ @JsonProperty("Type")
+ private String type;
+
+ @JsonProperty("Speed Limit")
+ private BigDecimal speedLimit;
+
+ @JsonProperty("Actual Speed")
+ private BigDecimal actualSpeed;
+
+ public Violation() {
+ }
+
+ public Violation(String type, BigDecimal speedLimit, BigDecimal actualSpeed) {
+ this.type = type;
+ this.speedLimit = speedLimit;
+ this.actualSpeed = actualSpeed;
+ this.date = new Date();
+ }
+
+ public String getCode() {
+ return code;
+ }
+
+ public void setCode(String code) {
+ this.code = code;
+ }
+
+ public Date getDate() {
+ return date;
+ }
+
+ public void setDate(Date date) {
+ this.date = date;
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public BigDecimal getSpeedLimit() {
+ return speedLimit;
+ }
+
+ public void setSpeedLimit(BigDecimal speedLimit) {
+ this.speedLimit = speedLimit;
+ }
+
+ public BigDecimal getActualSpeed() {
+ return actualSpeed;
+ }
+
+ public void setActualSpeed(BigDecimal actualSpeed) {
+ this.actualSpeed = actualSpeed;
+ }
+}
diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidated/LicenseValidatedService.java b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/licensevalidated/LicenseValidatedService.java
similarity index 96%
rename from kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidated/LicenseValidatedService.java
rename to kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/licensevalidated/LicenseValidatedService.java
index b6a0374e9d..b37b889f3a 100644
--- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidated/LicenseValidatedService.java
+++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/licensevalidated/LicenseValidatedService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic.licensevalidated;
+package org.acme.traffic.licensevalidated;
import java.util.Date;
diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidated/Validated.java b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/licensevalidated/Validated.java
similarity index 96%
rename from kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidated/Validated.java
rename to kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/licensevalidated/Validated.java
index 90c51f09e3..9f8a843e96 100644
--- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidated/Validated.java
+++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/licensevalidated/Validated.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.traffic.licensevalidated;
+package org.acme.traffic.licensevalidated;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidation/Driver.java b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/licensevalidation/Driver.java
similarity index 98%
rename from kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidation/Driver.java
rename to kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/licensevalidation/Driver.java
index 6ee8bfbb04..992738b4f0 100644
--- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidation/Driver.java
+++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/licensevalidation/Driver.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.traffic.licensevalidation;
+package org.acme.traffic.licensevalidation;
import java.util.Date;
diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/licensevalidation/LicenseValidationService.java b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/licensevalidation/LicenseValidationService.java
new file mode 100644
index 0000000000..7d4488af6b
--- /dev/null
+++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/acme/traffic/licensevalidation/LicenseValidationService.java
@@ -0,0 +1,46 @@
+/*
+ * Copyright 2020 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed 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.
+ */
+package org.acme.traffic.licensevalidation;
+
+import java.util.Date;
+
+import org.drools.ruleunits.api.DataSource;
+import org.drools.ruleunits.api.RuleUnitData;
+import org.drools.ruleunits.api.SingletonStore;
+
+public class LicenseValidationService implements RuleUnitData {
+ private SingletonStore driver;
+
+ public LicenseValidationService() {
+ this(DataSource.createSingleton());
+ }
+
+ public LicenseValidationService(SingletonStore driver) {
+ this.driver = driver;
+ }
+
+ public void setDriver(SingletonStore driver) {
+ this.driver = driver;
+ }
+
+ public SingletonStore getDriver() {
+ return driver;
+ }
+
+ public Date getCurrentTime() {
+ return new Date();
+ }
+}
diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/Fine.java b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/Fine.java
deleted file mode 100644
index 4b6873829e..0000000000
--- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/Fine.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright 2021 Red Hat, Inc. and/or its affiliates.
- *
- * Licensed 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.
- */
-package org.kie.kogito.traffic;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-public class Fine {
-
- @JsonProperty("Amount")
- private Double amount;
-
- @JsonProperty("Points")
- private Integer points;
-
- public Double getAmount() {
- return amount;
- }
-
- public void setAmount(Double amount) {
- this.amount = amount;
- }
-
- public Integer getPoints() {
- return points;
- }
-
- public void setPoints(Integer points) {
- this.points = points;
- }
-}
diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/Violation.java b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/Violation.java
deleted file mode 100644
index 56446af2d2..0000000000
--- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/Violation.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*
- * Copyright 2021 Red Hat, Inc. and/or its affiliates.
- *
- * Licensed 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.
- */
-
-package org.kie.kogito.traffic;
-
-import java.math.BigDecimal;
-import java.util.Date;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-public class Violation {
-
- @JsonProperty("Code")
- private String code;
-
- @JsonProperty("Date")
- private Date date;
-
- @JsonProperty("Type")
- private String type;
-
- @JsonProperty("Speed Limit")
- private BigDecimal speedLimit;
-
- @JsonProperty("Actual Speed")
- private BigDecimal actualSpeed;
-
- public Violation() {
- }
-
- public Violation(String type, BigDecimal speedLimit, BigDecimal actualSpeed) {
- this.type = type;
- this.speedLimit = speedLimit;
- this.actualSpeed = actualSpeed;
- this.date = new Date();
- }
-
- public String getCode() {
- return code;
- }
-
- public void setCode(String code) {
- this.code = code;
- }
-
- public Date getDate() {
- return date;
- }
-
- public void setDate(Date date) {
- this.date = date;
- }
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
- public BigDecimal getSpeedLimit() {
- return speedLimit;
- }
-
- public void setSpeedLimit(BigDecimal speedLimit) {
- this.speedLimit = speedLimit;
- }
-
- public BigDecimal getActualSpeed() {
- return actualSpeed;
- }
-
- public void setActualSpeed(BigDecimal actualSpeed) {
- this.actualSpeed = actualSpeed;
- }
-}
diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidation/LicenseValidationService.java b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidation/LicenseValidationService.java
deleted file mode 100644
index 2d56c89eea..0000000000
--- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidation/LicenseValidationService.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright 2020 Red Hat, Inc. and/or its affiliates.
- *
- * Licensed 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.
- */
-package org.kie.kogito.traffic.licensevalidation;
-
-import java.util.Date;
-
-import org.drools.ruleunits.api.DataSource;
-import org.drools.ruleunits.api.RuleUnitData;
-import org.drools.ruleunits.api.SingletonStore;
-
-public class LicenseValidationService implements RuleUnitData {
- private SingletonStore driver;
-
- public LicenseValidationService() {
- this(DataSource.createSingleton());
- }
-
- public LicenseValidationService(SingletonStore driver) {
- this.driver = driver;
- }
-
- public void setDriver(SingletonStore driver) {
- this.driver = driver;
- }
-
- public SingletonStore getDriver() {
- return driver;
- }
-
- public Date getCurrentTime() {
- return new Date();
- }
-}
diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/LicenseValidatedService.drl b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/LicenseValidatedService.drl
index 5dd428e835..1dc62a9096 100644
--- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/LicenseValidatedService.drl
+++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/LicenseValidatedService.drl
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic.licensevalidated
+package org.acme.traffic.licensevalidated
unit LicenseValidatedService
diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/LicenseValidationService.drl b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/LicenseValidationService.drl
index 324866bfa3..1b4622d9a3 100644
--- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/LicenseValidationService.drl
+++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/LicenseValidationService.drl
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic.licensevalidation
+package org.acme.traffic.licensevalidation
unit LicenseValidationService
diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/traffic-rules-dmn.bpmn b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/traffic-rules-dmn.bpmn
index bb3c183e1e..ee189729e5 100644
--- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/traffic-rules-dmn.bpmn
+++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/traffic-rules-dmn.bpmn
@@ -1,36 +1,36 @@
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
-
+
-
-
+
+
-
-
-
+
+
+
-
+
@@ -114,7 +114,7 @@
-
+ _BB963FF4-CF17-4CA0-A727-9AFC2BE17C29_E7EF578E-3735-42D9-BF0C-8CCBF398D41C
-
-
+
+ _3F719C8E-DA3F-46F8-B8F2-5F04DB132E9C_validatedInputX
@@ -155,7 +155,7 @@ DRL]]>
_D2252EFF-5EC4-4D61-B797-653F71652627_044AA388-325A-45DE-B783-4F48421B788B
-
+ _A19108FE-08A2-4E80-B7A8-0254C49209A6_D3E2F4B7-7739-452F-8D55-0C4F169D4A44
-
-
+
+ _95EFED1F-73F8-47E7-9604-A81EFE5DE8F5_driverInputX
@@ -183,7 +183,7 @@ DRL]]>
driver
-
+
@@ -193,7 +193,7 @@ DRL]]>
_A19108FE-08A2-4E80-B7A8-0254C49209A6
-
+ _93FFD317-476E-4624-84EF-994617572560_driverIdInputX
@@ -261,10 +261,10 @@ DMN]]>
-
-
-
-
+
+
+
+ _B076DF7E-91A5-47C7-B3FC-2C2EC06E5941_namespaceInputX_B076DF7E-91A5-47C7-B3FC-2C2EC06E5941_decisionInputX
diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/test/java/org.kie.kogito.traffic/TrafficProcessIT.java b/kogito-springboot-examples/process-decisions-rules-springboot/src/test/java/org/acme/traffic/TrafficProcessIT.java
similarity index 98%
rename from kogito-springboot-examples/process-decisions-rules-springboot/src/test/java/org.kie.kogito.traffic/TrafficProcessIT.java
rename to kogito-springboot-examples/process-decisions-rules-springboot/src/test/java/org/acme/traffic/TrafficProcessIT.java
index 35fe70cf43..5f93b42810 100644
--- a/kogito-springboot-examples/process-decisions-rules-springboot/src/test/java/org.kie.kogito.traffic/TrafficProcessIT.java
+++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/test/java/org/acme/traffic/TrafficProcessIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.math.BigDecimal;
import java.util.HashMap;
diff --git a/kogito-springboot-examples/process-decisions-springboot/README.md b/kogito-springboot-examples/process-decisions-springboot/README.md
index e549d18fe8..4be0da677f 100644
--- a/kogito-springboot-examples/process-decisions-springboot/README.md
+++ b/kogito-springboot-examples/process-decisions-springboot/README.md
@@ -32,13 +32,13 @@ These are the properties defined for the process, the most important one in this
* #### Proces Variables
-The variables used in the process itself, but the focus in this example are the classes that are used to define the POJOs to interact the process with decisions, that are the [Violation](src/main/java/org/kie/kogito/traffic/Violation.java), [Driver](src/main/java/org/kie/kogito/traffic/Driver.java), [Fine](src/main/java/org/kie/kogito/traffic/Fine.java).
+The variables used in the process itself, but the focus in this example are the classes that are used to define the POJOs to interact the process with decisions, that are the [Violation](src/main/java/org/acme/traffic/Violation.java), [Driver](src/main/java/org/acme/traffic/Driver.java), [Fine](src/main/java/org/acme/traffic/Fine.java).
**Mapping data from Process to/from DMN**
-It is important to mention DMN for instance can define the Data Type in its structure, but we can align all attributes names in a Java class that is used as process variables, in case the attribute names contain spaces or are not following java conventions we can use [Jackson](https://github.com/FasterXML/jackson) annotations to make the process variable POJOs aligned with DMN data types, for instance in the [Violation](src/main/java/org/kie/kogito/traffic/Violation.java) class, where it is mapped the `speedLimit` attribute as `Speed Limit` using `@JsonProperty` annotation, in this case, this attribute from the process variable with Violation can be seamlessly integrated Violation Data Type defined in DMN.
+It is important to mention DMN for instance can define the Data Type in its structure, but we can align all attributes names in a Java class that is used as process variables, in case the attribute names contain spaces or are not following java conventions we can use [Jackson](https://github.com/FasterXML/jackson) annotations to make the process variable POJOs aligned with DMN data types, for instance in the [Violation](src/main/java/org/acme/traffic/Violation.java) class, where it is mapped the `speedLimit` attribute as `Speed Limit` using `@JsonProperty` annotation, in this case, this attribute from the process variable with Violation can be seamlessly integrated Violation Data Type defined in DMN.
**Violation Data Type in DMN**
@@ -49,7 +49,7 @@ It is important to mention DMN for instance can define the Data Type in its stru
Fetch for driver information, in this implementation it is just mocking a result, that simply fill with an expired license date in case the `driverId` is an odd number and with a valid date in case of an even number. In a real use case, it could be performing an external call to a service or a database to get this information.
-The service task implementation is done in the [DriverService](src/main/java/org/kie/kogito/traffic/DriverService.java) class.
+The service task implementation is done in the [DriverService](src/main/java/org/acme/traffic/DriverService.java) class.
In the data assignment the input is the `driverId` and output is the `driver` variable, filled with all driver information.
@@ -59,7 +59,7 @@ Represents the task to do the call to the DRL service.
-The properties to be set are mainly the `Rule Language`that should be set as `DRL` and the `Rule Flow Group` with `unit:` + `[the FQCN of the Rule Unit Data class]`, in this case [org.kie.kogito.traffic.LicenseValidationService](src/main/java/org/kie/kogito/traffic/LicenseValidationService.java).
+The properties to be set are mainly the `Rule Language`that should be set as `DRL` and the `Rule Flow Group` with `unit:` + `[the FQCN of the Rule Unit Data class]`, in this case [org.acme.traffic.LicenseValidationService](src/main/java/org/acme/traffic/LicenseValidationService.java).
@@ -95,7 +95,7 @@ Just an example task where it could be performed any action based on the conditi
This decision consistis in rules which are evaluated to check if a driver's license is expired or not according to the expiration date and thus populating the result in the information in the driver variable.
-The DRL file where this Rule Unit is declared is [LicenseValidationService.drl](src/main/resources/LicenseValidationService.drl) and the the Java class that contains the Rule Unit Data is [LicenseValidationService](src/main/java/org/kie/kogito/traffic/LicenseValidationService.java).
+The DRL file where this Rule Unit is declared is [LicenseValidationService.drl](src/main/resources/LicenseValidationService.drl) and the the Java class that contains the Rule Unit Data is [LicenseValidationService](src/main/java/org/acme/traffic/LicenseValidationService.java).
### Traffic Violation - DMN
diff --git a/kogito-springboot-examples/process-decisions-springboot/pom.xml b/kogito-springboot-examples/process-decisions-springboot/pom.xml
index 24b7e98096..c10bc221b9 100644
--- a/kogito-springboot-examples/process-decisions-springboot/pom.xml
+++ b/kogito-springboot-examples/process-decisions-springboot/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/Driver.java b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/acme/traffic/Driver.java
similarity index 98%
rename from kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/Driver.java
rename to kogito-springboot-examples/process-decisions-springboot/src/main/java/org/acme/traffic/Driver.java
index f77a47b749..26bd79ee24 100644
--- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/Driver.java
+++ b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/acme/traffic/Driver.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.util.Date;
diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/DriverService.java b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/acme/traffic/DriverService.java
similarity index 97%
rename from kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/DriverService.java
rename to kogito-springboot-examples/process-decisions-springboot/src/main/java/org/acme/traffic/DriverService.java
index c6e2e44bb9..a0b9732243 100644
--- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/DriverService.java
+++ b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/acme/traffic/DriverService.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.time.ZonedDateTime;
import java.util.Date;
diff --git a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/acme/traffic/Fine.java b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/acme/traffic/Fine.java
new file mode 100644
index 0000000000..d82495c3d1
--- /dev/null
+++ b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/acme/traffic/Fine.java
@@ -0,0 +1,43 @@
+/*
+ * Copyright 2021 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed 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.
+ */
+package org.acme.traffic;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+public class Fine {
+
+ @JsonProperty("Amount")
+ private Double amount;
+
+ @JsonProperty("Points")
+ private Integer points;
+
+ public Double getAmount() {
+ return amount;
+ }
+
+ public void setAmount(Double amount) {
+ this.amount = amount;
+ }
+
+ public Integer getPoints() {
+ return points;
+ }
+
+ public void setPoints(Integer points) {
+ this.points = points;
+ }
+}
diff --git a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/KogitoApplication.java b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/acme/traffic/KogitoApplication.java
similarity index 94%
rename from kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/KogitoApplication.java
rename to kogito-springboot-examples/process-decisions-springboot/src/main/java/org/acme/traffic/KogitoApplication.java
index 6009267b46..9329d207bb 100644
--- a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/KogitoApplication.java
+++ b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/acme/traffic/KogitoApplication.java
@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
-@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**", "com.example.**" })
+@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**", "org.acme.**" })
public class KogitoApplication {
public static void main(String[] args) {
diff --git a/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/acme/traffic/LicenseValidationService.java
similarity index 97%
rename from kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java
rename to kogito-springboot-examples/process-decisions-springboot/src/main/java/org/acme/traffic/LicenseValidationService.java
index 53fd44ed58..2423a7c362 100644
--- a/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java
+++ b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/acme/traffic/LicenseValidationService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.util.Date;
diff --git a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/acme/traffic/Violation.java b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/acme/traffic/Violation.java
new file mode 100644
index 0000000000..232567b0e0
--- /dev/null
+++ b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/acme/traffic/Violation.java
@@ -0,0 +1,90 @@
+/*
+ * Copyright 2021 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed 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.
+ */
+
+package org.acme.traffic;
+
+import java.math.BigDecimal;
+import java.util.Date;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+public class Violation {
+
+ @JsonProperty("Code")
+ private String code;
+
+ @JsonProperty("Date")
+ private Date date;
+
+ @JsonProperty("Type")
+ private String type;
+
+ @JsonProperty("Speed Limit")
+ private BigDecimal speedLimit;
+
+ @JsonProperty("Actual Speed")
+ private BigDecimal actualSpeed;
+
+ public Violation() {
+ }
+
+ public Violation(String type, BigDecimal speedLimit, BigDecimal actualSpeed) {
+ this.type = type;
+ this.speedLimit = speedLimit;
+ this.actualSpeed = actualSpeed;
+ this.date = new Date();
+ }
+
+ public String getCode() {
+ return code;
+ }
+
+ public void setCode(String code) {
+ this.code = code;
+ }
+
+ public Date getDate() {
+ return date;
+ }
+
+ public void setDate(Date date) {
+ this.date = date;
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public BigDecimal getSpeedLimit() {
+ return speedLimit;
+ }
+
+ public void setSpeedLimit(BigDecimal speedLimit) {
+ this.speedLimit = speedLimit;
+ }
+
+ public BigDecimal getActualSpeed() {
+ return actualSpeed;
+ }
+
+ public void setActualSpeed(BigDecimal actualSpeed) {
+ this.actualSpeed = actualSpeed;
+ }
+}
diff --git a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/Fine.java b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/Fine.java
deleted file mode 100644
index 4b6873829e..0000000000
--- a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/Fine.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright 2021 Red Hat, Inc. and/or its affiliates.
- *
- * Licensed 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.
- */
-package org.kie.kogito.traffic;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-public class Fine {
-
- @JsonProperty("Amount")
- private Double amount;
-
- @JsonProperty("Points")
- private Integer points;
-
- public Double getAmount() {
- return amount;
- }
-
- public void setAmount(Double amount) {
- this.amount = amount;
- }
-
- public Integer getPoints() {
- return points;
- }
-
- public void setPoints(Integer points) {
- this.points = points;
- }
-}
diff --git a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/Violation.java b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/Violation.java
deleted file mode 100644
index 56446af2d2..0000000000
--- a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/Violation.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*
- * Copyright 2021 Red Hat, Inc. and/or its affiliates.
- *
- * Licensed 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.
- */
-
-package org.kie.kogito.traffic;
-
-import java.math.BigDecimal;
-import java.util.Date;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-public class Violation {
-
- @JsonProperty("Code")
- private String code;
-
- @JsonProperty("Date")
- private Date date;
-
- @JsonProperty("Type")
- private String type;
-
- @JsonProperty("Speed Limit")
- private BigDecimal speedLimit;
-
- @JsonProperty("Actual Speed")
- private BigDecimal actualSpeed;
-
- public Violation() {
- }
-
- public Violation(String type, BigDecimal speedLimit, BigDecimal actualSpeed) {
- this.type = type;
- this.speedLimit = speedLimit;
- this.actualSpeed = actualSpeed;
- this.date = new Date();
- }
-
- public String getCode() {
- return code;
- }
-
- public void setCode(String code) {
- this.code = code;
- }
-
- public Date getDate() {
- return date;
- }
-
- public void setDate(Date date) {
- this.date = date;
- }
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
- public BigDecimal getSpeedLimit() {
- return speedLimit;
- }
-
- public void setSpeedLimit(BigDecimal speedLimit) {
- this.speedLimit = speedLimit;
- }
-
- public BigDecimal getActualSpeed() {
- return actualSpeed;
- }
-
- public void setActualSpeed(BigDecimal actualSpeed) {
- this.actualSpeed = actualSpeed;
- }
-}
diff --git a/kogito-springboot-examples/process-decisions-springboot/src/main/resources/LicenseValidationService.drl b/kogito-springboot-examples/process-decisions-springboot/src/main/resources/LicenseValidationService.drl
index 799c78abd4..06c7bc2412 100644
--- a/kogito-springboot-examples/process-decisions-springboot/src/main/resources/LicenseValidationService.drl
+++ b/kogito-springboot-examples/process-decisions-springboot/src/main/resources/LicenseValidationService.drl
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic
+package org.acme.traffic
unit LicenseValidationService
diff --git a/kogito-springboot-examples/process-decisions-springboot/src/main/resources/traffic-rules-dmn.bpmn b/kogito-springboot-examples/process-decisions-springboot/src/main/resources/traffic-rules-dmn.bpmn
index 2cc3bd1c29..1d047d44ff 100644
--- a/kogito-springboot-examples/process-decisions-springboot/src/main/resources/traffic-rules-dmn.bpmn
+++ b/kogito-springboot-examples/process-decisions-springboot/src/main/resources/traffic-rules-dmn.bpmn
@@ -1,27 +1,27 @@
-
-
-
+
+
+
-
-
+
+
-
+
-
+
-
-
-
+
+
+
-
+
@@ -118,7 +118,7 @@
_8A36870E-651D-4E0A-B345-D5CFF2182F0F_044AA388-325A-45DE-B783-4F48421B788B
-
+ _A19108FE-08A2-4E80-B7A8-0254C49209A6_D3E2F4B7-7739-452F-8D55-0C4F169D4A44
-
-
+
+ _95EFED1F-73F8-47E7-9604-A81EFE5DE8F5_driverInputX
@@ -146,7 +146,7 @@ DRL]]>
driver
-
+
@@ -156,7 +156,7 @@ DRL]]>
_A19108FE-08A2-4E80-B7A8-0254C49209A6
-
+ _93FFD317-476E-4624-84EF-994617572560_driverIdInputX
@@ -219,10 +219,10 @@ DMN]]>
-
-
+
+
-
+ _B076DF7E-91A5-47C7-B3FC-2C2EC06E5941_namespaceInputX_B076DF7E-91A5-47C7-B3FC-2C2EC06E5941_decisionInputX
diff --git a/kogito-springboot-examples/process-decisions-springboot/src/test/java/org.kie.kogito.traffic/TrafficProcessIT.java b/kogito-springboot-examples/process-decisions-springboot/src/test/java/org/acme/traffic/TrafficProcessIT.java
similarity index 98%
rename from kogito-springboot-examples/process-decisions-springboot/src/test/java/org.kie.kogito.traffic/TrafficProcessIT.java
rename to kogito-springboot-examples/process-decisions-springboot/src/test/java/org/acme/traffic/TrafficProcessIT.java
index b3e8048df7..4a68522f3a 100644
--- a/kogito-springboot-examples/process-decisions-springboot/src/test/java/org.kie.kogito.traffic/TrafficProcessIT.java
+++ b/kogito-springboot-examples/process-decisions-springboot/src/test/java/org/acme/traffic/TrafficProcessIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.traffic;
+package org.acme.traffic;
import java.math.BigDecimal;
import java.util.HashMap;
diff --git a/kogito-springboot-examples/process-infinispan-persistence-springboot/mvnw b/kogito-springboot-examples/process-infinispan-persistence-springboot/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-springboot-examples/process-infinispan-persistence-springboot/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-springboot-examples/process-infinispan-persistence-springboot/mvnw.cmd b/kogito-springboot-examples/process-infinispan-persistence-springboot/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-springboot-examples/process-infinispan-persistence-springboot/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-springboot-examples/process-infinispan-persistence-springboot/pom.xml b/kogito-springboot-examples/process-infinispan-persistence-springboot/pom.xml
index fa6e8e5f3b..cb0568b1fd 100644
--- a/kogito-springboot-examples/process-infinispan-persistence-springboot/pom.xml
+++ b/kogito-springboot-examples/process-infinispan-persistence-springboot/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml b/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml
index a0ac301010..209285bc71 100644
--- a/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml
+++ b/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-kafka-multi-springboot/src/main/java/org/kie/kogito/tests/KogitoKafkaMultiSpringbootApplication.java b/kogito-springboot-examples/process-kafka-multi-springboot/src/main/java/org/acme/tests/KogitoKafkaMultiSpringbootApplication.java
similarity index 97%
rename from kogito-springboot-examples/process-kafka-multi-springboot/src/main/java/org/kie/kogito/tests/KogitoKafkaMultiSpringbootApplication.java
rename to kogito-springboot-examples/process-kafka-multi-springboot/src/main/java/org/acme/tests/KogitoKafkaMultiSpringbootApplication.java
index a612a99eaa..b648715a2a 100644
--- a/kogito-springboot-examples/process-kafka-multi-springboot/src/main/java/org/kie/kogito/tests/KogitoKafkaMultiSpringbootApplication.java
+++ b/kogito-springboot-examples/process-kafka-multi-springboot/src/main/java/org/acme/tests/KogitoKafkaMultiSpringbootApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.tests;
+package org.acme.tests;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
diff --git a/kogito-springboot-examples/process-kafka-multi-springboot/src/main/resources/handle-travellers.bpmn b/kogito-springboot-examples/process-kafka-multi-springboot/src/main/resources/handle-travellers.bpmn
index 34f29f09e2..646b365741 100644
--- a/kogito-springboot-examples/process-kafka-multi-springboot/src/main/resources/handle-travellers.bpmn
+++ b/kogito-springboot-examples/process-kafka-multi-springboot/src/main/resources/handle-travellers.bpmn
@@ -14,7 +14,7 @@
-
+
diff --git a/kogito-springboot-examples/process-kafka-multi-springboot/src/test/java/org/acme/travel/tests/multimessaging/springboot/MultiMessagingIT.java b/kogito-springboot-examples/process-kafka-multi-springboot/src/test/java/org/acme/travel/tests/multimessaging/springboot/MultiMessagingIT.java
index eeb7a740ab..41b56d8bd1 100644
--- a/kogito-springboot-examples/process-kafka-multi-springboot/src/test/java/org/acme/travel/tests/multimessaging/springboot/MultiMessagingIT.java
+++ b/kogito-springboot-examples/process-kafka-multi-springboot/src/test/java/org/acme/travel/tests/multimessaging/springboot/MultiMessagingIT.java
@@ -24,12 +24,12 @@
import java.util.concurrent.TimeUnit;
import java.util.stream.IntStream;
+import org.acme.tests.KogitoKafkaMultiSpringbootApplication;
import org.acme.travel.Traveller;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;
import org.kie.kogito.test.springboot.kafka.KafkaTestClient;
import org.kie.kogito.testcontainers.springboot.KafkaSpringBootTestResource;
-import org.kie.kogito.tests.KogitoKafkaMultiSpringbootApplication;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
diff --git a/kogito-springboot-examples/process-kafka-quickstart-springboot/mvnw b/kogito-springboot-examples/process-kafka-quickstart-springboot/mvnw
deleted file mode 100755
index 8b9da3b8b6..0000000000
--- a/kogito-springboot-examples/process-kafka-quickstart-springboot/mvnw
+++ /dev/null
@@ -1,286 +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
-#
-# https://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)`"
- # TODO classpath?
-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
- jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2/maven-wrapper-0.4.2.jar"
- 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 command -v wget > /dev/null; then
- if [ "$MVNW_VERBOSE" = true ]; then
- echo "Found wget ... using wget"
- fi
- wget "$jarUrl" -O "$wrapperJarPath"
- elif command -v curl > /dev/null; then
- if [ "$MVNW_VERBOSE" = true ]; then
- echo "Found curl ... using curl"
- fi
- curl -o "$wrapperJarPath" "$jarUrl"
- else
- if [ "$MVNW_VERBOSE" = true ]; then
- echo "Falling back to using Java to download"
- fi
- javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java"
- 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
-
-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-springboot-examples/process-kafka-quickstart-springboot/mvnw.cmd b/kogito-springboot-examples/process-kafka-quickstart-springboot/mvnw.cmd
deleted file mode 100644
index fef5a8f7f9..0000000000
--- a/kogito-springboot-examples/process-kafka-quickstart-springboot/mvnw.cmd
+++ /dev/null
@@ -1,161 +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 https://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 my 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.4.2/maven-wrapper-0.4.2.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% (
- echo Found %WRAPPER_JAR%
-) else (
- echo Couldn't find %WRAPPER_JAR%, downloading it ...
- echo Downloading from: %DOWNLOAD_URL%
- powershell -Command "(New-Object Net.WebClient).DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"
- echo Finished downloading %WRAPPER_JAR%
-)
-@REM End of extension
-
-%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-springboot-examples/process-kafka-quickstart-springboot/pom.xml b/kogito-springboot-examples/process-kafka-quickstart-springboot/pom.xml
index aee4a36fde..6a52fcaab8 100644
--- a/kogito-springboot-examples/process-kafka-quickstart-springboot/pom.xml
+++ b/kogito-springboot-examples/process-kafka-quickstart-springboot/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/java/org/kie/kogito/tests/KogitoKafkaQuickstartSpringbootApplication.java b/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/java/org/acme/tests/KogitoKafkaQuickstartSpringbootApplication.java
similarity index 97%
rename from kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/java/org/kie/kogito/tests/KogitoKafkaQuickstartSpringbootApplication.java
rename to kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/java/org/acme/tests/KogitoKafkaQuickstartSpringbootApplication.java
index 1f5f5d89ec..d9d4f9eafe 100644
--- a/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/java/org/kie/kogito/tests/KogitoKafkaQuickstartSpringbootApplication.java
+++ b/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/java/org/acme/tests/KogitoKafkaQuickstartSpringbootApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.tests;
+package org.acme.tests;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
diff --git a/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/resources/handle-travellers.bpmn b/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/resources/handle-travellers.bpmn
index 4a34cf65a5..2c1577a533 100644
--- a/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/resources/handle-travellers.bpmn
+++ b/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/resources/handle-travellers.bpmn
@@ -11,7 +11,7 @@
-
+
diff --git a/kogito-springboot-examples/process-kafka-quickstart-springboot/src/test/java/org/acme/travel/tests/messaging/springboot/MessagingIT.java b/kogito-springboot-examples/process-kafka-quickstart-springboot/src/test/java/org/acme/travel/tests/messaging/springboot/MessagingIT.java
index ac65f63520..eda668246c 100644
--- a/kogito-springboot-examples/process-kafka-quickstart-springboot/src/test/java/org/acme/travel/tests/messaging/springboot/MessagingIT.java
+++ b/kogito-springboot-examples/process-kafka-quickstart-springboot/src/test/java/org/acme/travel/tests/messaging/springboot/MessagingIT.java
@@ -23,12 +23,12 @@
import java.util.concurrent.TimeUnit;
import java.util.stream.IntStream;
+import org.acme.tests.KogitoKafkaQuickstartSpringbootApplication;
import org.acme.travel.Traveller;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;
import org.kie.kogito.test.springboot.kafka.KafkaTestClient;
import org.kie.kogito.testcontainers.springboot.KafkaSpringBootTestResource;
-import org.kie.kogito.tests.KogitoKafkaQuickstartSpringbootApplication;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
diff --git a/kogito-springboot-examples/process-mongodb-persistence-springboot/pom.xml b/kogito-springboot-examples/process-mongodb-persistence-springboot/pom.xml
index 252f7d39e0..381d891f56 100644
--- a/kogito-springboot-examples/process-mongodb-persistence-springboot/pom.xml
+++ b/kogito-springboot-examples/process-mongodb-persistence-springboot/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-monitoring-springboot/pom.xml b/kogito-springboot-examples/process-monitoring-springboot/pom.xml
index 06d75a9cfd..adb7579ac0 100644
--- a/kogito-springboot-examples/process-monitoring-springboot/pom.xml
+++ b/kogito-springboot-examples/process-monitoring-springboot/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/kie/kogito/examples/springboot/CalculationService.java b/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/acme/examples/springboot/CalculationService.java
similarity index 90%
rename from kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/kie/kogito/examples/springboot/CalculationService.java
rename to kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/acme/examples/springboot/CalculationService.java
index 6538ad0d69..c9340edab7 100644
--- a/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/kie/kogito/examples/springboot/CalculationService.java
+++ b/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/acme/examples/springboot/CalculationService.java
@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.springboot;
+package org.acme.examples.springboot;
import java.util.Random;
-import org.kie.kogito.examples.springboot.demo.Order;
+import org.acme.examples.springboot.demo.Order;
import org.springframework.stereotype.Component;
@Component
diff --git a/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/kie/kogito/examples/springboot/DemoApplication.java b/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/acme/examples/springboot/DemoApplication.java
similarity index 88%
rename from kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/kie/kogito/examples/springboot/DemoApplication.java
rename to kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/acme/examples/springboot/DemoApplication.java
index 977c3f2bb0..2f9c9294ac 100644
--- a/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/kie/kogito/examples/springboot/DemoApplication.java
+++ b/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/acme/examples/springboot/DemoApplication.java
@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.springboot;
+package org.acme.examples.springboot;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
-@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**" })
+@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**", "org.acme.**" })
public class DemoApplication {
public static void main(String[] args) {
diff --git a/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/kie/kogito/examples/springboot/demo/Order.java b/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/acme/examples/springboot/demo/Order.java
similarity index 97%
rename from kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/kie/kogito/examples/springboot/demo/Order.java
rename to kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/acme/examples/springboot/demo/Order.java
index 1a207d4f1f..467f9b2a3f 100755
--- a/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/kie/kogito/examples/springboot/demo/Order.java
+++ b/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/acme/examples/springboot/demo/Order.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.springboot.demo;
+package org.acme.examples.springboot.demo;
public class Order implements java.io.Serializable {
diff --git a/kogito-springboot-examples/process-monitoring-springboot/src/main/resources/org/acme/examples/springboot/orderItems.bpmn2 b/kogito-springboot-examples/process-monitoring-springboot/src/main/resources/org/acme/examples/springboot/orderItems.bpmn2
new file mode 100644
index 0000000000..1850ccf5e6
--- /dev/null
+++ b/kogito-springboot-examples/process-monitoring-springboot/src/main/resources/org/acme/examples/springboot/orderItems.bpmn2
@@ -0,0 +1,224 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Message_1
+ Message_2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SequenceFlow_1
+
+
+
+
+
+
+
+ SequenceFlow_4
+
+
+
+
+
+
+
+ SequenceFlow_1
+ SequenceFlow_3
+
+
+
+
+ DataInput_1
+
+
+ DataOutput_1
+
+
+
+ order
+ DataInput_1
+
+
+ DataOutput_1
+ order
+
+
+
+
+
+
+
+
+
+
+ SequenceFlow_3
+ SequenceFlow_4
+
+
+
+
+
+
+
+
+
+
+
+
+ DataInput_14
+ DataInput_15
+ DataInput_16
+ DataInput_17
+ DataInput_18
+ DataInput_19
+ DataInput_20
+ DataInput_21
+ DataInput_22
+ DataInput_23
+
+
+
+
+ DataInput_14
+
+ Verify order
+ DataInput_14
+
+
+
+ DataInput_15
+
+ 1
+ DataInput_15
+
+
+
+ DataInput_16
+
+
+ DataInput_17
+
+
+ DataInput_18
+
+
+ DataInput_19
+
+ true
+ DataInput_19
+
+
+
+ DataInput_20
+
+
+ DataInput_21
+
+ en-UK
+ DataInput_21
+
+
+
+ DataInput_22
+
+
+ order
+ DataInput_23
+
+
+
+ john
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/kogito-springboot-examples/process-monitoring-springboot/src/main/resources/org/kie/kogito/examples/springboot/orders.bpmn2 b/kogito-springboot-examples/process-monitoring-springboot/src/main/resources/org/acme/examples/springboot/orders.bpmn2
similarity index 92%
rename from kogito-springboot-examples/process-monitoring-springboot/src/main/resources/org/kie/kogito/examples/springboot/orders.bpmn2
rename to kogito-springboot-examples/process-monitoring-springboot/src/main/resources/org/acme/examples/springboot/orders.bpmn2
index 28fec2d931..3e3fa323cc 100644
--- a/kogito-springboot-examples/process-monitoring-springboot/src/main/resources/org/kie/kogito/examples/springboot/orders.bpmn2
+++ b/kogito-springboot-examples/process-monitoring-springboot/src/main/resources/org/acme/examples/springboot/orders.bpmn2
@@ -1,10 +1,10 @@
-
+
-
-
-
+
+
+
@@ -39,8 +39,8 @@
_58684613-0155-48B2-8746-7675AFF24439_8216C810-34D8-4BFA-B814-1AA01907810F
-
-
+
+ _9484CB12-FE52-434C-AE9F-3C3C267D1C96_orderInputX
diff --git a/kogito-springboot-examples/process-monitoring-springboot/src/main/resources/org/kie/kogito/examples/springboot/orderItems.bpmn2 b/kogito-springboot-examples/process-monitoring-springboot/src/main/resources/org/kie/kogito/examples/springboot/orderItems.bpmn2
deleted file mode 100644
index 494356dd04..0000000000
--- a/kogito-springboot-examples/process-monitoring-springboot/src/main/resources/org/kie/kogito/examples/springboot/orderItems.bpmn2
+++ /dev/null
@@ -1,224 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Message_1
- Message_2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SequenceFlow_1
-
-
-
-
-
-
-
- SequenceFlow_4
-
-
-
-
-
-
-
- SequenceFlow_1
- SequenceFlow_3
-
-
-
-
- DataInput_1
-
-
- DataOutput_1
-
-
-
- order
- DataInput_1
-
-
- DataOutput_1
- order
-
-
-
-
-
-
-
-
-
-
- SequenceFlow_3
- SequenceFlow_4
-
-
-
-
-
-
-
-
-
-
-
-
- DataInput_14
- DataInput_15
- DataInput_16
- DataInput_17
- DataInput_18
- DataInput_19
- DataInput_20
- DataInput_21
- DataInput_22
- DataInput_23
-
-
-
-
- DataInput_14
-
- Verify order
- DataInput_14
-
-
-
- DataInput_15
-
- 1
- DataInput_15
-
-
-
- DataInput_16
-
-
- DataInput_17
-
-
- DataInput_18
-
-
- DataInput_19
-
- true
- DataInput_19
-
-
-
- DataInput_20
-
-
- DataInput_21
-
- en-UK
- DataInput_21
-
-
-
- DataInput_22
-
-
- order
- DataInput_23
-
-
-
- john
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/kie/kogito/examples/springboot/DashboardGenerationTest.java b/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/acme/examples/springboot/DashboardGenerationTest.java
similarity index 97%
rename from kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/kie/kogito/examples/springboot/DashboardGenerationTest.java
rename to kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/acme/examples/springboot/DashboardGenerationTest.java
index abc62570ff..a571e57e85 100644
--- a/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/kie/kogito/examples/springboot/DashboardGenerationTest.java
+++ b/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/acme/examples/springboot/DashboardGenerationTest.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.examples.springboot;
+package org.acme.examples.springboot;
import java.util.List;
diff --git a/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/kie/kogito/examples/springboot/ProcessMetricsTest.java b/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/acme/examples/springboot/ProcessMetricsTest.java
similarity index 92%
rename from kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/kie/kogito/examples/springboot/ProcessMetricsTest.java
rename to kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/acme/examples/springboot/ProcessMetricsTest.java
index 67e78bfa51..e3f6fcfffd 100644
--- a/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/kie/kogito/examples/springboot/ProcessMetricsTest.java
+++ b/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/acme/examples/springboot/ProcessMetricsTest.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.examples.springboot;
+package org.acme.examples.springboot;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
@@ -106,15 +106,15 @@ public void testProcessMetricsSpringboot() {
PROJECT_ARTIFACT_ID, PROJECT_VERSION)))
.body(containsString(
String.format(
- "kogito_work_item_duration_seconds_max{artifactId=\"%s\",name=\"org.kie.kogito.examples.springboot.CalculationService_calculateTotal_3_Handler\",version=\"%s\",}",
+ "kogito_work_item_duration_seconds_max{artifactId=\"%s\",name=\"org.acme.examples.springboot.CalculationService_calculateTotal_3_Handler\",version=\"%s\",}",
PROJECT_ARTIFACT_ID, PROJECT_VERSION)))
.body(containsString(
String.format(
- "kogito_work_item_duration_seconds_count{artifactId=\"%s\",name=\"org.kie.kogito.examples.springboot.CalculationService_calculateTotal_3_Handler\",version=\"%s\",}",
+ "kogito_work_item_duration_seconds_count{artifactId=\"%s\",name=\"org.acme.examples.springboot.CalculationService_calculateTotal_3_Handler\",version=\"%s\",}",
PROJECT_ARTIFACT_ID, PROJECT_VERSION)))
.body(containsString(
String.format(
- "kogito_work_item_duration_seconds_sum{artifactId=\"%s\",name=\"org.kie.kogito.examples.springboot.CalculationService_calculateTotal_3_Handler\",version=\"%s\",}",
+ "kogito_work_item_duration_seconds_sum{artifactId=\"%s\",name=\"org.acme.examples.springboot.CalculationService_calculateTotal_3_Handler\",version=\"%s\",}",
PROJECT_ARTIFACT_ID, PROJECT_VERSION)));
}
}
diff --git a/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/kie/kogito/examples/springboot/ProjectMetadataProvider.java b/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/acme/examples/springboot/ProjectMetadataProvider.java
similarity index 97%
rename from kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/kie/kogito/examples/springboot/ProjectMetadataProvider.java
rename to kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/acme/examples/springboot/ProjectMetadataProvider.java
index 326ea6ab00..9be6cdd9d0 100644
--- a/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/kie/kogito/examples/springboot/ProjectMetadataProvider.java
+++ b/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/acme/examples/springboot/ProjectMetadataProvider.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.springboot;
+package org.acme.examples.springboot;
import java.io.IOException;
import java.util.Properties;
diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/pom.xml b/kogito-springboot-examples/process-outbox-mongodb-springboot/pom.xml
index 703fb4bcad..6d304476d3 100644
--- a/kogito-springboot-examples/process-outbox-mongodb-springboot/pom.xml
+++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/CalculationService.java b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/acme/examples/CalculationService.java
similarity index 92%
rename from kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/CalculationService.java
rename to kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/acme/examples/CalculationService.java
index d0f4303280..77ffe7c441 100644
--- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/CalculationService.java
+++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/acme/examples/CalculationService.java
@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.util.Random;
-import org.kie.kogito.examples.demo.Order;
+import org.acme.examples.demo.Order;
import org.springframework.stereotype.Component;
@Component
diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/CorsConfig.java b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/acme/examples/CorsConfig.java
similarity index 97%
rename from kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/CorsConfig.java
rename to kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/acme/examples/CorsConfig.java
index a48d7bdef4..f3bad3470d 100644
--- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/CorsConfig.java
+++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/acme/examples/CorsConfig.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/DemoApplication.java b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/acme/examples/DemoApplication.java
similarity index 96%
rename from kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/DemoApplication.java
rename to kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/acme/examples/DemoApplication.java
index ce8ce7e79d..861be09ee9 100644
--- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/DemoApplication.java
+++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/acme/examples/DemoApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/PersonValidationService.java b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/acme/examples/PersonValidationService.java
similarity index 92%
rename from kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/PersonValidationService.java
rename to kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/acme/examples/PersonValidationService.java
index af854584cb..a9896bbeb9 100644
--- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/PersonValidationService.java
+++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/acme/examples/PersonValidationService.java
@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
+import org.acme.examples.demo.Person;
import org.drools.ruleunits.api.DataSource;
import org.drools.ruleunits.api.DataStore;
import org.drools.ruleunits.api.RuleUnitData;
-import org.kie.kogito.examples.demo.Person;
public class PersonValidationService implements RuleUnitData {
private DataStore persons = DataSource.createStore();
diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/demo/Order.java b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/acme/examples/demo/Order.java
similarity index 97%
rename from kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/demo/Order.java
rename to kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/acme/examples/demo/Order.java
index 753b87aecd..5ef3a795e9 100755
--- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/demo/Order.java
+++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/acme/examples/demo/Order.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.demo;
+package org.acme.examples.demo;
public class Order implements java.io.Serializable {
diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/demo/Person.java b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/acme/examples/demo/Person.java
similarity index 97%
rename from kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/demo/Person.java
rename to kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/acme/examples/demo/Person.java
index c38f75fe3c..dad4622b65 100644
--- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/demo/Person.java
+++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/acme/examples/demo/Person.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.demo;
+package org.acme.examples.demo;
import java.io.Serializable;
diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/acme/examples/PersonValidationService.drl
similarity index 90%
rename from kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl
rename to kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/acme/examples/PersonValidationService.drl
index 81e156389c..b0b311d775 100644
--- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl
+++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/acme/examples/PersonValidationService.drl
@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples
+package org.acme.examples
unit PersonValidationService
-import org.kie.kogito.examples.demo.Person;
+import org.acme.examples.demo.Person;
rule "Is adult"
when
diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/kie/kogito/examples/orderItems.bpmn2 b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/acme/examples/orderItems.bpmn2
similarity index 96%
rename from kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/kie/kogito/examples/orderItems.bpmn2
rename to kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/acme/examples/orderItems.bpmn2
index 9a3df852b4..fe6dbd00e8 100644
--- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/kie/kogito/examples/orderItems.bpmn2
+++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/acme/examples/orderItems.bpmn2
@@ -1,7 +1,7 @@
-
+
@@ -11,9 +11,9 @@
-
+
-
+
@@ -31,15 +31,15 @@
-
+ Message_1Message_2
-
+
-
+
diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/kie/kogito/examples/orders.bpmn2 b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/acme/examples/orders.bpmn2
similarity index 93%
rename from kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/kie/kogito/examples/orders.bpmn2
rename to kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/acme/examples/orders.bpmn2
index e4e3646586..24ba45b497 100644
--- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/kie/kogito/examples/orders.bpmn2
+++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/acme/examples/orders.bpmn2
@@ -1,10 +1,10 @@
-
+
-
-
-
+
+
+
@@ -39,8 +39,8 @@
_58684613-0155-48B2-8746-7675AFF24439_8216C810-34D8-4BFA-B814-1AA01907810F
-
-
+
+ _9484CB12-FE52-434C-AE9F-3C3C267D1C96_orderInputX
diff --git a/kogito-springboot-examples/process-springboot-example/src/main/resources/org/kie/kogito/examples/persons.bpmn2 b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/acme/examples/persons.bpmn2
similarity index 93%
rename from kogito-springboot-examples/process-springboot-example/src/main/resources/org/kie/kogito/examples/persons.bpmn2
rename to kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/acme/examples/persons.bpmn2
index 70a41e3cc5..5deac40f48 100644
--- a/kogito-springboot-examples/process-springboot-example/src/main/resources/org/kie/kogito/examples/persons.bpmn2
+++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/acme/examples/persons.bpmn2
@@ -1,5 +1,5 @@
-
+
@@ -12,13 +12,13 @@
-
+
-
-
-
+
+
+
@@ -37,7 +37,7 @@
SequenceFlow_1
-
+
@@ -46,8 +46,8 @@
SequenceFlow_1SequenceFlow_2
-
-
+
+ BusinessRuleTask_1_personsInputX
@@ -84,7 +84,7 @@
SequenceFlow_4
-
+
diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/java/org/kie/kogito/springboot/outbox/OutboxIT.java b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/java/org/acme/springboot/outbox/OutboxIT.java
similarity index 99%
rename from kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/java/org/kie/kogito/springboot/outbox/OutboxIT.java
rename to kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/java/org/acme/springboot/outbox/OutboxIT.java
index 0d476bce81..b0962113f9 100644
--- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/java/org/kie/kogito/springboot/outbox/OutboxIT.java
+++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/java/org/acme/springboot/outbox/OutboxIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.springboot.outbox;
+package org.acme.springboot.outbox;
import java.nio.file.Path;
import java.nio.file.Paths;
diff --git a/kogito-springboot-examples/process-performance-springboot/README.md b/kogito-springboot-examples/process-performance-springboot/README.md
index 3dae359665..7d7aa3dc87 100644
--- a/kogito-springboot-examples/process-performance-springboot/README.md
+++ b/kogito-springboot-examples/process-performance-springboot/README.md
@@ -49,5 +49,5 @@ java -jar target/process-performance-springboot.jar
## Example Usage
-Once the service is up and running, to collect throughput numbers you need to manually change parameters in code of, compile and run class ```org.kie.kogito.performance.client.MainRunner``` in process-performace-client project
+Once the service is up and running, to collect throughput numbers you need to manually change parameters in code of, compile and run class ```org.acme.performance.client.MainRunner``` in process-performace-client project
diff --git a/kogito-springboot-examples/process-performance-springboot/pom.xml b/kogito-springboot-examples/process-performance-springboot/pom.xml
index 2c3f44867b..8d919a2447 100755
--- a/kogito-springboot-examples/process-performance-springboot/pom.xml
+++ b/kogito-springboot-examples/process-performance-springboot/pom.xml
@@ -5,7 +5,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-performance-springboot/src/main/java/org/kie/kogito/tests/KogitoPerformanceSpringbootApplication.java b/kogito-springboot-examples/process-performance-springboot/src/main/java/org/acme/tests/KogitoPerformanceSpringbootApplication.java
similarity index 97%
rename from kogito-springboot-examples/process-performance-springboot/src/main/java/org/kie/kogito/tests/KogitoPerformanceSpringbootApplication.java
rename to kogito-springboot-examples/process-performance-springboot/src/main/java/org/acme/tests/KogitoPerformanceSpringbootApplication.java
index eefdb3ab8a..6aea7642fb 100644
--- a/kogito-springboot-examples/process-performance-springboot/src/main/java/org/kie/kogito/tests/KogitoPerformanceSpringbootApplication.java
+++ b/kogito-springboot-examples/process-performance-springboot/src/main/java/org/acme/tests/KogitoPerformanceSpringbootApplication.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.tests;
+package org.acme.tests;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
diff --git a/kogito-quarkus-examples/process-performance-quarkus/src/main/resources/org/kie/kogito/examples/kafkaTest.bpmn2 b/kogito-springboot-examples/process-performance-springboot/src/main/resources/org/acme/examples/kafkaTest.bpmn2
similarity index 97%
rename from kogito-quarkus-examples/process-performance-quarkus/src/main/resources/org/kie/kogito/examples/kafkaTest.bpmn2
rename to kogito-springboot-examples/process-performance-springboot/src/main/resources/org/acme/examples/kafkaTest.bpmn2
index 16c544ffe6..2b6e9462cc 100644
--- a/kogito-quarkus-examples/process-performance-quarkus/src/main/resources/org/kie/kogito/examples/kafkaTest.bpmn2
+++ b/kogito-springboot-examples/process-performance-springboot/src/main/resources/org/acme/examples/kafkaTest.bpmn2
@@ -6,7 +6,7 @@
-
+
diff --git a/kogito-springboot-examples/process-performance-springboot/src/main/resources/org/kie/kogito/examples/kafkaTestOtherChannel.bpmn2 b/kogito-springboot-examples/process-performance-springboot/src/main/resources/org/acme/examples/kafkaTestOtherChannel.bpmn2
similarity index 98%
rename from kogito-springboot-examples/process-performance-springboot/src/main/resources/org/kie/kogito/examples/kafkaTestOtherChannel.bpmn2
rename to kogito-springboot-examples/process-performance-springboot/src/main/resources/org/acme/examples/kafkaTestOtherChannel.bpmn2
index 4ce9c94cf6..64d28cd66b 100644
--- a/kogito-springboot-examples/process-performance-springboot/src/main/resources/org/kie/kogito/examples/kafkaTestOtherChannel.bpmn2
+++ b/kogito-springboot-examples/process-performance-springboot/src/main/resources/org/acme/examples/kafkaTestOtherChannel.bpmn2
@@ -6,7 +6,7 @@
-
+
diff --git a/kogito-quarkus-examples/process-performance-quarkus/src/main/resources/org/kie/kogito/examples/test.bpmn2 b/kogito-springboot-examples/process-performance-springboot/src/main/resources/org/acme/examples/test.bpmn2
similarity index 97%
rename from kogito-quarkus-examples/process-performance-quarkus/src/main/resources/org/kie/kogito/examples/test.bpmn2
rename to kogito-springboot-examples/process-performance-springboot/src/main/resources/org/acme/examples/test.bpmn2
index d41e777321..685f9246d6 100644
--- a/kogito-quarkus-examples/process-performance-quarkus/src/main/resources/org/kie/kogito/examples/test.bpmn2
+++ b/kogito-springboot-examples/process-performance-springboot/src/main/resources/org/acme/examples/test.bpmn2
@@ -3,7 +3,7 @@
-
+
diff --git a/kogito-springboot-examples/process-postgresql-persistence-springboot/pom.xml b/kogito-springboot-examples/process-postgresql-persistence-springboot/pom.xml
index b64ac9d404..492390225c 100644
--- a/kogito-springboot-examples/process-postgresql-persistence-springboot/pom.xml
+++ b/kogito-springboot-examples/process-postgresql-persistence-springboot/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-rest-service-call-springboot/mvnw b/kogito-springboot-examples/process-rest-service-call-springboot/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-springboot-examples/process-rest-service-call-springboot/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-springboot-examples/process-rest-service-call-springboot/mvnw.cmd b/kogito-springboot-examples/process-rest-service-call-springboot/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-springboot-examples/process-rest-service-call-springboot/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-springboot-examples/process-rest-service-call-springboot/pom.xml b/kogito-springboot-examples/process-rest-service-call-springboot/pom.xml
index 21ffc3289e..16fe3ae854 100644
--- a/kogito-springboot-examples/process-rest-service-call-springboot/pom.xml
+++ b/kogito-springboot-examples/process-rest-service-call-springboot/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java b/kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
similarity index 97%
rename from kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java
rename to kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
index 5119aa965b..9f1becb753 100644
--- a/kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java
+++ b/kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.tests;
+package org.acme.tests;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
diff --git a/kogito-springboot-examples/process-rest-service-call-springboot/src/test/java/org/acme/travels/springboot/UsersProcessTest.java b/kogito-springboot-examples/process-rest-service-call-springboot/src/test/java/org/acme/travels/springboot/UsersProcessTest.java
index ea1d5dd0f9..916804c441 100644
--- a/kogito-springboot-examples/process-rest-service-call-springboot/src/test/java/org/acme/travels/springboot/UsersProcessTest.java
+++ b/kogito-springboot-examples/process-rest-service-call-springboot/src/test/java/org/acme/travels/springboot/UsersProcessTest.java
@@ -18,13 +18,13 @@
import java.util.HashMap;
import java.util.Map;
+import org.acme.tests.KogitoInfinispanSpringbootApplication;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.kie.kogito.Model;
import org.kie.kogito.process.Process;
import org.kie.kogito.process.ProcessInstance;
-import org.kie.kogito.tests.KogitoInfinispanSpringbootApplication;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.test.context.SpringBootTest;
diff --git a/kogito-springboot-examples/process-scripts-springboot/mvnw b/kogito-springboot-examples/process-scripts-springboot/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-springboot-examples/process-scripts-springboot/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-springboot-examples/process-scripts-springboot/mvnw.cmd b/kogito-springboot-examples/process-scripts-springboot/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-springboot-examples/process-scripts-springboot/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-springboot-examples/process-scripts-springboot/pom.xml b/kogito-springboot-examples/process-scripts-springboot/pom.xml
index 1dfd2631dc..922772612d 100644
--- a/kogito-springboot-examples/process-scripts-springboot/pom.xml
+++ b/kogito-springboot-examples/process-scripts-springboot/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java b/kogito-springboot-examples/process-scripts-springboot/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
similarity index 97%
rename from kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java
rename to kogito-springboot-examples/process-scripts-springboot/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
index 7b2daaca72..9db95ac9d5 100644
--- a/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java
+++ b/kogito-springboot-examples/process-scripts-springboot/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.tests;
+package org.acme.tests;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
diff --git a/kogito-springboot-examples/process-scripts-springboot/src/test/java/org/acme/travels/springboot/ScriptsProcessTest.java b/kogito-springboot-examples/process-scripts-springboot/src/test/java/org/acme/travels/springboot/ScriptsProcessTest.java
index e756dce13f..2734f261ae 100644
--- a/kogito-springboot-examples/process-scripts-springboot/src/test/java/org/acme/travels/springboot/ScriptsProcessTest.java
+++ b/kogito-springboot-examples/process-scripts-springboot/src/test/java/org/acme/travels/springboot/ScriptsProcessTest.java
@@ -18,12 +18,12 @@
import java.util.HashMap;
import java.util.Map;
+import org.acme.tests.KogitoInfinispanSpringbootApplication;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.kie.kogito.Model;
import org.kie.kogito.process.Process;
import org.kie.kogito.process.ProcessInstance;
-import org.kie.kogito.tests.KogitoInfinispanSpringbootApplication;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.test.context.SpringBootTest;
diff --git a/kogito-springboot-examples/process-service-calls-springboot/mvnw b/kogito-springboot-examples/process-service-calls-springboot/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-springboot-examples/process-service-calls-springboot/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-springboot-examples/process-service-calls-springboot/mvnw.cmd b/kogito-springboot-examples/process-service-calls-springboot/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-springboot-examples/process-service-calls-springboot/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-springboot-examples/process-service-calls-springboot/pom.xml b/kogito-springboot-examples/process-service-calls-springboot/pom.xml
index b689418ad1..b25159f7d9 100644
--- a/kogito-springboot-examples/process-service-calls-springboot/pom.xml
+++ b/kogito-springboot-examples/process-service-calls-springboot/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-scripts-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java b/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
similarity index 97%
rename from kogito-springboot-examples/process-scripts-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java
rename to kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
index 7b2daaca72..9db95ac9d5 100644
--- a/kogito-springboot-examples/process-scripts-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java
+++ b/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.tests;
+package org.acme.tests;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
diff --git a/kogito-springboot-examples/process-service-calls-springboot/src/test/java/org/acme/travels/springboot/MultiParamServiceProcessTest.java b/kogito-springboot-examples/process-service-calls-springboot/src/test/java/org/acme/travels/springboot/MultiParamServiceProcessTest.java
index 378e76aa4b..7ec4a89435 100644
--- a/kogito-springboot-examples/process-service-calls-springboot/src/test/java/org/acme/travels/springboot/MultiParamServiceProcessTest.java
+++ b/kogito-springboot-examples/process-service-calls-springboot/src/test/java/org/acme/travels/springboot/MultiParamServiceProcessTest.java
@@ -18,12 +18,12 @@
import java.util.HashMap;
import java.util.Map;
+import org.acme.tests.KogitoInfinispanSpringbootApplication;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.kie.kogito.Model;
import org.kie.kogito.process.Process;
import org.kie.kogito.process.ProcessInstance;
-import org.kie.kogito.tests.KogitoInfinispanSpringbootApplication;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.test.context.SpringBootTest;
diff --git a/kogito-springboot-examples/process-service-calls-springboot/src/test/java/org/acme/travels/springboot/TravellersProcessTest.java b/kogito-springboot-examples/process-service-calls-springboot/src/test/java/org/acme/travels/springboot/TravellersProcessTest.java
index 158bbfdd6f..4a6d41ccd9 100644
--- a/kogito-springboot-examples/process-service-calls-springboot/src/test/java/org/acme/travels/springboot/TravellersProcessTest.java
+++ b/kogito-springboot-examples/process-service-calls-springboot/src/test/java/org/acme/travels/springboot/TravellersProcessTest.java
@@ -18,12 +18,12 @@
import java.util.HashMap;
import java.util.Map;
+import org.acme.tests.KogitoInfinispanSpringbootApplication;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.kie.kogito.Model;
import org.kie.kogito.process.Process;
import org.kie.kogito.process.ProcessInstance;
-import org.kie.kogito.tests.KogitoInfinispanSpringbootApplication;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.test.context.SpringBootTest;
diff --git a/kogito-springboot-examples/process-springboot-example/mvnw b/kogito-springboot-examples/process-springboot-example/mvnw
deleted file mode 100755
index 5551fde8e7..0000000000
--- a/kogito-springboot-examples/process-springboot-example/mvnw
+++ /dev/null
@@ -1,286 +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)`"
- # TODO classpath?
-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
- jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2/maven-wrapper-0.4.2.jar"
- 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 command -v wget > /dev/null; then
- if [ "$MVNW_VERBOSE" = true ]; then
- echo "Found wget ... using wget"
- fi
- wget "$jarUrl" -O "$wrapperJarPath"
- elif command -v curl > /dev/null; then
- if [ "$MVNW_VERBOSE" = true ]; then
- echo "Found curl ... using curl"
- fi
- curl -o "$wrapperJarPath" "$jarUrl"
- else
- if [ "$MVNW_VERBOSE" = true ]; then
- echo "Falling back to using Java to download"
- fi
- javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java"
- 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
-
-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-springboot-examples/process-springboot-example/mvnw.cmd b/kogito-springboot-examples/process-springboot-example/mvnw.cmd
deleted file mode 100644
index e5cfb0ae9e..0000000000
--- a/kogito-springboot-examples/process-springboot-example/mvnw.cmd
+++ /dev/null
@@ -1,161 +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 my 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.4.2/maven-wrapper-0.4.2.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% (
- echo Found %WRAPPER_JAR%
-) else (
- echo Couldn't find %WRAPPER_JAR%, downloading it ...
- echo Downloading from: %DOWNLOAD_URL%
- powershell -Command "(New-Object Net.WebClient).DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"
- echo Finished downloading %WRAPPER_JAR%
-)
-@REM End of extension
-
-%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-springboot-examples/process-springboot-example/pom.xml b/kogito-springboot-examples/process-springboot-example/pom.xml
index 4ba2e55543..f71d593f93 100644
--- a/kogito-springboot-examples/process-springboot-example/pom.xml
+++ b/kogito-springboot-examples/process-springboot-example/pom.xml
@@ -4,13 +4,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOTprocess-springboot-example
- Kogito Example :: Process and Spring Boot
+ Kogito Example :: Process Spring Boot ExampleOrder management service
diff --git a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/CalculationService.java b/kogito-springboot-examples/process-springboot-example/src/main/java/org/acme/examples/CalculationService.java
similarity index 92%
rename from kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/CalculationService.java
rename to kogito-springboot-examples/process-springboot-example/src/main/java/org/acme/examples/CalculationService.java
index ee2d725f59..2382ab4b33 100644
--- a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/CalculationService.java
+++ b/kogito-springboot-examples/process-springboot-example/src/main/java/org/acme/examples/CalculationService.java
@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.util.Random;
-import org.kie.kogito.examples.demo.Order;
+import org.acme.examples.demo.Order;
import org.springframework.stereotype.Component;
@Component
diff --git a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/CorsConfig.java b/kogito-springboot-examples/process-springboot-example/src/main/java/org/acme/examples/CorsConfig.java
similarity index 97%
rename from kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/CorsConfig.java
rename to kogito-springboot-examples/process-springboot-example/src/main/java/org/acme/examples/CorsConfig.java
index e195a6542b..f28e58cfbd 100644
--- a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/CorsConfig.java
+++ b/kogito-springboot-examples/process-springboot-example/src/main/java/org/acme/examples/CorsConfig.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
diff --git a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/DemoApplication.java b/kogito-springboot-examples/process-springboot-example/src/main/java/org/acme/examples/DemoApplication.java
similarity index 96%
rename from kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/DemoApplication.java
rename to kogito-springboot-examples/process-springboot-example/src/main/java/org/acme/examples/DemoApplication.java
index 3c920b37ab..0b0894580e 100644
--- a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/DemoApplication.java
+++ b/kogito-springboot-examples/process-springboot-example/src/main/java/org/acme/examples/DemoApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
diff --git a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/KafkaConfig.java b/kogito-springboot-examples/process-springboot-example/src/main/java/org/acme/examples/KafkaConfig.java
similarity index 96%
rename from kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/KafkaConfig.java
rename to kogito-springboot-examples/process-springboot-example/src/main/java/org/acme/examples/KafkaConfig.java
index eda9eb3dbf..cba1b68ff7 100644
--- a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/KafkaConfig.java
+++ b/kogito-springboot-examples/process-springboot-example/src/main/java/org/acme/examples/KafkaConfig.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Configuration;
diff --git a/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/PersonValidationService.java b/kogito-springboot-examples/process-springboot-example/src/main/java/org/acme/examples/PersonValidationService.java
similarity index 92%
rename from kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/PersonValidationService.java
rename to kogito-springboot-examples/process-springboot-example/src/main/java/org/acme/examples/PersonValidationService.java
index 1601506f70..c6bc848a17 100644
--- a/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/PersonValidationService.java
+++ b/kogito-springboot-examples/process-springboot-example/src/main/java/org/acme/examples/PersonValidationService.java
@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
+import org.acme.examples.demo.Person;
import org.drools.ruleunits.api.DataSource;
import org.drools.ruleunits.api.DataStore;
import org.drools.ruleunits.api.RuleUnitData;
-import org.kie.kogito.examples.demo.Person;
public class PersonValidationService implements RuleUnitData {
private DataStore persons = DataSource.createStore();
diff --git a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/demo/Order.java b/kogito-springboot-examples/process-springboot-example/src/main/java/org/acme/examples/demo/Order.java
similarity index 97%
rename from kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/demo/Order.java
rename to kogito-springboot-examples/process-springboot-example/src/main/java/org/acme/examples/demo/Order.java
index de8b4fb8f2..ad88b5f75b 100755
--- a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/demo/Order.java
+++ b/kogito-springboot-examples/process-springboot-example/src/main/java/org/acme/examples/demo/Order.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.demo;
+package org.acme.examples.demo;
public class Order implements java.io.Serializable {
diff --git a/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/demo/Person.java b/kogito-springboot-examples/process-springboot-example/src/main/java/org/acme/examples/demo/Person.java
similarity index 97%
rename from kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/demo/Person.java
rename to kogito-springboot-examples/process-springboot-example/src/main/java/org/acme/examples/demo/Person.java
index 4ce2cb03d7..3bcbe19953 100644
--- a/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/demo/Person.java
+++ b/kogito-springboot-examples/process-springboot-example/src/main/java/org/acme/examples/demo/Person.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.demo;
+package org.acme.examples.demo;
import java.io.Serializable;
diff --git a/kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl b/kogito-springboot-examples/process-springboot-example/src/main/resources/org/acme/examples/PersonValidationService.drl
similarity index 90%
rename from kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl
rename to kogito-springboot-examples/process-springboot-example/src/main/resources/org/acme/examples/PersonValidationService.drl
index c78f0bc31b..bb86aec170 100644
--- a/kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl
+++ b/kogito-springboot-examples/process-springboot-example/src/main/resources/org/acme/examples/PersonValidationService.drl
@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples
+package org.acme.examples
unit PersonValidationService
-import org.kie.kogito.examples.demo.Person;
+import org.acme.examples.demo.Person;
rule "Is adult"
when
diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/kie/kogito/examples/orderItems.bpmn2 b/kogito-springboot-examples/process-springboot-example/src/main/resources/org/acme/examples/orderItems.bpmn2
similarity index 96%
rename from kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/kie/kogito/examples/orderItems.bpmn2
rename to kogito-springboot-examples/process-springboot-example/src/main/resources/org/acme/examples/orderItems.bpmn2
index 9a3df852b4..fe6dbd00e8 100644
--- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/kie/kogito/examples/orderItems.bpmn2
+++ b/kogito-springboot-examples/process-springboot-example/src/main/resources/org/acme/examples/orderItems.bpmn2
@@ -1,7 +1,7 @@
-
+
@@ -11,9 +11,9 @@
-
+
-
+
@@ -31,15 +31,15 @@
-
+ Message_1Message_2
-
+
-
+
diff --git a/kogito-springboot-examples/process-springboot-example/src/main/resources/org/kie/kogito/examples/orders.bpmn2 b/kogito-springboot-examples/process-springboot-example/src/main/resources/org/acme/examples/orders.bpmn2
similarity index 93%
rename from kogito-springboot-examples/process-springboot-example/src/main/resources/org/kie/kogito/examples/orders.bpmn2
rename to kogito-springboot-examples/process-springboot-example/src/main/resources/org/acme/examples/orders.bpmn2
index e4e3646586..24ba45b497 100644
--- a/kogito-springboot-examples/process-springboot-example/src/main/resources/org/kie/kogito/examples/orders.bpmn2
+++ b/kogito-springboot-examples/process-springboot-example/src/main/resources/org/acme/examples/orders.bpmn2
@@ -1,10 +1,10 @@
-
+
-
-
-
+
+
+
@@ -39,8 +39,8 @@
_58684613-0155-48B2-8746-7675AFF24439_8216C810-34D8-4BFA-B814-1AA01907810F
-
-
+
+ _9484CB12-FE52-434C-AE9F-3C3C267D1C96_orderInputX
diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/kie/kogito/examples/persons.bpmn2 b/kogito-springboot-examples/process-springboot-example/src/main/resources/org/acme/examples/persons.bpmn2
similarity index 93%
rename from kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/kie/kogito/examples/persons.bpmn2
rename to kogito-springboot-examples/process-springboot-example/src/main/resources/org/acme/examples/persons.bpmn2
index 70a41e3cc5..5deac40f48 100644
--- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/kie/kogito/examples/persons.bpmn2
+++ b/kogito-springboot-examples/process-springboot-example/src/main/resources/org/acme/examples/persons.bpmn2
@@ -1,5 +1,5 @@
-
+
@@ -12,13 +12,13 @@
-
+
-
-
-
+
+
+
@@ -37,7 +37,7 @@
SequenceFlow_1
-
+
@@ -46,8 +46,8 @@
SequenceFlow_1SequenceFlow_2
-
-
+
+ BusinessRuleTask_1_personsInputX
@@ -84,7 +84,7 @@
SequenceFlow_4
-
+
diff --git a/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/OrdersProcessIT.java b/kogito-springboot-examples/process-springboot-example/src/test/java/org/acme/examples/demo/OrdersProcessIT.java
similarity index 98%
rename from kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/OrdersProcessIT.java
rename to kogito-springboot-examples/process-springboot-example/src/test/java/org/acme/examples/demo/OrdersProcessIT.java
index 571d13c8f1..12d714f7a6 100644
--- a/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/OrdersProcessIT.java
+++ b/kogito-springboot-examples/process-springboot-example/src/test/java/org/acme/examples/demo/OrdersProcessIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.demo;
+package org.acme.examples.demo;
import java.util.Collections;
import java.util.HashMap;
@@ -21,12 +21,12 @@
import java.util.Map;
import java.util.Optional;
+import org.acme.examples.DemoApplication;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.kie.kogito.Model;
import org.kie.kogito.auth.IdentityProviders;
import org.kie.kogito.auth.SecurityPolicy;
-import org.kie.kogito.examples.DemoApplication;
import org.kie.kogito.process.Process;
import org.kie.kogito.process.ProcessInstance;
import org.kie.kogito.process.ProcessInstances;
diff --git a/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/OrdersRestIT.java b/kogito-springboot-examples/process-springboot-example/src/test/java/org/acme/examples/demo/OrdersRestIT.java
similarity index 99%
rename from kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/OrdersRestIT.java
rename to kogito-springboot-examples/process-springboot-example/src/test/java/org/acme/examples/demo/OrdersRestIT.java
index 975926ef57..98b2da5b36 100644
--- a/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/OrdersRestIT.java
+++ b/kogito-springboot-examples/process-springboot-example/src/test/java/org/acme/examples/demo/OrdersRestIT.java
@@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.demo;
+package org.acme.examples.demo;
+import org.acme.examples.DemoApplication;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.kie.kogito.Model;
-import org.kie.kogito.examples.DemoApplication;
import org.kie.kogito.process.Process;
import org.kie.kogito.testcontainers.springboot.InfinispanSpringBootTestResource;
import org.kie.kogito.testcontainers.springboot.KafkaSpringBootTestResource;
diff --git a/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/PersonProcessIT.java b/kogito-springboot-examples/process-springboot-example/src/test/java/org/acme/examples/demo/PersonProcessIT.java
similarity index 98%
rename from kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/PersonProcessIT.java
rename to kogito-springboot-examples/process-springboot-example/src/test/java/org/acme/examples/demo/PersonProcessIT.java
index ba6d39c55e..5a90c4e3eb 100644
--- a/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/PersonProcessIT.java
+++ b/kogito-springboot-examples/process-springboot-example/src/test/java/org/acme/examples/demo/PersonProcessIT.java
@@ -13,19 +13,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.demo;
+package org.acme.examples.demo;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
+import org.acme.examples.DemoApplication;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.kie.kogito.Model;
import org.kie.kogito.auth.IdentityProviders;
import org.kie.kogito.auth.SecurityPolicy;
-import org.kie.kogito.examples.DemoApplication;
import org.kie.kogito.process.Process;
import org.kie.kogito.process.ProcessInstance;
import org.kie.kogito.process.WorkItem;
diff --git a/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/PersonsRestIT.java b/kogito-springboot-examples/process-springboot-example/src/test/java/org/acme/examples/demo/PersonsRestIT.java
similarity index 99%
rename from kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/PersonsRestIT.java
rename to kogito-springboot-examples/process-springboot-example/src/test/java/org/acme/examples/demo/PersonsRestIT.java
index ca00f4a9bd..59cf8c25e9 100644
--- a/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/PersonsRestIT.java
+++ b/kogito-springboot-examples/process-springboot-example/src/test/java/org/acme/examples/demo/PersonsRestIT.java
@@ -13,14 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.demo;
+package org.acme.examples.demo;
+import org.acme.examples.DemoApplication;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
import org.junit.jupiter.api.extension.ExtendWith;
import org.kie.kogito.Model;
-import org.kie.kogito.examples.DemoApplication;
import org.kie.kogito.process.Process;
import org.kie.kogito.testcontainers.springboot.InfinispanSpringBootTestResource;
import org.kie.kogito.testcontainers.springboot.KafkaSpringBootTestResource;
diff --git a/kogito-springboot-examples/process-timer-springboot/mvnw b/kogito-springboot-examples/process-timer-springboot/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-springboot-examples/process-timer-springboot/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-springboot-examples/process-timer-springboot/mvnw.cmd b/kogito-springboot-examples/process-timer-springboot/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-springboot-examples/process-timer-springboot/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-springboot-examples/process-timer-springboot/pom.xml b/kogito-springboot-examples/process-timer-springboot/pom.xml
index 00b0b708b6..17e5bb8c6b 100644
--- a/kogito-springboot-examples/process-timer-springboot/pom.xml
+++ b/kogito-springboot-examples/process-timer-springboot/pom.xml
@@ -2,7 +2,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-timer-springboot/src/main/java/org/kie/kogito/tests/KogitoApplication.java b/kogito-springboot-examples/process-timer-springboot/src/main/java/org/acme/tests/KogitoApplication.java
similarity index 97%
rename from kogito-springboot-examples/process-timer-springboot/src/main/java/org/kie/kogito/tests/KogitoApplication.java
rename to kogito-springboot-examples/process-timer-springboot/src/main/java/org/acme/tests/KogitoApplication.java
index 87059ca4cc..ec41206292 100644
--- a/kogito-springboot-examples/process-timer-springboot/src/main/java/org/kie/kogito/tests/KogitoApplication.java
+++ b/kogito-springboot-examples/process-timer-springboot/src/main/java/org/acme/tests/KogitoApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.tests;
+package org.acme.tests;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
diff --git a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/mvnw b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/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-springboot-examples/process-usertasks-custom-lifecycle-springboot/mvnw.cmd b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/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-springboot-examples/process-usertasks-custom-lifecycle-springboot/pom.xml b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/pom.xml
index 8a3914d269..80762333b2 100644
--- a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/pom.xml
+++ b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
similarity index 97%
rename from kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java
rename to kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
index 7b2daaca72..9db95ac9d5 100644
--- a/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java
+++ b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.tests;
+package org.acme.tests;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
diff --git a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/test/java/org/acme/travels/custom/lifecycle/springboot/ApprovalsProcessTest.java b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/test/java/org/acme/travels/custom/lifecycle/springboot/ApprovalsProcessTest.java
index b34a2db34d..236bd679cb 100644
--- a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/test/java/org/acme/travels/custom/lifecycle/springboot/ApprovalsProcessTest.java
+++ b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/test/java/org/acme/travels/custom/lifecycle/springboot/ApprovalsProcessTest.java
@@ -20,6 +20,7 @@
import java.util.List;
import java.util.Map;
+import org.acme.tests.KogitoInfinispanSpringbootApplication;
import org.acme.travels.Address;
import org.acme.travels.Traveller;
import org.acme.travels.usertasks.Start;
@@ -35,7 +36,6 @@
import org.kie.kogito.process.ProcessInstance;
import org.kie.kogito.process.WorkItem;
import org.kie.kogito.process.workitem.InvalidTransitionException;
-import org.kie.kogito.tests.KogitoInfinispanSpringbootApplication;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.test.context.SpringBootTest;
diff --git a/kogito-springboot-examples/process-usertasks-springboot-with-console/pom.xml b/kogito-springboot-examples/process-usertasks-springboot-with-console/pom.xml
index 7b1859a5ff..0d4794db63 100644
--- a/kogito-springboot-examples/process-usertasks-springboot-with-console/pom.xml
+++ b/kogito-springboot-examples/process-usertasks-springboot-with-console/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/kie/kogito/tests/CorsConfig.java b/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/acme/tests/CorsConfig.java
similarity index 98%
rename from kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/kie/kogito/tests/CorsConfig.java
rename to kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/acme/tests/CorsConfig.java
index 3de49bf1ff..95b1a088ce 100644
--- a/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/kie/kogito/tests/CorsConfig.java
+++ b/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/acme/tests/CorsConfig.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.tests;
+package org.acme.tests;
import java.util.Arrays;
diff --git a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java b/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
similarity index 97%
rename from kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java
rename to kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
index 7b2daaca72..9db95ac9d5 100644
--- a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java
+++ b/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.tests;
+package org.acme.tests;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
diff --git a/kogito-springboot-examples/process-usertasks-springboot-with-console/src/test/java/org/acme/travels/ApprovalsTestIT.java b/kogito-springboot-examples/process-usertasks-springboot-with-console/src/test/java/org/acme/travels/ApprovalsTestIT.java
index 8ffe2a5cd1..d789ccbd44 100644
--- a/kogito-springboot-examples/process-usertasks-springboot-with-console/src/test/java/org/acme/travels/ApprovalsTestIT.java
+++ b/kogito-springboot-examples/process-usertasks-springboot-with-console/src/test/java/org/acme/travels/ApprovalsTestIT.java
@@ -20,6 +20,7 @@
import java.util.List;
import java.util.Map;
+import org.acme.tests.KogitoInfinispanSpringbootApplication;
import org.jbpm.process.instance.impl.humantask.HumanTaskTransition;
import org.jbpm.process.instance.impl.humantask.phases.Claim;
import org.jbpm.process.instance.impl.workitem.Complete;
@@ -32,7 +33,6 @@
import org.kie.kogito.process.ProcessInstance;
import org.kie.kogito.process.WorkItem;
import org.kie.kogito.testcontainers.springboot.InfinispanSpringBootTestResource;
-import org.kie.kogito.tests.KogitoInfinispanSpringbootApplication;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.test.context.SpringBootTest;
diff --git a/kogito-springboot-examples/process-usertasks-springboot/mvnw b/kogito-springboot-examples/process-usertasks-springboot/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-springboot-examples/process-usertasks-springboot/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-springboot-examples/process-usertasks-springboot/mvnw.cmd b/kogito-springboot-examples/process-usertasks-springboot/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-springboot-examples/process-usertasks-springboot/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-springboot-examples/process-usertasks-springboot/pom.xml b/kogito-springboot-examples/process-usertasks-springboot/pom.xml
index 0261a5c95a..e55c40b73e 100644
--- a/kogito-springboot-examples/process-usertasks-springboot/pom.xml
+++ b/kogito-springboot-examples/process-usertasks-springboot/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-usertasks-springboot/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java b/kogito-springboot-examples/process-usertasks-springboot/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
new file mode 100644
index 0000000000..9db95ac9d5
--- /dev/null
+++ b/kogito-springboot-examples/process-usertasks-springboot/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
@@ -0,0 +1,28 @@
+/*
+ * Copyright 2020 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed 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.
+ */
+package org.acme.tests;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**", "org.acme.travels.**" })
+public class KogitoInfinispanSpringbootApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(KogitoInfinispanSpringbootApplication.class, args);
+ }
+
+}
diff --git a/kogito-springboot-examples/process-usertasks-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java b/kogito-springboot-examples/process-usertasks-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java
deleted file mode 100644
index 7b2daaca72..0000000000
--- a/kogito-springboot-examples/process-usertasks-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright 2020 Red Hat, Inc. and/or its affiliates.
- *
- * Licensed 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.
- */
-package org.kie.kogito.tests;
-
-import org.springframework.boot.SpringApplication;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-
-@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**", "org.acme.travels.**" })
-public class KogitoInfinispanSpringbootApplication {
-
- public static void main(String[] args) {
- SpringApplication.run(KogitoInfinispanSpringbootApplication.class, args);
- }
-
-}
diff --git a/kogito-springboot-examples/process-usertasks-springboot/src/test/java/org/acme/travels/springboot/ApprovalsProcessTest.java b/kogito-springboot-examples/process-usertasks-springboot/src/test/java/org/acme/travels/springboot/ApprovalsProcessTest.java
index 5c89d73dfc..963e2c64b4 100644
--- a/kogito-springboot-examples/process-usertasks-springboot/src/test/java/org/acme/travels/springboot/ApprovalsProcessTest.java
+++ b/kogito-springboot-examples/process-usertasks-springboot/src/test/java/org/acme/travels/springboot/ApprovalsProcessTest.java
@@ -20,6 +20,7 @@
import java.util.List;
import java.util.Map;
+import org.acme.tests.KogitoInfinispanSpringbootApplication;
import org.acme.travels.Address;
import org.acme.travels.Traveller;
import org.jbpm.process.instance.impl.humantask.HumanTaskTransition;
@@ -33,7 +34,6 @@
import org.kie.kogito.process.Process;
import org.kie.kogito.process.ProcessInstance;
import org.kie.kogito.process.WorkItem;
-import org.kie.kogito.tests.KogitoInfinispanSpringbootApplication;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.test.context.SpringBootTest;
diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/pom.xml b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/pom.xml
index 5eb4ea4ffc..ddcea61146 100644
--- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/pom.xml
+++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/CorsConfig.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/acme/springboot/CorsConfig.java
similarity index 97%
rename from kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/CorsConfig.java
rename to kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/acme/springboot/CorsConfig.java
index 9c7aba87e6..79450a805a 100644
--- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/CorsConfig.java
+++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/acme/springboot/CorsConfig.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.springboot;
+package org.acme.springboot;
import java.util.Arrays;
diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/DefaultWebSecurityConfig.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/acme/springboot/DefaultWebSecurityConfig.java
similarity index 98%
rename from kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/DefaultWebSecurityConfig.java
rename to kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/acme/springboot/DefaultWebSecurityConfig.java
index d72bb6a176..e6edd163e7 100644
--- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/DefaultWebSecurityConfig.java
+++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/acme/springboot/DefaultWebSecurityConfig.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.springboot;
+package org.acme.springboot;
import org.keycloak.adapters.springsecurity.KeycloakConfiguration;
import org.keycloak.adapters.springsecurity.KeycloakSecurityComponents;
diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/KeycloakResolverConfig.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/acme/springboot/KeycloakResolverConfig.java
similarity index 96%
rename from kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/KeycloakResolverConfig.java
rename to kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/acme/springboot/KeycloakResolverConfig.java
index add510733f..d94b010718 100644
--- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/KeycloakResolverConfig.java
+++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/acme/springboot/KeycloakResolverConfig.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.springboot;
+package org.acme.springboot;
import org.keycloak.adapters.springboot.KeycloakSpringBootConfigResolver;
import org.springframework.context.annotation.Bean;
diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/KogitoSpringbootApplication.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/acme/springboot/KogitoSpringbootApplication.java
similarity index 96%
rename from kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/KogitoSpringbootApplication.java
rename to kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/acme/springboot/KogitoSpringbootApplication.java
index c832c38757..3d0b1a8048 100644
--- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/KogitoSpringbootApplication.java
+++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/acme/springboot/KogitoSpringbootApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.springboot;
+package org.acme.springboot;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/test/java/org/acme/travels/ApprovalsProcessTestIT.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/test/java/org/acme/travels/ApprovalsProcessTestIT.java
index 19da7eefb3..2abd8ed8e3 100644
--- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/test/java/org/acme/travels/ApprovalsProcessTestIT.java
+++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/test/java/org/acme/travels/ApprovalsProcessTestIT.java
@@ -21,6 +21,7 @@
import java.util.List;
import java.util.Map;
+import org.acme.springboot.KogitoSpringbootApplication;
import org.jbpm.process.instance.impl.humantask.HumanTaskTransition;
import org.jbpm.process.instance.impl.humantask.phases.Claim;
import org.jbpm.process.instance.impl.workitem.Complete;
@@ -32,7 +33,6 @@
import org.kie.kogito.process.Process;
import org.kie.kogito.process.ProcessInstance;
import org.kie.kogito.process.WorkItem;
-import org.kie.kogito.springboot.KogitoSpringbootApplication;
import org.kie.kogito.testcontainers.springboot.InfinispanSpringBootTestResource;
import org.kie.kogito.testcontainers.springboot.KeycloakSpringBootTestResource;
import org.springframework.beans.factory.annotation.Autowired;
diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/test/java/org/acme/travels/ApprovalsRestIT.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/test/java/org/acme/travels/ApprovalsRestIT.java
index e45fefd324..417292b5c6 100644
--- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/test/java/org/acme/travels/ApprovalsRestIT.java
+++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/test/java/org/acme/travels/ApprovalsRestIT.java
@@ -15,11 +15,11 @@
*/
package org.acme.travels;
+import org.acme.springboot.KogitoSpringbootApplication;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.keycloak.representations.AccessTokenResponse;
-import org.kie.kogito.springboot.KogitoSpringbootApplication;
import org.kie.kogito.testcontainers.springboot.InfinispanSpringBootTestResource;
import org.kie.kogito.testcontainers.springboot.KafkaSpringBootTestResource;
import org.kie.kogito.testcontainers.springboot.KeycloakSpringBootTestResource;
diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/mvnw b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/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-springboot-examples/process-usertasks-with-security-oidc-springboot/mvnw.cmd b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/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-springboot-examples/process-usertasks-with-security-oidc-springboot/pom.xml b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/pom.xml
index e242442ecc..09b3770bd9 100644
--- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/pom.xml
+++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/kie/kogito/springboot/DefaultWebSecurityConfig.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/acme/springboot/DefaultWebSecurityConfig.java
similarity index 98%
rename from kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/kie/kogito/springboot/DefaultWebSecurityConfig.java
rename to kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/acme/springboot/DefaultWebSecurityConfig.java
index e1e9fc439b..e9346d1b90 100644
--- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/kie/kogito/springboot/DefaultWebSecurityConfig.java
+++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/acme/springboot/DefaultWebSecurityConfig.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.springboot;
+package org.acme.springboot;
import org.keycloak.adapters.springsecurity.KeycloakConfiguration;
import org.keycloak.adapters.springsecurity.KeycloakSecurityComponents;
diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/kie/kogito/springboot/KeycloakResolverConfig.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/acme/springboot/KeycloakResolverConfig.java
similarity index 96%
rename from kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/kie/kogito/springboot/KeycloakResolverConfig.java
rename to kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/acme/springboot/KeycloakResolverConfig.java
index add510733f..d94b010718 100644
--- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/kie/kogito/springboot/KeycloakResolverConfig.java
+++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/acme/springboot/KeycloakResolverConfig.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.springboot;
+package org.acme.springboot;
import org.keycloak.adapters.springboot.KeycloakSpringBootConfigResolver;
import org.springframework.context.annotation.Bean;
diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/kie/kogito/springboot/KogitoSpringbootApplication.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/acme/springboot/KogitoSpringbootApplication.java
similarity index 96%
rename from kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/kie/kogito/springboot/KogitoSpringbootApplication.java
rename to kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/acme/springboot/KogitoSpringbootApplication.java
index c832c38757..3d0b1a8048 100644
--- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/kie/kogito/springboot/KogitoSpringbootApplication.java
+++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/acme/springboot/KogitoSpringbootApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.springboot;
+package org.acme.springboot;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/test/java/org/acme/travels/ApprovalsRestIT.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/test/java/org/acme/travels/ApprovalsRestIT.java
index 32f63e398b..15f0374a14 100644
--- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/test/java/org/acme/travels/ApprovalsRestIT.java
+++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/test/java/org/acme/travels/ApprovalsRestIT.java
@@ -15,11 +15,11 @@
*/
package org.acme.travels;
+import org.acme.springboot.KogitoSpringbootApplication;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.keycloak.representations.AccessTokenResponse;
-import org.kie.kogito.springboot.KogitoSpringbootApplication;
import org.kie.kogito.testcontainers.springboot.KeycloakSpringBootTestResource;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.test.context.SpringBootTest;
diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/test/java/org/acme/travels/security/oidc/springboot/ApprovalsProcessTest.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/test/java/org/acme/travels/security/oidc/springboot/ApprovalsProcessTest.java
index e3b05e077a..26aaf205da 100644
--- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/test/java/org/acme/travels/security/oidc/springboot/ApprovalsProcessTest.java
+++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/test/java/org/acme/travels/security/oidc/springboot/ApprovalsProcessTest.java
@@ -20,6 +20,7 @@
import java.util.List;
import java.util.Map;
+import org.acme.springboot.KogitoSpringbootApplication;
import org.acme.travels.Address;
import org.acme.travels.Traveller;
import org.jbpm.process.instance.impl.humantask.HumanTaskTransition;
@@ -33,7 +34,6 @@
import org.kie.kogito.process.Process;
import org.kie.kogito.process.ProcessInstance;
import org.kie.kogito.process.WorkItem;
-import org.kie.kogito.springboot.KogitoSpringbootApplication;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.test.context.SpringBootTest;
diff --git a/kogito-springboot-examples/process-usertasks-with-security-springboot/mvnw b/kogito-springboot-examples/process-usertasks-with-security-springboot/mvnw
deleted file mode 100755
index d2f0ea3808..0000000000
--- a/kogito-springboot-examples/process-usertasks-with-security-springboot/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-springboot-examples/process-usertasks-with-security-springboot/mvnw.cmd b/kogito-springboot-examples/process-usertasks-with-security-springboot/mvnw.cmd
deleted file mode 100644
index b26ab24f03..0000000000
--- a/kogito-springboot-examples/process-usertasks-with-security-springboot/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-springboot-examples/process-usertasks-with-security-springboot/pom.xml b/kogito-springboot-examples/process-usertasks-with-security-springboot/pom.xml
index 7da2721b9b..81d38741ad 100644
--- a/kogito-springboot-examples/process-usertasks-with-security-springboot/pom.xml
+++ b/kogito-springboot-examples/process-usertasks-with-security-springboot/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/kie/kogito/tests/DefaultWebSecurityConfig.java b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/acme/tests/DefaultWebSecurityConfig.java
similarity index 98%
rename from kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/kie/kogito/tests/DefaultWebSecurityConfig.java
rename to kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/acme/tests/DefaultWebSecurityConfig.java
index 714b155cb0..c2330f25db 100644
--- a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/kie/kogito/tests/DefaultWebSecurityConfig.java
+++ b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/acme/tests/DefaultWebSecurityConfig.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.tests;
+package org.acme.tests;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
diff --git a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
new file mode 100644
index 0000000000..3588f4755d
--- /dev/null
+++ b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/acme/tests/KogitoInfinispanSpringbootApplication.java
@@ -0,0 +1,28 @@
+/*
+ * Copyright 2020 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed 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.
+ */
+package org.acme.tests;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**", "org.acme.**" })
+public class KogitoInfinispanSpringbootApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(KogitoInfinispanSpringbootApplication.class, args);
+ }
+
+}
diff --git a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/kie/kogito/tests/LogEventPublisher.java b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/acme/tests/LogEventPublisher.java
similarity index 97%
rename from kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/kie/kogito/tests/LogEventPublisher.java
rename to kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/acme/tests/LogEventPublisher.java
index 882c0ef2ee..12d7509081 100644
--- a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/kie/kogito/tests/LogEventPublisher.java
+++ b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/acme/tests/LogEventPublisher.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.tests;
+package org.acme.tests;
import java.util.Collection;
diff --git a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java
deleted file mode 100644
index 7b2daaca72..0000000000
--- a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright 2020 Red Hat, Inc. and/or its affiliates.
- *
- * Licensed 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.
- */
-package org.kie.kogito.tests;
-
-import org.springframework.boot.SpringApplication;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-
-@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**", "org.acme.travels.**" })
-public class KogitoInfinispanSpringbootApplication {
-
- public static void main(String[] args) {
- SpringApplication.run(KogitoInfinispanSpringbootApplication.class, args);
- }
-
-}
diff --git a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/test/java/org/acme/travels/security/springboot/ApprovalsProcessTest.java b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/test/java/org/acme/travels/security/springboot/ApprovalsProcessTest.java
index 7c466176d4..780083680f 100644
--- a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/test/java/org/acme/travels/security/springboot/ApprovalsProcessTest.java
+++ b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/test/java/org/acme/travels/security/springboot/ApprovalsProcessTest.java
@@ -20,6 +20,7 @@
import java.util.List;
import java.util.Map;
+import org.acme.tests.KogitoInfinispanSpringbootApplication;
import org.acme.travels.Address;
import org.acme.travels.Traveller;
import org.jbpm.process.instance.impl.humantask.HumanTaskTransition;
@@ -33,7 +34,6 @@
import org.kie.kogito.process.Process;
import org.kie.kogito.process.ProcessInstance;
import org.kie.kogito.process.WorkItem;
-import org.kie.kogito.tests.KogitoInfinispanSpringbootApplication;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.test.context.SpringBootTest;
diff --git a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/test/java/org/acme/travels/security/springboot/ApprovalsRestTest.java b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/test/java/org/acme/travels/security/springboot/ApprovalsRestTest.java
index 18d52fdca0..c0272667ee 100644
--- a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/test/java/org/acme/travels/security/springboot/ApprovalsRestTest.java
+++ b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/test/java/org/acme/travels/security/springboot/ApprovalsRestTest.java
@@ -15,10 +15,10 @@
*/
package org.acme.travels.security.springboot;
+import org.acme.tests.KogitoInfinispanSpringbootApplication;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
-import org.kie.kogito.tests.KogitoInfinispanSpringbootApplication;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.web.server.LocalServerPort;
import org.springframework.test.annotation.DirtiesContext;
diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/pom.xml b/kogito-springboot-examples/rules-legacy-springboot-example/pom.xml
index 6f98382b49..ae76db27ec 100644
--- a/kogito-springboot-examples/rules-legacy-springboot-example/pom.xml
+++ b/kogito-springboot-examples/rules-legacy-springboot-example/pom.xml
@@ -5,7 +5,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/Applicant.java b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/acme/legacy/Applicant.java
similarity index 97%
rename from kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/Applicant.java
rename to kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/acme/legacy/Applicant.java
index 771c31fe80..9ccfd60395 100644
--- a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/Applicant.java
+++ b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/acme/legacy/Applicant.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.legacy;
+package org.acme.legacy;
public class Applicant {
diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/FindApprovedLoansEndpoint.java b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/acme/legacy/FindApprovedLoansEndpoint.java
similarity index 98%
rename from kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/FindApprovedLoansEndpoint.java
rename to kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/acme/legacy/FindApprovedLoansEndpoint.java
index 4e8feb55fd..8d4036ad7a 100644
--- a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/FindApprovedLoansEndpoint.java
+++ b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/acme/legacy/FindApprovedLoansEndpoint.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.legacy;
+package org.acme.legacy;
import java.util.ArrayList;
import java.util.List;
diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/acme/legacy/KogitoSpringbootApplication.java b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/acme/legacy/KogitoSpringbootApplication.java
new file mode 100644
index 0000000000..d64d538f87
--- /dev/null
+++ b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/acme/legacy/KogitoSpringbootApplication.java
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2020 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed 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.
+ */
+package org.acme.legacy;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**", "org.drools.**", "org.acme.**" })
+public class KogitoSpringbootApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(KogitoSpringbootApplication.class, args);
+ }
+}
diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/LoanApplication.java b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/acme/legacy/LoanApplication.java
similarity index 98%
rename from kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/LoanApplication.java
rename to kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/acme/legacy/LoanApplication.java
index 053c5e25b9..2c8037b63d 100644
--- a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/LoanApplication.java
+++ b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/acme/legacy/LoanApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.legacy;
+package org.acme.legacy;
public class LoanApplication {
diff --git a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/LoanDto.java b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/acme/legacy/LoanDto.java
similarity index 97%
rename from kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/LoanDto.java
rename to kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/acme/legacy/LoanDto.java
index 1db9def3c2..ef1a82c5c6 100644
--- a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/LoanDto.java
+++ b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/acme/legacy/LoanDto.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.legacy;
+package org.acme.legacy;
import java.util.List;
diff --git a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/resources/org/kie/kogito/legacy/LoanRules.drl b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/resources/org/acme/legacy/LoanRules.drl
similarity index 95%
rename from kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/resources/org/kie/kogito/legacy/LoanRules.drl
rename to kogito-springboot-examples/rules-legacy-springboot-example/src/main/resources/org/acme/legacy/LoanRules.drl
index e9a24b46c9..5eafd184d5 100644
--- a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/resources/org/kie/kogito/legacy/LoanRules.drl
+++ b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/resources/org/acme/legacy/LoanRules.drl
@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.legacy;
+package org.acme.legacy;
-import org.kie.kogito.legacy.LoanApplication;
+import org.acme.legacy.LoanApplication;
global Integer maxAmount;
global java.util.List approvedApplications;
diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/src/test/java/org/kie/kogito/RestQueryTest.java b/kogito-springboot-examples/rules-legacy-springboot-example/src/test/java/org/acme/RestQueryTest.java
similarity index 97%
rename from kogito-springboot-examples/rules-legacy-springboot-example/src/test/java/org/kie/kogito/RestQueryTest.java
rename to kogito-springboot-examples/rules-legacy-springboot-example/src/test/java/org/acme/RestQueryTest.java
index cd61a4ad93..affd4c7164 100644
--- a/kogito-springboot-examples/rules-legacy-springboot-example/src/test/java/org/kie/kogito/RestQueryTest.java
+++ b/kogito-springboot-examples/rules-legacy-springboot-example/src/test/java/org/acme/RestQueryTest.java
@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito;
+package org.acme;
+import org.acme.legacy.KogitoSpringbootApplication;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import org.kie.kogito.legacy.KogitoSpringbootApplication;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.web.server.LocalServerPort;
import org.springframework.test.annotation.DirtiesContext;
diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/README.md b/kogito-springboot-examples/ruleunit-event-driven-springboot/README.md
index bd5febc87e..833fd6864a 100644
--- a/kogito-springboot-examples/ruleunit-event-driven-springboot/README.md
+++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/README.md
@@ -82,7 +82,7 @@ java -jar target\dmn-event-driven-springboot.jar
## Example Usage
-Here is an example of a input event that triggers the evaluation of the [Loan Unit](src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl) queries
+Here is an example of a input event that triggers the evaluation of the [Loan Unit](src/main/resources/org/acme/queries/RuleUnitQuery.drl) queries
included in this example. The `data` field contains the query input.
Just send this payload to the configured input topic:
@@ -94,7 +94,7 @@ Just send this payload to the configured input topic:
"source": "SomeEventSource",
"type": "RulesRequest",
"subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
+ "kogitoruleunitid": "org.acme.queries.LoanUnit",
"kogitoruleunitquery": "FindApproved",
"data": {
"maxAmount": 5000,
@@ -140,7 +140,7 @@ And you should receive something similar to this in the output topic:
"source": "find-approved",
"type": "RulesResponse",
"subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
+ "kogitoruleunitid": "org.acme.queries.LoanUnit",
"kogitoruleunitquery": "FindApproved",
"data": [
{
diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/pom.xml b/kogito-springboot-examples/ruleunit-event-driven-springboot/pom.xml
index 77decd35e6..777cca5b21 100644
--- a/kogito-springboot-examples/ruleunit-event-driven-springboot/pom.xml
+++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/pom.xml
@@ -5,7 +5,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/AllAmounts.java b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/acme/queries/AllAmounts.java
similarity index 96%
rename from kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/AllAmounts.java
rename to kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/acme/queries/AllAmounts.java
index e0c67ef987..9c39f215d0 100644
--- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/AllAmounts.java
+++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/acme/queries/AllAmounts.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.queries;
public class AllAmounts {
private int amounts;
diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/acme/queries/Applicant.java b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/acme/queries/Applicant.java
new file mode 100644
index 0000000000..c63d1274c8
--- /dev/null
+++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/acme/queries/Applicant.java
@@ -0,0 +1,46 @@
+/*
+ * Copyright 2020 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed 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.
+ */
+package org.acme.queries;
+
+public class Applicant {
+
+ private String name;
+ private int age;
+
+ public Applicant() {
+ }
+
+ public Applicant(String name, int age) {
+ this.name = name;
+ this.age = age;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public int getAge() {
+ return age;
+ }
+
+ public void setAge(int age) {
+ this.age = age;
+ }
+}
diff --git a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/tests/KogitoSpringbootApplication.java b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/acme/queries/KogitoSpringbootApplication.java
similarity index 96%
rename from kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/tests/KogitoSpringbootApplication.java
rename to kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/acme/queries/KogitoSpringbootApplication.java
index 9fa783e4a1..b88a1e3da1 100644
--- a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/tests/KogitoSpringbootApplication.java
+++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/acme/queries/KogitoSpringbootApplication.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.tests;
+package org.acme.queries;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@@ -24,5 +24,4 @@ public class KogitoSpringbootApplication {
public static void main(String[] args) {
SpringApplication.run(KogitoSpringbootApplication.class, args);
}
-
}
diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/acme/queries/LoanApplication.java b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/acme/queries/LoanApplication.java
new file mode 100644
index 0000000000..a6a205d958
--- /dev/null
+++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/acme/queries/LoanApplication.java
@@ -0,0 +1,80 @@
+/*
+ * Copyright 2020 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed 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.
+ */
+package org.acme.queries;
+
+public class LoanApplication {
+
+ private String id;
+
+ private Applicant applicant;
+
+ private int amount;
+
+ private int deposit;
+
+ private boolean approved = false;
+
+ public LoanApplication() {
+ }
+
+ public LoanApplication(String id, Applicant applicant, int amount, int deposit) {
+ this.id = id;
+ this.applicant = applicant;
+ this.amount = amount;
+ this.deposit = deposit;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public Applicant getApplicant() {
+ return applicant;
+ }
+
+ public void setApplicant(Applicant applicant) {
+ this.applicant = applicant;
+ }
+
+ public boolean isApproved() {
+ return approved;
+ }
+
+ public void setApproved(boolean approved) {
+ this.approved = approved;
+ }
+
+ public int getAmount() {
+ return amount;
+ }
+
+ public void setAmount(int amount) {
+ this.amount = amount;
+ }
+
+ public int getDeposit() {
+ return deposit;
+ }
+
+ public void setDeposit(int deposit) {
+ this.deposit = deposit;
+ }
+
+}
diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/LoanUnit.java b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/acme/queries/LoanUnit.java
similarity index 98%
rename from kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/LoanUnit.java
rename to kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/acme/queries/LoanUnit.java
index 3f68f880e8..bd51d017ce 100644
--- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/LoanUnit.java
+++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/acme/queries/LoanUnit.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.queries;
import org.drools.ruleunits.api.DataSource;
import org.drools.ruleunits.api.DataStore;
diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/Applicant.java b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/Applicant.java
deleted file mode 100644
index 175d3a98d5..0000000000
--- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/Applicant.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright 2020 Red Hat, Inc. and/or its affiliates.
- *
- * Licensed 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.
- */
-package org.kie.kogito.queries;
-
-public class Applicant {
-
- private String name;
- private int age;
-
- public Applicant() {
- }
-
- public Applicant(String name, int age) {
- this.name = name;
- this.age = age;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public int getAge() {
- return age;
- }
-
- public void setAge(int age) {
- this.age = age;
- }
-}
diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/KogitoSpringbootApplication.java b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/KogitoSpringbootApplication.java
deleted file mode 100644
index d6f7c7a33f..0000000000
--- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/KogitoSpringbootApplication.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright 2020 Red Hat, Inc. and/or its affiliates.
- *
- * Licensed 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.
- */
-package org.kie.kogito.queries;
-
-import org.springframework.boot.SpringApplication;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-
-@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**" })
-public class KogitoSpringbootApplication {
-
- public static void main(String[] args) {
- SpringApplication.run(KogitoSpringbootApplication.class, args);
- }
-}
diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/LoanApplication.java b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/LoanApplication.java
deleted file mode 100644
index 70eec1c4e3..0000000000
--- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/LoanApplication.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * Copyright 2020 Red Hat, Inc. and/or its affiliates.
- *
- * Licensed 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.
- */
-package org.kie.kogito.queries;
-
-public class LoanApplication {
-
- private String id;
-
- private Applicant applicant;
-
- private int amount;
-
- private int deposit;
-
- private boolean approved = false;
-
- public LoanApplication() {
- }
-
- public LoanApplication(String id, Applicant applicant, int amount, int deposit) {
- this.id = id;
- this.applicant = applicant;
- this.amount = amount;
- this.deposit = deposit;
- }
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public Applicant getApplicant() {
- return applicant;
- }
-
- public void setApplicant(Applicant applicant) {
- this.applicant = applicant;
- }
-
- public boolean isApproved() {
- return approved;
- }
-
- public void setApproved(boolean approved) {
- this.approved = approved;
- }
-
- public int getAmount() {
- return amount;
- }
-
- public void setAmount(int amount) {
- this.amount = amount;
- }
-
- public int getDeposit() {
- return deposit;
- }
-
- public void setDeposit(int deposit) {
- this.deposit = deposit;
- }
-
-}
diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/resources/org/acme/queries/RuleUnitQuery.drl
similarity index 93%
rename from kogito-quarkus-examples/ruleunit-quarkus-example/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl
rename to kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/resources/org/acme/queries/RuleUnitQuery.drl
index 2f14454ead..4a55746570 100644
--- a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl
+++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/resources/org/acme/queries/RuleUnitQuery.drl
@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.queries;
unit LoanUnit;
-import org.kie.kogito.queries.LoanApplication;
-import org.kie.kogito.queries.AllAmounts;
+import org.acme.queries.LoanApplication;
+import org.acme.queries.AllAmounts;
rule SmallDepositApprove when
$l: /loanApplications[ applicant.age >= 20, deposit < 1000, amount <= 2000 ]
diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/java/org/kie/kogito/examples/RuleUnitEventDrivenIT.java b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/java/org/acme/examples/RuleUnitEventDrivenIT.java
similarity index 98%
rename from kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/java/org/kie/kogito/examples/RuleUnitEventDrivenIT.java
rename to kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/java/org/acme/examples/RuleUnitEventDrivenIT.java
index 019e8360ff..e27efab7a5 100644
--- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/java/org/kie/kogito/examples/RuleUnitEventDrivenIT.java
+++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/java/org/acme/examples/RuleUnitEventDrivenIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.io.IOException;
import java.net.URL;
@@ -25,8 +25,8 @@
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.atomic.AtomicReference;
+import org.acme.queries.KogitoSpringbootApplication;
import org.junit.jupiter.api.Test;
-import org.kie.kogito.queries.KogitoSpringbootApplication;
import org.kie.kogito.test.springboot.kafka.KafkaTestClient;
import org.kie.kogito.testcontainers.springboot.KafkaSpringBootTestResource;
import org.skyscreamer.jsonassert.JSONAssert;
diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_all_application_amounts/input.json b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_all_application_amounts/input.json
index 123fec11d0..cd57723a01 100644
--- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_all_application_amounts/input.json
+++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_all_application_amounts/input.json
@@ -4,7 +4,7 @@
"source": "SomeEventSource",
"type": "RulesRequest",
"subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
+ "kogitoruleunitid": "org.acme.queries.LoanUnit",
"kogitoruleunitquery": "FindAllApplicationAmounts",
"data": {
"maxAmount": 5000,
diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_all_application_amounts/output.json b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_all_application_amounts/output.json
index 93dc6db47f..fb1516895d 100644
--- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_all_application_amounts/output.json
+++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_all_application_amounts/output.json
@@ -4,7 +4,7 @@
"source": "find-all-application-amounts",
"type": "RulesResponse",
"subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
+ "kogitoruleunitid": "org.acme.queries.LoanUnit",
"kogitoruleunitquery": "FindAllApplicationAmounts",
"data": [
{
diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_approved/input.json b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_approved/input.json
index 7e7fea489c..71dba2fd94 100644
--- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_approved/input.json
+++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_approved/input.json
@@ -4,7 +4,7 @@
"source": "SomeEventSource",
"type": "RulesRequest",
"subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
+ "kogitoruleunitid": "org.acme.queries.LoanUnit",
"kogitoruleunitquery": "FindApproved",
"data": {
"maxAmount": 5000,
diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_approved/output.json b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_approved/output.json
index 9106df086e..825a95ad40 100644
--- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_approved/output.json
+++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_approved/output.json
@@ -4,7 +4,7 @@
"source": "find-approved",
"type": "RulesResponse",
"subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
+ "kogitoruleunitid": "org.acme.queries.LoanUnit",
"kogitoruleunitquery": "FindApproved",
"data": [
{
diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_not_approved_id_and_amount/input.json b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_not_approved_id_and_amount/input.json
index e433d32a9b..b67dd817fd 100644
--- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_not_approved_id_and_amount/input.json
+++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_not_approved_id_and_amount/input.json
@@ -4,7 +4,7 @@
"source": "SomeEventSource",
"type": "RulesRequest",
"subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
+ "kogitoruleunitid": "org.acme.queries.LoanUnit",
"kogitoruleunitquery": "FindNotApprovedIdAndAmount",
"data": {
"maxAmount": 5000,
diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_not_approved_id_and_amount/output.json b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_not_approved_id_and_amount/output.json
index 61844e894e..fc1e6eca28 100644
--- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_not_approved_id_and_amount/output.json
+++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/events/query/find_not_approved_id_and_amount/output.json
@@ -4,7 +4,7 @@
"source": "find-not-approved-id-and-amount",
"type": "RulesResponse",
"subject": "TheSubject",
- "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit",
+ "kogitoruleunitid": "org.acme.queries.LoanUnit",
"kogitoruleunitquery": "FindNotApprovedIdAndAmount",
"data": [
{
diff --git a/kogito-springboot-examples/ruleunit-springboot-example/pom.xml b/kogito-springboot-examples/ruleunit-springboot-example/pom.xml
index e14f65ecb0..3823487c75 100644
--- a/kogito-springboot-examples/ruleunit-springboot-example/pom.xml
+++ b/kogito-springboot-examples/ruleunit-springboot-example/pom.xml
@@ -5,7 +5,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-springboot-examples2.0.0-SNAPSHOT
diff --git a/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/acme/queries/Applicant.java b/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/acme/queries/Applicant.java
new file mode 100644
index 0000000000..c63d1274c8
--- /dev/null
+++ b/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/acme/queries/Applicant.java
@@ -0,0 +1,46 @@
+/*
+ * Copyright 2020 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed 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.
+ */
+package org.acme.queries;
+
+public class Applicant {
+
+ private String name;
+ private int age;
+
+ public Applicant() {
+ }
+
+ public Applicant(String name, int age) {
+ this.name = name;
+ this.age = age;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public int getAge() {
+ return age;
+ }
+
+ public void setAge(int age) {
+ this.age = age;
+ }
+}
diff --git a/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/acme/queries/KogitoSpringbootApplication.java b/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/acme/queries/KogitoSpringbootApplication.java
new file mode 100644
index 0000000000..05518ab0e3
--- /dev/null
+++ b/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/acme/queries/KogitoSpringbootApplication.java
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2020 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed 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.
+ */
+package org.acme.queries;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**", "org.acme.**" })
+public class KogitoSpringbootApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(KogitoSpringbootApplication.class, args);
+ }
+}
diff --git a/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/acme/queries/LoanApplication.java b/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/acme/queries/LoanApplication.java
new file mode 100644
index 0000000000..a6a205d958
--- /dev/null
+++ b/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/acme/queries/LoanApplication.java
@@ -0,0 +1,80 @@
+/*
+ * Copyright 2020 Red Hat, Inc. and/or its affiliates.
+ *
+ * Licensed 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.
+ */
+package org.acme.queries;
+
+public class LoanApplication {
+
+ private String id;
+
+ private Applicant applicant;
+
+ private int amount;
+
+ private int deposit;
+
+ private boolean approved = false;
+
+ public LoanApplication() {
+ }
+
+ public LoanApplication(String id, Applicant applicant, int amount, int deposit) {
+ this.id = id;
+ this.applicant = applicant;
+ this.amount = amount;
+ this.deposit = deposit;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public Applicant getApplicant() {
+ return applicant;
+ }
+
+ public void setApplicant(Applicant applicant) {
+ this.applicant = applicant;
+ }
+
+ public boolean isApproved() {
+ return approved;
+ }
+
+ public void setApproved(boolean approved) {
+ this.approved = approved;
+ }
+
+ public int getAmount() {
+ return amount;
+ }
+
+ public void setAmount(int amount) {
+ this.amount = amount;
+ }
+
+ public int getDeposit() {
+ return deposit;
+ }
+
+ public void setDeposit(int deposit) {
+ this.deposit = deposit;
+ }
+
+}
diff --git a/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/LoanUnit.java b/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/acme/queries/LoanUnit.java
similarity index 97%
rename from kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/LoanUnit.java
rename to kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/acme/queries/LoanUnit.java
index 3d35a77609..063377fe07 100644
--- a/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/LoanUnit.java
+++ b/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/acme/queries/LoanUnit.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.queries;
import org.drools.ruleunits.api.DataSource;
import org.drools.ruleunits.api.DataStore;
diff --git a/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/Applicant.java b/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/Applicant.java
deleted file mode 100644
index 175d3a98d5..0000000000
--- a/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/Applicant.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright 2020 Red Hat, Inc. and/or its affiliates.
- *
- * Licensed 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.
- */
-package org.kie.kogito.queries;
-
-public class Applicant {
-
- private String name;
- private int age;
-
- public Applicant() {
- }
-
- public Applicant(String name, int age) {
- this.name = name;
- this.age = age;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public int getAge() {
- return age;
- }
-
- public void setAge(int age) {
- this.age = age;
- }
-}
diff --git a/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/KogitoSpringbootApplication.java b/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/KogitoSpringbootApplication.java
deleted file mode 100644
index d6f7c7a33f..0000000000
--- a/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/KogitoSpringbootApplication.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright 2020 Red Hat, Inc. and/or its affiliates.
- *
- * Licensed 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.
- */
-package org.kie.kogito.queries;
-
-import org.springframework.boot.SpringApplication;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-
-@SpringBootApplication(scanBasePackages = { "org.kie.kogito.**" })
-public class KogitoSpringbootApplication {
-
- public static void main(String[] args) {
- SpringApplication.run(KogitoSpringbootApplication.class, args);
- }
-}
diff --git a/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/LoanApplication.java b/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/LoanApplication.java
deleted file mode 100644
index 70eec1c4e3..0000000000
--- a/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/LoanApplication.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * Copyright 2020 Red Hat, Inc. and/or its affiliates.
- *
- * Licensed 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.
- */
-package org.kie.kogito.queries;
-
-public class LoanApplication {
-
- private String id;
-
- private Applicant applicant;
-
- private int amount;
-
- private int deposit;
-
- private boolean approved = false;
-
- public LoanApplication() {
- }
-
- public LoanApplication(String id, Applicant applicant, int amount, int deposit) {
- this.id = id;
- this.applicant = applicant;
- this.amount = amount;
- this.deposit = deposit;
- }
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public Applicant getApplicant() {
- return applicant;
- }
-
- public void setApplicant(Applicant applicant) {
- this.applicant = applicant;
- }
-
- public boolean isApproved() {
- return approved;
- }
-
- public void setApproved(boolean approved) {
- this.approved = approved;
- }
-
- public int getAmount() {
- return amount;
- }
-
- public void setAmount(int amount) {
- this.amount = amount;
- }
-
- public int getDeposit() {
- return deposit;
- }
-
- public void setDeposit(int deposit) {
- this.deposit = deposit;
- }
-
-}
diff --git a/kogito-springboot-examples/ruleunit-springboot-example/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl b/kogito-springboot-examples/ruleunit-springboot-example/src/main/resources/org/acme/queries/RuleUnitQuery.drl
similarity index 95%
rename from kogito-springboot-examples/ruleunit-springboot-example/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl
rename to kogito-springboot-examples/ruleunit-springboot-example/src/main/resources/org/acme/queries/RuleUnitQuery.drl
index a75b91c804..89e5278c70 100644
--- a/kogito-springboot-examples/ruleunit-springboot-example/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl
+++ b/kogito-springboot-examples/ruleunit-springboot-example/src/main/resources/org/acme/queries/RuleUnitQuery.drl
@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.queries;
+package org.acme.queries;
unit LoanUnit;
-import org.kie.kogito.queries.LoanApplication
+import org.acme.queries.LoanApplication
rule SmallDepositApprove when
$l: /loanApplications[ applicant.age >= 20, deposit < 1000, amount <= 2000 ]
diff --git a/kogito-springboot-examples/ruleunit-springboot-example/src/test/java/org/kie/kogito/decisiontable/springboot/ruleunit/RestQueryTest.java b/kogito-springboot-examples/ruleunit-springboot-example/src/test/java/org/acme/decisiontable/springboot/ruleunit/RestQueryTest.java
similarity index 96%
rename from kogito-springboot-examples/ruleunit-springboot-example/src/test/java/org/kie/kogito/decisiontable/springboot/ruleunit/RestQueryTest.java
rename to kogito-springboot-examples/ruleunit-springboot-example/src/test/java/org/acme/decisiontable/springboot/ruleunit/RestQueryTest.java
index 8f54299cf6..803c98125b 100644
--- a/kogito-springboot-examples/ruleunit-springboot-example/src/test/java/org/kie/kogito/decisiontable/springboot/ruleunit/RestQueryTest.java
+++ b/kogito-springboot-examples/ruleunit-springboot-example/src/test/java/org/acme/decisiontable/springboot/ruleunit/RestQueryTest.java
@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.decisiontable.springboot.ruleunit;
+package org.acme.decisiontable.springboot.ruleunit;
+import org.acme.queries.KogitoSpringbootApplication;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import org.kie.kogito.queries.KogitoSpringbootApplication;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.web.server.LocalServerPort;
import org.springframework.test.annotation.DirtiesContext;
diff --git a/pom.xml b/pom.xml
index e51bbf6983..b51c68477a 100755
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
2.0.0-SNAPSHOT
- org.kie.kogito.examples
+ org.acme.exampleskogito-examplespom
@@ -49,7 +49,6 @@
1.4.04.5.3
-
3.3.1
diff --git a/serverless-workflow-examples/pom.xml b/serverless-workflow-examples/pom.xml
index 1955a85d45..ae833d1dab 100644
--- a/serverless-workflow-examples/pom.xml
+++ b/serverless-workflow-examples/pom.xml
@@ -5,7 +5,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.exampleskogito-examples2.0.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-annotations-description/pom.xml b/serverless-workflow-examples/serverless-workflow-annotations-description/pom.xml
index 13129a50ae..5e685e8e75 100644
--- a/serverless-workflow-examples/serverless-workflow-annotations-description/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-annotations-description/pom.xml
@@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-annotations-description1.0-SNAPSHOT
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 4e46021483..7369fa1b14 100644
--- 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
@@ -5,7 +5,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-callback-events-over-http-quarkus1.0-SNAPSHOT
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/acme/examples/CallbackResource.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/CallbackResource.java
rename to serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/acme/examples/CallbackResource.java
index 91ad34b972..e695a3b635 100644
--- 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/acme/examples/CallbackResource.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.net.URI;
import java.time.OffsetDateTime;
diff --git a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/EventInput.java b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/acme/examples/EventInput.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/EventInput.java
rename to serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/acme/examples/EventInput.java
index ec0af553e9..62559751a5 100644
--- a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/EventInput.java
+++ b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/acme/examples/EventInput.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
public class EventInput {
diff --git a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/RegisterObjectMapper.java b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/acme/examples/RegisterObjectMapper.java
similarity index 96%
rename from serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/RegisterObjectMapper.java
rename to serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/acme/examples/RegisterObjectMapper.java
index e0477fba44..cf751680b2 100644
--- a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/RegisterObjectMapper.java
+++ b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/acme/examples/RegisterObjectMapper.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import javax.enterprise.context.ApplicationScoped;
diff --git a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/pom.xml b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/pom.xml
index 76a5fd0180..61ae4f2ab1 100644
--- a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/pom.xml
@@ -5,7 +5,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-callback-events-over-http-quarkus1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/src/test/java/org/kie/kogito/examples/CallbackRestIT.java b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/src/test/java/org/acme/examples/CallbackRestIT.java
similarity index 99%
rename from serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/src/test/java/org/kie/kogito/examples/CallbackRestIT.java
rename to serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/src/test/java/org/acme/examples/CallbackRestIT.java
index 92b381661e..4b4deb6465 100644
--- a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/src/test/java/org/kie/kogito/examples/CallbackRestIT.java
+++ b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/src/test/java/org/acme/examples/CallbackRestIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;
diff --git a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/pom.xml
index a5e05ea8c3..7cfc6646ff 100644
--- a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-callback-events-over-http-quarkus1.0-SNAPSHOTKogito Example :: Serverless Workflow CallBack Over HTTP :: Quarkus
diff --git a/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml
index 2f1c84d571..a88c72863a 100644
--- a/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-callback-quarkus1.0-SNAPSHOT
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/acme/examples/PrintService.java
similarity index 99%
rename from serverless-workflow-examples/serverless-workflow-callback-quarkus/src/main/java/org/kie/kogito/examples/PrintService.java
rename to serverless-workflow-examples/serverless-workflow-callback-quarkus/src/main/java/org/acme/examples/PrintService.java
index a1ee770e73..009af8927c 100644
--- 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/acme/examples/PrintService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.net.URI;
import java.time.OffsetDateTime;
diff --git a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/main/resources/callback.sw.json b/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/main/resources/callback.sw.json
index b876f7ce79..4bf2371c15 100644
--- a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/main/resources/callback.sw.json
+++ b/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/main/resources/callback.sw.json
@@ -26,7 +26,7 @@
{
"name": "printInstanceId",
"type": "custom",
- "operation": "service:java:org.kie.kogito.examples.PrintService::printKogitoProcessId"
+ "operation": "service:java:org.acme.examples.PrintService::printKogitoProcessId"
}
],
"states": [
diff --git a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/java/org/kie/kogito/examples/CallbackRestIT.java b/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/java/org/acme/examples/CallbackRestIT.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/java/org/kie/kogito/examples/CallbackRestIT.java
rename to serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/java/org/acme/examples/CallbackRestIT.java
index 7730d4b92d..d195fbeb9b 100644
--- a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/java/org/kie/kogito/examples/CallbackRestIT.java
+++ b/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/java/org/acme/examples/CallbackRestIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.junit.jupiter.api.Test;
diff --git a/serverless-workflow-examples/serverless-workflow-compensation-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-compensation-quarkus/pom.xml
index 4802066871..9c66bb55d5 100644
--- a/serverless-workflow-examples/serverless-workflow-compensation-quarkus/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-compensation-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-compensation-quarkus1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-compensation-quarkus/src/test/java/org/kie/kogito/examples/CompensationRestIT.java b/serverless-workflow-examples/serverless-workflow-compensation-quarkus/src/test/java/org/acme/examples/CompensationRestIT.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-compensation-quarkus/src/test/java/org/kie/kogito/examples/CompensationRestIT.java
rename to serverless-workflow-examples/serverless-workflow-compensation-quarkus/src/test/java/org/acme/examples/CompensationRestIT.java
index fe63e1ada3..f0aac41879 100644
--- a/serverless-workflow-examples/serverless-workflow-compensation-quarkus/src/test/java/org/kie/kogito/examples/CompensationRestIT.java
+++ b/serverless-workflow-examples/serverless-workflow-compensation-quarkus/src/test/java/org/acme/examples/CompensationRestIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.junit.jupiter.api.Test;
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 4cc5b957be..75f9a7eb38 100644
--- 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
@@ -5,7 +5,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-consuming-events-over-http-quarkus1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/src/test/java/org/kie/kogito/examples/ConsumingEventsOverHttpIT.java b/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/src/test/java/org/acme/examples/ConsumingEventsOverHttpIT.java
similarity index 99%
rename from serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/src/test/java/org/kie/kogito/examples/ConsumingEventsOverHttpIT.java
rename to serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/src/test/java/org/acme/examples/ConsumingEventsOverHttpIT.java
index 255feff2f7..213208ab1d 100644
--- a/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/src/test/java/org/kie/kogito/examples/ConsumingEventsOverHttpIT.java
+++ b/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/src/test/java/org/acme/examples/ConsumingEventsOverHttpIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.net.URI;
import java.time.OffsetDateTime;
diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/README.md b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/README.md
index 527c61b5f2..04db14bf8c 100644
--- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/README.md
+++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/README.md
@@ -32,9 +32,9 @@ In the example the event broker used to publish/receive the events is Kafka, and
]
}
```
-For simplicity, the events are published and consumed in the same application running the workflow, but in a real use case they should come from different services interacting with the workflow, see [EventsService](src/main/java/org/kie/kogito/examples/EventsService.java).
+For simplicity, the events are published and consumed in the same application running the workflow, but in a real use case they should come from different services interacting with the workflow, see [EventsService](src/main/java/org/acme/examples/EventsService.java).
-To start the workflow as mentioned, it is required an event to be published which is going to be consumed by the workflow service starting a new instance. A helper REST endpoint was recreated to simplify this step, so once a POST request is received it publishes the start event to the broker see [WorkflowResource](src/main/java/org/kie/kogito/examples/WorkflowResource.java).
+To start the workflow as mentioned, it is required an event to be published which is going to be consumed by the workflow service starting a new instance. A helper REST endpoint was recreated to simplify this step, so once a POST request is received it publishes the start event to the broker see [WorkflowResource](src/main/java/org/acme/examples/WorkflowResource.java).
All eventing configuration and the broker parameters are in done in the [application.properties](src/main/resources/application.properties).
diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml
index 4cb87747c5..9481ce905b 100644
--- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-correlation-quarkus1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/Account.java b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/acme/examples/Account.java
similarity index 96%
rename from serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/Account.java
rename to serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/acme/examples/Account.java
index e0b09d9899..3404ce5a5c 100644
--- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/Account.java
+++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/acme/examples/Account.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
public class Account {
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/acme/examples/EventsService.java
similarity index 99%
rename from serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/EventsService.java
rename to serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/acme/examples/EventsService.java
index ff08208ed8..53f69b9f63 100644
--- 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/acme/examples/EventsService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.net.URI;
import java.time.OffsetDateTime;
diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/WorkflowResource.java b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/acme/examples/WorkflowResource.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/WorkflowResource.java
rename to serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/acme/examples/WorkflowResource.java
index bb3edca5f7..a70854560e 100644
--- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/WorkflowResource.java
+++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/acme/examples/WorkflowResource.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.net.URI;
import java.time.OffsetDateTime;
diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/resources/correlation.sw.json b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/resources/correlation.sw.json
index b6a44aeb13..b6acbabd81 100644
--- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/resources/correlation.sw.json
+++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/resources/correlation.sw.json
@@ -50,7 +50,7 @@
{
"name": "complete",
"type": "custom",
- "operation": "service:java:org.kie.kogito.examples.EventsService::complete"
+ "operation": "service:java:org.acme.examples.EventsService::complete"
}
],
"states": [
diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/java/org/kie/kogito/examples/CorrelationIT.java b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/java/org/acme/examples/CorrelationIT.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/java/org/kie/kogito/examples/CorrelationIT.java
rename to serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/java/org/acme/examples/CorrelationIT.java
index a5181364a4..c73ad877ba 100644
--- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/java/org/kie/kogito/examples/CorrelationIT.java
+++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/java/org/acme/examples/CorrelationIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.util.concurrent.atomic.AtomicReference;
diff --git a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/pom.xml b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/pom.xml
index bb232125fa..bf15ce4075 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/pom.xml
@@ -5,7 +5,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-custom-function-knative1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/CloudEventFunction.java b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/acme/examples/CloudEventFunction.java
similarity index 96%
rename from serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/CloudEventFunction.java
rename to serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/acme/examples/CloudEventFunction.java
index a9f09c4da4..77956f1f03 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/CloudEventFunction.java
+++ b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/acme/examples/CloudEventFunction.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import io.quarkus.funqy.Funq;
import io.quarkus.funqy.knative.events.CloudEvent;
diff --git a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/Input.java b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/acme/examples/Input.java
similarity index 96%
rename from serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/Input.java
rename to serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/acme/examples/Input.java
index 1302701ef3..adf8753a9a 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/Input.java
+++ b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/acme/examples/Input.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
public class Input {
private String name;
diff --git a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/Output.java b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/acme/examples/Output.java
similarity index 96%
rename from serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/Output.java
rename to serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/acme/examples/Output.java
index c478e6ac22..e0d007ec3b 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/Output.java
+++ b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/acme/examples/Output.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
public class Output {
diff --git a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/PlainJsonFunction.java b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/acme/examples/PlainJsonFunction.java
similarity index 96%
rename from serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/PlainJsonFunction.java
rename to serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/acme/examples/PlainJsonFunction.java
index de843004f8..4fcb5d185d 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/PlainJsonFunction.java
+++ b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/acme/examples/PlainJsonFunction.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import io.quarkus.funqy.Funq;
diff --git a/serverless-workflow-examples/serverless-workflow-custom-function-knative/pom.xml b/serverless-workflow-examples/serverless-workflow-custom-function-knative/pom.xml
index 58add14932..bdb5c2269e 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-function-knative/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-custom-function-knative/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-custom-function-knative1.0-SNAPSHOTKogito Example :: Serverless Workflow Custom Function :: Quarkus
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 a92ad9e896..b8258d74a0 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-function-knative/workflow/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-custom-function-knative/workflow/pom.xml
@@ -5,7 +5,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-custom-function-knative1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/pom.xml b/serverless-workflow-examples/serverless-workflow-custom-type/pom.xml
index 519f3d2369..6f11c67af3 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-type/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-custom-type/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-custom-type1.0-SNAPSHOTpom
diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/pom.xml b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/pom.xml
index 4dba82d554..b2e98af178 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
serverless-workflow-custom-type
- org.kie.kogito.examples
+ org.acme.examples1.0-SNAPSHOT4.0.0
@@ -15,7 +15,7 @@
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-custom-rpc${project.version}
diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/java/org/kie/kogito/examples/sw/services/RPCCustomFunctionNamespace.java b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/java/org/acme/examples/sw/services/RPCCustomFunctionNamespace.java
similarity index 85%
rename from serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/java/org/kie/kogito/examples/sw/services/RPCCustomFunctionNamespace.java
rename to serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/java/org/acme/examples/sw/services/RPCCustomFunctionNamespace.java
index 5cbc1755d1..3ab6fefce2 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/java/org/kie/kogito/examples/sw/services/RPCCustomFunctionNamespace.java
+++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/java/org/acme/examples/sw/services/RPCCustomFunctionNamespace.java
@@ -13,8 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.sw.services;
+package org.acme.examples.sw.services;
+import org.acme.examples.sw.custom.RPCCustomWorkItemHandler;
import org.jbpm.ruleflow.core.RuleFlowNodeContainerFactory;
import org.jbpm.ruleflow.core.factory.WorkItemNodeFactory;
import org.kie.kogito.serverless.workflow.functions.WorkItemFunctionNamespace;
@@ -23,8 +24,6 @@
import io.serverlessworkflow.api.Workflow;
import io.serverlessworkflow.api.functions.FunctionRef;
-import static org.kie.kogito.examples.sw.custom.RPCCustomWorkItemHandler.NAME;
-import static org.kie.kogito.examples.sw.custom.RPCCustomWorkItemHandler.OPERATION;
import static org.kie.kogito.serverless.workflow.parser.FunctionNamespaceFactory.getFunctionName;
public class RPCCustomFunctionNamespace extends WorkItemFunctionNamespace{
@@ -39,6 +38,6 @@ public String namespace() {
ParserContext context,
WorkItemNodeFactory node,
FunctionRef functionRef) {
- return node.workName(NAME).metaData(OPERATION, getFunctionName(functionRef));
+ return node.workName(RPCCustomWorkItemHandler.NAME).metaData(RPCCustomWorkItemHandler.OPERATION, getFunctionName(functionRef));
}
}
diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/java/org/kie/kogito/examples/sw/services/RPCCustomTypeHandler.java b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/java/org/acme/examples/sw/services/RPCCustomTypeHandler.java
similarity index 85%
rename from serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/java/org/kie/kogito/examples/sw/services/RPCCustomTypeHandler.java
rename to serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/java/org/acme/examples/sw/services/RPCCustomTypeHandler.java
index c70b72126a..69c47675c0 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/java/org/kie/kogito/examples/sw/services/RPCCustomTypeHandler.java
+++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/java/org/acme/examples/sw/services/RPCCustomTypeHandler.java
@@ -13,8 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.sw.services;
+package org.acme.examples.sw.services;
+import org.acme.examples.sw.custom.RPCCustomWorkItemHandler;
import org.jbpm.ruleflow.core.RuleFlowNodeContainerFactory;
import org.jbpm.ruleflow.core.factory.WorkItemNodeFactory;
import org.kie.kogito.serverless.workflow.parser.ParserContext;
@@ -23,8 +24,6 @@
import io.serverlessworkflow.api.Workflow;
import io.serverlessworkflow.api.functions.FunctionDefinition;
-import static org.kie.kogito.examples.sw.custom.RPCCustomWorkItemHandler.NAME;
-import static org.kie.kogito.examples.sw.custom.RPCCustomWorkItemHandler.OPERATION;
import static org.kie.kogito.serverless.workflow.parser.FunctionTypeHandlerFactory.trimCustomOperation;
public class RPCCustomTypeHandler extends WorkItemTypeHandler{
@@ -40,6 +39,6 @@ public String type() {
ParserContext context,
WorkItemNodeFactory node,
FunctionDefinition functionDef) {
- return node.workName(NAME).metaData(OPERATION, trimCustomOperation(functionDef));
+ return node.workName(RPCCustomWorkItemHandler.NAME).metaData(RPCCustomWorkItemHandler.OPERATION, trimCustomOperation(functionDef));
}
}
diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/resources/META-INF/services/org.kie.kogito.serverless.workflow.parser.FunctionNamespace b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/resources/META-INF/services/org.kie.kogito.serverless.workflow.parser.FunctionNamespace
index 839145aad9..a99adec993 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/resources/META-INF/services/org.kie.kogito.serverless.workflow.parser.FunctionNamespace
+++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/resources/META-INF/services/org.kie.kogito.serverless.workflow.parser.FunctionNamespace
@@ -1 +1 @@
-org.kie.kogito.examples.sw.services.RPCCustomFunctionNamespace
\ No newline at end of file
+org.acme.examples.sw.services.RPCCustomFunctionNamespace
\ No newline at end of file
diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/resources/META-INF/services/org.kie.kogito.serverless.workflow.parser.FunctionTypeHandler b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/resources/META-INF/services/org.kie.kogito.serverless.workflow.parser.FunctionTypeHandler
index 11dc74f422..dc813daefd 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/resources/META-INF/services/org.kie.kogito.serverless.workflow.parser.FunctionTypeHandler
+++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/resources/META-INF/services/org.kie.kogito.serverless.workflow.parser.FunctionTypeHandler
@@ -1 +1 @@
-org.kie.kogito.examples.sw.services.RPCCustomTypeHandler
\ No newline at end of file
+org.acme.examples.sw.services.RPCCustomTypeHandler
\ No newline at end of file
diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/pom.xml b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/pom.xml
index 3d329dba7d..fd202102ca 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-custom-type1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/main/java/org/kie/kogito/examples/sw/custom/CalculatorClient.java b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/main/java/org/acme/examples/sw/custom/CalculatorClient.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/main/java/org/kie/kogito/examples/sw/custom/CalculatorClient.java
rename to serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/main/java/org/acme/examples/sw/custom/CalculatorClient.java
index 059af976cb..02e0a15c0a 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/main/java/org/kie/kogito/examples/sw/custom/CalculatorClient.java
+++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/main/java/org/acme/examples/sw/custom/CalculatorClient.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.sw.custom;
+package org.acme.examples.sw.custom;
import java.io.DataInputStream;
import java.io.DataOutputStream;
diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/main/java/org/kie/kogito/examples/sw/custom/CalculatorServer.java b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/main/java/org/acme/examples/sw/custom/CalculatorServer.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/main/java/org/kie/kogito/examples/sw/custom/CalculatorServer.java
rename to serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/main/java/org/acme/examples/sw/custom/CalculatorServer.java
index 0226ede044..534be76f80 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/main/java/org/kie/kogito/examples/sw/custom/CalculatorServer.java
+++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/main/java/org/acme/examples/sw/custom/CalculatorServer.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.sw.custom;
+package org.acme.examples.sw.custom;
import java.io.Closeable;
import java.io.DataInputStream;
diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/test/java/org/kie/kogito/examples/sw/custom/CalculatorClientTest.java b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/test/java/org/acme/examples/sw/custom/CalculatorClientTest.java
similarity index 83%
rename from serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/test/java/org/kie/kogito/examples/sw/custom/CalculatorClientTest.java
rename to serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/test/java/org/acme/examples/sw/custom/CalculatorClientTest.java
index 606540204d..dc6927c421 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/test/java/org/kie/kogito/examples/sw/custom/CalculatorClientTest.java
+++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/test/java/org/acme/examples/sw/custom/CalculatorClientTest.java
@@ -13,14 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.sw.custom;
+package org.acme.examples.sw.custom;
import java.io.IOException;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
-import org.kie.kogito.examples.sw.custom.CalculatorClient.OperationId;
import static org.junit.jupiter.api.Assertions.assertEquals;
@@ -42,10 +41,10 @@ static void init() throws IOException
@Test
void testCalculator() throws IOException {
- assertEquals(7,CalculatorClient.invokeOperation("localhost", 8082, OperationId.ADD, 4, 3));
- assertEquals(1,CalculatorClient.invokeOperation("localhost", 8082, OperationId.SUBTRACTION, 4, 3));
- assertEquals(12,CalculatorClient.invokeOperation("localhost", 8082, OperationId.MULTIPLICATION, 4, 3));
- assertEquals(1,CalculatorClient.invokeOperation("localhost", 8082, OperationId.DIVISION, 4, 3));
+ assertEquals(7,CalculatorClient.invokeOperation("localhost", 8082, CalculatorClient.OperationId.ADD, 4, 3));
+ assertEquals(1,CalculatorClient.invokeOperation("localhost", 8082, CalculatorClient.OperationId.SUBTRACTION, 4, 3));
+ assertEquals(12,CalculatorClient.invokeOperation("localhost", 8082, CalculatorClient.OperationId.MULTIPLICATION, 4, 3));
+ assertEquals(1,CalculatorClient.invokeOperation("localhost", 8082, CalculatorClient.OperationId.DIVISION, 4, 3));
}
}
diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/pom.xml b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/pom.xml
index 41b3e9ba68..b1968a3693 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
serverless-workflow-custom-type
- org.kie.kogito.examples
+ org.acme.examples1.0-SNAPSHOT4.0.0
@@ -19,7 +19,7 @@
kogito-quarkus-serverless-workflow
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-custom-rpc-server${project.version}
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/acme/examples/sw/custom/RPCCustomWorkItemHandler.java
similarity index 94%
rename from serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/java/org/kie/kogito/examples/sw/custom/RPCCustomWorkItemHandler.java
rename to serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/java/org/acme/examples/sw/custom/RPCCustomWorkItemHandler.java
index 309c561ef5..8662e95cfe 100644
--- 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/acme/examples/sw/custom/RPCCustomWorkItemHandler.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.sw.custom;
+package org.acme.examples.sw.custom;
import java.io.IOException;
import java.io.UncheckedIOException;
@@ -22,7 +22,7 @@
import javax.enterprise.context.ApplicationScoped;
-import org.kie.kogito.examples.sw.custom.CalculatorClient.OperationId;
+import org.acme.examples.sw.custom.CalculatorClient.OperationId;
import org.kie.kogito.internal.process.runtime.KogitoWorkItem;
import org.kie.kogito.serverless.workflow.WorkflowWorkItemHandler;
diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/java/org/kie/kogito/examples/sw/custom/RPCCustomWorkItemHandlerConfig.java b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/java/org/acme/examples/sw/custom/RPCCustomWorkItemHandlerConfig.java
similarity index 96%
rename from serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/java/org/kie/kogito/examples/sw/custom/RPCCustomWorkItemHandlerConfig.java
rename to serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/java/org/acme/examples/sw/custom/RPCCustomWorkItemHandlerConfig.java
index e1bbe63aa2..b389acd1ff 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/java/org/kie/kogito/examples/sw/custom/RPCCustomWorkItemHandlerConfig.java
+++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/java/org/acme/examples/sw/custom/RPCCustomWorkItemHandlerConfig.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.sw.custom;
+package org.acme.examples.sw.custom;
import javax.annotation.PostConstruct;
import javax.enterprise.context.ApplicationScoped;
diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/pom.xml b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/pom.xml
index 4ab12ace73..b53097fa7e 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/pom.xml
@@ -5,7 +5,7 @@
serverless-workflow-custom-type
- org.kie.kogito.examples
+ org.acme.examples1.0-SNAPSHOT
@@ -28,7 +28,7 @@
quarkus-resteasy-jackson
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-custom-rpc${project.version}
diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/src/test/java/org/kie/kogito/examples/CustomRestIT.java b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/src/test/java/org/acme/examples/CustomRestIT.java
similarity index 95%
rename from serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/src/test/java/org/kie/kogito/examples/CustomRestIT.java
rename to serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/src/test/java/org/acme/examples/CustomRestIT.java
index 40d947f5dc..835f88e727 100644
--- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/src/test/java/org/kie/kogito/examples/CustomRestIT.java
+++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/src/test/java/org/acme/examples/CustomRestIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.io.IOException;
import java.util.Map;
@@ -21,7 +21,7 @@
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
-import org.kie.kogito.examples.sw.custom.CalculatorServer;
+import org.acme.examples.sw.custom.CalculatorServer;
import org.kie.kogito.serverless.workflow.SWFConstants;
import io.quarkus.test.junit.QuarkusIntegrationTest;
diff --git a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/pom.xml
index b7b0a4ada4..602c0f3cce 100644
--- a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-data-index-quarkus1.0-SNAPSHOT
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/acme/examples/PrintService.java
similarity index 99%
rename from serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/main/java/org/kie/kogito/examples/PrintService.java
rename to serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/main/java/org/acme/examples/PrintService.java
index 80259f870f..1617358e37 100644
--- 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/acme/examples/PrintService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.net.URI;
import java.time.OffsetDateTime;
diff --git a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/main/resources/callback.sw.json b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/main/resources/callback.sw.json
index b876f7ce79..4bf2371c15 100644
--- a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/main/resources/callback.sw.json
+++ b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/main/resources/callback.sw.json
@@ -26,7 +26,7 @@
{
"name": "printInstanceId",
"type": "custom",
- "operation": "service:java:org.kie.kogito.examples.PrintService::printKogitoProcessId"
+ "operation": "service:java:org.acme.examples.PrintService::printKogitoProcessId"
}
],
"states": [
diff --git a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/test/java/org/kie/kogito/examples/DataIndexRestIT.java b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/test/java/org/acme/examples/DataIndexRestIT.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/test/java/org/kie/kogito/examples/DataIndexRestIT.java
rename to serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/test/java/org/acme/examples/DataIndexRestIT.java
index b09be166f9..96a40ece7f 100644
--- a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/test/java/org/kie/kogito/examples/DataIndexRestIT.java
+++ b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/test/java/org/acme/examples/DataIndexRestIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.junit.jupiter.api.Test;
diff --git a/serverless-workflow-examples/serverless-workflow-error-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-error-quarkus/pom.xml
index f4f65c528b..223a95b5de 100644
--- a/serverless-workflow-examples/serverless-workflow-error-quarkus/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-error-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-error-quarkus1.0-SNAPSHOT
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/acme/examples/EvenService.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-error-quarkus/src/main/java/org/kie/kogito/examples/EvenService.java
rename to serverless-workflow-examples/serverless-workflow-error-quarkus/src/main/java/org/acme/examples/EvenService.java
index 59c077d862..2bc79c1622 100644
--- 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/acme/examples/EvenService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import javax.enterprise.context.ApplicationScoped;
diff --git a/serverless-workflow-examples/serverless-workflow-error-quarkus/src/main/resources/error.sw.json b/serverless-workflow-examples/serverless-workflow-error-quarkus/src/main/resources/error.sw.json
index 08d18c80b4..af6d2c5550 100644
--- a/serverless-workflow-examples/serverless-workflow-error-quarkus/src/main/resources/error.sw.json
+++ b/serverless-workflow-examples/serverless-workflow-error-quarkus/src/main/resources/error.sw.json
@@ -15,12 +15,12 @@
{
"name": "isEven",
"type": "custom",
- "operation": "service:java:org.kie.kogito.examples.EvenService::isEven"
+ "operation": "service:java:org.acme.examples.EvenService::isEven"
},
{
"name": "isSqr",
"type": "custom",
- "operation": "service:java:org.kie.kogito.examples.EvenService::isSquare"
+ "operation": "service:java:org.acme.examples.EvenService::isSquare"
},
{
"name": "printMessage",
diff --git a/serverless-workflow-examples/serverless-workflow-error-quarkus/src/test/java/org/kie/kogito/examples/ErrorRestIT.java b/serverless-workflow-examples/serverless-workflow-error-quarkus/src/test/java/org/acme/examples/ErrorRestIT.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-error-quarkus/src/test/java/org/kie/kogito/examples/ErrorRestIT.java
rename to serverless-workflow-examples/serverless-workflow-error-quarkus/src/test/java/org/acme/examples/ErrorRestIT.java
index fc68c82b39..d251243370 100644
--- a/serverless-workflow-examples/serverless-workflow-error-quarkus/src/test/java/org/kie/kogito/examples/ErrorRestIT.java
+++ b/serverless-workflow-examples/serverless-workflow-error-quarkus/src/test/java/org/acme/examples/ErrorRestIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.junit.jupiter.api.Test;
diff --git a/serverless-workflow-examples/serverless-workflow-events-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-events-quarkus/pom.xml
index 874e192c9d..9df19d8e04 100644
--- a/serverless-workflow-examples/serverless-workflow-events-quarkus/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-events-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-events-quarkus1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/ApplicantResource.java b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/acme/serverless/examples/ApplicantResource.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/ApplicantResource.java
rename to serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/acme/serverless/examples/ApplicantResource.java
index 50492d1e2f..e03c08a0a0 100644
--- a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/ApplicantResource.java
+++ b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/acme/serverless/examples/ApplicantResource.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.serverless.examples;
+package org.acme.serverless.examples;
import java.io.IOException;
import java.net.URI;
diff --git a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/AvroMarshallerProducer.java b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/acme/serverless/examples/AvroMarshallerProducer.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/AvroMarshallerProducer.java
rename to serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/acme/serverless/examples/AvroMarshallerProducer.java
index 287b775c63..e8769d7685 100644
--- a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/AvroMarshallerProducer.java
+++ b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/acme/serverless/examples/AvroMarshallerProducer.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.serverless.examples;
+package org.acme.serverless.examples;
import java.io.IOException;
diff --git a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/DecisionResource.java b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/acme/serverless/examples/DecisionResource.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/DecisionResource.java
rename to serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/acme/serverless/examples/DecisionResource.java
index a9615feff0..d8c92dbb81 100644
--- a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/DecisionResource.java
+++ b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/acme/serverless/examples/DecisionResource.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.serverless.examples;
+package org.acme.serverless.examples;
import javax.inject.Inject;
import javax.ws.rs.GET;
diff --git a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/test/java/org/kogito/serverless/examples/ApplicantWorkflowIT.java b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/test/java/org/acme/serverless/examples/ApplicantWorkflowIT.java
similarity index 99%
rename from serverless-workflow-examples/serverless-workflow-events-quarkus/src/test/java/org/kogito/serverless/examples/ApplicantWorkflowIT.java
rename to serverless-workflow-examples/serverless-workflow-events-quarkus/src/test/java/org/acme/serverless/examples/ApplicantWorkflowIT.java
index 22a64e6dbe..f30f9dba69 100644
--- a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/test/java/org/kogito/serverless/examples/ApplicantWorkflowIT.java
+++ b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/test/java/org/acme/serverless/examples/ApplicantWorkflowIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.serverless.examples;
+package org.acme.serverless.examples;
import static io.restassured.RestAssured.given;
import static java.util.concurrent.TimeUnit.MINUTES;
diff --git a/serverless-workflow-examples/serverless-workflow-expression-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-expression-quarkus/pom.xml
index d866929bf2..de212a2b36 100644
--- a/serverless-workflow-examples/serverless-workflow-expression-quarkus/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-expression-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-expression-quarkus1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-expression-quarkus/src/test/java/org/kie/kogito/examples/ExpressionRestIT.java b/serverless-workflow-examples/serverless-workflow-expression-quarkus/src/test/java/org/acme/examples/ExpressionRestIT.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-expression-quarkus/src/test/java/org/kie/kogito/examples/ExpressionRestIT.java
rename to serverless-workflow-examples/serverless-workflow-expression-quarkus/src/test/java/org/acme/examples/ExpressionRestIT.java
index d3b228f94e..1d018fbdc2 100644
--- a/serverless-workflow-examples/serverless-workflow-expression-quarkus/src/test/java/org/kie/kogito/examples/ExpressionRestIT.java
+++ b/serverless-workflow-examples/serverless-workflow-expression-quarkus/src/test/java/org/acme/examples/ExpressionRestIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.junit.jupiter.api.Test;
diff --git a/serverless-workflow-examples/serverless-workflow-foreach-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-foreach-quarkus/pom.xml
index 781162a984..4d35e8e4c6 100644
--- a/serverless-workflow-examples/serverless-workflow-foreach-quarkus/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-foreach-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-foreach-quarkus1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-foreach-quarkus/src/test/java/org/kie/kogito/examples/ForEachRestIT.java b/serverless-workflow-examples/serverless-workflow-foreach-quarkus/src/test/java/org/acme/examples/ForEachRestIT.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-foreach-quarkus/src/test/java/org/kie/kogito/examples/ForEachRestIT.java
rename to serverless-workflow-examples/serverless-workflow-foreach-quarkus/src/test/java/org/acme/examples/ForEachRestIT.java
index f2f91bbb69..e3febf54c7 100644
--- a/serverless-workflow-examples/serverless-workflow-foreach-quarkus/src/test/java/org/kie/kogito/examples/ForEachRestIT.java
+++ b/serverless-workflow-examples/serverless-workflow-foreach-quarkus/src/test/java/org/acme/examples/ForEachRestIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.util.Arrays;
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 9424dc1b5e..b8eae9664d 100644
--- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns="http://maven.apache.org/POM/4.0.0">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-functions-events-quarkus1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-functions-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-functions-quarkus/pom.xml
index 35c91d68b2..f813c1d95c 100644
--- a/serverless-workflow-examples/serverless-workflow-functions-quarkus/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-functions-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-functions-quarkus1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-funqy/pom.xml b/serverless-workflow-examples/serverless-workflow-funqy/pom.xml
index 512772bece..de59f902c5 100644
--- a/serverless-workflow-examples/serverless-workflow-funqy/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-funqy/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-funqy1.0-SNAPSHOTKogito Example :: Serverless Workflow :: Funqy
diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/pom.xml b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/pom.xml
index cda3b72964..47dd9c2653 100644
--- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-funqy1.0-SNAPSHOT
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/acme/serverless/examples/functions/ClassificationFunction.java
similarity index 81%
rename from serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/ClassificationFunction.java
rename to serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/acme/serverless/examples/functions/ClassificationFunction.java
index 6f90bae6d1..cbf45d827c 100644
--- 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/acme/serverless/examples/functions/ClassificationFunction.java
@@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.serverless.examples.functions;
+package org.acme.serverless.examples.functions;
import javax.inject.Inject;
-import org.kogito.serverless.examples.input.Country;
-import org.kogito.serverless.examples.services.ClassificationService;
-import org.kogito.serverless.examples.services.CountriesService;
+import org.acme.serverless.examples.services.ClassificationService;
+import org.acme.serverless.examples.services.CountriesService;
+import org.acme.serverless.examples.input.Country;
import io.quarkus.funqy.Funq;
diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/CountriesFunction.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/acme/serverless/examples/functions/CountriesFunction.java
similarity index 84%
rename from serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/CountriesFunction.java
rename to serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/acme/serverless/examples/functions/CountriesFunction.java
index 7508235461..4ec0d266f4 100644
--- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/CountriesFunction.java
+++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/acme/serverless/examples/functions/CountriesFunction.java
@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.serverless.examples.functions;
+package org.acme.serverless.examples.functions;
import javax.inject.Inject;
-import org.kogito.serverless.examples.input.Country;
-import org.kogito.serverless.examples.services.CountriesService;
+import org.acme.serverless.examples.services.CountriesService;
+import org.acme.serverless.examples.input.Country;
import io.quarkus.funqy.Funq;
diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/PopulationFunction.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/acme/serverless/examples/functions/PopulationFunction.java
similarity index 81%
rename from serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/PopulationFunction.java
rename to serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/acme/serverless/examples/functions/PopulationFunction.java
index 69066c4ec4..764675ab8c 100644
--- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/PopulationFunction.java
+++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/acme/serverless/examples/functions/PopulationFunction.java
@@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.serverless.examples.functions;
+package org.acme.serverless.examples.functions;
import javax.inject.Inject;
-import org.kogito.serverless.examples.input.Country;
-import org.kogito.serverless.examples.services.CountriesService;
-import org.kogito.serverless.examples.services.PopulationService;
+import org.acme.serverless.examples.services.PopulationService;
+import org.acme.serverless.examples.input.Country;
+import org.acme.serverless.examples.services.CountriesService;
import io.quarkus.funqy.Funq;
diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/input/Country.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/acme/serverless/examples/input/Country.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/input/Country.java
rename to serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/acme/serverless/examples/input/Country.java
index 730c31d164..2fe7242ce8 100644
--- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/input/Country.java
+++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/acme/serverless/examples/input/Country.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.serverless.examples.input;
+package org.acme.serverless.examples.input;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/ClassificationService.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/acme/serverless/examples/services/ClassificationService.java
similarity index 92%
rename from serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/ClassificationService.java
rename to serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/acme/serverless/examples/services/ClassificationService.java
index 3731e37073..a2bba2c7ae 100644
--- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/ClassificationService.java
+++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/acme/serverless/examples/services/ClassificationService.java
@@ -13,14 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.serverless.examples.services;
+package org.acme.serverless.examples.services;
import java.util.HashMap;
import java.util.Map;
import javax.enterprise.context.ApplicationScoped;
-import org.kogito.serverless.examples.input.Country;
+import org.acme.serverless.examples.input.Country;
@ApplicationScoped
public class ClassificationService {
diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/CountriesService.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/acme/serverless/examples/services/CountriesService.java
similarity index 93%
rename from serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/CountriesService.java
rename to serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/acme/serverless/examples/services/CountriesService.java
index acce334962..bc106a157c 100644
--- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/CountriesService.java
+++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/acme/serverless/examples/services/CountriesService.java
@@ -13,14 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.serverless.examples.services;
+package org.acme.serverless.examples.services;
import java.util.ArrayList;
import java.util.List;
import javax.enterprise.context.ApplicationScoped;
-import org.kogito.serverless.examples.input.Country;
+import org.acme.serverless.examples.input.Country;
@ApplicationScoped
public class CountriesService {
diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/PopulationService.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/acme/serverless/examples/services/PopulationService.java
similarity index 92%
rename from serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/PopulationService.java
rename to serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/acme/serverless/examples/services/PopulationService.java
index 8aa404d54b..c949f6bad5 100644
--- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/PopulationService.java
+++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/acme/serverless/examples/services/PopulationService.java
@@ -13,14 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.serverless.examples.services;
+package org.acme.serverless.examples.services;
import java.util.HashMap;
import java.util.Map;
import javax.enterprise.context.ApplicationScoped;
-import org.kogito.serverless.examples.input.Country;
+import org.acme.serverless.examples.input.Country;
@ApplicationScoped
public class PopulationService {
diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/test/java/org/kogito/serverless/examples/FunctionsIT.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/test/java/org/acme/serverless/examples/FunctionsIT.java
similarity index 95%
rename from serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/test/java/org/kogito/serverless/examples/FunctionsIT.java
rename to serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/test/java/org/acme/serverless/examples/FunctionsIT.java
index ffc38888b1..778105c295 100644
--- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/test/java/org/kogito/serverless/examples/FunctionsIT.java
+++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/test/java/org/acme/serverless/examples/FunctionsIT.java
@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.serverless.examples;
+package org.acme.serverless.examples;
import org.hamcrest.CoreMatchers;
import org.junit.jupiter.api.Test;
-import org.kogito.serverless.examples.input.Country;
+import org.acme.serverless.examples.input.Country;
import com.fasterxml.jackson.databind.ObjectMapper;
diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/pom.xml b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/pom.xml
index f651b169dc..3e6b74cfe0 100644
--- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-funqy1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/java/org/kogito/serverless/examples/RestServiceMockServer.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/java/org/acme/serverless/examples/RestServiceMockServer.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/java/org/kogito/serverless/examples/RestServiceMockServer.java
rename to serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/java/org/acme/serverless/examples/RestServiceMockServer.java
index e9d87f0fa2..6ae27b60e8 100644
--- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/java/org/kogito/serverless/examples/RestServiceMockServer.java
+++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/java/org/acme/serverless/examples/RestServiceMockServer.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.serverless.examples;
+package org.acme.serverless.examples;
import java.util.Collections;
import java.util.Map;
diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/java/org/kogito/serverless/examples/WorkflowIT.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/java/org/acme/serverless/examples/WorkflowIT.java
similarity index 96%
rename from serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/java/org/kogito/serverless/examples/WorkflowIT.java
rename to serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/java/org/acme/serverless/examples/WorkflowIT.java
index ca85dc7a55..4c81d760b1 100644
--- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/java/org/kogito/serverless/examples/WorkflowIT.java
+++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/java/org/acme/serverless/examples/WorkflowIT.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kogito.serverless.examples;
+package org.acme.serverless.examples;
import org.junit.jupiter.api.Test;
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/README.md b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/README.md
index d091f9d89b..8d91aafb86 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/README.md
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/README.md
@@ -58,9 +58,9 @@ Clone this repo if you haven't yet, edit the file [`src/main/resources/applicati
and add the following data:
```properties
-org.kogito.examples.sw.github.service.key=
-org.kogito.examples.sw.github.service.installation_id=
-org.kogito.examples.sw.github.service.app_id=
+org.acme.examples.sw.github.service.key=
+org.acme.examples.sw.github.service.installation_id=
+org.acme.examples.sw.github.service.app_id=
```
Replace `` with the absolute path of the converted private key file (DER format).
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/kubernetes/application.properties b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/kubernetes/application.properties
index 8276e150f4..9561e56274 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/kubernetes/application.properties
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/kubernetes/application.properties
@@ -1,3 +1,3 @@
-org.kogito.examples.sw.github.service.key=/opt/data/github-app-key.der
-org.kogito.examples.sw.github.service.installation_id=${INSTALLATION_ID}
-org.kogito.examples.sw.github.service.app_id=${APP_ID}
\ No newline at end of file
+org.acme.examples.sw.github.service.key=/opt/data/github-app-key.der
+org.acme.examples.sw.github.service.installation_id=${INSTALLATION_ID}
+org.acme.examples.sw.github.service.app_id=${APP_ID}
\ No newline at end of file
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/pom.xml b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/pom.xml
index f7ba06c583..18042b5543 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-github-showcase1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/GitHubResource.java b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/acme/examples/sw/github/service/GitHubResource.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/GitHubResource.java
rename to serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/acme/examples/sw/github/service/GitHubResource.java
index f230ea5949..d19abf03a7 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/GitHubResource.java
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/acme/examples/sw/github/service/GitHubResource.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.examples.sw.github.service;
+package org.acme.examples.sw.github.service;
import java.util.List;
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/GitHubWrapperService.java b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/acme/examples/sw/github/service/GitHubWrapperService.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/GitHubWrapperService.java
rename to serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/acme/examples/sw/github/service/GitHubWrapperService.java
index 6a03215f7a..cd7f928993 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/GitHubWrapperService.java
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/acme/examples/sw/github/service/GitHubWrapperService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.examples.sw.github.service;
+package org.acme.examples.sw.github.service;
import java.util.List;
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/GitHubWrapperServiceImpl.java b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/acme/examples/sw/github/service/GitHubWrapperServiceImpl.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/GitHubWrapperServiceImpl.java
rename to serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/acme/examples/sw/github/service/GitHubWrapperServiceImpl.java
index 31cfa2a505..8f4c31a27b 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/GitHubWrapperServiceImpl.java
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/acme/examples/sw/github/service/GitHubWrapperServiceImpl.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.examples.sw.github.service;
+package org.acme.examples.sw.github.service;
import java.io.IOException;
import java.util.ArrayList;
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/TokenProvider.java b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/acme/examples/sw/github/service/TokenProvider.java
similarity index 94%
rename from serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/TokenProvider.java
rename to serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/acme/examples/sw/github/service/TokenProvider.java
index 70a4ca9ad3..a403136179 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/TokenProvider.java
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/acme/examples/sw/github/service/TokenProvider.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.examples.sw.github.service;
+package org.acme.examples.sw.github.service;
import java.io.File;
import java.io.IOException;
@@ -57,13 +57,13 @@ public class TokenProvider {
private static final int expirationMillis = 600000;
private static final int cacheExpirationMillis = 300000;
- @ConfigProperty(name = "org.kogito.examples.sw.github.service.app_id")
+ @ConfigProperty(name = "org.acme.examples.sw.github.service.app_id")
String appId;
- @ConfigProperty(name = "org.kogito.examples.sw.github.service.key")
+ @ConfigProperty(name = "org.acme.examples.sw.github.service.key")
String privateKeyPath;
- @ConfigProperty(name = "org.kogito.examples.sw.github.service.installation_id")
+ @ConfigProperty(name = "org.acme.examples.sw.github.service.installation_id")
Long installationId;
public TokenProvider() {
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/kogito/examples/sw/github/service/GitHubResourceTest.java b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/acme/examples/sw/github/service/GitHubResourceTest.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/kogito/examples/sw/github/service/GitHubResourceTest.java
rename to serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/acme/examples/sw/github/service/GitHubResourceTest.java
index a777768ce6..56bdf88fed 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/kogito/examples/sw/github/service/GitHubResourceTest.java
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/acme/examples/sw/github/service/GitHubResourceTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.examples.sw.github.service;
+package org.acme.examples.sw.github.service;
import org.junit.jupiter.api.Test;
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/kogito/examples/sw/github/service/GitHubWrapperServiceIT.java b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/acme/examples/sw/github/service/GitHubWrapperServiceIT.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/kogito/examples/sw/github/service/GitHubWrapperServiceIT.java
rename to serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/acme/examples/sw/github/service/GitHubWrapperServiceIT.java
index 533d6d1ca3..97d59f696c 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/kogito/examples/sw/github/service/GitHubWrapperServiceIT.java
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/acme/examples/sw/github/service/GitHubWrapperServiceIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.examples.sw.github.service;
+package org.acme.examples.sw.github.service;
import java.util.Arrays;
import java.util.Collections;
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/kogito/examples/sw/github/service/MockedGitHubWrapperService.java b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/acme/examples/sw/github/service/MockedGitHubWrapperService.java
similarity index 96%
rename from serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/kogito/examples/sw/github/service/MockedGitHubWrapperService.java
rename to serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/acme/examples/sw/github/service/MockedGitHubWrapperService.java
index 330bf1cb10..baeeeb0f89 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/kogito/examples/sw/github/service/MockedGitHubWrapperService.java
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/acme/examples/sw/github/service/MockedGitHubWrapperService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.examples.sw.github.service;
+package org.acme.examples.sw.github.service;
import java.util.Collections;
import java.util.List;
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/resources/application.properties
index 2c51352d9f..38fcf719ad 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/resources/application.properties
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/resources/application.properties
@@ -1,6 +1,6 @@
# see: https://github-api.kohsuke.org/githubappjwtauth.html
# if you wish, replace with your own data and enable the GitHubWrapperServiceIT test to verify if everything is working as expected in your environment
-org.kogito.examples.sw.github.service.key=replace_with_your_key
-org.kogito.examples.sw.github.service.installation_id=12345
-org.kogito.examples.sw.github.service.app_id=replace_with_app_id
+org.acme.examples.sw.github.service.key=replace_with_your_key
+org.acme.examples.sw.github.service.installation_id=12345
+org.acme.examples.sw.github.service.app_id=replace_with_app_id
quarkus.http.test-port=0
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/README.md b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/README.md
index abc92831e2..9054d26fde 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/README.md
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/README.md
@@ -28,7 +28,7 @@ Copy the WebHook URL in the `src/main/resources/application.properties` file:
```properties
# URL details not shown
-org.kogito.examples.sw.notification.slack.incoming=https://hooks.slack.com/services/(...)
+org.acme.examples.sw.notification.slack.incoming=https://hooks.slack.com/services/(...)
```
Run the application with:
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/application.properties b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/application.properties
index 1f770525cf..cbcdc09677 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/application.properties
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/application.properties
@@ -1 +1 @@
-org.kogito.examples.sw.notification.slack.incoming=${SLACK_WEBHOOK}
\ No newline at end of file
+org.acme.examples.sw.notification.slack.incoming=${SLACK_WEBHOOK}
\ No newline at end of file
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/pom.xml b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/pom.xml
index db514c9073..10ac9acdfc 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-github-showcase1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/main/java/org/kogito/examples/sw/notification/service/NotificationResource.java b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/main/java/org/acme/examples/sw/notification/service/NotificationResource.java
similarity index 91%
rename from serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/main/java/org/kogito/examples/sw/notification/service/NotificationResource.java
rename to serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/main/java/org/acme/examples/sw/notification/service/NotificationResource.java
index f4208fb976..ef99e33db1 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/main/java/org/kogito/examples/sw/notification/service/NotificationResource.java
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/main/java/org/acme/examples/sw/notification/service/NotificationResource.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.examples.sw.notification.service;
+package org.acme.examples.sw.notification.service;
import java.io.IOException;
@@ -44,10 +44,10 @@ public class NotificationResource {
@Inject
ProducerTemplate producerTemplate;
- @ConfigProperty(name = "org.kogito.examples.sw.notification.slack.channel")
+ @ConfigProperty(name = "org.acme.examples.sw.notification.slack.channel")
String channel;
- @ConfigProperty(name = "org.kogito.examples.sw.notification.slack.incoming")
+ @ConfigProperty(name = "org.acme.examples.sw.notification.slack.incoming")
String webHookUrl;
@POST
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/main/resources/application.properties
index c3b1c6454b..269f5c7e99 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/main/resources/application.properties
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/main/resources/application.properties
@@ -1,5 +1,5 @@
quarkus.swagger-ui.always-include=true
-org.kogito.examples.sw.notification.slack.channel=github-showcase
+org.acme.examples.sw.notification.slack.channel=github-showcase
quarkus.index-dependency.cloudevents.group-id=io.cloudevents
quarkus.index-dependency.cloudevents.artifact-id=cloudevents-http-restful-ws
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/test/java/org/kogito/examples/sw/notification/service/NotificationResourceIT.java b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/test/java/org/acme/examples/sw/notification/service/NotificationResourceIT.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/test/java/org/kogito/examples/sw/notification/service/NotificationResourceIT.java
rename to serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/test/java/org/acme/examples/sw/notification/service/NotificationResourceIT.java
index 5d02077539..ec0601dab0 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/test/java/org/kogito/examples/sw/notification/service/NotificationResourceIT.java
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/test/java/org/acme/examples/sw/notification/service/NotificationResourceIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.examples.sw.notification.service;
+package org.acme.examples.sw.notification.service;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pom.xml b/serverless-workflow-examples/serverless-workflow-github-showcase/pom.xml
index 9ecf1a0cf9..778edbb8ae 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pom.xml
@@ -3,7 +3,7 @@
xmlns="http://maven.apache.org/POM/4.0.0">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-github-showcase1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/pom.xml b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/pom.xml
index ad08b61a68..0c02fac9ee 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/pom.xml
@@ -3,7 +3,7 @@
xmlns="http://maven.apache.org/POM/4.0.0">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-github-showcase1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/java/org/kogito/examples/sw/github/workflow/GitHubClient.java b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/java/org/acme/examples/sw/github/workflow/GitHubClient.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/java/org/kogito/examples/sw/github/workflow/GitHubClient.java
rename to serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/java/org/acme/examples/sw/github/workflow/GitHubClient.java
index 0f7adb3c3a..66246fd24d 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/java/org/kogito/examples/sw/github/workflow/GitHubClient.java
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/java/org/acme/examples/sw/github/workflow/GitHubClient.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.examples.sw.github.workflow;
+package org.acme.examples.sw.github.workflow;
import java.util.List;
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/java/org/kogito/examples/sw/github/workflow/GitHubService.java b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/java/org/acme/examples/sw/github/workflow/GitHubService.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/java/org/kogito/examples/sw/github/workflow/GitHubService.java
rename to serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/java/org/acme/examples/sw/github/workflow/GitHubService.java
index 8321b47090..0d363f7c21 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/java/org/kogito/examples/sw/github/workflow/GitHubService.java
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/java/org/acme/examples/sw/github/workflow/GitHubService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.examples.sw.github.workflow;
+package org.acme.examples.sw.github.workflow;
import java.util.Collections;
import java.util.Objects;
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/resources/application.properties
index 0febd93dca..eb4fe8aff8 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/resources/application.properties
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/resources/application.properties
@@ -1,8 +1,8 @@
quarkus.log.level=INFO
quarkus.swagger-ui.always-include=true
-org.kogito.examples.sw.github.workflow.GitHubClient/mp-rest/url=${GITHUB_SERVICE_URI}
-org.kogito.examples.sw.github.workflow.GitHubClient/mp-rest/scope=javax.inject.Singleton
+org.acme.examples.sw.github.workflow.GitHubClient/mp-rest/url=${GITHUB_SERVICE_URI}
+org.acme.examples.sw.github.workflow.GitHubClient/mp-rest/scope=javax.inject.Singleton
mp.messaging.incoming.kogito_incoming_stream.connector=quarkus-http
mp.messaging.incoming.kogito_incoming_stream.path=/
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/resources/handle-backend.sw.json b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/resources/handle-backend.sw.json
index 66486568a9..8d5702bb18 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/resources/handle-backend.sw.json
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/resources/handle-backend.sw.json
@@ -8,12 +8,12 @@
{
"name": "AddLabels",
"type": "custom",
- "operation": "service:java:org.kogito.examples.sw.github.workflow.GitHubService::addLabels"
+ "operation": "service:java:org.acme.examples.sw.github.workflow.GitHubService::addLabels"
},
{
"name": "AddReviewers",
"type": "custom",
- "operation": "service:java:org.kogito.examples.sw.github.workflow.GitHubService::addReviewers"
+ "operation": "service:java:org.acme.examples.sw.github.workflow.GitHubService::addReviewers"
}
],
"events": [
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/resources/handle-frontend.sw.json b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/resources/handle-frontend.sw.json
index 690e4baf94..cc100eb2ce 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/resources/handle-frontend.sw.json
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/resources/handle-frontend.sw.json
@@ -8,12 +8,12 @@
{
"name": "AddLabels",
"type": "custom",
- "operation": "service:org.kogito.examples.sw.github.workflow.GitHubService::addLabels"
+ "operation": "service:org.acme.examples.sw.github.workflow.GitHubService::addLabels"
},
{
"name": "AddReviewers",
"type": "custom",
- "operation": "service:org.kogito.examples.sw.github.workflow.GitHubService::addReviewers"
+ "operation": "service:org.acme.examples.sw.github.workflow.GitHubService::addReviewers"
}
],
"events": [
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/resources/pr-checker.sw.json b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/resources/pr-checker.sw.json
index e0b21c11c2..75b605c3f8 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/resources/pr-checker.sw.json
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/resources/pr-checker.sw.json
@@ -8,7 +8,7 @@
{
"name": "FetchPRFiles",
"type": "custom",
- "operation": "service:java:org.kogito.examples.sw.github.workflow.GitHubService::fetchPRFiles"
+ "operation": "service:java:org.acme.examples.sw.github.workflow.GitHubService::fetchPRFiles"
}
],
"events": [
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/GitHubServiceMockServer.java b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/acme/examples/sw/github/workflow/GitHubServiceMockServer.java
similarity index 93%
rename from serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/GitHubServiceMockServer.java
rename to serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/acme/examples/sw/github/workflow/GitHubServiceMockServer.java
index d9aa9f4253..61ba484ca6 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/GitHubServiceMockServer.java
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/acme/examples/sw/github/workflow/GitHubServiceMockServer.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.examples.sw.github.workflow;
+package org.acme.examples.sw.github.workflow;
import java.util.Collections;
import java.util.Map;
@@ -51,7 +51,7 @@ public Map start() {
.withHeader("Content-Type", "application/json")
.withBody("[ \"src/main/java/Backend.java\", \"src/main/java/AnotherClass.java\" ]")));
- return Collections.singletonMap("org.kogito.examples.sw.github.workflow.GitHubClient/mp-rest/url", wireMockServer.baseUrl());
+ return Collections.singletonMap("org.acme.examples.sw.github.workflow.GitHubClient/mp-rest/url", wireMockServer.baseUrl());
}
@Override
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/GitHubServiceTest.java b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/acme/examples/sw/github/workflow/GitHubServiceTest.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/GitHubServiceTest.java
rename to serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/acme/examples/sw/github/workflow/GitHubServiceTest.java
index be509edc6e..a96cc72ac6 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/GitHubServiceTest.java
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/acme/examples/sw/github/workflow/GitHubServiceTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.examples.sw.github.workflow;
+package org.acme.examples.sw.github.workflow;
import java.io.IOException;
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/MessageSinkServer.java b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/acme/examples/sw/github/workflow/MessageSinkServer.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/MessageSinkServer.java
rename to serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/acme/examples/sw/github/workflow/MessageSinkServer.java
index 757a9b0f81..1939d7aae4 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/MessageSinkServer.java
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/acme/examples/sw/github/workflow/MessageSinkServer.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.examples.sw.github.workflow;
+package org.acme.examples.sw.github.workflow;
import java.util.Map;
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/PRCheckerWorkflowTest.java b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/acme/examples/sw/github/workflow/PRCheckerWorkflowTest.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/PRCheckerWorkflowTest.java
rename to serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/acme/examples/sw/github/workflow/PRCheckerWorkflowTest.java
index f6e15d6b02..a007b056c8 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/PRCheckerWorkflowTest.java
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/acme/examples/sw/github/workflow/PRCheckerWorkflowTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.examples.sw.github.workflow;
+package org.acme.examples.sw.github.workflow;
import java.io.IOException;
import java.nio.charset.Charset;
diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/resources/application.properties
index add3e03d94..d51afbe40f 100644
--- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/resources/application.properties
+++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/resources/application.properties
@@ -1,10 +1,10 @@
-quarkus.log.category."org.kogito".level=INFO
+quarkus.log.category."org.acme".level=INFO
quarkus.log.category."org.kie.kogito.app".level=INFO
-org.kogito.examples.sw.github.workflow.GitHubClient/mp-rest/url=
+org.acme.examples.sw.github.workflow.GitHubClient/mp-rest/url=
mp.messaging.outgoing.kogito_outgoing_stream.url=http://localhost:9090/
-# our sink server will sink these messages. See: org.kogito.examples.sw.github.workflow.MessageSinkServer
+# our sink server will sink these messages. See: org.acme.examples.sw.github.workflow.MessageSinkServer
mp.messaging.outgoing.pr_verified.connector=quarkus-http
mp.messaging.outgoing.pr_verified.url=http://localhost:8181/
diff --git a/serverless-workflow-examples/serverless-workflow-greeting-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-greeting-quarkus/pom.xml
index 7ac2e39db5..aa29807bfa 100644
--- a/serverless-workflow-examples/serverless-workflow-greeting-quarkus/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-greeting-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-greeting-quarkus1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-greeting-quarkus/src/test/java/org/kie/kogito/examples/GreetRestIT.java b/serverless-workflow-examples/serverless-workflow-greeting-quarkus/src/test/java/org/acme/examples/GreetRestIT.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-greeting-quarkus/src/test/java/org/kie/kogito/examples/GreetRestIT.java
rename to serverless-workflow-examples/serverless-workflow-greeting-quarkus/src/test/java/org/acme/examples/GreetRestIT.java
index c3c25d3575..efa5f41d44 100644
--- a/serverless-workflow-examples/serverless-workflow-greeting-quarkus/src/test/java/org/kie/kogito/examples/GreetRestIT.java
+++ b/serverless-workflow-examples/serverless-workflow-greeting-quarkus/src/test/java/org/acme/examples/GreetRestIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.junit.jupiter.api.Test;
diff --git a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/pom.xml
index 97c28bc222..bf5583007b 100644
--- a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-greeting-rpc-quarkus1.0-SNAPSHOTpom
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 8c65633396..a1b534be2f 100644
--- 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
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-greeting-rpc-quarkus1.0-SNAPSHOT
@@ -46,7 +46,7 @@
kogito-quarkus-serverless-workflow
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-greeting-server-rpc-quarkus${project.version}test
diff --git a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/src/test/java/org/kie/kogito/examples/GreetRestIT.java b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/src/test/java/org/acme/examples/GreetRestIT.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/src/test/java/org/kie/kogito/examples/GreetRestIT.java
rename to serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/src/test/java/org/acme/examples/GreetRestIT.java
index 36b3595196..9411892d7e 100644
--- a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/src/test/java/org/kie/kogito/examples/GreetRestIT.java
+++ b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/src/test/java/org/acme/examples/GreetRestIT.java
@@ -13,15 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.io.IOException;
+import org.acme.examples.sw.greeting.GreeterService;
import org.eclipse.microprofile.config.ConfigProvider;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
-import org.kie.kogito.examples.sw.greeting.GreeterService;
import io.grpc.Server;
import io.restassured.RestAssured;
diff --git a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/README.md b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/README.md
index 9fad0bb3c1..ded1f68589 100644
--- a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/README.md
+++ b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/README.md
@@ -16,6 +16,6 @@ You will need:
### Compile and Run
```sh
-mvn compile exec:java -Dexec.mainClass="org.kie.kogito.examples.sw.greeting.GreeterService"
+mvn compile exec:java -Dexec.mainClass="greeting.sw.org.acme.examples.GreeterService"
```
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 c2ca6f9308..0c5e6755bc 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
@@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-greeting-rpc-quarkus1.0-SNAPSHOT
@@ -152,7 +152,7 @@
dev.local/${USER}/${project.artifactId}:${project.version}
- org.kie.kogito.examples.sw.greeting.GreeterService
+ org.acme.examples.sw.greeting.GreeterService
diff --git a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/main/java/org/kie/kogito/examples/sw/greeting/GreeterService.java b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/main/java/org/acme/examples/sw/greeting/GreeterService.java
similarity index 96%
rename from serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/main/java/org/kie/kogito/examples/sw/greeting/GreeterService.java
rename to serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/main/java/org/acme/examples/sw/greeting/GreeterService.java
index 8b708efc1c..5201d441b3 100644
--- a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/main/java/org/kie/kogito/examples/sw/greeting/GreeterService.java
+++ b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/main/java/org/acme/examples/sw/greeting/GreeterService.java
@@ -13,14 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.sw.greeting;
+package org.acme.examples.sw.greeting;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
-import org.kie.kogito.examples.sw.greeting.Greeting.HelloReply;
-import org.kie.kogito.examples.sw.greeting.Greeting.HelloRequest;
+import org.acme.examples.sw.greeting.Greeting.HelloReply;
+import org.acme.examples.sw.greeting.Greeting.HelloRequest;
import io.grpc.Server;
import io.grpc.ServerBuilder;
diff --git a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/main/proto/greeting.proto b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/main/proto/greeting.proto
index 2b47b91d7c..2a836f5fcf 100644
--- a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/main/proto/greeting.proto
+++ b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/main/proto/greeting.proto
@@ -1,8 +1,6 @@
syntax = "proto3";
-option java_package="org.kie.kogito.examples.sw.greeting";
-
-
+option java_package="org.acme.examples.sw.greeting";
// The greeter service definition.
service Greeter {
diff --git a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/test/java/org/kie/kogito/examples/sw/greeting/GreeterClientTest.java b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/test/java/org/acme/examples/sw/greeting/GreeterClientTest.java
similarity index 96%
rename from serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/test/java/org/kie/kogito/examples/sw/greeting/GreeterClientTest.java
rename to serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/test/java/org/acme/examples/sw/greeting/GreeterClientTest.java
index 279d1eaa4d..647ac571f5 100644
--- a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/test/java/org/kie/kogito/examples/sw/greeting/GreeterClientTest.java
+++ b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/test/java/org/acme/examples/sw/greeting/GreeterClientTest.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.examples.sw.greeting;
+package org.acme.examples.sw.greeting;
import java.io.IOException;
import java.util.ArrayList;
@@ -27,9 +27,9 @@
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
-import org.kie.kogito.examples.sw.greeting.Greeting.HelloReply;
-import org.kie.kogito.examples.sw.greeting.Greeting.HelloRequest;
-import org.kie.kogito.examples.sw.greeting.Greeting.HelloRequest.Builder;
+import org.acme.examples.sw.greeting.Greeting.HelloReply;
+import org.acme.examples.sw.greeting.Greeting.HelloRequest;
+import org.acme.examples.sw.greeting.Greeting.HelloRequest.Builder;
import io.grpc.ManagedChannel;
import io.grpc.ManagedChannelBuilder;
diff --git a/serverless-workflow-examples/serverless-workflow-hello-world/pom.xml b/serverless-workflow-examples/serverless-workflow-hello-world/pom.xml
index 12e44987a6..419c093f87 100644
--- a/serverless-workflow-examples/serverless-workflow-hello-world/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-hello-world/pom.xml
@@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-hello-world1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-hello-world/src/test/java/org/kie/kogito/examples/HelloWorldTest.java b/serverless-workflow-examples/serverless-workflow-hello-world/src/test/java/org/acme/examples/HelloWorldTest.java
similarity index 96%
rename from serverless-workflow-examples/serverless-workflow-hello-world/src/test/java/org/kie/kogito/examples/HelloWorldTest.java
rename to serverless-workflow-examples/serverless-workflow-hello-world/src/test/java/org/acme/examples/HelloWorldTest.java
index 4ec97375b0..8759ab3710 100644
--- a/serverless-workflow-examples/serverless-workflow-hello-world/src/test/java/org/kie/kogito/examples/HelloWorldTest.java
+++ b/serverless-workflow-examples/serverless-workflow-hello-world/src/test/java/org/acme/examples/HelloWorldTest.java
@@ -1,4 +1,4 @@
-package org.kie.kogito.examples;
+package org.acme.examples;
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.RestAssured;
diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/pom.xml b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/pom.xml
index 7e0c115aa5..4986409df7 100644
--- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/pom.xml
@@ -2,7 +2,7 @@
serverless-workflow-loanbroker-showcase
- org.kie.kogito.examples
+ org.acme.examples1.0-SNAPSHOT4.0.0
diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/mvnw b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/mvnw
deleted file mode 100755
index 8a8fb2282d..0000000000
--- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/mvnw
+++ /dev/null
@@ -1,316 +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
-#
-# https://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.
-# ----------------------------------------------------------------------------
-
-# ----------------------------------------------------------------------------
-# Maven 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 /usr/local/etc/mavenrc ] ; then
- . /usr/local/etc/mavenrc
- fi
-
- 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="`\\unset -f command; \\command -v 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/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
- else
- jarUrl="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.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" || rm -f "$wrapperJarPath"
- else
- wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" || rm -f "$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 \
- $MAVEN_DEBUG_OPTS \
- -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
- "-Dmaven.home=${M2_HOME}" \
- "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
- ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/mvnw.cmd b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/mvnw.cmd
deleted file mode 100644
index 1d8ab018ea..0000000000
--- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/mvnw.cmd
+++ /dev/null
@@ -1,188 +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 https://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 Maven 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 keystroke 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 "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
-if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\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/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
-
-FOR /F "usebackq 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%/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.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 "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
-if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\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%
-
-cmd /C exit /B %ERROR_CODE%
diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/pom.xml b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/pom.xml
index 570e34034b..1cd9d543b6 100644
--- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/pom.xml
@@ -2,7 +2,7 @@
serverless-workflow-loanbroker-showcase
- org.kie.kogito.examples
+ org.acme.examples1.0-SNAPSHOT4.0.0
diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/application.properties
index 1b6399022f..4f082c04a5 100644
--- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/application.properties
+++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/application.properties
@@ -5,7 +5,7 @@ kogito.messaging.as-cloudevents=true
quarkus.http.cors.origins=*
quarkus.log.category."org.kie".level=DEBUG
-quarkus.log.category."org.kogito".level=DEBUG
+quarkus.log.category."org.acme".level=DEBUG
quarkus.log.category."org.acme".level=DEBUG
quarkus.swagger-ui.always-include=true
quarkus.http.cors=true
diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/loanbroker.sw.json.svg b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/loanbroker.sw.json.svg
index 4538e04ef3..4e7f2f0e11 100644
--- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/loanbroker.sw.json.svg
+++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/loanbroker.sw.json.svg
@@ -1 +1,283 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/mvnw b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/mvnw
deleted file mode 100755
index 8a8fb2282d..0000000000
--- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/mvnw
+++ /dev/null
@@ -1,316 +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
-#
-# https://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.
-# ----------------------------------------------------------------------------
-
-# ----------------------------------------------------------------------------
-# Maven 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 /usr/local/etc/mavenrc ] ; then
- . /usr/local/etc/mavenrc
- fi
-
- 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="`\\unset -f command; \\command -v 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/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
- else
- jarUrl="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.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" || rm -f "$wrapperJarPath"
- else
- wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" || rm -f "$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 \
- $MAVEN_DEBUG_OPTS \
- -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
- "-Dmaven.home=${M2_HOME}" \
- "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
- ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/mvnw.cmd b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/mvnw.cmd
deleted file mode 100644
index 1d8ab018ea..0000000000
--- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/mvnw.cmd
+++ /dev/null
@@ -1,188 +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 https://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 Maven 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 keystroke 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 "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
-if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\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/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
-
-FOR /F "usebackq 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%/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.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 "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
-if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\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%
-
-cmd /C exit /B %ERROR_CODE%
diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/pom.xml b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/pom.xml
index aa01856bbe..967164feeb 100644
--- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/pom.xml
@@ -5,7 +5,7 @@
serverless-workflow-loanbroker-showcase
- org.kie.kogito.examples
+ org.acme.examples1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/pom.xml b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/pom.xml
index efd654500d..593097bac5 100644
--- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/pom.xml
@@ -5,7 +5,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesKogito Example :: Serverless Workflow Loan Broker Showcase1.0-SNAPSHOTKogito Serverless Workflow example showcasing the Loan Broker use case
diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/pom.xml b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/pom.xml
index 2e08e9a86b..eff219c7a6 100644
--- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/pom.xml
@@ -5,7 +5,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesKogito Example :: Serverless Workflow Newsletter Subscription Showcase1.0-SNAPSHOTKogito Serverless Workflow example showcasing the Newsletter Subscription use case
diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/pom.xml b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/pom.xml
index 362fae8051..820573c441 100644
--- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
serverless-workflow-newsletter-subscription
- org.kie.kogito.examples
+ org.acme.examples1.0-SNAPSHOT4.0.0
@@ -136,7 +136,7 @@
test
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-newsletter-subscription-servicetest${project.version}
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/acme/examples/VertxRouter.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/java/org/kie/kogito/examples/VertxRouter.java
rename to serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/java/org/acme/examples/VertxRouter.java
index 67fb2aa54c..df05faffda 100644
--- 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/acme/examples/VertxRouter.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.event.Observes;
diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/pom.xml b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/pom.xml
index 7f75088eb1..0855149d4d 100644
--- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
serverless-workflow-newsletter-subscription
- org.kie.kogito.examples
+ org.acme.examples1.0-SNAPSHOT4.0.0
diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/mvnw b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/mvnw
deleted file mode 100755
index 8a8fb2282d..0000000000
--- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/mvnw
+++ /dev/null
@@ -1,316 +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
-#
-# https://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.
-# ----------------------------------------------------------------------------
-
-# ----------------------------------------------------------------------------
-# Maven 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 /usr/local/etc/mavenrc ] ; then
- . /usr/local/etc/mavenrc
- fi
-
- 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="`\\unset -f command; \\command -v 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/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
- else
- jarUrl="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.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" || rm -f "$wrapperJarPath"
- else
- wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" || rm -f "$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 \
- $MAVEN_DEBUG_OPTS \
- -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
- "-Dmaven.home=${M2_HOME}" \
- "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
- ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/mvnw.cmd b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/mvnw.cmd
deleted file mode 100755
index 1d8ab018ea..0000000000
--- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/mvnw.cmd
+++ /dev/null
@@ -1,188 +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 https://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 Maven 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 keystroke 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 "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
-if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\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/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
-
-FOR /F "usebackq 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%/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.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 "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
-if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\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%
-
-cmd /C exit /B %ERROR_CODE%
diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/pom.xml b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/pom.xml
index cdda9bb4f1..fec4a19205 100644
--- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-oauth2-orchestration-quarkus1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/mvnw b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/mvnw
deleted file mode 100755
index 8a8fb2282d..0000000000
--- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/mvnw
+++ /dev/null
@@ -1,316 +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
-#
-# https://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.
-# ----------------------------------------------------------------------------
-
-# ----------------------------------------------------------------------------
-# Maven 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 /usr/local/etc/mavenrc ] ; then
- . /usr/local/etc/mavenrc
- fi
-
- 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="`\\unset -f command; \\command -v 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/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
- else
- jarUrl="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.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" || rm -f "$wrapperJarPath"
- else
- wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" || rm -f "$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 \
- $MAVEN_DEBUG_OPTS \
- -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
- "-Dmaven.home=${M2_HOME}" \
- "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
- ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/mvnw.cmd b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/mvnw.cmd
deleted file mode 100755
index 1d8ab018ea..0000000000
--- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/mvnw.cmd
+++ /dev/null
@@ -1,188 +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 https://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 Maven 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 keystroke 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 "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
-if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\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/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
-
-FOR /F "usebackq 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%/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.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 "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
-if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\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%
-
-cmd /C exit /B %ERROR_CODE%
diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/pom.xml b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/pom.xml
index e0132a7d49..1b0bd8d2d6 100644
--- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-oauth2-orchestration-quarkus1.0-SNAPSHOT
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/acme/examples/ExchangeWorkflowHelper.java
similarity index 99%
rename from serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/java/org/kie/kogito/examples/ExchangeWorkflowHelper.java
rename to serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/java/org/acme/examples/ExchangeWorkflowHelper.java
index 335f6f86ab..3903f2701b 100644
--- 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/acme/examples/ExchangeWorkflowHelper.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.time.LocalDate;
import java.time.format.DateTimeParseException;
diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/java/org/kie/kogito/examples/ValidationResult.java b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/java/org/acme/examples/ValidationResult.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/java/org/kie/kogito/examples/ValidationResult.java
rename to serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/java/org/acme/examples/ValidationResult.java
index 353e47d727..856c1102f7 100644
--- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/java/org/kie/kogito/examples/ValidationResult.java
+++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/java/org/acme/examples/ValidationResult.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
/**
* Used to return the validation results to the Currency Exchange Workflow.
diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/resources/application.properties
index 8460c28559..ad33c757b1 100644
--- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/resources/application.properties
+++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/resources/application.properties
@@ -1,4 +1,4 @@
-quarkus.log.category."org.kie.kogito.examples".level=DEBUG
+quarkus.log.category."org.acme.examples".level=DEBUG
quarkus.swagger-ui.always-include=true
diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/resources/currency-exchange-workflow.sw.json b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/resources/currency-exchange-workflow.sw.json
index c5f58f0c6d..7f0ca5509e 100644
--- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/resources/currency-exchange-workflow.sw.json
+++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/resources/currency-exchange-workflow.sw.json
@@ -8,7 +8,7 @@
{
"name": "validateInputs",
"type": "custom",
- "operation": "service:org.kie.kogito.examples.ExchangeWorkflowHelper::validateInputs"
+ "operation": "service:org.acme.examples.ExchangeWorkflowHelper::validateInputs"
},
{
"name": "getExchangeRate",
diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/pom.xml
index 6efc6bb754..cb0fcce0a4 100644
--- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-oauth2-orchestration-quarkus1.0-SNAPSHOTpom
diff --git a/serverless-workflow-examples/serverless-workflow-openvino-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-openvino-quarkus/pom.xml
index f9f8962f07..9908df841e 100644
--- a/serverless-workflow-examples/serverless-workflow-openvino-quarkus/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-openvino-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-openvino-quarkus1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-openvino-quarkus/src/test/java/org/kie/kogito/examples/OpenVinoRestIT.java b/serverless-workflow-examples/serverless-workflow-openvino-quarkus/src/test/java/org/acme/examples/OpenVinoRestIT.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-openvino-quarkus/src/test/java/org/kie/kogito/examples/OpenVinoRestIT.java
rename to serverless-workflow-examples/serverless-workflow-openvino-quarkus/src/test/java/org/acme/examples/OpenVinoRestIT.java
index 6c61c6f60c..de3b70d4a5 100644
--- a/serverless-workflow-examples/serverless-workflow-openvino-quarkus/src/test/java/org/kie/kogito/examples/OpenVinoRestIT.java
+++ b/serverless-workflow-examples/serverless-workflow-openvino-quarkus/src/test/java/org/acme/examples/OpenVinoRestIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.junit.jupiter.api.Test;
diff --git a/serverless-workflow-examples/serverless-workflow-order-processing/pom.xml b/serverless-workflow-examples/serverless-workflow-order-processing/pom.xml
index 101b80b766..6b30621401 100644
--- a/serverless-workflow-examples/serverless-workflow-order-processing/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-order-processing/pom.xml
@@ -5,7 +5,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-order-processing1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-order-processing/src/test/java/org/kie/kogito/examples/sw/orders/processing/Order.java b/serverless-workflow-examples/serverless-workflow-order-processing/src/test/java/org/acme/examples/sw/orders/processing/Order.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-order-processing/src/test/java/org/kie/kogito/examples/sw/orders/processing/Order.java
rename to serverless-workflow-examples/serverless-workflow-order-processing/src/test/java/org/acme/examples/sw/orders/processing/Order.java
index 4ca2a33f05..45691b4f13 100644
--- a/serverless-workflow-examples/serverless-workflow-order-processing/src/test/java/org/kie/kogito/examples/sw/orders/processing/Order.java
+++ b/serverless-workflow-examples/serverless-workflow-order-processing/src/test/java/org/acme/examples/sw/orders/processing/Order.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.sw.orders.processing;
+package org.acme.examples.sw.orders.processing;
import java.util.Objects;
diff --git a/serverless-workflow-examples/serverless-workflow-order-processing/src/test/java/org/kie/kogito/examples/sw/orders/processing/VerifyWorkflowExecutionIT.java b/serverless-workflow-examples/serverless-workflow-order-processing/src/test/java/org/acme/examples/sw/orders/processing/VerifyWorkflowExecutionIT.java
similarity index 99%
rename from serverless-workflow-examples/serverless-workflow-order-processing/src/test/java/org/kie/kogito/examples/sw/orders/processing/VerifyWorkflowExecutionIT.java
rename to serverless-workflow-examples/serverless-workflow-order-processing/src/test/java/org/acme/examples/sw/orders/processing/VerifyWorkflowExecutionIT.java
index 5426850f65..3e05ae20db 100644
--- a/serverless-workflow-examples/serverless-workflow-order-processing/src/test/java/org/kie/kogito/examples/sw/orders/processing/VerifyWorkflowExecutionIT.java
+++ b/serverless-workflow-examples/serverless-workflow-order-processing/src/test/java/org/acme/examples/sw/orders/processing/VerifyWorkflowExecutionIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.sw.orders.processing;
+package org.acme.examples.sw.orders.processing;
import java.util.UUID;
diff --git a/serverless-workflow-examples/serverless-workflow-parallel-execution/pom.xml b/serverless-workflow-examples/serverless-workflow-parallel-execution/pom.xml
index f8d635e57d..383b81c1e8 100644
--- a/serverless-workflow-examples/serverless-workflow-parallel-execution/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-parallel-execution/pom.xml
@@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-parallel-execution1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-parallel-execution/src/test/java/org/kie/kogito/examples/ParallelStateTest.java b/serverless-workflow-examples/serverless-workflow-parallel-execution/src/test/java/org/acme/examples/ParallelStateTest.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-parallel-execution/src/test/java/org/kie/kogito/examples/ParallelStateTest.java
rename to serverless-workflow-examples/serverless-workflow-parallel-execution/src/test/java/org/acme/examples/ParallelStateTest.java
index 19fb55a4b5..025a2a6070 100644
--- a/serverless-workflow-examples/serverless-workflow-parallel-execution/src/test/java/org/kie/kogito/examples/ParallelStateTest.java
+++ b/serverless-workflow-examples/serverless-workflow-parallel-execution/src/test/java/org/acme/examples/ParallelStateTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.junit.jupiter.api.Test;
diff --git a/serverless-workflow-examples/serverless-workflow-python-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-python-quarkus/pom.xml
index 850e11d5b8..39eccff726 100644
--- a/serverless-workflow-examples/serverless-workflow-python-quarkus/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-python-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-python-quarkus1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-python-quarkus/src/test/java/org/kie/kogito/examples/PythonRestIT.java b/serverless-workflow-examples/serverless-workflow-python-quarkus/src/test/java/org/acme/examples/PythonRestIT.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-python-quarkus/src/test/java/org/kie/kogito/examples/PythonRestIT.java
rename to serverless-workflow-examples/serverless-workflow-python-quarkus/src/test/java/org/acme/examples/PythonRestIT.java
index 74897b88c8..b636f9684b 100644
--- a/serverless-workflow-examples/serverless-workflow-python-quarkus/src/test/java/org/kie/kogito/examples/PythonRestIT.java
+++ b/serverless-workflow-examples/serverless-workflow-python-quarkus/src/test/java/org/acme/examples/PythonRestIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.junit.jupiter.api.Test;
diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/pom.xml b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/pom.xml
index 1849476fe9..b79f6a9a66 100644
--- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-qas-service-showcase1.0-SNAPSHOTpom
diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/pom.xml b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/pom.xml
index 1ec7e76292..eb2d9990e4 100644
--- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-qas-service-showcase1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/pom.xml b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/pom.xml
index 322691ea6c..19ce3443f3 100644
--- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-qas-service-showcase1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-saga-quarkus/pom.xml
index ddc08d91b4..80ef552585 100644
--- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/pom.xml
@@ -2,7 +2,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.examples1.0-SNAPSHOTserverless-workflow-saga-quarkus
diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/MockService.java b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/acme/examples/MockService.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/MockService.java
rename to serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/acme/examples/MockService.java
index db3c576e3c..fda9ced1aa 100644
--- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/MockService.java
+++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/acme/examples/MockService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.util.Objects;
import java.util.Optional;
diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/OrderService.java b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/acme/examples/OrderService.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/OrderService.java
rename to serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/acme/examples/OrderService.java
index 111555e29d..1205fd38a6 100644
--- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/OrderService.java
+++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/acme/examples/OrderService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import javax.enterprise.context.ApplicationScoped;
diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/PaymentService.java b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/acme/examples/PaymentService.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/PaymentService.java
rename to serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/acme/examples/PaymentService.java
index 350341fa01..44f7475f36 100644
--- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/PaymentService.java
+++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/acme/examples/PaymentService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/Response.java b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/acme/examples/Response.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/Response.java
rename to serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/acme/examples/Response.java
index 618d78e21b..df6b326d48 100644
--- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/Response.java
+++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/acme/examples/Response.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import com.fasterxml.jackson.annotation.JsonIgnore;
diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/ServiceException.java b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/acme/examples/ServiceException.java
similarity index 95%
rename from serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/ServiceException.java
rename to serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/acme/examples/ServiceException.java
index 908552aa21..51d6a2cd5b 100644
--- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/ServiceException.java
+++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/acme/examples/ServiceException.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
public class ServiceException extends RuntimeException {
diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/ShippingService.java b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/acme/examples/ShippingService.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/ShippingService.java
rename to serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/acme/examples/ShippingService.java
index d8c06baa84..969c0221bc 100644
--- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/ShippingService.java
+++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/acme/examples/ShippingService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/StockService.java b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/acme/examples/StockService.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/StockService.java
rename to serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/acme/examples/StockService.java
index eb3f3d82c7..0d6bef08f4 100644
--- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/StockService.java
+++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/acme/examples/StockService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/resources/order-saga-error-handling.sw.json b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/resources/order-saga-error-handling.sw.json
index 78605f332f..436fcc3dbc 100644
--- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/resources/order-saga-error-handling.sw.json
+++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/resources/order-saga-error-handling.sw.json
@@ -6,15 +6,15 @@
"errors" : [
{
"name" : "reserve stock failed",
- "code": "org.kie.kogito.examples.ServiceException"
+ "code": "org.acme.examples.ServiceException"
},
{
"name": "process payment failed",
- "code": "org.kie.kogito.examples.ServiceException"
+ "code": "org.acme.examples.ServiceException"
},
{
"name": "shipping failed",
- "code": "org.kie.kogito.examples.ServiceException"
+ "code": "org.acme.examples.ServiceException"
}
],
@@ -23,42 +23,42 @@
{
"name": "reserveStock",
"type": "custom",
- "operation": "service:org.kie.kogito.examples.StockService::reserveStock"
+ "operation": "service:org.acme.examples.StockService::reserveStock"
},
{
"name": "cancelStock",
"type": "custom",
- "operation": "service:org.kie.kogito.examples.StockService::cancelStock"
+ "operation": "service:org.acme.examples.StockService::cancelStock"
},
{
"name": "processPayment",
"type": "custom",
- "operation": "service:org.kie.kogito.examples.PaymentService::processPayment"
+ "operation": "service:org.acme.examples.PaymentService::processPayment"
},
{
"name": "cancelPayment",
"type": "custom",
- "operation": "service:org.kie.kogito.examples.PaymentService::cancelPayment"
+ "operation": "service:org.acme.examples.PaymentService::cancelPayment"
},
{
"name": "scheduleShipping",
"type": "custom",
- "operation": "service:org.kie.kogito.examples.ShippingService::scheduleShipping"
+ "operation": "service:org.acme.examples.ShippingService::scheduleShipping"
},
{
"name": "cancelShipping",
"type": "custom",
- "operation": "service:org.kie.kogito.examples.ShippingService::cancelShipping"
+ "operation": "service:org.acme.examples.ShippingService::cancelShipping"
},
{
"name": "orderSuccess",
"type": "custom",
- "operation": "service:org.kie.kogito.examples.OrderService::success"
+ "operation": "service:org.acme.examples.OrderService::success"
},
{
"name": "orderFailure",
"type": "custom",
- "operation": "service:org.kie.kogito.examples.OrderService::failure"
+ "operation": "service:org.acme.examples.OrderService::failure"
},
{
"name": "log",
diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/test/java/org/kie/kogito/examples/OrderSagaWorkflowIT.java b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/test/java/org/acme/examples/OrderSagaWorkflowIT.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-saga-quarkus/src/test/java/org/kie/kogito/examples/OrderSagaWorkflowIT.java
rename to serverless-workflow-examples/serverless-workflow-saga-quarkus/src/test/java/org/acme/examples/OrderSagaWorkflowIT.java
index 78ae825c93..37291e0eeb 100644
--- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/test/java/org/kie/kogito/examples/OrderSagaWorkflowIT.java
+++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/test/java/org/acme/examples/OrderSagaWorkflowIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.junit.jupiter.api.Test;
diff --git a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/pom.xml
index d15fe8e640..737db22531 100644
--- a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-service-calls-quarkus1.0-SNAPSHOT
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/acme/serverless/examples/CountriesClassifierResource.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/java/org/kogito/serverless/examples/CountriesClassifierResource.java
rename to serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/java/org/acme/serverless/examples/CountriesClassifierResource.java
index 3917c23b4b..019f29ed45 100644
--- 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/acme/serverless/examples/CountriesClassifierResource.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.serverless.examples;
+package org.acme.serverless.examples;
import java.util.Collections;
import java.util.LinkedHashMap;
diff --git a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/java/org/kogito/serverless/examples/Country.java b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/java/org/acme/serverless/examples/Country.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/java/org/kogito/serverless/examples/Country.java
rename to serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/java/org/acme/serverless/examples/Country.java
index 9266a5ffb6..3778440d94 100644
--- a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/java/org/kogito/serverless/examples/Country.java
+++ b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/java/org/acme/serverless/examples/Country.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.serverless.examples;
+package org.acme.serverless.examples;
import java.util.List;
diff --git a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/resources/countryservice.sw.json b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/resources/countryservice.sw.json
index 9ce7a73519..31b3280f04 100644
--- a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/resources/countryservice.sw.json
+++ b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/resources/countryservice.sw.json
@@ -13,12 +13,12 @@
{
"name": "classifySmallMediumFunction",
"type": "custom",
- "operation": "service:org.kogito.serverless.examples.CountriesClassifierResource::classifySmallMedium"
+ "operation": "service:org.acme.serverless.examples.CountriesClassifierResource::classifySmallMedium"
},
{
"name": "classifyLargeFunction",
"type": "custom",
- "operation": "service:org.kogito.serverless.examples.CountriesClassifierResource::classifyLarge"
+ "operation": "service:org.acme.serverless.examples.CountriesClassifierResource::classifyLarge"
}
],
"states": [
diff --git a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/kogito/serverless/examples/CountryServiceWorkflowTest.java b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/acme/serverless/examples/CountryServiceWorkflowTest.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/kogito/serverless/examples/CountryServiceWorkflowTest.java
rename to serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/acme/serverless/examples/CountryServiceWorkflowTest.java
index f49df157ed..3fbaa5a855 100644
--- a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/kogito/serverless/examples/CountryServiceWorkflowTest.java
+++ b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/acme/serverless/examples/CountryServiceWorkflowTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.serverless.examples;
+package org.acme.serverless.examples;
import java.util.HashMap;
import java.util.Map;
diff --git a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/kogito/serverless/examples/RestCountriesMockServer.java b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/acme/serverless/examples/RestCountriesMockServer.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/kogito/serverless/examples/RestCountriesMockServer.java
rename to serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/acme/serverless/examples/RestCountriesMockServer.java
index 49632b85f3..b259053374 100644
--- a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/kogito/serverless/examples/RestCountriesMockServer.java
+++ b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/acme/serverless/examples/RestCountriesMockServer.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kogito.serverless.examples;
+package org.acme.serverless.examples;
import java.io.IOException;
import java.util.HashMap;
diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/fake-stock-service/pom.xml b/serverless-workflow-examples/serverless-workflow-stock-profit/fake-stock-service/pom.xml
index 5db27a8abc..6721aeb7f9 100644
--- a/serverless-workflow-examples/serverless-workflow-stock-profit/fake-stock-service/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-stock-profit/fake-stock-service/pom.xml
@@ -4,7 +4,7 @@
4.0.0serverless-workflow-stock-profit
- org.kie.kogito.examples
+ org.acme.examples1.0-SNAPSHOTfake-stock-service
diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/pom.xml b/serverless-workflow-examples/serverless-workflow-stock-profit/pom.xml
index 730e56f86c..af960f2f6e 100644
--- a/serverless-workflow-examples/serverless-workflow-stock-profit/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-stock-profit/pom.xml
@@ -2,7 +2,7 @@
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-stock-profit1.0-SNAPSHOTKogito Example :: Serverless Workflow Stock Profit
diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/pom.xml b/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/pom.xml
index 506e535cb4..aedcf4c8ba 100644
--- a/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/pom.xml
@@ -4,7 +4,7 @@
4.0.0serverless-workflow-stock-profit
- org.kie.kogito.examples
+ org.acme.examples1.0-SNAPSHOTreal-stock-service
diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/pom.xml b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/pom.xml
index 035a4a3e82..84fc6e86b3 100644
--- a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/pom.xml
@@ -4,7 +4,7 @@
4.0.0serverless-workflow-stock-profit
- org.kie.kogito.examples
+ org.acme.examples1.0-SNAPSHOTstock-portfolio-service
diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/pom.xml b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/pom.xml
index 809f6c6527..7780b67e3c 100644
--- a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/pom.xml
@@ -4,7 +4,7 @@
4.0.0serverless-workflow-stock-profit
- org.kie.kogito.examples
+ org.acme.examples1.0-SNAPSHOTstock-profit
diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/pom.xml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/pom.xml
index f3ee8d2f98..2b74ed7c5c 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-temperature-conversion1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/test/java/org/acme/serverless/ConversationFlowIT.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java
rename to serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/test/java/org/acme/serverless/ConversationFlowIT.java
index f7c75cf67e..c2797fc2af 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java
+++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/test/java/org/acme/serverless/ConversationFlowIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.serverless;
+package org.acme.serverless;
import java.util.Collections;
diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/test/java/org/kie/kogito/serverless/OperationsMockService.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/test/java/org/acme/serverless/OperationsMockService.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/test/java/org/kie/kogito/serverless/OperationsMockService.java
rename to serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/test/java/org/acme/serverless/OperationsMockService.java
index 9a845abf90..aa649a0081 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/test/java/org/kie/kogito/serverless/OperationsMockService.java
+++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/test/java/org/acme/serverless/OperationsMockService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.serverless;
+package org.acme.serverless;
import java.util.Collections;
import java.util.Map;
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 a0a03fe0bc..2c945bfa34 100644
--- 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
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-temperature-conversion1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/test/java/org/acme/serverless/ConversationFlowIT.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java
rename to serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/test/java/org/acme/serverless/ConversationFlowIT.java
index f7c75cf67e..c2797fc2af 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java
+++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/test/java/org/acme/serverless/ConversationFlowIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.serverless;
+package org.acme.serverless;
import java.util.Collections;
diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/test/java/org/kie/kogito/serverless/OperationsMockService.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/test/java/org/acme/serverless/OperationsMockService.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/test/java/org/kie/kogito/serverless/OperationsMockService.java
rename to serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/test/java/org/acme/serverless/OperationsMockService.java
index 9a845abf90..aa649a0081 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/test/java/org/kie/kogito/serverless/OperationsMockService.java
+++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/test/java/org/acme/serverless/OperationsMockService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.serverless;
+package org.acme.serverless;
import java.util.Collections;
import java.util.Map;
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 8db50c2716..69a838e445 100644
--- 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
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-temperature-conversion1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/test/java/org/acme/serverless/ConversationFlowIT.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java
rename to serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/test/java/org/acme/serverless/ConversationFlowIT.java
index f7c75cf67e..c2797fc2af 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java
+++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/test/java/org/acme/serverless/ConversationFlowIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.serverless;
+package org.acme.serverless;
import java.util.Collections;
diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/test/java/org/kie/kogito/serverless/OperationsMockService.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/test/java/org/acme/serverless/OperationsMockService.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/test/java/org/kie/kogito/serverless/OperationsMockService.java
rename to serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/test/java/org/acme/serverless/OperationsMockService.java
index 9a845abf90..aa649a0081 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/test/java/org/kie/kogito/serverless/OperationsMockService.java
+++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/test/java/org/acme/serverless/OperationsMockService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.serverless;
+package org.acme.serverless;
import java.util.Collections;
import java.util.Map;
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 29686f3cac..bd156d3a18 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-temperature-conversion1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/test/java/org/acme/serverless/ConversationFlowIT.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java
rename to serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/test/java/org/acme/serverless/ConversationFlowIT.java
index f7c75cf67e..c2797fc2af 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java
+++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/test/java/org/acme/serverless/ConversationFlowIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.serverless;
+package org.acme.serverless;
import java.util.Collections;
diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/test/java/org/kie/kogito/serverless/OperationsMockService.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/test/java/org/acme/serverless/OperationsMockService.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/test/java/org/kie/kogito/serverless/OperationsMockService.java
rename to serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/test/java/org/acme/serverless/OperationsMockService.java
index 9a845abf90..aa649a0081 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/test/java/org/kie/kogito/serverless/OperationsMockService.java
+++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/test/java/org/acme/serverless/OperationsMockService.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.serverless;
+package org.acme.serverless;
import java.util.Collections;
import java.util.Map;
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 5d9b652aff..ead8a59d69 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-temperature-conversion1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/java/org/kie/kogito/examples/sw/temp/multiplication/MultiplicationOperation.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/java/org/acme/examples/sw/temp/multiplication/MultiplicationOperation.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/java/org/kie/kogito/examples/sw/temp/multiplication/MultiplicationOperation.java
rename to serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/java/org/acme/examples/sw/temp/multiplication/MultiplicationOperation.java
index c89c7bd35a..c969d282e1 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/java/org/kie/kogito/examples/sw/temp/multiplication/MultiplicationOperation.java
+++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/java/org/acme/examples/sw/temp/multiplication/MultiplicationOperation.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.sw.temp.multiplication;
+package org.acme.examples.sw.temp.multiplication;
import java.util.Objects;
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/acme/examples/sw/temp/multiplication/OperationResource.java
similarity index 96%
rename from serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/java/org/kie/kogito/examples/sw/temp/multiplication/OperationResource.java
rename to serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/java/org/acme/examples/sw/temp/multiplication/OperationResource.java
index b889930829..9e40ae3dac 100644
--- 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/acme/examples/sw/temp/multiplication/OperationResource.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.sw.temp.multiplication;
+package org.acme.examples.sw.temp.multiplication;
import javax.validation.constraints.NotNull;
import javax.ws.rs.Consumes;
diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/test/java/org/kie/kogito/examples/sw/temp/multiplication/OperationResourceIT.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/test/java/org/acme/examples/sw/temp/multiplication/OperationResourceIT.java
similarity index 96%
rename from serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/test/java/org/kie/kogito/examples/sw/temp/multiplication/OperationResourceIT.java
rename to serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/test/java/org/acme/examples/sw/temp/multiplication/OperationResourceIT.java
index d96b7c1bb1..c6665042f5 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/test/java/org/kie/kogito/examples/sw/temp/multiplication/OperationResourceIT.java
+++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/test/java/org/acme/examples/sw/temp/multiplication/OperationResourceIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.sw.temp.multiplication;
+package org.acme.examples.sw.temp.multiplication;
import org.junit.jupiter.api.Test;
diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/pom.xml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/pom.xml
index c8d8269374..14806b61e8 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-temperature-conversion1.0-SNAPSHOTpom
diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/pom.xml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/pom.xml
index 50157e0d95..9a77c2a672 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-temperature-conversion1.0-SNAPSHOT
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/acme/examples/sw/temp/subtraction/OperationResource.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/java/org/kie/kogito/examples/sw/temp/subtraction/OperationResource.java
rename to serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/java/org/acme/examples/sw/temp/subtraction/OperationResource.java
index fbddc22c5b..d4874d79db 100644
--- 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/acme/examples/sw/temp/subtraction/OperationResource.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.sw.temp.subtraction;
+package org.acme.examples.sw.temp.subtraction;
import javax.validation.constraints.NotNull;
import javax.ws.rs.Consumes;
diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/java/org/kie/kogito/examples/sw/temp/subtraction/SubtractionOperation.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/java/org/acme/examples/sw/temp/subtraction/SubtractionOperation.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/java/org/kie/kogito/examples/sw/temp/subtraction/SubtractionOperation.java
rename to serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/java/org/acme/examples/sw/temp/subtraction/SubtractionOperation.java
index 7bd7ab057d..066f349e10 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/java/org/kie/kogito/examples/sw/temp/subtraction/SubtractionOperation.java
+++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/java/org/acme/examples/sw/temp/subtraction/SubtractionOperation.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.sw.temp.subtraction;
+package org.acme.examples.sw.temp.subtraction;
import java.util.Objects;
diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/test/java/org/kie/kogito/examples/sw/temp/subtraction/OperationResourceIT.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/test/java/org/acme/examples/sw/temp/subtraction/OperationResourceIT.java
similarity index 96%
rename from serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/test/java/org/kie/kogito/examples/sw/temp/subtraction/OperationResourceIT.java
rename to serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/test/java/org/acme/examples/sw/temp/subtraction/OperationResourceIT.java
index b3bedd0b1e..8a88db18de 100644
--- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/test/java/org/kie/kogito/examples/sw/temp/subtraction/OperationResourceIT.java
+++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/test/java/org/acme/examples/sw/temp/subtraction/OperationResourceIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples.sw.temp.subtraction;
+package org.acme.examples.sw.temp.subtraction;
import org.junit.jupiter.api.Test;
diff --git a/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/pom.xml b/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/pom.xml
index 29a3d7a38e..19183fd81b 100644
--- a/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/pom.xml
@@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-testing-with-rest-assured1.0-SNAPSHOT
diff --git a/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/src/test/java/org/kie/kogito/examples/HelloTest.java b/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/src/test/java/org/acme/examples/HelloTest.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/src/test/java/org/kie/kogito/examples/HelloTest.java
rename to serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/src/test/java/org/acme/examples/HelloTest.java
index 81cb0dd2d8..998b7a52e8 100644
--- a/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/src/test/java/org/kie/kogito/examples/HelloTest.java
+++ b/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/src/test/java/org/acme/examples/HelloTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
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 9ecc52d5a1..7e71926634 100644
--- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-timeouts-showcase-embedded1.0-SNAPSHOTKogito Example :: Serverless Workflow Timeouts Showcase Embedded
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/acme/examples/EventsProducerResource.java
similarity index 99%
rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/java/org/kie/kogito/examples/EventsProducerResource.java
rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/java/org/acme/examples/EventsProducerResource.java
index 85ecdad6e5..c942b8fd51 100644
--- 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/acme/examples/EventsProducerResource.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.net.URI;
import java.time.OffsetDateTime;
diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/java/org/kie/kogito/examples/VertxRouter.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/java/org/acme/examples/VertxRouter.java
similarity index 93%
rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/java/org/kie/kogito/examples/VertxRouter.java
rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/java/org/acme/examples/VertxRouter.java
index b1f5f10265..9a7c4068d4 100644
--- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/java/org/kie/kogito/examples/VertxRouter.java
+++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/java/org/acme/examples/VertxRouter.java
@@ -1,4 +1,4 @@
-package org.kie.kogito.examples;
+package org.acme.examples;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.event.Observes;
diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/test/java/org/kie/kogito/examples/TimeoutIT.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/test/java/org/acme/examples/TimeoutIT.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/test/java/org/kie/kogito/examples/TimeoutIT.java
rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/test/java/org/acme/examples/TimeoutIT.java
index 5ae15d321a..60c0bf1211 100644
--- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/test/java/org/kie/kogito/examples/TimeoutIT.java
+++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/test/java/org/acme/examples/TimeoutIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.util.concurrent.TimeUnit;
diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/pom.xml b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/pom.xml
index 1d26d223ff..7a98b0ea21 100644
--- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-timeouts-showcase-extended1.0-SNAPSHOTKogito Example :: Serverless Workflow Timeouts Showcase Extended
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/acme/examples/EventsProducerResource.java
similarity index 99%
rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/java/org/kie/kogito/examples/EventsProducerResource.java
rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/java/org/acme/examples/EventsProducerResource.java
index 3be5d15111..848e289b18 100644
--- 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/acme/examples/EventsProducerResource.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.net.URI;
import java.time.OffsetDateTime;
diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/java/org/kie/kogito/examples/VertxRouter.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/java/org/acme/examples/VertxRouter.java
similarity index 93%
rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/java/org/kie/kogito/examples/VertxRouter.java
rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/java/org/acme/examples/VertxRouter.java
index b1f5f10265..9a7c4068d4 100644
--- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/java/org/kie/kogito/examples/VertxRouter.java
+++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/java/org/acme/examples/VertxRouter.java
@@ -1,4 +1,4 @@
-package org.kie.kogito.examples;
+package org.acme.examples;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.event.Observes;
diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/test/java/org/kie/kogito/examples/TimeoutIT.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/test/java/org/acme/examples/TimeoutIT.java
similarity index 98%
rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/test/java/org/kie/kogito/examples/TimeoutIT.java
rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/test/java/org/acme/examples/TimeoutIT.java
index 5ae15d321a..60c0bf1211 100644
--- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/test/java/org/kie/kogito/examples/TimeoutIT.java
+++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/test/java/org/acme/examples/TimeoutIT.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import java.util.concurrent.TimeUnit;
diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/pom.xml b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/pom.xml
index d4cc05f687..e3e4b0b603 100644
--- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/pom.xml
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4.0.0
- org.kie.kogito.examples
+ org.acme.examplesserverless-workflow-timeouts-showcase-operator-devprofile1.0-SNAPSHOTKogito Example :: Serverless Workflow Timeouts Showcase Operator Dev Profile
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/acme/examples/CallbackStateTimeoutsClient.java
similarity index 93%
rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/CallbackStateTimeoutsClient.java
rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/CallbackStateTimeoutsClient.java
index 9b5f2cf6f2..62fb776b02 100644
--- 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/acme/examples/CallbackStateTimeoutsClient.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.eclipse.microprofile.rest.client.inject.RegisterRestClient;
@@ -30,7 +30,7 @@
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
-import static org.kie.kogito.examples.CallbackStateTimeoutsClient.CONFIG_KEY;
+import static org.acme.examples.CallbackStateTimeoutsClient.CONFIG_KEY;
@Path("/")
@RegisterRestClient(configKey = CONFIG_KEY)
diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/CloudEventsCustomizer.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/CloudEventsCustomizer.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/CloudEventsCustomizer.java
rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/CloudEventsCustomizer.java
index a67f7efc06..bed880fd29 100644
--- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/CloudEventsCustomizer.java
+++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/CloudEventsCustomizer.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.cloudevents.jackson.JsonFormat;
diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/EventStateTimeoutsClient.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/EventStateTimeoutsClient.java
similarity index 93%
rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/EventStateTimeoutsClient.java
rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/EventStateTimeoutsClient.java
index 9e12d47b90..525cc5c5e6 100644
--- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/EventStateTimeoutsClient.java
+++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/EventStateTimeoutsClient.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.eclipse.microprofile.rest.client.inject.RegisterRestClient;
@@ -30,7 +30,7 @@
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
-import static org.kie.kogito.examples.EventStateTimeoutsClient.CONFIG_KEY;
+import static org.acme.examples.EventStateTimeoutsClient.CONFIG_KEY;
@Path("/")
@RegisterRestClient(configKey = CONFIG_KEY)
diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/EventsProducerResource.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/EventsProducerResource.java
similarity index 99%
rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/EventsProducerResource.java
rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/EventsProducerResource.java
index 01a195f51b..d59d0e9ad1 100644
--- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/EventsProducerResource.java
+++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/EventsProducerResource.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/SwitchStateTimeoutsClient.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/SwitchStateTimeoutsClient.java
similarity index 93%
rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/SwitchStateTimeoutsClient.java
rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/SwitchStateTimeoutsClient.java
index 85a7e991ad..88f1c2ce0a 100644
--- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/SwitchStateTimeoutsClient.java
+++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/SwitchStateTimeoutsClient.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.eclipse.microprofile.rest.client.inject.RegisterRestClient;
@@ -30,7 +30,7 @@
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
-import static org.kie.kogito.examples.SwitchStateTimeoutsClient.CONFIG_KEY;
+import static org.acme.examples.SwitchStateTimeoutsClient.CONFIG_KEY;
@Path("/")
@RegisterRestClient(configKey = CONFIG_KEY)
diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/VertxRouter.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/VertxRouter.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/VertxRouter.java
rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/VertxRouter.java
index 668f08bb78..ab83a7db1d 100644
--- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/VertxRouter.java
+++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/VertxRouter.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.event.Observes;
diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowClient.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/WorkflowClient.java
similarity index 97%
rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowClient.java
rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/WorkflowClient.java
index 5f900abda3..6b9e83c749 100644
--- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowClient.java
+++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/WorkflowClient.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.eclipse.microprofile.rest.client.annotation.ClientHeaderParam;
diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowTimeoutsClient.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/WorkflowTimeoutsClient.java
similarity index 94%
rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowTimeoutsClient.java
rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/WorkflowTimeoutsClient.java
index 71bdf45d55..5474c2b3b2 100644
--- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowTimeoutsClient.java
+++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/WorkflowTimeoutsClient.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.eclipse.microprofile.rest.client.inject.RegisterRestClient;
@@ -30,7 +30,7 @@
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
-import static org.kie.kogito.examples.WorkflowTimeoutsClient.CONFIG_KEY;
+import static org.acme.examples.WorkflowTimeoutsClient.CONFIG_KEY;
@Path("/")
@RegisterRestClient(configKey = CONFIG_KEY)
diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowsProxyResource.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/WorkflowsProxyResource.java
similarity index 99%
rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowsProxyResource.java
rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/WorkflowsProxyResource.java
index afee9f0622..ea96f7b687 100644
--- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowsProxyResource.java
+++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/acme/examples/WorkflowsProxyResource.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.kie.kogito.examples;
+package org.acme.examples;
import org.eclipse.microprofile.rest.client.inject.RestClient;