diff --git a/addons/common/events/decisions/pom.xml b/addons/common/events/decisions/pom.xml index b93610898ee..fdae2fc91e3 100644 --- a/addons/common/events/decisions/pom.xml +++ b/addons/common/events/decisions/pom.xml @@ -33,6 +33,10 @@ Kogito :: Add-Ons :: Events :: Event-Driven Decisions Trigger evaluation of decision models via events + + org.kie.kogito.eventdriven.decision + + org.kie.kogito diff --git a/addons/common/events/mongodb/pom.xml b/addons/common/events/mongodb/pom.xml index 78575ca6e95..8f167769630 100644 --- a/addons/common/events/mongodb/pom.xml +++ b/addons/common/events/mongodb/pom.xml @@ -34,6 +34,10 @@ Kogito :: Add-Ons :: Events :: MongoDB Common addon for Kogito Events based on MongoDB + + org.kie.kogito.events.mongodb + + org.kie.kogito diff --git a/addons/common/events/predictions/pom.xml b/addons/common/events/predictions/pom.xml index 5f96952b426..0ba1dc18c5a 100644 --- a/addons/common/events/predictions/pom.xml +++ b/addons/common/events/predictions/pom.xml @@ -33,6 +33,10 @@ Kogito :: Add-Ons :: Events :: Event-Driven Predictions Trigger evaluation of PMML models via events + + org.kie.kogito.eventdriven.predictions + + org.kie.kogito @@ -46,7 +50,6 @@ org.kie.kogito kogito-dmn - ${project.version} test-jar test diff --git a/addons/common/events/rules/pom.xml b/addons/common/events/rules/pom.xml index 378ce7edf94..b7dec129cb3 100644 --- a/addons/common/events/rules/pom.xml +++ b/addons/common/events/rules/pom.xml @@ -33,6 +33,12 @@ Kogito :: Add-Ons :: Events :: Event-Driven Rules Trigger evaluation of rule models via events + + + org.kie.kogito.eventdriven.rules + + + org.kie.kogito diff --git a/addons/common/explainability/pom.xml b/addons/common/explainability/pom.xml index 2ab6a38d95e..b978bb77dce 100644 --- a/addons/common/explainability/pom.xml +++ b/addons/common/explainability/pom.xml @@ -32,6 +32,10 @@ kogito-addons-explainability Kogito :: Add-Ons :: Explainability + + org.kie.kogito.explainability + + org.kie.kogito diff --git a/addons/common/human-task-prediction/api/pom.xml b/addons/common/human-task-prediction/api/pom.xml index 2f9e1676d96..9d184a540c4 100644 --- a/addons/common/human-task-prediction/api/pom.xml +++ b/addons/common/human-task-prediction/api/pom.xml @@ -32,6 +32,10 @@ Kogito Predictions API + + org.kie.kogito.prediction.api + + diff --git a/addons/common/human-task-prediction/smile/pom.xml b/addons/common/human-task-prediction/smile/pom.xml index a3e2c252523..28fd8ebd829 100644 --- a/addons/common/human-task-prediction/smile/pom.xml +++ b/addons/common/human-task-prediction/smile/pom.xml @@ -31,6 +31,10 @@ Kogito :: Add-Ons :: Predictions :: SMILE Kogito Prediction based on SMILE addon + + org.kie.kogito.predictions.smile + + diff --git a/addons/common/jobs/api/pom.xml b/addons/common/jobs/api/pom.xml index 6b494b89d6b..4aa64a01e6e 100644 --- a/addons/common/jobs/api/pom.xml +++ b/addons/common/jobs/api/pom.xml @@ -31,6 +31,10 @@ Kogito :: Add-Ons :: Jobs :: API Jobs API used by both service and client + + org.kie.kogito.jobs.api + + io.cloudevents diff --git a/addons/common/jobs/management-common/pom.xml b/addons/common/jobs/management-common/pom.xml index 67fa382f196..24f4857eb30 100644 --- a/addons/common/jobs/management-common/pom.xml +++ b/addons/common/jobs/management-common/pom.xml @@ -32,6 +32,10 @@ kogito-addons-jobs-management-common Kogito :: Add-Ons :: Jobs :: Management Common + + org.kie.kogito.jobs.management + + org.kie.kogito diff --git a/addons/common/knative/eventing/pom.xml b/addons/common/knative/eventing/pom.xml index e3df53214c8..6f3c34d129c 100644 --- a/addons/common/knative/eventing/pom.xml +++ b/addons/common/knative/eventing/pom.xml @@ -33,6 +33,10 @@ Kogito :: Add-Ons :: Knative :: Eventing Common library for Kogito Knative Eventing Addons implementations + + org.kie.kogito.addons.knative.eventing + + org.kie.kogito diff --git a/addons/common/kubernetes-service-catalog/pom.xml b/addons/common/kubernetes-service-catalog/pom.xml index 90360b83270..7ddd933618b 100644 --- a/addons/common/kubernetes-service-catalog/pom.xml +++ b/addons/common/kubernetes-service-catalog/pom.xml @@ -33,6 +33,10 @@ Kogito :: Add-Ons :: Kubernetes Service Catalog Common Library for Kubernetes Service Discovery implementations + + org.kie.kogito.addons.k8s.resource.catalog + + org.junit.jupiter diff --git a/addons/common/kubernetes/pom.xml b/addons/common/kubernetes/pom.xml index 0e1d0a0bee6..47e568f3af7 100644 --- a/addons/common/kubernetes/pom.xml +++ b/addons/common/kubernetes/pom.xml @@ -33,6 +33,10 @@ Kogito :: Add-Ons :: Kubernetes Common library for Kogito Kubernetes Addons implementations + + org.kie.kogito.addons.k8s + + org.kie.kogito diff --git a/addons/common/mail/pom.xml b/addons/common/mail/pom.xml index 0137e672828..d0e37ba21fe 100644 --- a/addons/common/mail/pom.xml +++ b/addons/common/mail/pom.xml @@ -32,6 +32,10 @@ kogito-addons-mail Kogito :: Add-Ons :: E-Mail :: Common + + org.kie.kogito.mail + + org.kie.kogito diff --git a/addons/common/marshallers/avro/pom.xml b/addons/common/marshallers/avro/pom.xml index 1653811a7b6..130f76a6d35 100644 --- a/addons/common/marshallers/avro/pom.xml +++ b/addons/common/marshallers/avro/pom.xml @@ -32,6 +32,10 @@ Kogito :: Add-Ons :: Marshallers :: Avro Kogito Marshallers Unmarshaller for Avro + + org.kie.kogito.event.avro + + org.kie.kogito diff --git a/addons/common/messaging/pom.xml b/addons/common/messaging/pom.xml index bdd88c34b74..84c684d48ee 100644 --- a/addons/common/messaging/pom.xml +++ b/addons/common/messaging/pom.xml @@ -32,6 +32,10 @@ Kogito :: Add-Ons :: Messaging Messaging Add-On Common Interfaces + + org.kie.kogito.addon.cloudevents + + org.kie.kogito diff --git a/addons/common/monitoring/core/pom.xml b/addons/common/monitoring/core/pom.xml index 4fbe326318a..cf53d4ce549 100644 --- a/addons/common/monitoring/core/pom.xml +++ b/addons/common/monitoring/core/pom.xml @@ -32,6 +32,10 @@ kogito-addons-monitoring-core + + org.kie.kogito.monitoring.core.common + + org.kie.kogito diff --git a/addons/common/monitoring/elastic/pom.xml b/addons/common/monitoring/elastic/pom.xml index 948dd1595fb..1108f6267ad 100644 --- a/addons/common/monitoring/elastic/pom.xml +++ b/addons/common/monitoring/elastic/pom.xml @@ -34,6 +34,10 @@ Kogito :: Add-Ons :: Monitoring Elastic Common Monitoring Elastic Core + + org.kie.kogito.monitoring.elastic.common + + org.kie.kogito diff --git a/addons/common/monitoring/prometheus/pom.xml b/addons/common/monitoring/prometheus/pom.xml index 3629fbd524f..020f0b7b490 100644 --- a/addons/common/monitoring/prometheus/pom.xml +++ b/addons/common/monitoring/prometheus/pom.xml @@ -32,6 +32,10 @@ kogito-addons-monitoring-prometheus Kogito :: Add-Ons :: Monitoring Prometheus Common + + org.kie.kogito.monitoring.prometheus.common.rest + + Prometheus monitoring for a kogito application diff --git a/addons/common/persistence/filesystem/pom.xml b/addons/common/persistence/filesystem/pom.xml index 4fd4853f7f2..2dce567ae9e 100644 --- a/addons/common/persistence/filesystem/pom.xml +++ b/addons/common/persistence/filesystem/pom.xml @@ -30,6 +30,10 @@ File System based persistence for Kogito + + org.kie.kogito.persistence.filesystem + + diff --git a/addons/common/persistence/infinispan/pom.xml b/addons/common/persistence/infinispan/pom.xml index abd601a237f..21dbfa7dc95 100644 --- a/addons/common/persistence/infinispan/pom.xml +++ b/addons/common/persistence/infinispan/pom.xml @@ -31,6 +31,10 @@ Kogito :: Add-Ons :: Persistence :: Infinispan Infinispan based persistence for Kogito + + org.kie.kogito.infinispan + + diff --git a/addons/common/persistence/jdbc/pom.xml b/addons/common/persistence/jdbc/pom.xml index 8c3d0ecf1ec..9689a7b998c 100644 --- a/addons/common/persistence/jdbc/pom.xml +++ b/addons/common/persistence/jdbc/pom.xml @@ -30,6 +30,10 @@ JDBC based persistence for Kogito + + org.kie.kogito.persistence.jdbc + + org.kie.kogito diff --git a/addons/common/persistence/mongodb/pom.xml b/addons/common/persistence/mongodb/pom.xml index d92d76190e3..4e2d00ec996 100644 --- a/addons/common/persistence/mongodb/pom.xml +++ b/addons/common/persistence/mongodb/pom.xml @@ -32,7 +32,11 @@ kogito-addons-persistence-mongodb Kogito :: Add-Ons :: Persistence :: MongoDB MongoDB based persistence for Kogito - + + + org.kie.kogito.mongodb + + org.kie.kogito diff --git a/addons/common/persistence/pom.xml b/addons/common/persistence/pom.xml index 201b5c73ce0..2c0f6e201ec 100644 --- a/addons/common/persistence/pom.xml +++ b/addons/common/persistence/pom.xml @@ -35,24 +35,11 @@ jdbc ddl + infinispan + filesystem + mongodb + postgresql + rocksdb - - - default - - - !productized - - - - infinispan - filesystem - mongodb - postgresql - rocksdb - - - - diff --git a/addons/common/persistence/postgresql/pom.xml b/addons/common/persistence/postgresql/pom.xml index 1b8a5116c13..af0fdf275d0 100644 --- a/addons/common/persistence/postgresql/pom.xml +++ b/addons/common/persistence/postgresql/pom.xml @@ -34,6 +34,7 @@ src/main/resources/db ${path.to.jdbc.addon}/${path.to.script.folder}/postgresql ${path.to.script.folder}/migration + org.kie.kogito.persistence.postgresql diff --git a/addons/common/persistence/rocksdb/pom.xml b/addons/common/persistence/rocksdb/pom.xml index 8d2af949562..cd3e5914635 100644 --- a/addons/common/persistence/rocksdb/pom.xml +++ b/addons/common/persistence/rocksdb/pom.xml @@ -31,6 +31,10 @@ Kogito :: Add-Ons :: Persistence :: RocksDB RocksDB persistence add-on for Kogito + + org.kie.kogito.persistence.rocksdb + + diff --git a/addons/common/pom.xml b/addons/common/pom.xml index cd05d51aab7..4400c2eb3d5 100644 --- a/addons/common/pom.xml +++ b/addons/common/pom.xml @@ -41,34 +41,20 @@ rest-exception-handler process-svg process-management - source-files knative kubernetes kubernetes-service-catalog jobs + events + monitoring + explainability + human-task-prediction + mail + tracing + task-management + marshallers - - - default - - - !productized - - - - events - monitoring - explainability - human-task-prediction - mail - tracing - task-management - marshallers - - - - diff --git a/addons/common/process-management/pom.xml b/addons/common/process-management/pom.xml index 33ab02165e7..792bbb34a37 100644 --- a/addons/common/process-management/pom.xml +++ b/addons/common/process-management/pom.xml @@ -32,6 +32,10 @@ kogito-addons-process-management Kogito :: Add-Ons :: Process Management :: Common + + org.kie.kogito.process.management + + org.kie.kogito diff --git a/addons/common/process-svg/pom.xml b/addons/common/process-svg/pom.xml index bf6146c13ae..868ec080b34 100644 --- a/addons/common/process-svg/pom.xml +++ b/addons/common/process-svg/pom.xml @@ -32,6 +32,10 @@ kogito-addons-process-svg Kogito :: Add-Ons :: Process SVG :: Common + + org.kie.kogito.svg + + org.slf4j diff --git a/addons/common/rest-exception-handler/pom.xml b/addons/common/rest-exception-handler/pom.xml index 267fc3a0abb..3d0c6a77640 100644 --- a/addons/common/rest-exception-handler/pom.xml +++ b/addons/common/rest-exception-handler/pom.xml @@ -32,6 +32,10 @@ kogito-addons-rest-exception-handler Kogito :: Rest Exception Handler :: Common + + org.kie.kogito.resource.exceptions + + org.kie.kogito diff --git a/addons/common/source-files/README.md b/addons/common/source-files/README.md deleted file mode 100644 index e7b83e3c40e..00000000000 --- a/addons/common/source-files/README.md +++ /dev/null @@ -1,8 +0,0 @@ -# Kogito Source Files Add-on - -The Kogito Source Files Add-on adds the capability of listing and downloading source files to Kogito projects. See -the [official documentation](https://docs.jboss.org/kogito/release/latest/html_single/#_kogito_source_files_add_on) -to find out more. - -> **⚠️** -This add-on isn't supposed to be used by end-users, if not needed for internal integrations, since it can be a potential security breach for some users' use cases. \ No newline at end of file diff --git a/addons/common/source-files/pom.xml b/addons/common/source-files/pom.xml deleted file mode 100644 index d448c5e7fe1..00000000000 --- a/addons/common/source-files/pom.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - kogito-addons-common-parent - org.kie.kogito - 999-SNAPSHOT - - 4.0.0 - - kogito-addons-source-files - Kogito :: Add-Ons :: Source Files :: Common - - - - org.kie.kogito - kogito-api - - - - - org.junit.jupiter - junit-jupiter-engine - test - - - org.assertj - assertj-core - test - - - - \ No newline at end of file diff --git a/addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFilesException.java b/addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFilesException.java deleted file mode 100644 index e0547471be0..00000000000 --- a/addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFilesException.java +++ /dev/null @@ -1,26 +0,0 @@ -/* - * 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. - */ -package org.kie.kogito.addon.source.files; - -public class SourceFilesException extends RuntimeException { - - public SourceFilesException(String message, Throwable cause) { - super(message, cause); - } -} diff --git a/addons/common/task-management/pom.xml b/addons/common/task-management/pom.xml index 4663879c487..93326d039eb 100644 --- a/addons/common/task-management/pom.xml +++ b/addons/common/task-management/pom.xml @@ -32,6 +32,10 @@ kogito-addons-task-management Kogito :: Add-Ons :: Task Management :: Common + + org.kie.kogito.task.management.service + + org.kie.kogito diff --git a/addons/common/tracing/decision-common/pom.xml b/addons/common/tracing/decision-common/pom.xml index 03ad192937f..9261d62b558 100644 --- a/addons/common/tracing/decision-common/pom.xml +++ b/addons/common/tracing/decision-common/pom.xml @@ -32,6 +32,10 @@ kogito-addons-tracing-decision-common Kogito :: Add-Ons :: Tracing :: Common + + org.kie.kogito.tracing.decision + + org.kie.kogito @@ -56,7 +60,6 @@ org.kie.kogito kogito-dmn - ${project.version} test-jar test diff --git a/addons/common/tracing/tracing-api/pom.xml b/addons/common/tracing/tracing-api/pom.xml index 3dc15e555fd..8ab694787bc 100644 --- a/addons/common/tracing/tracing-api/pom.xml +++ b/addons/common/tracing/tracing-api/pom.xml @@ -33,7 +33,7 @@ Kogito :: Add-Ons :: Tracing :: API - 3.4.6 + org.kie.kogito.tracing @@ -66,7 +66,6 @@ org.mockito mockito-inline - ${version.org.mockito} test diff --git a/addons/common/tracing/typedvalue-api/pom.xml b/addons/common/tracing/typedvalue-api/pom.xml index 91dbf45197d..f7c003ab473 100644 --- a/addons/common/tracing/typedvalue-api/pom.xml +++ b/addons/common/tracing/typedvalue-api/pom.xml @@ -32,6 +32,11 @@ kogito-addons-tracing-typedvalue-api Kogito :: Add-Ons :: TypedValue API + + org.kie.kogito.tracing.typedvalue + + + com.fasterxml.jackson.core diff --git a/addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFile.java b/api/kogito-api/src/main/java/org/kie/kogito/source/files/SourceFile.java similarity index 98% rename from addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFile.java rename to api/kogito-api/src/main/java/org/kie/kogito/source/files/SourceFile.java index ef76d122f12..2c555e22a60 100644 --- a/addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFile.java +++ b/api/kogito-api/src/main/java/org/kie/kogito/source/files/SourceFile.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.kie.kogito.addon.source.files; +package org.kie.kogito.source.files; import java.io.FileNotFoundException; import java.io.IOException; diff --git a/addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFilesProvider.java b/api/kogito-api/src/main/java/org/kie/kogito/source/files/SourceFilesProvider.java similarity index 97% rename from addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFilesProvider.java rename to api/kogito-api/src/main/java/org/kie/kogito/source/files/SourceFilesProvider.java index 0d5791b0932..155ad36fdc7 100644 --- a/addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFilesProvider.java +++ b/api/kogito-api/src/main/java/org/kie/kogito/source/files/SourceFilesProvider.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.kie.kogito.addon.source.files; +package org.kie.kogito.source.files; import java.util.Collection; import java.util.Optional; diff --git a/api/kogito-events-core/pom.xml b/api/kogito-events-core/pom.xml index 52efc3cc388..905355f4cd2 100644 --- a/api/kogito-events-core/pom.xml +++ b/api/kogito-events-core/pom.xml @@ -35,9 +35,11 @@ Kogito :: API :: Events Core events for Kogito that depends on jackson - + + org.kie.kogito.event + + - org.kie.kogito kogito-api diff --git a/api/kogito-jobs-service-api/pom.xml b/api/kogito-jobs-service-api/pom.xml index a1e9556a92d..2a130b68970 100644 --- a/api/kogito-jobs-service-api/pom.xml +++ b/api/kogito-jobs-service-api/pom.xml @@ -35,6 +35,10 @@ Kogito :: API :: Jobs Service The common events API for Kogito Jobs Service + + org.kie.kogito.jobs.service.api + + io.cloudevents diff --git a/api/kogito-services/src/main/java/org/kie/kogito/services/registry/ProcessDefinitionEventRegistry.java b/api/kogito-services/src/main/java/org/kie/kogito/services/registry/ProcessDefinitionEventRegistry.java index 768cccb7441..e3cb1f01f9c 100644 --- a/api/kogito-services/src/main/java/org/kie/kogito/services/registry/ProcessDefinitionEventRegistry.java +++ b/api/kogito-services/src/main/java/org/kie/kogito/services/registry/ProcessDefinitionEventRegistry.java @@ -18,9 +18,11 @@ */ package org.kie.kogito.services.registry; +import java.io.IOException; import java.util.Collections; import java.util.List; import java.util.Map; +import java.util.Optional; import java.util.Set; import java.util.function.Function; import java.util.function.Supplier; @@ -32,9 +34,12 @@ import org.kie.kogito.event.process.NodeDefinition; import org.kie.kogito.event.process.ProcessDefinitionDataEvent; import org.kie.kogito.event.process.ProcessDefinitionEventBody; +import org.kie.kogito.event.process.ProcessDefinitionEventBody.ProcessDefinitionEventBodyBuilder; import org.kie.kogito.internal.utils.ConversionUtils; import org.kie.kogito.process.Process; import org.kie.kogito.process.Processes; +import org.kie.kogito.source.files.SourceFile; +import org.kie.kogito.source.files.SourceFilesProvider; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -45,12 +50,18 @@ public class ProcessDefinitionEventRegistry { private static final Logger LOGGER = LoggerFactory.getLogger(ProcessDefinitionEventRegistry.class); - private Application app; - private String serviceUrl; + private final Application app; + private final String serviceUrl; + private final Optional sourceFilesProvider; public ProcessDefinitionEventRegistry(Application app, String serviceUrl) { + this(app, serviceUrl, Optional.empty()); + } + + public ProcessDefinitionEventRegistry(Application app, String serviceUrl, Optional sourceFilesProvider) { this.app = app; this.serviceUrl = serviceUrl; + this.sourceFilesProvider = sourceFilesProvider; } public void register(Processes processes) { @@ -78,8 +89,8 @@ private Function, ProcessDefinitionDataEvent> mapProcessDefinition(Se } Set annotations = ((List) metadata.getOrDefault("annotations", emptyList())).stream().collect(toSet()); String description = (String) metadata.get("Description"); - ProcessDefinitionDataEvent definitionDataEvent = new ProcessDefinitionDataEvent(ProcessDefinitionEventBody.builder() - .setId(p.id()) + + ProcessDefinitionEventBodyBuilder builder = ProcessDefinitionEventBody.builder().setId(p.id()) .setName(p.name()) .setVersion(p.version()) .setType(p.type()) @@ -88,12 +99,22 @@ private Function, ProcessDefinitionDataEvent> mapProcessDefinition(Se .setNodes(getNodesDefinitions(p)) .setAnnotations(annotations) .setDescription(description) - .setMetadata(metadata) - .build()); - return definitionDataEvent; + .setMetadata(metadata); + sourceFilesProvider.flatMap(provider -> provider.getProcessSourceFile(p.id())).map(this::readSourceFile).ifPresentOrElse(builder::setSource, + () -> LOGGER.warn("Not source found for process id {}", p.id())); + return new ProcessDefinitionDataEvent(builder.build()); }; } + private String readSourceFile(SourceFile s) { + try { + return new String(s.readContents()); + } catch (IOException e) { + LOGGER.warn("Error reading content for source file {}", s, e); + return null; + } + } + private static String getEndpoint(String endpoint, Process p) { //sanitize process path in case of fqdn org.acme.ProcessExample -> ProcessExample String processPath = ConversionUtils.sanitizeToSimpleName(p.id()); diff --git a/addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFilesProviderImpl.java b/api/kogito-services/src/main/java/org/kie/kogito/source/files/SourceFilesProviderImpl.java similarity index 96% rename from addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFilesProviderImpl.java rename to api/kogito-services/src/main/java/org/kie/kogito/source/files/SourceFilesProviderImpl.java index 336a1da4d1c..b531f8d4a95 100644 --- a/addons/common/source-files/src/main/java/org/kie/kogito/addon/source/files/SourceFilesProviderImpl.java +++ b/api/kogito-services/src/main/java/org/kie/kogito/source/files/SourceFilesProviderImpl.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.kie.kogito.addon.source.files; +package org.kie.kogito.source.files; import java.util.Collection; import java.util.HashMap; @@ -50,7 +50,7 @@ public Collection getProcessSourceFiles(String processId) { } @Override - public Optional getProcessSourceFile(String processId) throws SourceFilesException { + public Optional getProcessSourceFile(String processId) { return getProcessSourceFiles(processId).stream() .filter(this::isValidDefinitionSource) .findFirst(); diff --git a/addons/common/source-files/src/test/java/org/kie/kogito/addon/source/files/SourceFilesProviderImplTest.java b/api/kogito-services/src/test/java/org/kie/kogito/source/files/SourceFilesProviderImplTest.java similarity index 98% rename from addons/common/source-files/src/test/java/org/kie/kogito/addon/source/files/SourceFilesProviderImplTest.java rename to api/kogito-services/src/test/java/org/kie/kogito/source/files/SourceFilesProviderImplTest.java index 402d8602693..c919bc7cb74 100644 --- a/addons/common/source-files/src/test/java/org/kie/kogito/addon/source/files/SourceFilesProviderImplTest.java +++ b/api/kogito-services/src/test/java/org/kie/kogito/source/files/SourceFilesProviderImplTest.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.kie.kogito.addon.source.files; +package org.kie.kogito.source.files; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; diff --git a/addons/common/source-files/src/test/resources/META-INF/resources/sources/hiring.bpmn b/api/kogito-services/src/test/resources/META-INF/resources/sources/hiring.bpmn similarity index 100% rename from addons/common/source-files/src/test/resources/META-INF/resources/sources/hiring.bpmn rename to api/kogito-services/src/test/resources/META-INF/resources/sources/hiring.bpmn diff --git a/addons/common/source-files/src/test/resources/META-INF/resources/sources/petstore.json b/api/kogito-services/src/test/resources/META-INF/resources/sources/petstore.json similarity index 100% rename from addons/common/source-files/src/test/resources/META-INF/resources/sources/petstore.json rename to api/kogito-services/src/test/resources/META-INF/resources/sources/petstore.json diff --git a/addons/common/source-files/src/test/resources/META-INF/resources/sources/petstore.sw.json b/api/kogito-services/src/test/resources/META-INF/resources/sources/petstore.sw.json similarity index 100% rename from addons/common/source-files/src/test/resources/META-INF/resources/sources/petstore.sw.json rename to api/kogito-services/src/test/resources/META-INF/resources/sources/petstore.sw.json diff --git a/addons/common/source-files/src/test/resources/META-INF/resources/sources/ymlgreet.sw.yml b/api/kogito-services/src/test/resources/META-INF/resources/sources/ymlgreet.sw.yml similarity index 100% rename from addons/common/source-files/src/test/resources/META-INF/resources/sources/ymlgreet.sw.yml rename to api/kogito-services/src/test/resources/META-INF/resources/sources/ymlgreet.sw.yml diff --git a/api/kogito-timer/pom.xml b/api/kogito-timer/pom.xml index 763a4c87318..c63d17732f0 100644 --- a/api/kogito-timer/pom.xml +++ b/api/kogito-timer/pom.xml @@ -33,6 +33,10 @@ Kogito :: API :: Timer Timer API to schedule jobs + + org.kie.kogito.timer + + org.slf4j diff --git a/api/pom.xml b/api/pom.xml index 9880370c7d4..e39cc6ecca4 100755 --- a/api/pom.xml +++ b/api/pom.xml @@ -43,30 +43,17 @@ kogito-services kogito-timer kogito-jobs-service-api + kogito-api-incubation-common + kogito-api-incubation-common-objectmapper + kogito-api-incubation-application + kogito-api-incubation-processes + kogito-api-incubation-processes-services + kogito-api-incubation-predictions + kogito-api-incubation-predictions-services + kogito-api-incubation-decisions + kogito-api-incubation-decisions-services + kogito-api-incubation-rules + kogito-api-incubation-rules-services - - - default - - - !productized - - - - kogito-api-incubation-common - kogito-api-incubation-common-objectmapper - kogito-api-incubation-application - kogito-api-incubation-processes - kogito-api-incubation-processes-services - kogito-api-incubation-predictions - kogito-api-incubation-predictions-services - kogito-api-incubation-decisions - kogito-api-incubation-decisions-services - kogito-api-incubation-rules - kogito-api-incubation-rules-services - - - - diff --git a/drools/pom.xml b/drools/pom.xml index d8f42de8dcd..ede49644c3c 100755 --- a/drools/pom.xml +++ b/drools/pom.xml @@ -46,27 +46,14 @@ kogito-drools kogito-dmn + kogito-pmml-api-dependencies + kogito-efesto-drl + kogito-pmml-dependencies + kogito-pmml-openapi + kogito-pmml + kogito-scenario-simulation - - - default - - - !productized - - - - kogito-pmml-api-dependencies - kogito-efesto-drl - kogito-pmml-dependencies - kogito-pmml-openapi - kogito-pmml - kogito-scenario-simulation - - - - diff --git a/grafana-api/pom.xml b/grafana-api/pom.xml index 7db7158d28f..c1becb504a7 100644 --- a/grafana-api/pom.xml +++ b/grafana-api/pom.xml @@ -32,6 +32,10 @@ grafana-api Kogito :: Grafana API + + org.kie.kogito.grafana + + diff --git a/jbpm/process-serialization-protobuf/pom.xml b/jbpm/process-serialization-protobuf/pom.xml index d11b4fc2aa3..647da48aeb1 100644 --- a/jbpm/process-serialization-protobuf/pom.xml +++ b/jbpm/process-serialization-protobuf/pom.xml @@ -36,6 +36,7 @@ Kogito Process Protobuf Serialization **/org/kie/kogito/serialization/process/protobuf/* + org.kie.kogito.serialization.process diff --git a/jbpm/process-serialization-protobuf/src/main/java/org/kie/kogito/serialization/process/impl/ProtobufProcessInstanceReader.java b/jbpm/process-serialization-protobuf/src/main/java/org/kie/kogito/serialization/process/impl/ProtobufProcessInstanceReader.java index a7581dc555e..a182931c155 100644 --- a/jbpm/process-serialization-protobuf/src/main/java/org/kie/kogito/serialization/process/impl/ProtobufProcessInstanceReader.java +++ b/jbpm/process-serialization-protobuf/src/main/java/org/kie/kogito/serialization/process/impl/ProtobufProcessInstanceReader.java @@ -130,34 +130,66 @@ private RuleFlowProcessInstance buildWorkflow(KogitoProcessInstanceProtobuf.Proc processInstance.setProcessId(processInstanceProtobuf.getProcessId()); processInstance.setState(processInstanceProtobuf.getState()); processInstance.setSignalCompletion(processInstanceProtobuf.getSignalCompletion()); - processInstance.setStartDate(new Date(processInstanceProtobuf.getStartDate())); - processInstance.setDescription(processInstanceProtobuf.getDescription()); - processInstance.setDeploymentId(processInstanceProtobuf.getDeploymentId()); + if (processInstanceProtobuf.hasStartDate()) { + processInstance.setStartDate(new Date(processInstanceProtobuf.getStartDate())); + } + + if (processInstanceProtobuf.hasDescription()) { + processInstance.setDescription(processInstanceProtobuf.getDescription()); + } + + if (processInstanceProtobuf.hasDeploymentId()) { + processInstance.setDeploymentId(processInstanceProtobuf.getDeploymentId()); + } for (String completedNodeId : processInstanceProtobuf.getCompletedNodeIdsList()) { processInstance.addCompletedNodeId(completedNodeId); } - processInstance.setCorrelationKey(processInstanceProtobuf.getBusinessKey()); + if (processInstanceProtobuf.hasBusinessKey()) { + processInstance.setCorrelationKey(processInstanceProtobuf.getBusinessKey()); + } + + if (processInstanceProtobuf.hasSla()) { + SLAContext slaContext = processInstanceProtobuf.getSla(); + if (slaContext.getSlaDueDate() > 0) { + processInstance.internalSetSlaDueDate(new Date(slaContext.getSlaDueDate())); + } + + if (slaContext.hasSlaTimerId()) { + processInstance.internalSetSlaTimerId(slaContext.getSlaTimerId()); + } + if (slaContext.hasSlaCompliance()) { + processInstance.internalSetSlaCompliance(slaContext.getSlaCompliance()); + } + } - SLAContext slaContext = processInstanceProtobuf.getSla(); - if (slaContext.getSlaDueDate() > 0) { - processInstance.internalSetSlaDueDate(new Date(slaContext.getSlaDueDate())); + if (processInstanceProtobuf.hasCancelTimerId()) { + processInstance.internalSetCancelTimerId(processInstanceProtobuf.getCancelTimerId()); } - processInstance.internalSetSlaTimerId(slaContext.getSlaTimerId()); - processInstance.internalSetSlaCompliance(slaContext.getSlaCompliance()); - processInstance.internalSetCancelTimerId(processInstanceProtobuf.getCancelTimerId()); + if (processInstanceProtobuf.hasParentProcessInstanceId()) { + processInstance.setParentProcessInstanceId(processInstanceProtobuf.getParentProcessInstanceId()); + } + if (processInstanceProtobuf.hasRootProcessInstanceId()) { + processInstance.setRootProcessInstanceId(processInstanceProtobuf.getRootProcessInstanceId()); + } + if (processInstanceProtobuf.hasRootProcessId()) { + processInstance.setRootProcessId(processInstanceProtobuf.getRootProcessId()); + } - processInstance.setParentProcessInstanceId(processInstanceProtobuf.getParentProcessInstanceId()); - processInstance.setRootProcessInstanceId(processInstanceProtobuf.getRootProcessInstanceId()); - processInstance.setRootProcessId(processInstanceProtobuf.getRootProcessId()); + if (processInstanceProtobuf.hasErrorNodeId()) { + processInstance.internalSetErrorNodeId(processInstanceProtobuf.getErrorNodeId()); + } - processInstance.internalSetErrorNodeId(processInstanceProtobuf.getErrorNodeId()); - processInstance.internalSetErrorMessage(processInstanceProtobuf.getErrorMessage()); + if (processInstanceProtobuf.hasErrorMessage()) { + processInstance.internalSetErrorMessage(processInstanceProtobuf.getErrorMessage()); + } - processInstance.setReferenceId(processInstanceProtobuf.getReferenceId()); + if (processInstanceProtobuf.hasReferenceId()) { + processInstance.setReferenceId(processInstanceProtobuf.getReferenceId()); + } if (processInstanceProtobuf.getSwimlaneContextCount() > 0) { SwimlaneContextInstance swimlaneContextInstance = (SwimlaneContextInstance) processInstance.getContextInstance(SwimlaneContext.SWIMLANE_SCOPE); diff --git a/jbpm/process-serialization-protobuf/src/test/java/org/kie/kogito/serialization/process/ProcessInstanceMarshallTest.java b/jbpm/process-serialization-protobuf/src/test/java/org/kie/kogito/serialization/process/ProcessInstanceMarshallTest.java index 884187c641e..a3af7111980 100644 --- a/jbpm/process-serialization-protobuf/src/test/java/org/kie/kogito/serialization/process/ProcessInstanceMarshallTest.java +++ b/jbpm/process-serialization-protobuf/src/test/java/org/kie/kogito/serialization/process/ProcessInstanceMarshallTest.java @@ -38,11 +38,24 @@ import java.util.stream.Stream; import org.jbpm.process.core.context.variable.Variable; +import org.jbpm.process.core.context.variable.VariableScope; +import org.jbpm.process.instance.context.variable.VariableScopeInstance; +import org.jbpm.ruleflow.instance.RuleFlowProcessInstance; +import org.jbpm.workflow.core.Node; +import org.jbpm.workflow.core.impl.ConnectionImpl; +import org.jbpm.workflow.core.impl.WorkflowProcessImpl; +import org.jbpm.workflow.core.node.EndNode; +import org.jbpm.workflow.core.node.HumanTaskNode; +import org.jbpm.workflow.core.node.StartNode; +import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; import org.junit.jupiter.params.provider.NullSource; +import org.kie.kogito.process.impl.AbstractProcess; import org.kie.kogito.serialization.process.impl.ProtobufMarshallerReaderContext; +import org.kie.kogito.serialization.process.impl.ProtobufProcessInstanceReader; +import org.kie.kogito.serialization.process.impl.ProtobufProcessInstanceWriter; import org.kie.kogito.serialization.process.impl.ProtobufProcessMarshallerWriteContext; import org.kie.kogito.serialization.process.impl.ProtobufVariableReader; import org.kie.kogito.serialization.process.impl.ProtobufVariableWriter; @@ -52,8 +65,51 @@ import static java.util.Collections.singletonMap; import static org.assertj.core.api.Assertions.assertThat; +import static org.kie.kogito.internal.process.runtime.KogitoWorkflowProcess.RULEFLOW_TYPE; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.when; public class ProcessInstanceMarshallTest { + private static final String PROCESS_DESCRIPTION = "The description"; + private static final String PROCESS_INSTANCE_ID = "1"; + private static final String ROOT_PROCESS_ID = "rootProcess"; + private static final String ROOT_PROCESS_INSTANCE_ID = "0"; + private static final String PARENT_PROCESS_ID = "2"; + + private static AbstractProcess process; + + private static WorkflowProcessImpl workflow; + + @BeforeAll + public static void init() { + workflow = new WorkflowProcessImpl(); + + workflow.setId("processId"); + workflow.setVersion("1.0"); + workflow.setType(RULEFLOW_TYPE); + + Node endNode = new EndNode(); + endNode.setId(1); + endNode.setName("end node"); + + Node taskNode = new HumanTaskNode(); + taskNode.setId(2); + taskNode.setName("human task"); + new ConnectionImpl(taskNode, Node.CONNECTION_DEFAULT_TYPE, endNode, Node.CONNECTION_DEFAULT_TYPE); + + Node startNode = new StartNode(); + startNode.setId(0); + startNode.setName("start node"); + new ConnectionImpl(startNode, Node.CONNECTION_DEFAULT_TYPE, taskNode, Node.CONNECTION_DEFAULT_TYPE); + + workflow.addNode(startNode); + workflow.addNode(taskNode); + workflow.addNode(endNode); + + process = mock(AbstractProcess.class); + + when(process.get()).thenReturn(workflow); + } public static class MarshableObject implements Serializable { @@ -85,6 +141,29 @@ public boolean equals(Object obj) { } } + private static Stream testProcessInstanceMarshalling() { + return Stream.of(Arguments.of(buildInstance(false)), + (Arguments.of(buildInstance(true)))); + } + + private static RuleFlowProcessInstance buildInstance(boolean orphan) { + RuleFlowProcessInstance instance = new RuleFlowProcessInstance(); + instance.setId(PROCESS_INSTANCE_ID); + instance.setStartDate(new Date()); + instance.setDescription(PROCESS_DESCRIPTION); + + if (!orphan) { + instance.setRootProcessInstanceId(ROOT_PROCESS_INSTANCE_ID); + instance.setRootProcessId(ROOT_PROCESS_ID); + instance.setParentProcessInstanceId(PARENT_PROCESS_ID); + } + + instance.setProcess(workflow); + instance.setContextInstance(VariableScope.VARIABLE_SCOPE, new VariableScopeInstance()); + + return instance; + } + private static Stream testRoundTrip() throws Exception { return Stream.of( Arguments.of(1), @@ -109,6 +188,37 @@ private static Stream testRoundTrip() throws Exception { ); } + @ParameterizedTest + @MethodSource + public void testProcessInstanceMarshalling(RuleFlowProcessInstance toMarshall) throws Exception { + ByteArrayOutputStream out = new ByteArrayOutputStream(); + ProtobufProcessMarshallerWriteContext ctxOut = new ProtobufProcessMarshallerWriteContext(out); + ctxOut.set(MarshallerContextName.OBJECT_MARSHALLING_STRATEGIES, defaultStrategies()); + + ProtobufProcessInstanceWriter writer = new ProtobufProcessInstanceWriter(ctxOut); + + writer.writeProcessInstance(toMarshall, out); + + ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); + ProtobufMarshallerReaderContext ctxIn = new ProtobufMarshallerReaderContext(in); + ctxIn.set(MarshallerContextName.OBJECT_MARSHALLING_STRATEGIES, defaultStrategies()); + ctxIn.set(MarshallerContextName.MARSHALLER_PROCESS, process); + ProtobufProcessInstanceReader reader = new ProtobufProcessInstanceReader(ctxIn); + RuleFlowProcessInstance unmarshalled = reader.read(in); + + assertThat(unmarshalled) + .hasFieldOrPropertyWithValue("id", toMarshall.getId()) + .hasFieldOrPropertyWithValue("state", toMarshall.getState()) + .hasFieldOrPropertyWithValue("startDate", toMarshall.getStartDate()) + .hasFieldOrPropertyWithValue("processId", toMarshall.getProcessId()) + .hasFieldOrPropertyWithValue("processVersion", toMarshall.getProcessVersion()) + .hasFieldOrPropertyWithValue("description", toMarshall.getDescription()) + .hasFieldOrPropertyWithValue("rootProcessInstanceId", toMarshall.getRootProcessInstanceId()) + .hasFieldOrPropertyWithValue("rootProcessId", toMarshall.getRootProcessId()) + .hasFieldOrPropertyWithValue("parentProcessInstanceId", toMarshall.getParentProcessInstanceId()) + .hasFieldOrPropertyWithValue("process", toMarshall.getProcess()); + } + @ParameterizedTest @MethodSource @NullSource diff --git a/kogito-bom/pom.xml b/kogito-bom/pom.xml index d38f4e4a777..d916bb9eeee 100755 --- a/kogito-bom/pom.xml +++ b/kogito-bom/pom.xml @@ -1185,17 +1185,6 @@ sources - - org.kie.kogito - kogito-addons-source-files - ${project.version} - - - org.kie.kogito - kogito-addons-source-files - ${project.version} - sources - org.kie.kogito kogito-addons-quarkus-source-files diff --git a/kogito-build/kogito-build-no-bom-parent/pom.xml b/kogito-build/kogito-build-no-bom-parent/pom.xml index 79eddd725cb..98041ecfe75 100644 --- a/kogito-build/kogito-build-no-bom-parent/pom.xml +++ b/kogito-build/kogito-build-no-bom-parent/pom.xml @@ -118,7 +118,7 @@ 3.2.2 0.8.11 3.0.5 - 3.1.0 + 3.2.0 2.0 2.3.9 2.13.0 @@ -134,7 +134,7 @@ 3.7.1 3.0.0 3.6.1.1688 - 3.0.1 + 3.2.1 3.1.2 3.1.2 2.4 diff --git a/kogito-build/kogito-dependencies-bom/pom.xml b/kogito-build/kogito-dependencies-bom/pom.xml index 7138c0d7bf6..6d38e1aafcc 100644 --- a/kogito-build/kogito-dependencies-bom/pom.xml +++ b/kogito-build/kogito-dependencies-bom/pom.xml @@ -29,7 +29,7 @@ 2.4.10 1.0.0-preview.20220705 2.0.1 - 2.2.9 + 2.2.15 0.2.0 2.0.2 0.1.3 diff --git a/kogito-codegen-modules/kogito-codegen-api/pom.xml b/kogito-codegen-modules/kogito-codegen-api/pom.xml index b9e6e518943..ee2837e05d2 100644 --- a/kogito-codegen-modules/kogito-codegen-api/pom.xml +++ b/kogito-codegen-modules/kogito-codegen-api/pom.xml @@ -31,6 +31,10 @@ kogito-codegen-api Kogito :: Codegen API + + org.kie.kogito.codegen.api + + diff --git a/kogito-codegen-modules/kogito-codegen-core/pom.xml b/kogito-codegen-modules/kogito-codegen-core/pom.xml index a82508d42ba..d7bc325100e 100644 --- a/kogito-codegen-modules/kogito-codegen-core/pom.xml +++ b/kogito-codegen-modules/kogito-codegen-core/pom.xml @@ -31,6 +31,10 @@ kogito-codegen-core Kogito :: Codegen Core Library + + org.kie.kogito.codegen.core + + diff --git a/kogito-codegen-modules/kogito-codegen-decisions/pom.xml b/kogito-codegen-modules/kogito-codegen-decisions/pom.xml index 2a08c817285..5b727469419 100644 --- a/kogito-codegen-modules/kogito-codegen-decisions/pom.xml +++ b/kogito-codegen-modules/kogito-codegen-decisions/pom.xml @@ -31,6 +31,10 @@ kogito-codegen-decisions Kogito :: Codegen Decisions + + org.kie.kogito.codegen.decision + + diff --git a/kogito-codegen-modules/kogito-codegen-integration-tests/pom.xml b/kogito-codegen-modules/kogito-codegen-integration-tests/pom.xml index 320b7c74285..52e6c9a8682 100644 --- a/kogito-codegen-modules/kogito-codegen-integration-tests/pom.xml +++ b/kogito-codegen-modules/kogito-codegen-integration-tests/pom.xml @@ -34,6 +34,7 @@ false + org.kie.kogito.codegen.tests diff --git a/kogito-codegen-modules/kogito-codegen-predictions/pom.xml b/kogito-codegen-modules/kogito-codegen-predictions/pom.xml index 20c4262a364..b51f795555e 100644 --- a/kogito-codegen-modules/kogito-codegen-predictions/pom.xml +++ b/kogito-codegen-modules/kogito-codegen-predictions/pom.xml @@ -31,6 +31,11 @@ kogito-codegen-predictions Kogito :: Codegen Predictions + + + org.kie.kogito.codegen.prediction + + diff --git a/kogito-codegen-modules/kogito-codegen-processes-integration-tests/pom.xml b/kogito-codegen-modules/kogito-codegen-processes-integration-tests/pom.xml index 77eae9d4fc5..11337831edb 100644 --- a/kogito-codegen-modules/kogito-codegen-processes-integration-tests/pom.xml +++ b/kogito-codegen-modules/kogito-codegen-processes-integration-tests/pom.xml @@ -34,8 +34,11 @@ false + org.kie.kogito.codegen.process.tests + + diff --git a/kogito-codegen-modules/kogito-codegen-processes/pom.xml b/kogito-codegen-modules/kogito-codegen-processes/pom.xml index 025d238dae7..bf6b70968f0 100644 --- a/kogito-codegen-modules/kogito-codegen-processes/pom.xml +++ b/kogito-codegen-modules/kogito-codegen-processes/pom.xml @@ -31,6 +31,10 @@ kogito-codegen-processes Kogito :: Codegen Processes + + org.kie.kogito.codegen.process + + org.kie.kogito diff --git a/kogito-codegen-modules/kogito-codegen-processes/src/main/java/org/kie/kogito/codegen/process/ProcessCodegen.java b/kogito-codegen-modules/kogito-codegen-processes/src/main/java/org/kie/kogito/codegen/process/ProcessCodegen.java index faf545ed022..6f5ba05f7a5 100644 --- a/kogito-codegen-modules/kogito-codegen-processes/src/main/java/org/kie/kogito/codegen/process/ProcessCodegen.java +++ b/kogito-codegen-modules/kogito-codegen-processes/src/main/java/org/kie/kogito/codegen/process/ProcessCodegen.java @@ -60,6 +60,7 @@ import org.kie.kogito.codegen.core.AbstractGenerator; import org.kie.kogito.codegen.core.DashboardGeneratedFileUtils; import org.kie.kogito.codegen.process.config.ProcessConfigGenerator; +import org.kie.kogito.codegen.process.events.ProcessCloudEventMeta; import org.kie.kogito.codegen.process.events.ProcessCloudEventMetaFactoryGenerator; import org.kie.kogito.internal.SupportedExtensions; import org.kie.kogito.internal.process.runtime.KogitoWorkflowProcess; @@ -279,7 +280,7 @@ protected Collection internalGenerate() { List pis = new ArrayList<>(); List processExecutableModelGenerators = new ArrayList<>(); List rgs = new ArrayList<>(); // REST resources - List megs = new ArrayList<>(); // message endpoints/consumers + Map megs = new HashMap<>(); // message endpoints/consumers List mpgs = new ArrayList<>(); // message producers Map processIdToModelGenerator = new HashMap<>(); @@ -372,14 +373,14 @@ protected Collection internalGenerate() { // generate message consumers for processes with message start events if (trigger.getType().equals(TriggerMetaData.TriggerType.ConsumeMessage)) { - MessageConsumerGenerator messageConsumerGenerator = new MessageConsumerGenerator( - context(), - workFlowProcess, - modelClassGenerator.className(), - execModelGen.className(), - applicationCanonicalName(), - trigger); - megs.add(messageConsumerGenerator); + MessageConsumerGenerator messageConsumerGenerator = + megs.computeIfAbsent(new ProcessCloudEventMeta(workFlowProcess.getId(), trigger), k -> new MessageConsumerGenerator( + context(), + workFlowProcess, + modelClassGenerator.className(), + execModelGen.className(), + applicationCanonicalName(), + trigger)); metaData.addConsumer(trigger.getName(), messageConsumerGenerator.compilationUnit()); } else if (trigger.getType().equals(TriggerMetaData.TriggerType.ProduceMessage)) { MessageProducerGenerator messageProducerGenerator = new MessageProducerGenerator( @@ -441,7 +442,7 @@ protected Collection internalGenerate() { } } - for (MessageConsumerGenerator messageConsumerGenerator : megs) { + for (MessageConsumerGenerator messageConsumerGenerator : megs.values()) { storeFile(MESSAGE_CONSUMER_TYPE, messageConsumerGenerator.generatedFilePath(), messageConsumerGenerator.generate()); } diff --git a/kogito-codegen-modules/kogito-codegen-rules/pom.xml b/kogito-codegen-modules/kogito-codegen-rules/pom.xml index ed9bcd4bc6f..a11c047b841 100644 --- a/kogito-codegen-modules/kogito-codegen-rules/pom.xml +++ b/kogito-codegen-modules/kogito-codegen-rules/pom.xml @@ -31,6 +31,10 @@ kogito-codegen-rules Kogito :: Codegen Rules + + org.kie.kogito.codegen.rules + + diff --git a/kogito-codegen-modules/kogito-codegen-sample/kogito-codegen-sample-generator/pom.xml b/kogito-codegen-modules/kogito-codegen-sample/kogito-codegen-sample-generator/pom.xml index 5b75e611d92..5f416d27468 100644 --- a/kogito-codegen-modules/kogito-codegen-sample/kogito-codegen-sample-generator/pom.xml +++ b/kogito-codegen-modules/kogito-codegen-sample/kogito-codegen-sample-generator/pom.xml @@ -31,6 +31,10 @@ kogito-codegen-sample-generator Kogito :: Codegen Sample Generator + + org.kie.kogito.codegen.sample.generator + + org.kie.kogito diff --git a/kogito-codegen-modules/kogito-codegen-sample/kogito-codegen-sample-runtime/pom.xml b/kogito-codegen-modules/kogito-codegen-sample/kogito-codegen-sample-runtime/pom.xml index 8fe2c2c6fa2..0a1e063a1ac 100644 --- a/kogito-codegen-modules/kogito-codegen-sample/kogito-codegen-sample-runtime/pom.xml +++ b/kogito-codegen-modules/kogito-codegen-sample/kogito-codegen-sample-runtime/pom.xml @@ -31,6 +31,10 @@ kogito-codegen-sample-runtime Kogito :: Codegen Sample Runtime + + org.kie.kogito.codegen.sample.core + + org.kie.kogito diff --git a/kogito-codegen-modules/pom.xml b/kogito-codegen-modules/pom.xml index f1d3896442f..942697d3796 100644 --- a/kogito-codegen-modules/pom.xml +++ b/kogito-codegen-modules/pom.xml @@ -40,24 +40,11 @@ kogito-codegen-api kogito-codegen-processes kogito-codegen-processes-integration-tests + kogito-codegen-rules + kogito-codegen-decisions + kogito-codegen-predictions + kogito-codegen-integration-tests + kogito-codegen-sample - - - default - - - !productized - - - - kogito-codegen-rules - kogito-codegen-decisions - kogito-codegen-predictions - kogito-codegen-integration-tests - kogito-codegen-sample - - - - diff --git a/kogito-maven-plugin/pom.xml b/kogito-maven-plugin/pom.xml index 303030a7934..cd524a1667a 100644 --- a/kogito-maven-plugin/pom.xml +++ b/kogito-maven-plugin/pom.xml @@ -36,6 +36,10 @@ Kogito :: Maven Plugin + + org.kie.kogito.maven.plugin + + diff --git a/kogito-serverless-workflow/kogito-jq-expression/pom.xml b/kogito-serverless-workflow/kogito-jq-expression/pom.xml index b3646698f30..d197e785b76 100644 --- a/kogito-serverless-workflow/kogito-jq-expression/pom.xml +++ b/kogito-serverless-workflow/kogito-jq-expression/pom.xml @@ -33,6 +33,11 @@ Kogito :: Serverless Workflow :: Expression :: JQ Kogito jq expression implementation + + + org.kie.kogito.expr.jq + + org.kie.kogito diff --git a/kogito-serverless-workflow/kogito-jsonpath-expression/pom.xml b/kogito-serverless-workflow/kogito-jsonpath-expression/pom.xml index 50b3c17f0d4..d029661f15b 100644 --- a/kogito-serverless-workflow/kogito-jsonpath-expression/pom.xml +++ b/kogito-serverless-workflow/kogito-jsonpath-expression/pom.xml @@ -33,6 +33,11 @@ Kogito :: Serverless Workflow :: Expression :: Jsonpath Kogito jsonpath expression implementation + + + org.kie.kogito.expr.jsonpath + + org.kie.kogito diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-builder/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-builder/pom.xml index f1981e04ce4..0d7ae54d492 100644 --- a/kogito-serverless-workflow/kogito-serverless-workflow-builder/pom.xml +++ b/kogito-serverless-workflow/kogito-serverless-workflow-builder/pom.xml @@ -33,6 +33,10 @@ Kogito :: Serverless Workflow :: Builder Kogito Serverless Workflow Builder + + org.kie.kogito.serverless.workflow.builder + + org.kie.kogito diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-executor-core/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-executor-core/pom.xml index f1bd56ebaae..aa8e67d81a7 100644 --- a/kogito-serverless-workflow/kogito-serverless-workflow-executor-core/pom.xml +++ b/kogito-serverless-workflow/kogito-serverless-workflow-executor-core/pom.xml @@ -33,6 +33,10 @@ Kogito :: Serverless Workflow :: Executor:: Core Core classes for execution of a workflow without code generation + + org.kie.kogito.serverless.workflow.core + + org.kie.kogito diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-executor-grpc/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-executor-grpc/pom.xml index ef7164a6a9b..5a5a8f4533b 100644 --- a/kogito-serverless-workflow/kogito-serverless-workflow-executor-grpc/pom.xml +++ b/kogito-serverless-workflow/kogito-serverless-workflow-executor-grpc/pom.xml @@ -33,6 +33,11 @@ Kogito :: Serverless Workflow :: Executor:: gRPC Classes that add grpc capability to serverless workflow executor + + org.kie.kogito.serverless.workflow.grpc + + + org.kie.kogito diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-executor-kafka/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-executor-kafka/pom.xml index 8efb37be5f1..c57c2d6c490 100644 --- a/kogito-serverless-workflow/kogito-serverless-workflow-executor-kafka/pom.xml +++ b/kogito-serverless-workflow/kogito-serverless-workflow-executor-kafka/pom.xml @@ -33,6 +33,10 @@ Kogito :: Serverless Workflow :: Executor:: Kafka event implementation Classes for kafka event support of a workflow without code generation + + org.kie.kogito.serverless.workflow.kafka + + org.kie.kogito diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-executor-python/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-executor-python/pom.xml index 87322dc42e5..0474a01d29a 100644 --- a/kogito-serverless-workflow/kogito-serverless-workflow-executor-python/pom.xml +++ b/kogito-serverless-workflow/kogito-serverless-workflow-executor-python/pom.xml @@ -33,6 +33,10 @@ Kogito :: Serverless Workflow :: Executor:: Python Classes for execution of a Python scripts within a workflow without code generation + + org.kie.kogito.serverless.workflow.executor.python + + org.kie.kogito diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-executor-rest/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-executor-rest/pom.xml index e3dd187600c..b5f1b5c180c 100644 --- a/kogito-serverless-workflow/kogito-serverless-workflow-executor-rest/pom.xml +++ b/kogito-serverless-workflow/kogito-serverless-workflow-executor-rest/pom.xml @@ -33,6 +33,10 @@ Kogito :: Serverless Workflow :: Executor:: Rest Classes that add rest capability to serverless workflow executor + + org.kie.kogito.serverless.workflow.executor.rest + + org.kie.kogito diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-executor-service/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-executor-service/pom.xml index 061dd129b47..5a2822f61dc 100644 --- a/kogito-serverless-workflow/kogito-serverless-workflow-executor-service/pom.xml +++ b/kogito-serverless-workflow/kogito-serverless-workflow-executor-service/pom.xml @@ -33,6 +33,10 @@ Kogito :: Serverless Workflow :: Executor:: Service Classes for execution of a Java service within a workflow without code generation + + org.kie.kogito.serverless.workflow.executor.service + + org.kie.kogito diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-executor-tests/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-executor-tests/pom.xml index 67cf72b07a8..d0a57eadd5b 100644 --- a/kogito-serverless-workflow/kogito-serverless-workflow-executor-tests/pom.xml +++ b/kogito-serverless-workflow/kogito-serverless-workflow-executor-tests/pom.xml @@ -35,8 +35,10 @@ 6.0.53 + org.kie.kogito.serverless.workflow.executor.test + org.kie.kogito diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-fluent/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-fluent/pom.xml index dee74c113f5..be6af73f62c 100644 --- a/kogito-serverless-workflow/kogito-serverless-workflow-fluent/pom.xml +++ b/kogito-serverless-workflow/kogito-serverless-workflow-fluent/pom.xml @@ -33,6 +33,12 @@ Kogito :: Serverless Workflow :: Fluent Classes for fluent definition of a serverless workflow + + + org.kie.kogito.serverless.workflow.fluent + + + org.kie.kogito diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-grpc-parser/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-grpc-parser/pom.xml index d731f337ec1..e12340d3cdd 100644 --- a/kogito-serverless-workflow/kogito-serverless-workflow-grpc-parser/pom.xml +++ b/kogito-serverless-workflow/kogito-serverless-workflow-grpc-parser/pom.xml @@ -33,6 +33,10 @@ Kogito :: Serverless Workflow :: gRPC :: Parser Kogito Serverless Workflow gRPC parser + + org.kie.kogito.serverless.workflow.grpc.parser + + diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-grpc-runtime/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-grpc-runtime/pom.xml index 33fd9f984b4..5b8f6e48341 100644 --- a/kogito-serverless-workflow/kogito-serverless-workflow-grpc-runtime/pom.xml +++ b/kogito-serverless-workflow/kogito-serverless-workflow-grpc-runtime/pom.xml @@ -33,6 +33,10 @@ Kogito :: Serverless Workflow :: gRPC :: Runtime Kogito Serverless Workflow gRPC runtimes + + org.kie.kogito.serverless.workflow.grpc.runtime + + diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-openapi-common/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-openapi-common/pom.xml index 92880196945..0019231977a 100644 --- a/kogito-serverless-workflow/kogito-serverless-workflow-openapi-common/pom.xml +++ b/kogito-serverless-workflow/kogito-serverless-workflow-openapi-common/pom.xml @@ -33,6 +33,10 @@ Kogito :: Serverless Workflow :: OpenAPI :: Common Kogito Serverless Workflow OpenAPI Common + + org.kie.kogito.serverless.workflow.openapi.common + + org.kie.kogito diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-openapi-generated/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-openapi-generated/pom.xml index 8d199688d1c..267d82131b4 100644 --- a/kogito-serverless-workflow/kogito-serverless-workflow-openapi-generated/pom.xml +++ b/kogito-serverless-workflow/kogito-serverless-workflow-openapi-generated/pom.xml @@ -33,6 +33,10 @@ Kogito :: Serverless Workflow :: OpenAPI :: Generated Kogito Serverless Workflow OpenAPI generated + + org.kie.kogito.serverless.workflow.openapi.generated + + org.kie.kogito diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-openapi-parser/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-openapi-parser/pom.xml index 831a12e6d3a..c4b683e188b 100644 --- a/kogito-serverless-workflow/kogito-serverless-workflow-openapi-parser/pom.xml +++ b/kogito-serverless-workflow/kogito-serverless-workflow-openapi-parser/pom.xml @@ -33,6 +33,10 @@ Kogito :: Serverless Workflow :: OpenAPI :: Parser Kogito Serverless Workflow OpenAPI parser + + org.kie.kogito.serverless.workflow.openapi.parser + + org.kie.kogito diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-python-runtime/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-python-runtime/pom.xml index a70aed71d83..1578bee26f4 100644 --- a/kogito-serverless-workflow/kogito-serverless-workflow-python-runtime/pom.xml +++ b/kogito-serverless-workflow/kogito-serverless-workflow-python-runtime/pom.xml @@ -32,6 +32,10 @@ Kogito :: Serverless Workflow :: Python:: Runtime Kogito Serverless Workflow Python runtimes + + org.kie.kogito.serverless.workflow.python.runtime + + org.kie.kogito diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-rest-parser/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-rest-parser/pom.xml index a09ace1b650..d3215f79ba8 100644 --- a/kogito-serverless-workflow/kogito-serverless-workflow-rest-parser/pom.xml +++ b/kogito-serverless-workflow/kogito-serverless-workflow-rest-parser/pom.xml @@ -33,6 +33,11 @@ Kogito :: Serverless Workflow :: REST :: Parser Kogito Serverless Workflow REST parser + + + org.kie.kogito.serverless.workflow.rest.parser + + org.kie.kogito diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-rest-runtime/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-rest-runtime/pom.xml index 4b80b5726b9..d418b668243 100644 --- a/kogito-serverless-workflow/kogito-serverless-workflow-rest-runtime/pom.xml +++ b/kogito-serverless-workflow/kogito-serverless-workflow-rest-runtime/pom.xml @@ -33,6 +33,10 @@ Kogito :: Serverless Workflow :: REST :: Runtime Kogito Serverless Workflow REST runtimes + + org.kie.kogito.serverless.workflow.rest.runtime + + org.kie.kogito diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-runtime/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-runtime/pom.xml index 7d517284e51..abb39d11ef3 100644 --- a/kogito-serverless-workflow/kogito-serverless-workflow-runtime/pom.xml +++ b/kogito-serverless-workflow/kogito-serverless-workflow-runtime/pom.xml @@ -33,6 +33,10 @@ Kogito :: Serverless Workflow :: Runtime Kogito Serverless Workflow Runtime + + org.kie.kogito.serverless.workflow.runtime + + org.kie.kogito diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-utils/pom.xml b/kogito-serverless-workflow/kogito-serverless-workflow-utils/pom.xml index c5600b86913..055f36c0645 100644 --- a/kogito-serverless-workflow/kogito-serverless-workflow-utils/pom.xml +++ b/kogito-serverless-workflow/kogito-serverless-workflow-utils/pom.xml @@ -33,6 +33,11 @@ Kogito :: Serverless Workflow :: Utils Kogito serverless workflow utils + + + org.kie.kogito.serverless.workflow.utils + + org.kie.kogito diff --git a/kogito-serverless-workflow/pom.xml b/kogito-serverless-workflow/pom.xml index 0ad75dfd15d..f752d16d206 100644 --- a/kogito-serverless-workflow/pom.xml +++ b/kogito-serverless-workflow/pom.xml @@ -53,21 +53,11 @@ kogito-serverless-workflow-utils kogito-jsonpath-expression kogito-jq-expression + kogito-serverless-workflow-executor + kogito-serverless-workflow-executor-tests - - default - - - !productized - - - - kogito-serverless-workflow-executor - kogito-serverless-workflow-executor-tests - - full diff --git a/kogito-test-utils/pom.xml b/kogito-test-utils/pom.xml index 5d148ce6184..9e24f309ad8 100644 --- a/kogito-test-utils/pom.xml +++ b/kogito-test-utils/pom.xml @@ -36,6 +36,10 @@ Kogito :: Test Utilities :: Common Test Utilities for Kogito + + org.kie.kogito.test.resources + + org.testcontainers diff --git a/kogito-workitems/kogito-jackson-utils/pom.xml b/kogito-workitems/kogito-jackson-utils/pom.xml index 862d3b0274e..bcfc16402c3 100644 --- a/kogito-workitems/kogito-jackson-utils/pom.xml +++ b/kogito-workitems/kogito-jackson-utils/pom.xml @@ -32,6 +32,11 @@ Kogito :: Workitems :: Jackson utils Jackson utilities + + + org.kie.kogito.jackson.utils + + com.fasterxml.jackson.core diff --git a/kogito-workitems/kogito-rest-utils/pom.xml b/kogito-workitems/kogito-rest-utils/pom.xml index 082acdb76a7..e322db99195 100644 --- a/kogito-workitems/kogito-rest-utils/pom.xml +++ b/kogito-workitems/kogito-rest-utils/pom.xml @@ -31,6 +31,10 @@ kogito-rest-utils Kogito :: Workitems :: RestUtils + + org.kogito.workitem.rest.auth + + Rest utils diff --git a/kogito-workitems/kogito-rest-workitem/pom.xml b/kogito-workitems/kogito-rest-workitem/pom.xml index fa16bafe13c..b9f14cb19ad 100644 --- a/kogito-workitems/kogito-rest-workitem/pom.xml +++ b/kogito-workitems/kogito-rest-workitem/pom.xml @@ -32,6 +32,12 @@ Kogito :: Workitems :: RestWorkItem Rest task workitem handler + + + org.kogito.workitem.rest + + + org.kie.kogito diff --git a/pom.xml b/pom.xml index 317c4236534..fbe18c88c2e 100644 --- a/pom.xml +++ b/pom.xml @@ -52,8 +52,25 @@ --> UTF-8 + 2024-01-16T00:00:00Z + 3.4.1 + + + + + org.apache.maven.plugins + maven-artifact-plugin + ${version.maven.artifact.plugin} + + ${project.build.outputTimestamp} + + + + + + @@ -128,20 +145,8 @@ addons kogito-workitems kogito-serverless-workflow + kogito-maven-plugin + springboot - - - default - - - !productized - - - - kogito-maven-plugin - springboot - - - diff --git a/quarkus/addons/camel/deployment/pom.xml b/quarkus/addons/camel/deployment/pom.xml index d2d49c9c9b2..1afe2d820a7 100644 --- a/quarkus/addons/camel/deployment/pom.xml +++ b/quarkus/addons/camel/deployment/pom.xml @@ -29,6 +29,10 @@ 4.0.0 + + org.kie.kogito.addons.quarkus.camel.deployment + + Kogito :: Add-Ons :: Quarkus :: Camel :: Deployment Kogito Quarkus Camel Integration with Serverless Workflow kogito-addons-quarkus-camel-deployment diff --git a/quarkus/addons/camel/integration-tests/pom.xml b/quarkus/addons/camel/integration-tests/pom.xml index 3ec356e4346..5ab376bb8bd 100644 --- a/quarkus/addons/camel/integration-tests/pom.xml +++ b/quarkus/addons/camel/integration-tests/pom.xml @@ -34,6 +34,10 @@ Kogito Quarkus Camel Integration with Serverless Workflow kogito-addons-quarkus-camel-integration-tests + + org.kie.kogito.addons.quarkus.camel.integration.test + + org.kie.kogito diff --git a/quarkus/addons/camel/runtime/pom.xml b/quarkus/addons/camel/runtime/pom.xml index f528d8de0cf..8b70b701cb1 100644 --- a/quarkus/addons/camel/runtime/pom.xml +++ b/quarkus/addons/camel/runtime/pom.xml @@ -33,6 +33,11 @@ Kogito Quarkus Camel Integration with Serverless Workflow kogito-addons-quarkus-camel + + org.kie.kogito.addons.quarkus.camel.runtime + + + org.kie.kogito diff --git a/quarkus/addons/common/deployment/pom.xml b/quarkus/addons/common/deployment/pom.xml index f453b0f6f9c..c3e71e28186 100644 --- a/quarkus/addons/common/deployment/pom.xml +++ b/quarkus/addons/common/deployment/pom.xml @@ -33,6 +33,11 @@ Kogito Add-On Common - Deployment Common libraries meant to be used with Kogito Quarkus Add-Ons deployment modules + + org.kie.kogito.quarkus.addons.common.deployment + + + io.quarkus diff --git a/quarkus/addons/common/reactive-messaging/pom.xml b/quarkus/addons/common/reactive-messaging/pom.xml index b49293c7a68..30d8cd6f3c4 100644 --- a/quarkus/addons/common/reactive-messaging/pom.xml +++ b/quarkus/addons/common/reactive-messaging/pom.xml @@ -32,6 +32,10 @@ kogito-addons-quarkus-common-reactive-messaging Kogito Add-On Common - Reactive Messaging + + org.kie.kogito.addon.quarkus.common.reactive.messaging + + io.smallrye.reactive diff --git a/quarkus/addons/events/decisions/deployment/pom.xml b/quarkus/addons/events/decisions/deployment/pom.xml index 3af0d345f17..fe3067d066d 100644 --- a/quarkus/addons/events/decisions/deployment/pom.xml +++ b/quarkus/addons/events/decisions/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-events-decisions-deployment Kogito Add-On Events Decisions - Deployment + + + org.kie.kogito.eventdriven.decision + + io.quarkus @@ -41,7 +46,6 @@ org.kie.kogito kogito-addons-quarkus-messaging-deployment - ${project.version} org.kie.kogito diff --git a/quarkus/addons/events/decisions/runtime/pom.xml b/quarkus/addons/events/decisions/runtime/pom.xml index 2060ca7fc59..7e41eebfa3f 100644 --- a/quarkus/addons/events/decisions/runtime/pom.xml +++ b/quarkus/addons/events/decisions/runtime/pom.xml @@ -32,6 +32,10 @@ kogito-addons-quarkus-events-decisions Kogito Add-On Events Decisions + + org.kie.kogito.eventdriven.decision + + org.kie.kogito diff --git a/quarkus/addons/events/mongodb/deployment/pom.xml b/quarkus/addons/events/mongodb/deployment/pom.xml index 294bc7d59ef..7d33369d731 100644 --- a/quarkus/addons/events/mongodb/deployment/pom.xml +++ b/quarkus/addons/events/mongodb/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-events-mongodb-deployment Kogito Add-On Events MongoDB - Deployment + + + org.kie.kogito.events.mongodb.deployment + + io.quarkus diff --git a/quarkus/addons/events/mongodb/runtime/pom.xml b/quarkus/addons/events/mongodb/runtime/pom.xml index bf3a3bb826c..ea7b6e63208 100644 --- a/quarkus/addons/events/mongodb/runtime/pom.xml +++ b/quarkus/addons/events/mongodb/runtime/pom.xml @@ -34,6 +34,10 @@ Kogito Add-On Events MongoDB Kogito Events based on MongoDB and Quarkus Add-On + + org.kie.kogito.events.mongodb + + org.kie.kogito diff --git a/quarkus/addons/events/pom.xml b/quarkus/addons/events/pom.xml index 0ee68e37e94..7d9875bab1b 100644 --- a/quarkus/addons/events/pom.xml +++ b/quarkus/addons/events/pom.xml @@ -36,23 +36,10 @@ process + decisions + predictions + rules + mongodb - - - default - - - !productized - - - - decisions - predictions - rules - mongodb - - - - \ No newline at end of file diff --git a/quarkus/addons/events/predictions/deployment/pom.xml b/quarkus/addons/events/predictions/deployment/pom.xml index 22ebe37d837..5101173c250 100644 --- a/quarkus/addons/events/predictions/deployment/pom.xml +++ b/quarkus/addons/events/predictions/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-events-predictions-deployment Kogito Add-On Events Predictions - Deployment + + + org.kie.kogito.eventdriven.predictions + + io.quarkus diff --git a/quarkus/addons/events/predictions/runtime/pom.xml b/quarkus/addons/events/predictions/runtime/pom.xml index 1f773c32a6c..ed17858428c 100644 --- a/quarkus/addons/events/predictions/runtime/pom.xml +++ b/quarkus/addons/events/predictions/runtime/pom.xml @@ -32,6 +32,10 @@ kogito-addons-quarkus-events-predictions Kogito Add-On Events Predictions + + org.kie.kogito.eventdriven.predictions + + org.kie.kogito diff --git a/quarkus/addons/events/process/deployment/pom.xml b/quarkus/addons/events/process/deployment/pom.xml index b27d8b65b37..e759cf6b2f3 100644 --- a/quarkus/addons/events/process/deployment/pom.xml +++ b/quarkus/addons/events/process/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-events-process-deployment Kogito Add-On Events Process - Deployment + + + org.kie.kogito.events.process.deployment + + io.quarkus diff --git a/quarkus/addons/events/process/runtime/pom.xml b/quarkus/addons/events/process/runtime/pom.xml index 66bcf75b075..866396e9e7b 100644 --- a/quarkus/addons/events/process/runtime/pom.xml +++ b/quarkus/addons/events/process/runtime/pom.xml @@ -31,6 +31,10 @@ Kogito Add-On Events Process Kogito Add-On for runtime process events + + org.kie.kogito.events + + org.kie.kogito diff --git a/quarkus/addons/events/rules/deployment/pom.xml b/quarkus/addons/events/rules/deployment/pom.xml index 8f7e1ffe7b3..63b2d103a2b 100644 --- a/quarkus/addons/events/rules/deployment/pom.xml +++ b/quarkus/addons/events/rules/deployment/pom.xml @@ -29,6 +29,12 @@ kogito-addons-quarkus-events-rules-deployment Kogito Add-On Events Rules - Deployment + + + org.kie.kogito.eventdriven.rules.deployment + + + io.quarkus diff --git a/quarkus/addons/events/rules/runtime/pom.xml b/quarkus/addons/events/rules/runtime/pom.xml index d96d973c1af..6fc4f6db5b8 100644 --- a/quarkus/addons/events/rules/runtime/pom.xml +++ b/quarkus/addons/events/rules/runtime/pom.xml @@ -32,6 +32,10 @@ kogito-addons-quarkus-events-rules Kogito :: Add-Ons :: Events :: Event-Driven Rules :: Quarkus + + org.kie.kogito.eventdriven.rules + + org.kie.kogito diff --git a/quarkus/addons/explainability/deployment/pom.xml b/quarkus/addons/explainability/deployment/pom.xml index 3350350a11b..0955beaa7d6 100644 --- a/quarkus/addons/explainability/deployment/pom.xml +++ b/quarkus/addons/explainability/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-explainability-deployment Kogito Add-On Explainability - Deployment + + + org.kie.kogito.explainability.deployment + + io.quarkus diff --git a/quarkus/addons/explainability/integration-tests/pom.xml b/quarkus/addons/explainability/integration-tests/pom.xml index b4f93c5579e..362372014fb 100644 --- a/quarkus/addons/explainability/integration-tests/pom.xml +++ b/quarkus/addons/explainability/integration-tests/pom.xml @@ -30,6 +30,10 @@ kogito-addons-quarkus-explainability-it Kogito Add-On Explainability - Integration tests + + org.kie.kogito.explainability.test + + io.quarkus diff --git a/quarkus/addons/explainability/runtime/pom.xml b/quarkus/addons/explainability/runtime/pom.xml index 01b67c7df92..5acbb82e6df 100644 --- a/quarkus/addons/explainability/runtime/pom.xml +++ b/quarkus/addons/explainability/runtime/pom.xml @@ -32,6 +32,10 @@ kogito-addons-quarkus-explainability Kogito Add-On Explainability + + org.kie.kogito.explainability + + io.quarkus diff --git a/quarkus/addons/fabric8-kubernetes-service-catalog/deployment/pom.xml b/quarkus/addons/fabric8-kubernetes-service-catalog/deployment/pom.xml index 1cc5a2cf6cd..23081f7a0a8 100644 --- a/quarkus/addons/fabric8-kubernetes-service-catalog/deployment/pom.xml +++ b/quarkus/addons/fabric8-kubernetes-service-catalog/deployment/pom.xml @@ -32,6 +32,10 @@ kogito-addons-quarkus-fabric8-kubernetes-service-catalog-deployment Kogito Add-On Fabric8 Kubernetes Service Catalog - Deployment + + org.kie.kogito.addons.quarkus.fabric8.k8s.service.catalog.deployment + + org.kie.kogito diff --git a/quarkus/addons/fabric8-kubernetes-service-catalog/runtime/pom.xml b/quarkus/addons/fabric8-kubernetes-service-catalog/runtime/pom.xml index 6f0a838703e..a95857a6ebd 100644 --- a/quarkus/addons/fabric8-kubernetes-service-catalog/runtime/pom.xml +++ b/quarkus/addons/fabric8-kubernetes-service-catalog/runtime/pom.xml @@ -32,6 +32,10 @@ kogito-addons-quarkus-fabric8-kubernetes-service-catalog Kogito Add-On Fabric8 Kubernetes Service Catalog + + org.kie.kogito.addons.quarkus.fabric8.k8s.service.catalog + + org.kie.kogito diff --git a/quarkus/addons/fabric8-kubernetes-service-catalog/test-utils/pom.xml b/quarkus/addons/fabric8-kubernetes-service-catalog/test-utils/pom.xml index 30e17497f63..b03f9c73743 100644 --- a/quarkus/addons/fabric8-kubernetes-service-catalog/test-utils/pom.xml +++ b/quarkus/addons/fabric8-kubernetes-service-catalog/test-utils/pom.xml @@ -31,6 +31,11 @@ kogito-addons-quarkus-fabric8-kubernetes-service-catalog-test-utils Kogito Add-On Fabric8 Kubernetes Service Catalog Tests Utils Util classes intended to be used in test scope. + + + org.kie.kogito.addons.quarkus.k8s.test.utils + + io.quarkus diff --git a/quarkus/addons/jobs/common/messaging/pom.xml b/quarkus/addons/jobs/common/messaging/pom.xml index 27330b6a498..65f658482d8 100644 --- a/quarkus/addons/jobs/common/messaging/pom.xml +++ b/quarkus/addons/jobs/common/messaging/pom.xml @@ -32,6 +32,10 @@ kogito-addons-quarkus-jobs-common-messaging Kogito Add-Ons Quarkus Jobs Common - Messaging + + org.kie.kogito.jobs.messaging.quarkus + + jakarta.ws.rs diff --git a/quarkus/addons/jobs/common/rest-callback/pom.xml b/quarkus/addons/jobs/common/rest-callback/pom.xml index 1c83aba8d6b..b6e74931783 100644 --- a/quarkus/addons/jobs/common/rest-callback/pom.xml +++ b/quarkus/addons/jobs/common/rest-callback/pom.xml @@ -32,6 +32,11 @@ kogito-addons-quarkus-rest-callback Kogito Add-Ons Quarkus - Rest Callback + + + org.kie.kogito.process.quarkus.rest.callback + + jakarta.ws.rs diff --git a/quarkus/addons/jobs/knative-eventing/deployment/pom.xml b/quarkus/addons/jobs/knative-eventing/deployment/pom.xml index 4636f8d4dd0..dfbbb3754d7 100644 --- a/quarkus/addons/jobs/knative-eventing/deployment/pom.xml +++ b/quarkus/addons/jobs/knative-eventing/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-jobs-knative-eventing-deployment Kogito Add-Ons Quarkus Jobs Knative Eventing - Deployment + + + org.kie.kogito.jobs.knative.eventing.quarkus.deployment + + io.quarkus diff --git a/quarkus/addons/jobs/knative-eventing/runtime/pom.xml b/quarkus/addons/jobs/knative-eventing/runtime/pom.xml index bfde04edbc2..cf19132890e 100644 --- a/quarkus/addons/jobs/knative-eventing/runtime/pom.xml +++ b/quarkus/addons/jobs/knative-eventing/runtime/pom.xml @@ -32,6 +32,10 @@ Jobs Quarkus Add-On to interact with the Jobs Service using events via the knative eventing system + + org.kie.kogito.jobs.knative.eventing.quarkus + + io.quarkus diff --git a/quarkus/addons/jobs/management/deployment/pom.xml b/quarkus/addons/jobs/management/deployment/pom.xml index 1408cdd67c7..b81dfb94cec 100644 --- a/quarkus/addons/jobs/management/deployment/pom.xml +++ b/quarkus/addons/jobs/management/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-jobs-management-deployment Kogito Add-Ons Quarkus Jobs Management - Deployment + + + org.kie.kogito.jobs.management.quarkus.deployment + + io.quarkus diff --git a/quarkus/addons/jobs/management/runtime/pom.xml b/quarkus/addons/jobs/management/runtime/pom.xml index 9a9698f2e42..b71ac7ebd6b 100644 --- a/quarkus/addons/jobs/management/runtime/pom.xml +++ b/quarkus/addons/jobs/management/runtime/pom.xml @@ -32,6 +32,10 @@ Jobs Management Quarkus Add-On to interact with Jobs Service + + org.kie.kogito.jobs.management.quarkus + + org.kie.kogito diff --git a/quarkus/addons/jobs/messaging/deployment/pom.xml b/quarkus/addons/jobs/messaging/deployment/pom.xml index 0188fede19e..f397ca51547 100644 --- a/quarkus/addons/jobs/messaging/deployment/pom.xml +++ b/quarkus/addons/jobs/messaging/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-jobs-messaging-deployment Kogito Add-Ons Quarkus Jobs Messaging - Deployment + + + org.kie.kogito.jobs.messaging.quarkus.deployment + + io.quarkus diff --git a/quarkus/addons/jobs/messaging/runtime/pom.xml b/quarkus/addons/jobs/messaging/runtime/pom.xml index f1f8d7b2283..acc10e320f6 100644 --- a/quarkus/addons/jobs/messaging/runtime/pom.xml +++ b/quarkus/addons/jobs/messaging/runtime/pom.xml @@ -32,6 +32,10 @@ Jobs Quarkus Add-On to interact with the Jobs Service using events via the reactive messaging api + + org.kie.kogito.jobs.messaging.quarkus + + io.quarkus diff --git a/quarkus/addons/jobs/pom.xml b/quarkus/addons/jobs/pom.xml index 3ed41db9a4c..34974911169 100644 --- a/quarkus/addons/jobs/pom.xml +++ b/quarkus/addons/jobs/pom.xml @@ -36,21 +36,8 @@ common management + messaging + knative-eventing - - - default - - - !productized - - - - messaging - knative-eventing - - - - diff --git a/quarkus/addons/knative/eventing/deployment/pom.xml b/quarkus/addons/knative/eventing/deployment/pom.xml index fa40d5f90f0..e3a5aa2e386 100644 --- a/quarkus/addons/knative/eventing/deployment/pom.xml +++ b/quarkus/addons/knative/eventing/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-knative-eventing-deployment Kogito Add-On Knative Eventing - Deployment + + + org.kie.kogito.addons.quarkus.knative.eventing.deployment + + org.kie.kogito diff --git a/quarkus/addons/knative/eventing/integration-tests/pom.xml b/quarkus/addons/knative/eventing/integration-tests/pom.xml index 37cd67fdb6c..948970e3cf9 100644 --- a/quarkus/addons/knative/eventing/integration-tests/pom.xml +++ b/quarkus/addons/knative/eventing/integration-tests/pom.xml @@ -32,6 +32,10 @@ kogito-addons-quarkus-knative-eventing-integration-tests Kogito Add-On Knative Eventing - Integration Tests + + org.kie.kogito.addons.quarkus.knative.eventing.test + + diff --git a/quarkus/addons/knative/eventing/runtime/pom.xml b/quarkus/addons/knative/eventing/runtime/pom.xml index c36537c12c4..42021e28e52 100644 --- a/quarkus/addons/knative/eventing/runtime/pom.xml +++ b/quarkus/addons/knative/eventing/runtime/pom.xml @@ -33,6 +33,10 @@ Kogito Add-On Knative Eventing Knative Eventing Kogito Add-On. Adds support for CloudEvents on top of HTTP and Knative env vars configuration. + + org.kie.kogito.addons.quarkus.knative.eventing + + org.kie.kogito diff --git a/quarkus/addons/knative/serving/deployment/pom.xml b/quarkus/addons/knative/serving/deployment/pom.xml index e46f33194ea..791505e5f66 100644 --- a/quarkus/addons/knative/serving/deployment/pom.xml +++ b/quarkus/addons/knative/serving/deployment/pom.xml @@ -32,6 +32,10 @@ kogito-addons-quarkus-knative-serving-deployment Kogito Add-On Knative Serving - Deployment + + org.kie.kogito.addons.quarkus.knative.serving.deployment + + org.kie.kogito diff --git a/quarkus/addons/knative/serving/integration-tests/pom.xml b/quarkus/addons/knative/serving/integration-tests/pom.xml index 0f3a9a36bbd..de2a06f37bd 100644 --- a/quarkus/addons/knative/serving/integration-tests/pom.xml +++ b/quarkus/addons/knative/serving/integration-tests/pom.xml @@ -33,6 +33,10 @@ Kogito Add-On Knative Serving - Integration Tests Knative Serving Kogito Add-On Integration Tests. + + org.kie.kogito.addons.quarkus.knative.serving.test + + diff --git a/quarkus/addons/knative/serving/runtime/pom.xml b/quarkus/addons/knative/serving/runtime/pom.xml index df374aca89e..e8bb991bb64 100644 --- a/quarkus/addons/knative/serving/runtime/pom.xml +++ b/quarkus/addons/knative/serving/runtime/pom.xml @@ -33,6 +33,10 @@ Kogito Add-On Knative Serving Knative Serving Kogito Add-On. Adds Knative Serverless Workflow custom functions. + + org.kie.kogito.addons.quarkus.knative.serving.customfunctions + + org.kie.kogito diff --git a/quarkus/addons/kubernetes/deployment/pom.xml b/quarkus/addons/kubernetes/deployment/pom.xml index 84ebc9fafd6..5c773ce6fae 100644 --- a/quarkus/addons/kubernetes/deployment/pom.xml +++ b/quarkus/addons/kubernetes/deployment/pom.xml @@ -29,6 +29,12 @@ kogito-addons-quarkus-kubernetes-deployment Kogito Add-On Kubernetes - Deployment + + + org.kie.kogito.addons.quarkus.kubernetes + + + io.quarkus diff --git a/quarkus/addons/kubernetes/integration-tests/pom.xml b/quarkus/addons/kubernetes/integration-tests/pom.xml index 24a1959aee7..bc7c7e06ac1 100644 --- a/quarkus/addons/kubernetes/integration-tests/pom.xml +++ b/quarkus/addons/kubernetes/integration-tests/pom.xml @@ -12,6 +12,10 @@ kogito-addons-quarkus-kubernetes-integration-tests Kogito Add-On Kubernetes - Integration Tests + + org.kie.kogito.addons.quarkus.kubernetes.tests + + diff --git a/quarkus/addons/kubernetes/runtime/pom.xml b/quarkus/addons/kubernetes/runtime/pom.xml index 8eb6aac7288..6bf8b5e113a 100644 --- a/quarkus/addons/kubernetes/runtime/pom.xml +++ b/quarkus/addons/kubernetes/runtime/pom.xml @@ -30,6 +30,11 @@ kogito-addons-quarkus-kubernetes Kogito Add-On Kubernetes Kubernetes Kogito Add-On. Adds support Kubernetes service discovery. + + + org.kie.kogito.addons.quarkus.k8s + + org.kie.kogito diff --git a/quarkus/addons/mail/deployment/pom.xml b/quarkus/addons/mail/deployment/pom.xml index a7c24c3bc7d..ce2eeea665e 100644 --- a/quarkus/addons/mail/deployment/pom.xml +++ b/quarkus/addons/mail/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-mail-deployment Kogito Add-On Mail - Deployment + + + org.kie.kogito.quarkus.mail.deployment + + io.quarkus @@ -41,8 +46,6 @@ io.quarkus quarkus-mailer-deployment - - ${version.io.quarkus} org.kie.kogito diff --git a/quarkus/addons/mail/runtime/pom.xml b/quarkus/addons/mail/runtime/pom.xml index 9a64b2ddaed..226391cc2a0 100644 --- a/quarkus/addons/mail/runtime/pom.xml +++ b/quarkus/addons/mail/runtime/pom.xml @@ -32,6 +32,10 @@ Kogito Add-On Mail E-Mail addon for for Quarkus + + org.kie.kogito.quarkus.mail + + org.kie.kogito diff --git a/quarkus/addons/marshallers/avro/deployment/pom.xml b/quarkus/addons/marshallers/avro/deployment/pom.xml index 2fe94849877..c558165f638 100644 --- a/quarkus/addons/marshallers/avro/deployment/pom.xml +++ b/quarkus/addons/marshallers/avro/deployment/pom.xml @@ -32,6 +32,10 @@ Kogito :: Add-Ons :: Quarkus :: Marshallers :: Avro :: Deployment Kogito Quarkus Marshallers Unmarshaller for Avro deployment + + org.kie.kogito.addon.avro.quarkus.deployment + + org.kie.kogito diff --git a/quarkus/addons/marshallers/avro/runtime/pom.xml b/quarkus/addons/marshallers/avro/runtime/pom.xml index 9ad0a4c9c90..43c15293d8a 100644 --- a/quarkus/addons/marshallers/avro/runtime/pom.xml +++ b/quarkus/addons/marshallers/avro/runtime/pom.xml @@ -32,6 +32,10 @@ Kogito :: Add-Ons :: Quarkus :: Marshallers :: Avro Kogito Quarkus Marshallers Unmarshaller for Avro + + org.kie.kogito.addon.avro.quarkus + + org.kie.kogito @@ -48,7 +52,6 @@ io.quarkus quarkus-extension-maven-plugin - ${version.io.quarkus} compile diff --git a/quarkus/addons/messaging/common/pom.xml b/quarkus/addons/messaging/common/pom.xml index a1258300f92..7dca00ae430 100644 --- a/quarkus/addons/messaging/common/pom.xml +++ b/quarkus/addons/messaging/common/pom.xml @@ -31,6 +31,10 @@ Kogito Add-On Messaging - Common Common classes for Kogito messaging Add-On (Quarkus) + + org.kie.kogito.addon.quarkus.messaging.common + + org.kie.kogito diff --git a/quarkus/addons/messaging/deployment/pom.xml b/quarkus/addons/messaging/deployment/pom.xml index ff5b706029e..989f841db5e 100644 --- a/quarkus/addons/messaging/deployment/pom.xml +++ b/quarkus/addons/messaging/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-messaging-deployment Kogito Add-On Messaging - Deployment + + + org.kie.kogito.addon.cloudevents.quarkus.deployment + + org.kie.kogito diff --git a/quarkus/addons/messaging/runtime/pom.xml b/quarkus/addons/messaging/runtime/pom.xml index 9ca973b70d9..0e8a4020a4c 100644 --- a/quarkus/addons/messaging/runtime/pom.xml +++ b/quarkus/addons/messaging/runtime/pom.xml @@ -33,6 +33,10 @@ Kogito Add-On Messaging Kogito Events handling for BPMN messages Add-On (Quarkus) + + org.kie.kogito.addon.messaging + + org.kie.kogito diff --git a/quarkus/addons/microprofile-config-service-catalog/deployment/pom.xml b/quarkus/addons/microprofile-config-service-catalog/deployment/pom.xml index 606dbe9e547..f936cd704a9 100644 --- a/quarkus/addons/microprofile-config-service-catalog/deployment/pom.xml +++ b/quarkus/addons/microprofile-config-service-catalog/deployment/pom.xml @@ -32,6 +32,10 @@ kogito-addons-quarkus-microprofile-config-service-catalog-deployment Kogito Add-On MicroProfile Config Service Catalog - Deployment + + org.kie.kogito.addons.quarkus.microprofile.config.service.catalog.deployment + + io.quarkus diff --git a/quarkus/addons/microprofile-config-service-catalog/integration-tests/pom.xml b/quarkus/addons/microprofile-config-service-catalog/integration-tests/pom.xml index 5b68d845a67..8e9ff6bed83 100644 --- a/quarkus/addons/microprofile-config-service-catalog/integration-tests/pom.xml +++ b/quarkus/addons/microprofile-config-service-catalog/integration-tests/pom.xml @@ -33,6 +33,10 @@ Kogito Add-On Microprofile Config Service Catalog - Integration Tests Microprofile Config Service Catalog Kogito Add-On Integration Tests. + + org.kie.kogito.addons.quarkus.microprofile.config.service.catalog.it + + diff --git a/quarkus/addons/microprofile-config-service-catalog/runtime/pom.xml b/quarkus/addons/microprofile-config-service-catalog/runtime/pom.xml index 8b423941f15..41f92992891 100644 --- a/quarkus/addons/microprofile-config-service-catalog/runtime/pom.xml +++ b/quarkus/addons/microprofile-config-service-catalog/runtime/pom.xml @@ -31,6 +31,11 @@ kogito-addons-quarkus-microprofile-config-service-catalog Kogito Add-On MicroProfile Config Service Catalog + + + org.kie.kogito.addons.quarkus.microprofile.config.service.catalog + + org.kie.kogito diff --git a/quarkus/addons/monitoring/core/pom.xml b/quarkus/addons/monitoring/core/pom.xml index 5d45b8e02f0..07d61e02ea4 100644 --- a/quarkus/addons/monitoring/core/pom.xml +++ b/quarkus/addons/monitoring/core/pom.xml @@ -31,6 +31,10 @@ kogito-addons-quarkus-monitoring-core Kogito Add-On Monitoring Core + + org.kie.kogito.monitoring.core.quarkus + + io.quarkus diff --git a/quarkus/addons/monitoring/elastic/deployment/pom.xml b/quarkus/addons/monitoring/elastic/deployment/pom.xml index a5a5c66843b..7906a102a81 100644 --- a/quarkus/addons/monitoring/elastic/deployment/pom.xml +++ b/quarkus/addons/monitoring/elastic/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-monitoring-elastic-deployment Kogito Add-On Monitoring Elastic - Deployment + + + org.kie.kogito.monitoring.elastic.quarkus.deployment + + org.kie.kogito diff --git a/quarkus/addons/monitoring/elastic/runtime/pom.xml b/quarkus/addons/monitoring/elastic/runtime/pom.xml index 9e1753ad731..1d165fbaa19 100644 --- a/quarkus/addons/monitoring/elastic/runtime/pom.xml +++ b/quarkus/addons/monitoring/elastic/runtime/pom.xml @@ -33,6 +33,10 @@ Kogito Add-On Monitoring Elastic Monitoring Elastic Quarkus + + org.kie.kogito.monitoring.elastic.quarkus + + io.quarkus diff --git a/quarkus/addons/monitoring/prometheus/deployment/pom.xml b/quarkus/addons/monitoring/prometheus/deployment/pom.xml index 5dd7d37ba60..7b844c8be43 100644 --- a/quarkus/addons/monitoring/prometheus/deployment/pom.xml +++ b/quarkus/addons/monitoring/prometheus/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-monitoring-prometheus-deployment Kogito Add-On Monitoring Prometheus - Deployment + + + org.kie.kogito.monitoring.prometheus.quarkus.deployment + + org.kie.kogito diff --git a/quarkus/addons/monitoring/prometheus/runtime/pom.xml b/quarkus/addons/monitoring/prometheus/runtime/pom.xml index 9912f44c826..9c7827e3a25 100644 --- a/quarkus/addons/monitoring/prometheus/runtime/pom.xml +++ b/quarkus/addons/monitoring/prometheus/runtime/pom.xml @@ -33,6 +33,10 @@ Kogito Add-On Monitoring Prometheus Prometheus monitoring for Quarkus + + org.kie.kogito.monitoring.prometheus.quarkus + + io.quarkus diff --git a/quarkus/addons/persistence/filesystem/deployment/pom.xml b/quarkus/addons/persistence/filesystem/deployment/pom.xml index ea14518f0a9..cd703d11af2 100644 --- a/quarkus/addons/persistence/filesystem/deployment/pom.xml +++ b/quarkus/addons/persistence/filesystem/deployment/pom.xml @@ -29,6 +29,12 @@ kogito-addons-quarkus-persistence-filesystem-deployment Kogito Add-On Persistence FileSystem - Deployment + + + org.kie.kogito.persistence.quarkus.filesystem.deployment + + + org.kie.kogito diff --git a/quarkus/addons/persistence/filesystem/runtime/pom.xml b/quarkus/addons/persistence/filesystem/runtime/pom.xml index 981eb00f928..d76320474a3 100644 --- a/quarkus/addons/persistence/filesystem/runtime/pom.xml +++ b/quarkus/addons/persistence/filesystem/runtime/pom.xml @@ -34,6 +34,10 @@ FileSystem Persistence support for Quarkus + + org.kie.kogito.persistence.quarkus.filesystem + + io.quarkus diff --git a/quarkus/addons/persistence/infinispan/deployment/pom.xml b/quarkus/addons/persistence/infinispan/deployment/pom.xml index 6053371be22..3d3bf9af5af 100644 --- a/quarkus/addons/persistence/infinispan/deployment/pom.xml +++ b/quarkus/addons/persistence/infinispan/deployment/pom.xml @@ -29,6 +29,12 @@ kogito-addons-quarkus-persistence-infinispan-deployment Kogito Add-On Persistence Infinispan - Deployment + + + org.kie.kogito.persistence.quarkus.infinispan.deployment + + + org.kie.kogito diff --git a/quarkus/addons/persistence/infinispan/health/pom.xml b/quarkus/addons/persistence/infinispan/health/pom.xml index f2b9ba98e2b..b03681fce2f 100644 --- a/quarkus/addons/persistence/infinispan/health/pom.xml +++ b/quarkus/addons/persistence/infinispan/health/pom.xml @@ -34,6 +34,10 @@ Infinispan Health Check support for Quarkus + + org.kie.kogito.persistence.quarkus.infinispan.health + + io.quarkus diff --git a/quarkus/addons/persistence/infinispan/runtime/pom.xml b/quarkus/addons/persistence/infinispan/runtime/pom.xml index f933c13c4f2..32d5f0cff30 100644 --- a/quarkus/addons/persistence/infinispan/runtime/pom.xml +++ b/quarkus/addons/persistence/infinispan/runtime/pom.xml @@ -34,6 +34,10 @@ Infinispan Persistence support for Quarkus + + org.kie.kogito.persistence.quarkus.infinispan + + io.quarkus diff --git a/quarkus/addons/persistence/jdbc/deployment/pom.xml b/quarkus/addons/persistence/jdbc/deployment/pom.xml index 9a0c2be46cf..9606fa1c58a 100644 --- a/quarkus/addons/persistence/jdbc/deployment/pom.xml +++ b/quarkus/addons/persistence/jdbc/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-persistence-jdbc-deployment Kogito Add-On Persistence JDBC - Deployment + + + org.kie.kogito.persistence.quarkus.jdbc.deployment + + org.kie.kogito diff --git a/quarkus/addons/persistence/jdbc/runtime/pom.xml b/quarkus/addons/persistence/jdbc/runtime/pom.xml index 3cc61f98b16..fdc44b95df8 100644 --- a/quarkus/addons/persistence/jdbc/runtime/pom.xml +++ b/quarkus/addons/persistence/jdbc/runtime/pom.xml @@ -34,6 +34,12 @@ JDBC Persistence support for Quarkus + + org.kie.kogito.persistence.quarkus.jdbc + + + + io.quarkus diff --git a/quarkus/addons/persistence/kafka/deployment/pom.xml b/quarkus/addons/persistence/kafka/deployment/pom.xml index 732ebe6096f..704fd2340b8 100644 --- a/quarkus/addons/persistence/kafka/deployment/pom.xml +++ b/quarkus/addons/persistence/kafka/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-persistence-kafka-deployment Kogito Add-On Persistence Kafka Streams - Deployment + + + org.kie.kogito.persistence.quarkus.kafka.deployment + + org.kie.kogito diff --git a/quarkus/addons/persistence/kafka/runtime/pom.xml b/quarkus/addons/persistence/kafka/runtime/pom.xml index dace71b00b4..c337b0c69c7 100644 --- a/quarkus/addons/persistence/kafka/runtime/pom.xml +++ b/quarkus/addons/persistence/kafka/runtime/pom.xml @@ -32,7 +32,11 @@ kogito-addons-quarkus-persistence-kafka Kogito Add-On Persistence Kafka Streams Kafka Streams based persistence for Kogito - + + + org.kie.kogito.persistence.quarkus.kafka + + org.kie.kogito diff --git a/quarkus/addons/persistence/mongodb/deployment/pom.xml b/quarkus/addons/persistence/mongodb/deployment/pom.xml index 0197ee9674b..ffd9c65d6ca 100644 --- a/quarkus/addons/persistence/mongodb/deployment/pom.xml +++ b/quarkus/addons/persistence/mongodb/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-persistence-mongodb-deployment Kogito Add-On Persistence MongoDB - Deployment + + + org.kie.kogito.persistence.quarkus.mongodb.deployment + + org.kie.kogito diff --git a/quarkus/addons/persistence/mongodb/runtime/pom.xml b/quarkus/addons/persistence/mongodb/runtime/pom.xml index 6d58d264940..f4875b55f08 100644 --- a/quarkus/addons/persistence/mongodb/runtime/pom.xml +++ b/quarkus/addons/persistence/mongodb/runtime/pom.xml @@ -34,6 +34,10 @@ MongoDB Persistence support for Quarkus + + org.kie.kogito.persistence.quarkus.mongodb + + io.quarkus diff --git a/quarkus/addons/persistence/pom.xml b/quarkus/addons/persistence/pom.xml index fab2b3e22a3..4a643345499 100644 --- a/quarkus/addons/persistence/pom.xml +++ b/quarkus/addons/persistence/pom.xml @@ -36,25 +36,12 @@ jdbc + infinispan + kafka + filesystem + mongodb + postgresql + rocksdb - - - default - - - !productized - - - - infinispan - kafka - filesystem - mongodb - postgresql - rocksdb - - - - \ No newline at end of file diff --git a/quarkus/addons/persistence/postgresql/deployment/pom.xml b/quarkus/addons/persistence/postgresql/deployment/pom.xml index 1fcf1e1ecdf..2041c1d3edc 100644 --- a/quarkus/addons/persistence/postgresql/deployment/pom.xml +++ b/quarkus/addons/persistence/postgresql/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-persistence-postgresql-deployment Kogito Add-On Persistence PostgreSQL - Deployment + + + org.kie.kogito.persistence.quarkus.postgresql.deployment + + org.kie.kogito diff --git a/quarkus/addons/persistence/postgresql/runtime/pom.xml b/quarkus/addons/persistence/postgresql/runtime/pom.xml index 651e19497c0..fce3dd6bb68 100644 --- a/quarkus/addons/persistence/postgresql/runtime/pom.xml +++ b/quarkus/addons/persistence/postgresql/runtime/pom.xml @@ -34,6 +34,11 @@ PostgreSQL Persistence support for Quarkus + + org.kie.kogito.persistence.quarkus.postgresql + + + io.quarkus diff --git a/quarkus/addons/persistence/rocksdb/deployment/pom.xml b/quarkus/addons/persistence/rocksdb/deployment/pom.xml index 80833f53fb9..69174556ced 100644 --- a/quarkus/addons/persistence/rocksdb/deployment/pom.xml +++ b/quarkus/addons/persistence/rocksdb/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-persistence-rocksdb-deployment Kogito Add-On Persistence Rocksdb - Deployment + + + org.kie.kogito.persistence.quarkus.rocksdb.deployment + + org.kie.kogito diff --git a/quarkus/addons/persistence/rocksdb/runtime/pom.xml b/quarkus/addons/persistence/rocksdb/runtime/pom.xml index 0efee464c47..10d49777555 100644 --- a/quarkus/addons/persistence/rocksdb/runtime/pom.xml +++ b/quarkus/addons/persistence/rocksdb/runtime/pom.xml @@ -34,6 +34,10 @@ Rocksdb Persistence support for Quarkus + + org.kie.kogito.persistence.quarkus.rocksdb + + io.quarkus diff --git a/quarkus/addons/pom.xml b/quarkus/addons/pom.xml index 18865b25f08..99a53bfdf0e 100644 --- a/quarkus/addons/pom.xml +++ b/quarkus/addons/pom.xml @@ -49,28 +49,18 @@ fabric8-kubernetes-service-catalog microprofile-config-service-catalog jobs + explainability + mail + monitoring + process-svg + task-notification + tracing-decision + task-management + marshallers + process-definitions - - default - - - !productized - - - - explainability - mail - monitoring - process-svg - task-notification - tracing-decision - task-management - marshallers - process-definitions - - full diff --git a/quarkus/addons/process-definitions/deployment/pom.xml b/quarkus/addons/process-definitions/deployment/pom.xml index aa3ded3949e..1a55b860ed2 100644 --- a/quarkus/addons/process-definitions/deployment/pom.xml +++ b/quarkus/addons/process-definitions/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-process-definitions-deployment Kogito Add-On Process Definitions - Deployment + + + org.kie.kogito.process.quarkus.definitions.deployment + + org.kie.kogito diff --git a/quarkus/addons/process-definitions/runtime/pom.xml b/quarkus/addons/process-definitions/runtime/pom.xml index 426d2f5061e..05782e5d043 100644 --- a/quarkus/addons/process-definitions/runtime/pom.xml +++ b/quarkus/addons/process-definitions/runtime/pom.xml @@ -31,6 +31,10 @@ Kogito Add-On Process Definitions Allow deploying process definitions for Quarkus + + org.kie.kogito.process.quarkus.definitions + + io.quarkus diff --git a/quarkus/addons/process-management/deployment/pom.xml b/quarkus/addons/process-management/deployment/pom.xml index 70daf447aef..5bf7e03a385 100644 --- a/quarkus/addons/process-management/deployment/pom.xml +++ b/quarkus/addons/process-management/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-process-management-deployment Kogito Add-On Process Management - Deployment + + + org.kie.kogito.process.quarkus.management.deployment + + org.kie.kogito diff --git a/quarkus/addons/process-management/integration-tests/pom.xml b/quarkus/addons/process-management/integration-tests/pom.xml index a56f59f2dd9..6c43331a608 100644 --- a/quarkus/addons/process-management/integration-tests/pom.xml +++ b/quarkus/addons/process-management/integration-tests/pom.xml @@ -28,6 +28,12 @@ kogito-addons-quarkus-process-management-integration-tests Kogito:: Addons :: Quarkus:: Process Management :: Integration Test Process Management addon testing Testing + + + org.kie.kogito.process.quarkus.management.test + + + io.quarkus diff --git a/quarkus/addons/process-management/runtime/pom.xml b/quarkus/addons/process-management/runtime/pom.xml index ba1d9ef5e7a..9248a5dc3f9 100644 --- a/quarkus/addons/process-management/runtime/pom.xml +++ b/quarkus/addons/process-management/runtime/pom.xml @@ -31,6 +31,10 @@ Kogito Add-On Process Management Management of process instances for Quarkus + + org.kie.kogito.process.quarkus.management + + io.quarkus diff --git a/quarkus/addons/process-svg/deployment/pom.xml b/quarkus/addons/process-svg/deployment/pom.xml index 50232dbeee6..ddabdde28d6 100644 --- a/quarkus/addons/process-svg/deployment/pom.xml +++ b/quarkus/addons/process-svg/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-process-svg-deployment Kogito Add-On Process SVG - Deployment + + + org.kie.kogito.process.quarkus.svg.deployment + + org.kie.kogito diff --git a/quarkus/addons/process-svg/runtime/pom.xml b/quarkus/addons/process-svg/runtime/pom.xml index df3f03bfe12..7ae53f5834e 100644 --- a/quarkus/addons/process-svg/runtime/pom.xml +++ b/quarkus/addons/process-svg/runtime/pom.xml @@ -32,6 +32,10 @@ Quarkus Addon to interact with Process SVG Service + + org.kie.kogito.process.quarkus.svg + + org.kie.kogito diff --git a/quarkus/addons/python/deployment/pom.xml b/quarkus/addons/python/deployment/pom.xml index a0daea160b6..63309b45272 100644 --- a/quarkus/addons/python/deployment/pom.xml +++ b/quarkus/addons/python/deployment/pom.xml @@ -28,6 +28,12 @@ kogito-addons-quarkus-serverless-workflow-python-deployment Kogito:: Addons :: Quarkus:: Serverless Workflow:: Python:: Deployment Python support for serverless workflow + + + org.kie.kogito.quarkus.serverless.workflow.python.deployment + + + org.kie.kogito diff --git a/quarkus/addons/python/integration-tests/pom.xml b/quarkus/addons/python/integration-tests/pom.xml index f5f387151a9..8c75e584df8 100644 --- a/quarkus/addons/python/integration-tests/pom.xml +++ b/quarkus/addons/python/integration-tests/pom.xml @@ -28,6 +28,12 @@ kogito-addons-quarkus-serverless-workflow-python-integration-tests Kogito:: Addons :: Quarkus:: Serverless Workflow:: Python:: Integration Test Serverless Workflow Python Quarkus Addons Testing + + + + org.kie.kogito.quarkus.serverless.workflow.python.tests + + io.quarkus diff --git a/quarkus/addons/python/runtime/pom.xml b/quarkus/addons/python/runtime/pom.xml index 75e7c6e33a6..54a31b35d8b 100644 --- a/quarkus/addons/python/runtime/pom.xml +++ b/quarkus/addons/python/runtime/pom.xml @@ -29,6 +29,11 @@ Kogito:: Addons :: Quarkus:: Serverless Workflow:: Python:: Runtime Python support for serverless workflow kogito-addons-quarkus-serverless-workflow-python + + + org.kie.kogito.quarkus.serverless.workflow.python + + org.kie.kogito @@ -44,7 +49,6 @@ io.quarkus quarkus-extension-maven-plugin - ${version.io.quarkus} compile diff --git a/quarkus/addons/rest-exception-handler/pom.xml b/quarkus/addons/rest-exception-handler/pom.xml index dd68f22f111..c3f6f577479 100644 --- a/quarkus/addons/rest-exception-handler/pom.xml +++ b/quarkus/addons/rest-exception-handler/pom.xml @@ -31,6 +31,11 @@ kogito-addons-quarkus-rest-exception-handler Kogito :: Rest Exception Handler :: Quarkus Kogito exception handling for Quarkus + + + org.kie.kogito.process.quarkus.rest.exception.handler + + org.kie.kogito diff --git a/quarkus/addons/source-files/deployment/pom.xml b/quarkus/addons/source-files/deployment/pom.xml index c855e6f0909..82c6d553e04 100644 --- a/quarkus/addons/source-files/deployment/pom.xml +++ b/quarkus/addons/source-files/deployment/pom.xml @@ -31,6 +31,10 @@ kogito-addons-quarkus-source-files-deployment Kogito Add-On Source Files - Deployment + + org.kie.kogito.quarkus.addon.source.files.deployment + + org.kie.kogito diff --git a/quarkus/addons/source-files/deployment/src/main/java/org/kie/kogito/addon/source/files/deployment/SourceFileCodegenBindListenerImpl.java b/quarkus/addons/source-files/deployment/src/main/java/org/kie/kogito/addon/source/files/deployment/SourceFileCodegenBindListenerImpl.java index d295429ecba..280b1f580e0 100644 --- a/quarkus/addons/source-files/deployment/src/main/java/org/kie/kogito/addon/source/files/deployment/SourceFileCodegenBindListenerImpl.java +++ b/quarkus/addons/source-files/deployment/src/main/java/org/kie/kogito/addon/source/files/deployment/SourceFileCodegenBindListenerImpl.java @@ -22,10 +22,10 @@ import java.nio.file.Path; import java.util.Arrays; -import org.kie.kogito.addon.source.files.SourceFile; import org.kie.kogito.addon.source.files.SourceFilesRecorder; import org.kie.kogito.codegen.api.SourceFileCodegenBindEvent; import org.kie.kogito.codegen.api.SourceFileCodegenBindListener; +import org.kie.kogito.source.files.SourceFile; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/quarkus/addons/source-files/deployment/src/test/java/org/kie/kogito/addon/source/files/deployment/FakeSourceFilesRecorder.java b/quarkus/addons/source-files/deployment/src/test/java/org/kie/kogito/addon/source/files/deployment/FakeSourceFilesRecorder.java index 674b57acfa0..454f5c837da 100644 --- a/quarkus/addons/source-files/deployment/src/test/java/org/kie/kogito/addon/source/files/deployment/FakeSourceFilesRecorder.java +++ b/quarkus/addons/source-files/deployment/src/test/java/org/kie/kogito/addon/source/files/deployment/FakeSourceFilesRecorder.java @@ -24,8 +24,8 @@ import java.util.List; import java.util.Map; -import org.kie.kogito.addon.source.files.SourceFile; import org.kie.kogito.addon.source.files.SourceFilesRecorder; +import org.kie.kogito.source.files.SourceFile; final class FakeSourceFilesRecorder extends SourceFilesRecorder { diff --git a/quarkus/addons/source-files/deployment/src/test/java/org/kie/kogito/addon/source/files/deployment/SourceFileCodegenBindListenerImplTest.java b/quarkus/addons/source-files/deployment/src/test/java/org/kie/kogito/addon/source/files/deployment/SourceFileCodegenBindListenerImplTest.java index 8edb01fa43e..fe3525efa98 100644 --- a/quarkus/addons/source-files/deployment/src/test/java/org/kie/kogito/addon/source/files/deployment/SourceFileCodegenBindListenerImplTest.java +++ b/quarkus/addons/source-files/deployment/src/test/java/org/kie/kogito/addon/source/files/deployment/SourceFileCodegenBindListenerImplTest.java @@ -24,8 +24,8 @@ import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; -import org.kie.kogito.addon.source.files.SourceFile; import org.kie.kogito.codegen.api.SourceFileCodegenBindEvent; +import org.kie.kogito.source.files.SourceFile; import static org.assertj.core.api.Assertions.assertThat; diff --git a/quarkus/addons/source-files/runtime/pom.xml b/quarkus/addons/source-files/runtime/pom.xml index 722fcca5e6b..9cdc09cc4e2 100644 --- a/quarkus/addons/source-files/runtime/pom.xml +++ b/quarkus/addons/source-files/runtime/pom.xml @@ -33,6 +33,10 @@ Kogito Add-On Source Files Provides access to source files for Quarkus + + org.kie.kogito.quarkus.addon.source.files + + @@ -49,14 +53,10 @@ io.quarkus quarkus-arc - - - org.kie.kogito - kogito-addons-source-files org.kie.kogito - kogito-api + kogito-services org.kie.kogito diff --git a/quarkus/addons/source-files/runtime/src/main/java/org/kie/kogito/addon/source/files/SourceFilesProviderProducer.java b/quarkus/addons/source-files/runtime/src/main/java/org/kie/kogito/addon/source/files/SourceFilesProviderProducer.java index dc4ac4d01d6..19ab1f0ebe5 100644 --- a/quarkus/addons/source-files/runtime/src/main/java/org/kie/kogito/addon/source/files/SourceFilesProviderProducer.java +++ b/quarkus/addons/source-files/runtime/src/main/java/org/kie/kogito/addon/source/files/SourceFilesProviderProducer.java @@ -18,6 +18,8 @@ */ package org.kie.kogito.addon.source.files; +import org.kie.kogito.source.files.SourceFilesProviderImpl; + import jakarta.enterprise.context.ApplicationScoped; import jakarta.enterprise.inject.Default; import jakarta.enterprise.inject.Produces; diff --git a/quarkus/addons/source-files/runtime/src/main/java/org/kie/kogito/addon/source/files/SourceFilesRecorder.java b/quarkus/addons/source-files/runtime/src/main/java/org/kie/kogito/addon/source/files/SourceFilesRecorder.java index 4cadb22c29e..44c137a1e23 100644 --- a/quarkus/addons/source-files/runtime/src/main/java/org/kie/kogito/addon/source/files/SourceFilesRecorder.java +++ b/quarkus/addons/source-files/runtime/src/main/java/org/kie/kogito/addon/source/files/SourceFilesRecorder.java @@ -18,6 +18,9 @@ */ package org.kie.kogito.addon.source.files; +import org.kie.kogito.source.files.SourceFile; +import org.kie.kogito.source.files.SourceFilesProviderImpl; + import io.quarkus.runtime.annotations.Recorder; import jakarta.enterprise.inject.spi.CDI; diff --git a/quarkus/addons/source-files/runtime/src/main/java/org/kie/kogito/addon/source/files/SourceFilesResource.java b/quarkus/addons/source-files/runtime/src/main/java/org/kie/kogito/addon/source/files/SourceFilesResource.java index a347cf8293d..6165d773ab2 100644 --- a/quarkus/addons/source-files/runtime/src/main/java/org/kie/kogito/addon/source/files/SourceFilesResource.java +++ b/quarkus/addons/source-files/runtime/src/main/java/org/kie/kogito/addon/source/files/SourceFilesResource.java @@ -24,6 +24,8 @@ import java.util.Collection; import org.kie.kogito.resource.exceptions.ExceptionsHandler; +import org.kie.kogito.source.files.SourceFile; +import org.kie.kogito.source.files.SourceFilesProvider; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; diff --git a/quarkus/addons/source-files/runtime/src/test/java/org/kie/kogito/addon/source/files/SourceFilesResourceTest.java b/quarkus/addons/source-files/runtime/src/test/java/org/kie/kogito/addon/source/files/SourceFilesResourceTest.java index 234b555d94d..642bf95be8a 100644 --- a/quarkus/addons/source-files/runtime/src/test/java/org/kie/kogito/addon/source/files/SourceFilesResourceTest.java +++ b/quarkus/addons/source-files/runtime/src/test/java/org/kie/kogito/addon/source/files/SourceFilesResourceTest.java @@ -22,6 +22,8 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; +import org.kie.kogito.source.files.SourceFile; +import org.kie.kogito.source.files.SourceFilesProvider; import org.mockito.Mock; import io.quarkus.test.junit.QuarkusTest; diff --git a/quarkus/addons/task-management/deployment/pom.xml b/quarkus/addons/task-management/deployment/pom.xml index bf86d07c444..9fa677f29cd 100644 --- a/quarkus/addons/task-management/deployment/pom.xml +++ b/quarkus/addons/task-management/deployment/pom.xml @@ -29,6 +29,12 @@ kogito-addons-quarkus-task-management-deployment Kogito Add-On Task Management - Deployment + + + + org.kie.kogito.quarkus.task.management.deployment + + org.kie.kogito diff --git a/quarkus/addons/task-management/runtime/pom.xml b/quarkus/addons/task-management/runtime/pom.xml index 5a58f17a678..780dbebb1cd 100644 --- a/quarkus/addons/task-management/runtime/pom.xml +++ b/quarkus/addons/task-management/runtime/pom.xml @@ -32,6 +32,10 @@ Kogito Add-On Task Management Management of process instances for Quarkus + + org.kie.kogito.quarkus.task.management + + org.kie.kogito diff --git a/quarkus/addons/task-notification/deployment/pom.xml b/quarkus/addons/task-notification/deployment/pom.xml index 63e2bf6574c..92fe0bbff38 100644 --- a/quarkus/addons/task-notification/deployment/pom.xml +++ b/quarkus/addons/task-notification/deployment/pom.xml @@ -29,6 +29,11 @@ kogito-addons-quarkus-task-notification-deployment Kogito Add-On Task Notification - Deployment + + + org.kie.kogito.quarkus.task.notification.deployment + + org.kie.kogito diff --git a/quarkus/addons/task-notification/runtime/pom.xml b/quarkus/addons/task-notification/runtime/pom.xml index bbeb0c43f61..7b047e41299 100644 --- a/quarkus/addons/task-notification/runtime/pom.xml +++ b/quarkus/addons/task-notification/runtime/pom.xml @@ -32,6 +32,11 @@ Kogito Add-On Task Notification Task notification addon for for Quarkus + + + org.kie.kogito.quarkus.task.notification + + io.quarkus diff --git a/quarkus/addons/tracing-decision/deployment/pom.xml b/quarkus/addons/tracing-decision/deployment/pom.xml index 784ea0acde2..e3380183d0b 100644 --- a/quarkus/addons/tracing-decision/deployment/pom.xml +++ b/quarkus/addons/tracing-decision/deployment/pom.xml @@ -32,6 +32,7 @@ 1.17.0 + org.kie.kogito.quarkus.tracing.decision.deployment diff --git a/quarkus/addons/tracing-decision/integration-tests/pom.xml b/quarkus/addons/tracing-decision/integration-tests/pom.xml index f07abe568b7..cc623a98565 100644 --- a/quarkus/addons/tracing-decision/integration-tests/pom.xml +++ b/quarkus/addons/tracing-decision/integration-tests/pom.xml @@ -30,6 +30,11 @@ kogito-addons-quarkus-tracing-decision-it Kogito Add-On Tracing Decision - Integration tests + + org.kie.kogito.quarkus.tracing.decision.tests + + + io.quarkus diff --git a/quarkus/addons/tracing-decision/runtime/pom.xml b/quarkus/addons/tracing-decision/runtime/pom.xml index 492de8c3f65..46f97483954 100644 --- a/quarkus/addons/tracing-decision/runtime/pom.xml +++ b/quarkus/addons/tracing-decision/runtime/pom.xml @@ -32,6 +32,10 @@ kogito-addons-quarkus-tracing-decision Kogito Add-On Tracing Decision + + org.kie.kogito.quarkus.tracing.decision + + io.quarkus diff --git a/quarkus/extensions/kogito-quarkus-decisions-extension/kogito-quarkus-decisions-deployment/pom.xml b/quarkus/extensions/kogito-quarkus-decisions-extension/kogito-quarkus-decisions-deployment/pom.xml index 4ed6b1b024b..e17ea680420 100644 --- a/quarkus/extensions/kogito-quarkus-decisions-extension/kogito-quarkus-decisions-deployment/pom.xml +++ b/quarkus/extensions/kogito-quarkus-decisions-extension/kogito-quarkus-decisions-deployment/pom.xml @@ -32,11 +32,14 @@ kogito-quarkus-decisions-deployment Kogito :: Quarkus Decisions Extension :: Deployment + + org.kie.kogito.quarkus.decisions.deployment + + org.kie.kogito kogito-quarkus-common-deployment - ${project.version} org.kie.kogito diff --git a/quarkus/extensions/kogito-quarkus-decisions-extension/kogito-quarkus-decisions-integration-test-hot-reload/pom.xml b/quarkus/extensions/kogito-quarkus-decisions-extension/kogito-quarkus-decisions-integration-test-hot-reload/pom.xml index c18ae75e852..d0019342f17 100644 --- a/quarkus/extensions/kogito-quarkus-decisions-extension/kogito-quarkus-decisions-integration-test-hot-reload/pom.xml +++ b/quarkus/extensions/kogito-quarkus-decisions-extension/kogito-quarkus-decisions-integration-test-hot-reload/pom.xml @@ -35,6 +35,7 @@ false + org.kie.kogito.quarkus.decisions.hotreload diff --git a/quarkus/extensions/kogito-quarkus-decisions-extension/kogito-quarkus-decisions-integration-test/pom.xml b/quarkus/extensions/kogito-quarkus-decisions-extension/kogito-quarkus-decisions-integration-test/pom.xml index e222d1ace52..fb168cb7854 100644 --- a/quarkus/extensions/kogito-quarkus-decisions-extension/kogito-quarkus-decisions-integration-test/pom.xml +++ b/quarkus/extensions/kogito-quarkus-decisions-extension/kogito-quarkus-decisions-integration-test/pom.xml @@ -35,6 +35,7 @@ false + org.kie.kogito.quarkus.decisions.tests diff --git a/quarkus/extensions/kogito-quarkus-decisions-extension/kogito-quarkus-decisions/pom.xml b/quarkus/extensions/kogito-quarkus-decisions-extension/kogito-quarkus-decisions/pom.xml index ff8fd7df4f2..f1b6f536dee 100644 --- a/quarkus/extensions/kogito-quarkus-decisions-extension/kogito-quarkus-decisions/pom.xml +++ b/quarkus/extensions/kogito-quarkus-decisions-extension/kogito-quarkus-decisions/pom.xml @@ -30,6 +30,11 @@ kogito-quarkus-decisions Kogito :: Quarkus Decisions Extension :: Runtime Add Kogito decision (DMN) capabilities - Include Drools DMN engine + + + org.kie.kogito.quarkus.decisions + + org.kie.kogito diff --git a/quarkus/extensions/kogito-quarkus-extension-common/kogito-quarkus-common-deployment/pom.xml b/quarkus/extensions/kogito-quarkus-extension-common/kogito-quarkus-common-deployment/pom.xml index 304e990571a..0e417293745 100644 --- a/quarkus/extensions/kogito-quarkus-extension-common/kogito-quarkus-common-deployment/pom.xml +++ b/quarkus/extensions/kogito-quarkus-extension-common/kogito-quarkus-common-deployment/pom.xml @@ -32,6 +32,10 @@ kogito-quarkus-common-deployment Kogito :: Quarkus Extension Common :: Deployment + + org.kie.kogito.quarkus.common.deployment + + diff --git a/quarkus/extensions/kogito-quarkus-extension-common/kogito-quarkus-common/pom.xml b/quarkus/extensions/kogito-quarkus-extension-common/kogito-quarkus-common/pom.xml index 3df1dfc55ac..60d9efda1fc 100644 --- a/quarkus/extensions/kogito-quarkus-extension-common/kogito-quarkus-common/pom.xml +++ b/quarkus/extensions/kogito-quarkus-extension-common/kogito-quarkus-common/pom.xml @@ -32,6 +32,10 @@ kogito-quarkus-common Kogito :: Quarkus Extension Common :: Runtime + + org.kie.kogito.quarkus.common + + org.graalvm.nativeimage diff --git a/quarkus/extensions/kogito-quarkus-extension-common/kogito-quarkus-common/src/main/java/org/kie/kogito/quarkus/registry/ProcessDefinitionRegistration.java b/quarkus/extensions/kogito-quarkus-extension-common/kogito-quarkus-common/src/main/java/org/kie/kogito/quarkus/registry/ProcessDefinitionRegistration.java index a9bc0fa236a..9350eabc4ce 100644 --- a/quarkus/extensions/kogito-quarkus-extension-common/kogito-quarkus-common/src/main/java/org/kie/kogito/quarkus/registry/ProcessDefinitionRegistration.java +++ b/quarkus/extensions/kogito-quarkus-extension-common/kogito-quarkus-common/src/main/java/org/kie/kogito/quarkus/registry/ProcessDefinitionRegistration.java @@ -18,10 +18,13 @@ */ package org.kie.kogito.quarkus.registry; +import java.util.Optional; + import org.kie.kogito.Application; import org.kie.kogito.process.Processes; import org.kie.kogito.quarkus.config.KogitoRuntimeConfig; import org.kie.kogito.services.registry.ProcessDefinitionEventRegistry; +import org.kie.kogito.source.files.SourceFilesProvider; import io.quarkus.runtime.StartupEvent; @@ -37,9 +40,10 @@ public class ProcessDefinitionRegistration { ProcessDefinitionEventRegistry processDefinitionRegistry; @Inject - public ProcessDefinitionRegistration(Application application, KogitoRuntimeConfig runtimeConfig, Instance processes) { + public ProcessDefinitionRegistration(Application application, KogitoRuntimeConfig runtimeConfig, Instance processes, Instance sourceFilesProvider) { this.processes = processes; - this.processDefinitionRegistry = new ProcessDefinitionEventRegistry(application, runtimeConfig.serviceUrl.orElse(null)); + this.processDefinitionRegistry = + new ProcessDefinitionEventRegistry(application, runtimeConfig.serviceUrl.orElse(null), sourceFilesProvider.isResolvable() ? Optional.of(sourceFilesProvider.get()) : Optional.empty()); } void onStartUp(@Observes StartupEvent startupEvent) { diff --git a/quarkus/extensions/kogito-quarkus-extension-spi/pom.xml b/quarkus/extensions/kogito-quarkus-extension-spi/pom.xml index 7e6ba7fedda..5f7a3fce07c 100644 --- a/quarkus/extensions/kogito-quarkus-extension-spi/pom.xml +++ b/quarkus/extensions/kogito-quarkus-extension-spi/pom.xml @@ -32,6 +32,12 @@ kogito-quarkus-extension-spi Kogito :: Quarkus Extension SPI + + + org.kie.kogito.quarkus.extensions.spi.deployment + + + org.kie.kogito diff --git a/quarkus/extensions/kogito-quarkus-extension/kogito-quarkus-deployment/pom.xml b/quarkus/extensions/kogito-quarkus-extension/kogito-quarkus-deployment/pom.xml index badb91343a0..1f7670d3cf8 100644 --- a/quarkus/extensions/kogito-quarkus-extension/kogito-quarkus-deployment/pom.xml +++ b/quarkus/extensions/kogito-quarkus-extension/kogito-quarkus-deployment/pom.xml @@ -33,11 +33,14 @@ kogito-quarkus-deployment Kogito :: Quarkus Extension :: Deployment + + org.kie.kogito.quarkus.extension.deployment + + org.kie.kogito kogito-quarkus-common-deployment - ${project.version} @@ -49,7 +52,6 @@ org.kie.kogito kogito-quarkus-processes-deployment - ${project.version} diff --git a/quarkus/extensions/kogito-quarkus-extension/kogito-quarkus-integration-test-maven-devmode/pom.xml b/quarkus/extensions/kogito-quarkus-extension/kogito-quarkus-integration-test-maven-devmode/pom.xml index a685537af25..2787096a97d 100644 --- a/quarkus/extensions/kogito-quarkus-extension/kogito-quarkus-integration-test-maven-devmode/pom.xml +++ b/quarkus/extensions/kogito-quarkus-extension/kogito-quarkus-integration-test-maven-devmode/pom.xml @@ -36,6 +36,7 @@ false + io.quarkus.it.kogito.devmode diff --git a/quarkus/extensions/kogito-quarkus-extension/kogito-quarkus-integration-test/pom.xml b/quarkus/extensions/kogito-quarkus-extension/kogito-quarkus-integration-test/pom.xml index cb6067b8105..5aee9b73182 100644 --- a/quarkus/extensions/kogito-quarkus-extension/kogito-quarkus-integration-test/pom.xml +++ b/quarkus/extensions/kogito-quarkus-extension/kogito-quarkus-integration-test/pom.xml @@ -35,6 +35,7 @@ true + io.quarkus.it.kogito.jbpm diff --git a/quarkus/extensions/kogito-quarkus-extension/kogito-quarkus/pom.xml b/quarkus/extensions/kogito-quarkus-extension/kogito-quarkus/pom.xml index 6ab9d76f534..546bcf4f6de 100644 --- a/quarkus/extensions/kogito-quarkus-extension/kogito-quarkus/pom.xml +++ b/quarkus/extensions/kogito-quarkus-extension/kogito-quarkus/pom.xml @@ -34,6 +34,10 @@ Kogito :: Quarkus Extension :: Runtime Add business automation capabilities - processes and rules with Kogito (a toolkit that originates from projects Drools and jBPM) + + org.kie.kogito.quarkus.extension.runtime + + org.kie.kogito diff --git a/quarkus/extensions/kogito-quarkus-extension/pom.xml b/quarkus/extensions/kogito-quarkus-extension/pom.xml index 6246d797a9d..38544a56af2 100644 --- a/quarkus/extensions/kogito-quarkus-extension/pom.xml +++ b/quarkus/extensions/kogito-quarkus-extension/pom.xml @@ -37,21 +37,8 @@ kogito-quarkus-deployment kogito-quarkus + kogito-quarkus-integration-test + kogito-quarkus-integration-test-maven-devmode - - - default - - - !productized - - - - kogito-quarkus-integration-test - kogito-quarkus-integration-test-maven-devmode - - - - \ No newline at end of file diff --git a/quarkus/extensions/kogito-quarkus-incubation-common/pom.xml b/quarkus/extensions/kogito-quarkus-incubation-common/pom.xml index e48988522c4..7e9dd7369ab 100644 --- a/quarkus/extensions/kogito-quarkus-incubation-common/pom.xml +++ b/quarkus/extensions/kogito-quarkus-incubation-common/pom.xml @@ -32,6 +32,10 @@ kogito-quarkus-incubation-common Kogito :: Quarkus :: Incubation Common + + org.kie.kogito.incubation.application.quarkus + + org.kie.kogito diff --git a/quarkus/extensions/kogito-quarkus-predictions-extension/kogito-quarkus-predictions-deployment/pom.xml b/quarkus/extensions/kogito-quarkus-predictions-extension/kogito-quarkus-predictions-deployment/pom.xml index f6e639648d1..5a9d320bec3 100644 --- a/quarkus/extensions/kogito-quarkus-predictions-extension/kogito-quarkus-predictions-deployment/pom.xml +++ b/quarkus/extensions/kogito-quarkus-predictions-extension/kogito-quarkus-predictions-deployment/pom.xml @@ -32,11 +32,15 @@ kogito-quarkus-predictions-deployment Kogito :: Quarkus Predictions Extension :: Deployment + + org.kie.kogito.quarkus.predictions.deployment + + + org.kie.kogito kogito-quarkus-common-deployment - ${project.version} org.kie.kogito diff --git a/quarkus/extensions/kogito-quarkus-predictions-extension/kogito-quarkus-predictions-integration-test/pom.xml b/quarkus/extensions/kogito-quarkus-predictions-extension/kogito-quarkus-predictions-integration-test/pom.xml index ac4c67662a5..2aad8b982ab 100644 --- a/quarkus/extensions/kogito-quarkus-predictions-extension/kogito-quarkus-predictions-integration-test/pom.xml +++ b/quarkus/extensions/kogito-quarkus-predictions-extension/kogito-quarkus-predictions-integration-test/pom.xml @@ -34,8 +34,10 @@ true + org.kie.kogito.quarkus.pmml.it + org.kie.kogito diff --git a/quarkus/extensions/kogito-quarkus-predictions-extension/kogito-quarkus-predictions/pom.xml b/quarkus/extensions/kogito-quarkus-predictions-extension/kogito-quarkus-predictions/pom.xml index c3b0a881081..621e38621ea 100644 --- a/quarkus/extensions/kogito-quarkus-predictions-extension/kogito-quarkus-predictions/pom.xml +++ b/quarkus/extensions/kogito-quarkus-predictions-extension/kogito-quarkus-predictions/pom.xml @@ -32,6 +32,11 @@ kogito-quarkus-predictions Kogito :: Quarkus Predictions Extension :: Runtime Add Kogito predictions (PMML) capabilities - Include Drools PMML engine + + + org.kie.kogito.core.prediction.incubation.quarkus.support + + diff --git a/quarkus/extensions/kogito-quarkus-processes-extension/kogito-quarkus-processes-deployment/pom.xml b/quarkus/extensions/kogito-quarkus-processes-extension/kogito-quarkus-processes-deployment/pom.xml index 9b74a01a659..ca6955d134b 100644 --- a/quarkus/extensions/kogito-quarkus-processes-extension/kogito-quarkus-processes-deployment/pom.xml +++ b/quarkus/extensions/kogito-quarkus-processes-extension/kogito-quarkus-processes-deployment/pom.xml @@ -32,6 +32,10 @@ kogito-quarkus-processes-deployment Kogito :: Quarkus Processes Extension :: Deployment + + org.kie.kogito.quarkus.processes.deployment + + org.kie.kogito diff --git a/quarkus/extensions/kogito-quarkus-processes-extension/kogito-quarkus-processes-integration-test-hot-reload/pom.xml b/quarkus/extensions/kogito-quarkus-processes-extension/kogito-quarkus-processes-integration-test-hot-reload/pom.xml index 49948f77a06..7d8ab5c156b 100644 --- a/quarkus/extensions/kogito-quarkus-processes-extension/kogito-quarkus-processes-integration-test-hot-reload/pom.xml +++ b/quarkus/extensions/kogito-quarkus-processes-extension/kogito-quarkus-processes-integration-test-hot-reload/pom.xml @@ -36,6 +36,7 @@ false + org.kie.kogito.quarkus.processes.hotreload.tests diff --git a/quarkus/extensions/kogito-quarkus-processes-extension/kogito-quarkus-processes-integration-test/pom.xml b/quarkus/extensions/kogito-quarkus-processes-extension/kogito-quarkus-processes-integration-test/pom.xml index 8ebdae13f44..b324ad2b498 100644 --- a/quarkus/extensions/kogito-quarkus-processes-extension/kogito-quarkus-processes-integration-test/pom.xml +++ b/quarkus/extensions/kogito-quarkus-processes-extension/kogito-quarkus-processes-integration-test/pom.xml @@ -33,6 +33,11 @@ kogito-quarkus-processes-integration-test Kogito :: Quarkus Processes Extension :: Integration Tests + + org.kie.kogito.quarkus.processes.tests + + + org.kie.kogito diff --git a/quarkus/extensions/kogito-quarkus-processes-extension/kogito-quarkus-processes/pom.xml b/quarkus/extensions/kogito-quarkus-processes-extension/kogito-quarkus-processes/pom.xml index 4d5390543c5..b51b4f8166a 100644 --- a/quarkus/extensions/kogito-quarkus-processes-extension/kogito-quarkus-processes/pom.xml +++ b/quarkus/extensions/kogito-quarkus-processes-extension/kogito-quarkus-processes/pom.xml @@ -33,6 +33,11 @@ Kogito :: Quarkus Processes Extension :: Runtime Add Kogito Processes capabilities - Includes Process (jBPM) Engine + + org.kie.kogito.core.process.incubation.quarkus.support + + + org.kie.kogito diff --git a/quarkus/extensions/kogito-quarkus-rules-extension/kogito-quarkus-rules-deployment/pom.xml b/quarkus/extensions/kogito-quarkus-rules-extension/kogito-quarkus-rules-deployment/pom.xml index 7951aab3d74..819a49de5b3 100644 --- a/quarkus/extensions/kogito-quarkus-rules-extension/kogito-quarkus-rules-deployment/pom.xml +++ b/quarkus/extensions/kogito-quarkus-rules-extension/kogito-quarkus-rules-deployment/pom.xml @@ -32,6 +32,10 @@ kogito-quarkus-rules-deployment Kogito :: Quarkus Rules Extension :: Deployment + + org.kie.kogito.quarkus.rules.deployment + + diff --git a/quarkus/extensions/kogito-quarkus-rules-extension/kogito-quarkus-rules-integration-test-hot-reload/pom.xml b/quarkus/extensions/kogito-quarkus-rules-extension/kogito-quarkus-rules-integration-test-hot-reload/pom.xml index 6388e8ccb6b..86bfcceece4 100644 --- a/quarkus/extensions/kogito-quarkus-rules-extension/kogito-quarkus-rules-integration-test-hot-reload/pom.xml +++ b/quarkus/extensions/kogito-quarkus-rules-extension/kogito-quarkus-rules-integration-test-hot-reload/pom.xml @@ -35,6 +35,7 @@ false + org.kie.kogito.quarkus.rules.hotreload.deployment diff --git a/quarkus/extensions/kogito-quarkus-rules-extension/kogito-quarkus-rules-integration-test/pom.xml b/quarkus/extensions/kogito-quarkus-rules-extension/kogito-quarkus-rules-integration-test/pom.xml index 1df95198802..c944ad829f3 100644 --- a/quarkus/extensions/kogito-quarkus-rules-extension/kogito-quarkus-rules-integration-test/pom.xml +++ b/quarkus/extensions/kogito-quarkus-rules-extension/kogito-quarkus-rules-integration-test/pom.xml @@ -34,6 +34,7 @@ true + org.kie.kogito.quarkus.rules.tests diff --git a/quarkus/extensions/kogito-quarkus-rules-extension/kogito-quarkus-rules/pom.xml b/quarkus/extensions/kogito-quarkus-rules-extension/kogito-quarkus-rules/pom.xml index 8b391701927..3666a1b93a9 100644 --- a/quarkus/extensions/kogito-quarkus-rules-extension/kogito-quarkus-rules/pom.xml +++ b/quarkus/extensions/kogito-quarkus-rules-extension/kogito-quarkus-rules/pom.xml @@ -33,6 +33,11 @@ Kogito :: Quarkus Rules Extension :: Runtime Add Kogito rules (DRL) capabilities - Include Drools engine + + + org.kie.kogito.core.rules.incubation.quarkus.support + + diff --git a/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-deployment/pom.xml b/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-deployment/pom.xml index 5a219293679..39fd6a56503 100644 --- a/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-deployment/pom.xml +++ b/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-deployment/pom.xml @@ -32,6 +32,10 @@ kogito-quarkus-serverless-workflow-deployment Kogito :: Quarkus Serverless Workflow Extension :: Deployment + + org.kie.kogito.serverless.workflow.deployment + + diff --git a/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-extension-live-reload-test/pom.xml b/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-extension-live-reload-test/pom.xml index 117aa01522a..09f1887e572 100644 --- a/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-extension-live-reload-test/pom.xml +++ b/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-extension-live-reload-test/pom.xml @@ -32,6 +32,10 @@ kogito-quarkus-serverless-workflow-extension-live-reload-test Kogito :: Quarkus Serverless Workflow Extension :: Live Reload Tests + + org.kie.kogito.quarkus.serverless.workflow.deployment.livereload + + org.kie.kogito diff --git a/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-image-integration-test/pom.xml b/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-image-integration-test/pom.xml index dc62560ead4..e33f43b6ae3 100644 --- a/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-image-integration-test/pom.xml +++ b/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-image-integration-test/pom.xml @@ -32,6 +32,10 @@ kogito-quarkus-serverless-workflow-image-integration-test Kogito :: Quarkus Serverless Workflow Extension :: Image Integration Tests + + org.kie.kogito.quarkus.workflows.image.tests + + org.kie.kogito diff --git a/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-integration-test/pom.xml b/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-integration-test/pom.xml index 2b0c1e1cebc..2bffc2265f4 100644 --- a/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-integration-test/pom.xml +++ b/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-integration-test/pom.xml @@ -18,8 +18,10 @@ that we also want to use for testing them executing. --> ${project.root.dir}/kogito-serverless-workflow/kogito-serverless-workflow-builder/src/test/resources ${project.root.dir}/kogito-serverless-workflow/kogito-serverless-workflow-openapi-parser/src/test/resources + org.kie.kogito.quarkus.workflows.tests + org.kie.kogito diff --git a/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow/pom.xml b/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow/pom.xml index dcea5feffa2..18aca274c33 100644 --- a/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow/pom.xml +++ b/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow/pom.xml @@ -13,6 +13,11 @@ Kogito :: Quarkus Serverless Workflow Extension :: Runtime Add Kogito Serverless Workflows (SW) capabilities - Includes the Process engine capability + + org.kie.kogito.serverless.workflow + + + org.kie.kogito diff --git a/quarkus/extensions/kogito-quarkus-workflow-extension-common/kogito-quarkus-workflow-common-deployment/pom.xml b/quarkus/extensions/kogito-quarkus-workflow-extension-common/kogito-quarkus-workflow-common-deployment/pom.xml index 6e70a8be85b..02057a9fa6d 100644 --- a/quarkus/extensions/kogito-quarkus-workflow-extension-common/kogito-quarkus-workflow-common-deployment/pom.xml +++ b/quarkus/extensions/kogito-quarkus-workflow-extension-common/kogito-quarkus-workflow-common-deployment/pom.xml @@ -34,6 +34,7 @@ quay.io/kiegroup/kogito-data-index-ephemeral-nightly:latest + org.kie.kogito.quarkus.workflow.deployment diff --git a/quarkus/extensions/kogito-quarkus-workflow-extension-common/kogito-quarkus-workflow-common/pom.xml b/quarkus/extensions/kogito-quarkus-workflow-extension-common/kogito-quarkus-workflow-common/pom.xml index 73d2bbb777c..968a64519ac 100644 --- a/quarkus/extensions/kogito-quarkus-workflow-extension-common/kogito-quarkus-workflow-common/pom.xml +++ b/quarkus/extensions/kogito-quarkus-workflow-extension-common/kogito-quarkus-workflow-common/pom.xml @@ -32,6 +32,10 @@ kogito-quarkus-workflow-common Kogito :: Quarkus Workflow Extension Common :: Runtime + + org.kie.kogito.quarkus.workflow + + org.kie.kogito diff --git a/quarkus/extensions/pom.xml b/quarkus/extensions/pom.xml index dbc453d9c05..6909a2a6420 100644 --- a/quarkus/extensions/pom.xml +++ b/quarkus/extensions/pom.xml @@ -52,25 +52,15 @@ kogito-quarkus-extension-common kogito-quarkus-workflow-extension-common kogito-quarkus-serverless-workflow-extension + kogito-quarkus-extension + kogito-quarkus-incubation-common + kogito-quarkus-processes-extension + kogito-quarkus-rules-extension + kogito-quarkus-decisions-extension + kogito-quarkus-predictions-extension - - default - - - !productized - - - - kogito-quarkus-extension - kogito-quarkus-incubation-common - kogito-quarkus-processes-extension - kogito-quarkus-rules-extension - kogito-quarkus-decisions-extension - kogito-quarkus-predictions-extension - - integration-test-modules diff --git a/quarkus/integration-tests/integration-tests-kogito-plugin/pom.xml b/quarkus/integration-tests/integration-tests-kogito-plugin/pom.xml index 765a3da2608..240bac06bbe 100644 --- a/quarkus/integration-tests/integration-tests-kogito-plugin/pom.xml +++ b/quarkus/integration-tests/integration-tests-kogito-plugin/pom.xml @@ -28,6 +28,10 @@ integration-tests-kogito-plugin Kogito :: Integration Tests :: Maven Plugin + + org.kie.kogito.integration.tests.plugin + + diff --git a/quarkus/integration-tests/integration-tests-quarkus-decisions/pom.xml b/quarkus/integration-tests/integration-tests-quarkus-decisions/pom.xml index 4ef731c8f5b..954f237809d 100644 --- a/quarkus/integration-tests/integration-tests-quarkus-decisions/pom.xml +++ b/quarkus/integration-tests/integration-tests-quarkus-decisions/pom.xml @@ -33,6 +33,7 @@ false + org.kie.kogito.test.decision.quarkus diff --git a/quarkus/integration-tests/integration-tests-quarkus-gradle/pom.xml b/quarkus/integration-tests/integration-tests-quarkus-gradle/pom.xml index c083cab3a62..3abc7bd89ff 100644 --- a/quarkus/integration-tests/integration-tests-quarkus-gradle/pom.xml +++ b/quarkus/integration-tests/integration-tests-quarkus-gradle/pom.xml @@ -34,6 +34,7 @@ ${skipITs} ${basedir}/integration-tests-quarkus-gradle-project + org.kie.kogito.test.quarkus.gradle diff --git a/quarkus/integration-tests/integration-tests-quarkus-legacy-rules/pom.xml b/quarkus/integration-tests/integration-tests-quarkus-legacy-rules/pom.xml index a52bce96a5f..874fb1bc0af 100644 --- a/quarkus/integration-tests/integration-tests-quarkus-legacy-rules/pom.xml +++ b/quarkus/integration-tests/integration-tests-quarkus-legacy-rules/pom.xml @@ -32,6 +32,7 @@ true + org.kie.kogito.test.rules.legacy.quarkus diff --git a/quarkus/integration-tests/integration-tests-quarkus-norest/pom.xml b/quarkus/integration-tests/integration-tests-quarkus-norest/pom.xml index 9acc763f550..4b24980eecb 100644 --- a/quarkus/integration-tests/integration-tests-quarkus-norest/pom.xml +++ b/quarkus/integration-tests/integration-tests-quarkus-norest/pom.xml @@ -33,6 +33,7 @@ false + org.kie.kogito.test.quarkus.norest diff --git a/quarkus/integration-tests/integration-tests-quarkus-openapi-client/pom.xml b/quarkus/integration-tests/integration-tests-quarkus-openapi-client/pom.xml index 64b91b86bba..42f42f5f38e 100644 --- a/quarkus/integration-tests/integration-tests-quarkus-openapi-client/pom.xml +++ b/quarkus/integration-tests/integration-tests-quarkus-openapi-client/pom.xml @@ -31,6 +31,10 @@ Kogito :: Integration Tests :: Quarkus :: OpenAPI Client Codegen integration-tests-quarkus-openapi-client + + org.kie.kogito.test.quarkus.openapi + + diff --git a/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-processes-persistence-common/pom.xml b/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-processes-persistence-common/pom.xml index 2e64c8035a2..8c7ac490765 100644 --- a/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-processes-persistence-common/pom.xml +++ b/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-processes-persistence-common/pom.xml @@ -32,6 +32,10 @@ integration-tests-processes-persistence-common Kogito :: Integration Tests :: Processes :: Persistence :: Common + + org.kie.kogito.test.persistence.common + + org.kie.kogito diff --git a/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-filesystem/pom.xml b/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-filesystem/pom.xml index 3ea5ebc87ad..ae90f4a0340 100644 --- a/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-filesystem/pom.xml +++ b/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-filesystem/pom.xml @@ -35,6 +35,7 @@ false + org.kie.kogito.test.quarkus.processes.filesystem diff --git a/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-infinispan/pom.xml b/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-infinispan/pom.xml index 2147efde3aa..e305a0929eb 100644 --- a/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-infinispan/pom.xml +++ b/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-infinispan/pom.xml @@ -34,6 +34,7 @@ true + org.kie.kogito.test.quarkus.processes.infinispan diff --git a/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-jdbc/pom.xml b/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-jdbc/pom.xml index d6bbce0b232..f910d760f62 100644 --- a/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-jdbc/pom.xml +++ b/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-jdbc/pom.xml @@ -35,6 +35,7 @@ false + org.kie.kogito.test.quarkus.processes.jdbc diff --git a/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-kafka-persistence/pom.xml b/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-kafka-persistence/pom.xml index efeadd18ca1..d91dd1e800e 100644 --- a/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-kafka-persistence/pom.xml +++ b/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-kafka-persistence/pom.xml @@ -35,6 +35,7 @@ false + org.kie.kogito.test.quarkus.processes.kafka diff --git a/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-mongodb/pom.xml b/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-mongodb/pom.xml index e0617e104d1..ca7045948ff 100644 --- a/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-mongodb/pom.xml +++ b/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-mongodb/pom.xml @@ -35,6 +35,7 @@ false + org.kie.kogito.test.quarkus.processes.mongodb diff --git a/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-postgresql/pom.xml b/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-postgresql/pom.xml index e10e202eb5c..bfba09de004 100644 --- a/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-postgresql/pom.xml +++ b/quarkus/integration-tests/integration-tests-quarkus-processes-persistence/integration-tests-quarkus-processes-postgresql/pom.xml @@ -35,6 +35,7 @@ false + org.kie.kogito.test.quarkus.processes.postgresql diff --git a/quarkus/integration-tests/integration-tests-quarkus-processes-reactive/pom.xml b/quarkus/integration-tests/integration-tests-quarkus-processes-reactive/pom.xml index 076675406d7..0fd3878f46b 100644 --- a/quarkus/integration-tests/integration-tests-quarkus-processes-reactive/pom.xml +++ b/quarkus/integration-tests/integration-tests-quarkus-processes-reactive/pom.xml @@ -33,6 +33,7 @@ false + org.kie.kogito.test.quarkus.processes.reactive diff --git a/quarkus/integration-tests/integration-tests-quarkus-processes/pom.xml b/quarkus/integration-tests/integration-tests-quarkus-processes/pom.xml index 29d4ecf0bab..7ea079a41ce 100644 --- a/quarkus/integration-tests/integration-tests-quarkus-processes/pom.xml +++ b/quarkus/integration-tests/integration-tests-quarkus-processes/pom.xml @@ -33,6 +33,7 @@ false + org.kie.kogito.test.quarkus.processes diff --git a/quarkus/integration-tests/integration-tests-quarkus-resteasy-classic/pom.xml b/quarkus/integration-tests/integration-tests-quarkus-resteasy-classic/pom.xml index 8dfe4a8864c..20ce7672f34 100644 --- a/quarkus/integration-tests/integration-tests-quarkus-resteasy-classic/pom.xml +++ b/quarkus/integration-tests/integration-tests-quarkus-resteasy-classic/pom.xml @@ -33,6 +33,7 @@ false + org.kie.kogito.test.quarkus.resteasy.classic diff --git a/quarkus/integration-tests/integration-tests-quarkus-resteasy-reactive/pom.xml b/quarkus/integration-tests/integration-tests-quarkus-resteasy-reactive/pom.xml index f4adc1cad0f..332122154e3 100644 --- a/quarkus/integration-tests/integration-tests-quarkus-resteasy-reactive/pom.xml +++ b/quarkus/integration-tests/integration-tests-quarkus-resteasy-reactive/pom.xml @@ -33,6 +33,7 @@ false + org.kie.kogito.test.quarkus.resteasy.reactive diff --git a/quarkus/integration-tests/integration-tests-quarkus-rules/pom.xml b/quarkus/integration-tests/integration-tests-quarkus-rules/pom.xml index 61b91e6e724..c040f0d29b3 100644 --- a/quarkus/integration-tests/integration-tests-quarkus-rules/pom.xml +++ b/quarkus/integration-tests/integration-tests-quarkus-rules/pom.xml @@ -32,6 +32,7 @@ true + org.kie.kogito.test.quarkus.rules diff --git a/quarkus/integration-tests/integration-tests-quarkus-source-files/pom.xml b/quarkus/integration-tests/integration-tests-quarkus-source-files/pom.xml index 6407312c263..3bcfa261019 100644 --- a/quarkus/integration-tests/integration-tests-quarkus-source-files/pom.xml +++ b/quarkus/integration-tests/integration-tests-quarkus-source-files/pom.xml @@ -30,6 +30,11 @@ integration-tests-quarkus-source-files Kogito :: Integration Tests :: Quarkus :: Processes :: Source Files + + + org.kie.kogito.test.quarkus.source.files + + diff --git a/quarkus/integration-tests/pom.xml b/quarkus/integration-tests/pom.xml index 6a967e5db0c..1fb26d5ec8d 100644 --- a/quarkus/integration-tests/pom.xml +++ b/quarkus/integration-tests/pom.xml @@ -36,33 +36,20 @@ integration-tests-quarkus-openapi-client + + integration-tests-quarkus-rules + integration-tests-quarkus-legacy-rules + integration-tests-quarkus-decisions + + integration-tests-quarkus-resteasy-classic + integration-tests-quarkus-resteasy-reactive + integration-tests-kogito-plugin + integration-tests-quarkus-norest + integration-tests-quarkus-processes + integration-tests-quarkus-processes-reactive + integration-tests-quarkus-processes-persistence + integration-tests-quarkus-source-files + integration-tests-quarkus-gradle - - - default - - - !productized - - - - - integration-tests-quarkus-rules - integration-tests-quarkus-legacy-rules - integration-tests-quarkus-decisions - - integration-tests-quarkus-resteasy-classic - integration-tests-quarkus-resteasy-reactive - integration-tests-kogito-plugin - integration-tests-quarkus-norest - integration-tests-quarkus-processes - integration-tests-quarkus-processes-reactive - integration-tests-quarkus-processes-persistence - integration-tests-quarkus-source-files - integration-tests-quarkus-gradle - - - - \ No newline at end of file diff --git a/quarkus/test/pom.xml b/quarkus/test/pom.xml index e7282474b5a..edbe52329ba 100644 --- a/quarkus/test/pom.xml +++ b/quarkus/test/pom.xml @@ -35,6 +35,10 @@ Kogito :: Test Utilities :: Quarkus Kogito Test Utilities for Quarkus + + org.kie.kogito.test.quarkus + + diff --git a/springboot/addons/events/decisions/pom.xml b/springboot/addons/events/decisions/pom.xml index eedcfc3fa5a..0c5ef99c27b 100644 --- a/springboot/addons/events/decisions/pom.xml +++ b/springboot/addons/events/decisions/pom.xml @@ -32,6 +32,10 @@ kogito-addons-springboot-events-decisions Kogito :: Add-Ons :: Events :: Event-Driven Decisions :: Spring Boot + + org.kie.kogito.springboot.eventdriven.decision + + org.kie.kogito diff --git a/springboot/addons/events/kafka/pom.xml b/springboot/addons/events/kafka/pom.xml index 0e70cd93406..961efed12ae 100644 --- a/springboot/addons/events/kafka/pom.xml +++ b/springboot/addons/events/kafka/pom.xml @@ -31,6 +31,10 @@ Kogito :: Add-Ons :: Events :: SprintBoot :: Process :: Kafka Kogito Kafka Events for process based on Spring Boot Add-On + + org.kie.kogito.springboot.events.kafka + + org.kie.kogito diff --git a/springboot/addons/events/mongodb/pom.xml b/springboot/addons/events/mongodb/pom.xml index 58192709675..10dfc952661 100644 --- a/springboot/addons/events/mongodb/pom.xml +++ b/springboot/addons/events/mongodb/pom.xml @@ -34,6 +34,10 @@ Kogito :: Add-Ons :: Events :: MongoDB :: SprintBoot Kogito Events based on MongoDB and SpringBoot Add-On + + org.kie.kogito.springboot.events.mongodb + + org.kie.kogito diff --git a/springboot/addons/events/predictions/pom.xml b/springboot/addons/events/predictions/pom.xml index c2c997927f9..f3269aabdcc 100644 --- a/springboot/addons/events/predictions/pom.xml +++ b/springboot/addons/events/predictions/pom.xml @@ -32,6 +32,10 @@ kogito-addons-springboot-events-predictions Kogito :: Add-Ons :: Events :: Event-Driven Predictions :: Spring Boot + + org.kie.kogito.springboot.events.predictions + + org.kie.kogito diff --git a/springboot/addons/events/rules/pom.xml b/springboot/addons/events/rules/pom.xml index e3796d0195d..359594173fd 100644 --- a/springboot/addons/events/rules/pom.xml +++ b/springboot/addons/events/rules/pom.xml @@ -32,6 +32,10 @@ kogito-addons-springboot-events-rules Kogito :: Add-Ons :: Events :: Event-Driven Rules :: Spring Boot + + org.kie.kogito.springboot.events.rules + + org.kie.kogito diff --git a/springboot/addons/explainability/pom.xml b/springboot/addons/explainability/pom.xml index ad5d6aad01d..3479a38608f 100644 --- a/springboot/addons/explainability/pom.xml +++ b/springboot/addons/explainability/pom.xml @@ -32,6 +32,11 @@ kogito-addons-springboot-explainability Kogito :: Add-Ons :: Explainability :: Spring Boot Addon + + org.kie.kogito.springboot.events.explainability + + + org.springframework.boot diff --git a/springboot/addons/jobs/pom.xml b/springboot/addons/jobs/pom.xml index 4a313070835..b6b95df4806 100644 --- a/springboot/addons/jobs/pom.xml +++ b/springboot/addons/jobs/pom.xml @@ -31,6 +31,10 @@ Kogito :: Add-Ons :: Jobs :: Management SprintBoot Addon Jobs Management SprintBoot Addon to interact with Jobs Service + + org.kie.kogito.springboot.jobs.management.springboot + + org.kie.kogito diff --git a/springboot/addons/kubernetes/pom.xml b/springboot/addons/kubernetes/pom.xml index b6c3bb98e2d..051ce015ea0 100644 --- a/springboot/addons/kubernetes/pom.xml +++ b/springboot/addons/kubernetes/pom.xml @@ -32,6 +32,11 @@ kogito-addons-springboot-kubernetes Kogito :: Add-Ons :: Spring Boot :: Kubernetes + + org.kie.kogito.springboot.addons.springboot.k8s + + + org.kie.kogito diff --git a/springboot/addons/mail/pom.xml b/springboot/addons/mail/pom.xml index 37731070094..99ac13f3bf4 100644 --- a/springboot/addons/mail/pom.xml +++ b/springboot/addons/mail/pom.xml @@ -33,6 +33,10 @@ Kogito :: Add-Ons :: E-Mail :: Spring Boot Addon Sending e-mail on Springboot + + org.kie.kogito.springboot.mail + + org.springframework.boot diff --git a/springboot/addons/messaging/implementation/pom.xml b/springboot/addons/messaging/implementation/pom.xml index 0cb416461cb..8d9a6b58a87 100644 --- a/springboot/addons/messaging/implementation/pom.xml +++ b/springboot/addons/messaging/implementation/pom.xml @@ -31,6 +31,10 @@ Kogito :: Add-Ons :: Messaging :: Spring Boot Kogito Events handling for Messaging Add-On (Spring Boot) + + org.kie.kogito.springboot.addon.cloudevents + + org.kie.kogito diff --git a/springboot/addons/messaging/implementation/src/main/java/org/kie/kogito/addon/cloudevents/spring/SpringKafkaCloudEventReceiver.java b/springboot/addons/messaging/implementation/src/main/java/org/kie/kogito/addon/cloudevents/spring/SpringKafkaCloudEventReceiver.java index a009f26c5a8..aa6f1edf214 100644 --- a/springboot/addons/messaging/implementation/src/main/java/org/kie/kogito/addon/cloudevents/spring/SpringKafkaCloudEventReceiver.java +++ b/springboot/addons/messaging/implementation/src/main/java/org/kie/kogito/addon/cloudevents/spring/SpringKafkaCloudEventReceiver.java @@ -19,19 +19,18 @@ package org.kie.kogito.addon.cloudevents.spring; import java.io.IOException; -import java.util.ArrayList; import java.util.Collection; +import java.util.concurrent.CompletableFuture; import java.util.concurrent.CompletionStage; import java.util.concurrent.CopyOnWriteArrayList; -import java.util.concurrent.ExecutionException; import java.util.function.Function; +import org.apache.kafka.clients.consumer.ConsumerRecord; import org.kie.kogito.config.ConfigBean; import org.kie.kogito.event.CloudEventUnmarshallerFactory; import org.kie.kogito.event.DataEvent; import org.kie.kogito.event.EventReceiver; import org.kie.kogito.event.EventUnmarshaller; -import org.kie.kogito.event.KogitoEventStreams; import org.kie.kogito.event.Subscription; import org.kie.kogito.event.impl.CloudEventConverter; import org.kie.kogito.event.impl.DataEventConverter; @@ -39,7 +38,7 @@ import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.kafka.annotation.KafkaListener; -import org.springframework.messaging.handler.annotation.Payload; +import org.springframework.kafka.support.Acknowledgment; import org.springframework.stereotype.Component; import jakarta.annotation.PostConstruct; @@ -67,34 +66,32 @@ private void init() { @SuppressWarnings({ "rawtypes", "unchecked" }) @Override public void subscribe(Function, CompletionStage> consumer, Class clazz) { - consumers.add( new Subscription(consumer, configBean.useCloudEvents() ? new CloudEventConverter<>(clazz, cloudEventUnmarshaller) : new DataEventConverter<>(clazz, eventDataUnmarshaller))); } - @KafkaListener(topics = "${kogito.addon.cloudevents.kafka." + KogitoEventStreams.INCOMING + ":" + KogitoEventStreams.INCOMING + "}") - public void receive(@Payload Collection messages) throws InterruptedException { - log.debug("Received {} events", messages.size()); - Collection> futures = new ArrayList<>(); - for (String message : messages) { - for (Subscription consumer : consumers) { - try { - futures.add(consumer.getConsumer().apply(consumer.getConverter().convert(message))); - } catch (IOException e) { - log.info("Cannot convert event to the proper type {}", e.getMessage()); - } - } - } - // wait for this batch to complete - log.debug("Waiting for all operations in batch to complete"); - for (CompletionStage future : futures) { + @KafkaListener(topics = { "#{springTopics.getIncomingTopics}" }) + public void receive(ConsumerRecord message, Acknowledgment ack) throws InterruptedException { + log.debug("Receive message with key {} for topic {}", message.key(), message.topic()); + CompletionStage future = CompletableFuture.completedFuture(null); + for (Subscription subscription : consumers) { try { - future.toCompletableFuture().get(); - } catch (ExecutionException ex) { - log.error("Error executing consumer", ex.getCause()); + Object object = subscription.getConverter().convert(message.value()); + future = future.thenCompose(f -> subscription.getConsumer().apply(object)); + } catch (IOException e) { + log.debug("Error converting event. Exception message is {}", e.getMessage()); } } - log.debug("All operations in batch completed"); + future.whenComplete((v, e) -> acknowledge(e, ack)); + } + + private void acknowledge(Throwable ex, Acknowledgment ack) { + if (ex != null) { + log.error("Event publishing failed", ex); + } else { + log.debug("Acknoledge message"); + ack.acknowledge(); + } } } diff --git a/springboot/addons/messaging/implementation/src/main/java/org/kie/kogito/addon/cloudevents/spring/SpringKafkaConsumerConfig.java b/springboot/addons/messaging/implementation/src/main/java/org/kie/kogito/addon/cloudevents/spring/SpringKafkaConsumerConfig.java index 1085bb33125..fee6d229556 100644 --- a/springboot/addons/messaging/implementation/src/main/java/org/kie/kogito/addon/cloudevents/spring/SpringKafkaConsumerConfig.java +++ b/springboot/addons/messaging/implementation/src/main/java/org/kie/kogito/addon/cloudevents/spring/SpringKafkaConsumerConfig.java @@ -18,6 +18,8 @@ */ package org.kie.kogito.addon.cloudevents.spring; +import java.util.Map; + import org.springframework.beans.factory.ObjectProvider; import org.springframework.boot.autoconfigure.kafka.DefaultKafkaConsumerFactoryCustomizer; import org.springframework.boot.autoconfigure.kafka.KafkaProperties; @@ -27,6 +29,7 @@ import org.springframework.kafka.config.ConcurrentKafkaListenerContainerFactory; import org.springframework.kafka.core.ConsumerFactory; import org.springframework.kafka.core.DefaultKafkaConsumerFactory; +import org.springframework.kafka.listener.ContainerProperties; @EnableKafka @Configuration @@ -34,8 +37,9 @@ public class SpringKafkaConsumerConfig { @Bean public ConsumerFactory consumerFactory(KafkaProperties properties, ObjectProvider customizers) { + Map props = properties.buildConsumerProperties(); DefaultKafkaConsumerFactory factory = new DefaultKafkaConsumerFactory<>( - properties.buildConsumerProperties()); + props); customizers.orderedStream().forEach(customizer -> customizer.customize(factory)); return factory; } @@ -44,7 +48,8 @@ public ConsumerFactory consumerFactory(KafkaProperties propertie public ConcurrentKafkaListenerContainerFactory kafkaListenerContainerFactory(ConsumerFactory consumerFactory) { ConcurrentKafkaListenerContainerFactory factory = new ConcurrentKafkaListenerContainerFactory<>(); factory.setConsumerFactory(consumerFactory); - factory.setBatchListener(true); + factory.setBatchListener(false); + factory.getContainerProperties().setAckMode(ContainerProperties.AckMode.MANUAL_IMMEDIATE); return factory; } } diff --git a/springboot/addons/messaging/implementation/src/main/java/org/kie/kogito/addon/cloudevents/spring/SpringTopicDiscovery.java b/springboot/addons/messaging/implementation/src/main/java/org/kie/kogito/addon/cloudevents/spring/SpringTopicDiscovery.java index b3d462fdf22..bae999886cb 100644 --- a/springboot/addons/messaging/implementation/src/main/java/org/kie/kogito/addon/cloudevents/spring/SpringTopicDiscovery.java +++ b/springboot/addons/messaging/implementation/src/main/java/org/kie/kogito/addon/cloudevents/spring/SpringTopicDiscovery.java @@ -19,40 +19,72 @@ package org.kie.kogito.addon.cloudevents.spring; import java.util.ArrayList; +import java.util.Collections; import java.util.List; +import java.util.Set; +import java.util.stream.Collectors; import org.kie.kogito.addon.cloudevents.AbstractTopicDiscovery; +import org.kie.kogito.event.ChannelType; +import org.kie.kogito.event.EventKind; import org.kie.kogito.event.KogitoEventStreams; import org.kie.kogito.event.Topic; -import org.springframework.beans.factory.annotation.Value; +import org.kie.kogito.event.cloudevents.CloudEventMeta; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.core.env.Environment; import org.springframework.stereotype.Component; -@Component +@Component("springTopics") public class SpringTopicDiscovery extends AbstractTopicDiscovery { - // in the future we should be implementation agnostic - @Value(value = "${kogito.addon.cloudevents.kafka." + KogitoEventStreams.INCOMING + "}") - String incomingStreamTopic; + private static final Logger logger = LoggerFactory.getLogger(SpringTopicDiscovery.class); + private static final String KAFKA_PREFIX = "kogito.addon.cloudevents.kafka."; + private static final String INCOMING_PREFIX = KAFKA_PREFIX + KogitoEventStreams.INCOMING; + private static final String OUTGOING_PREFIX = KAFKA_PREFIX + KogitoEventStreams.OUTGOING; - @Value(value = "${kogito.addon.cloudevents.kafka." + KogitoEventStreams.OUTGOING + "}") - String outgoingStreamTopic; + @Autowired + private Environment env; + + @Autowired(required = false) + private List cloudEventMetaList = Collections.emptyList(); + + public Set getIncomingTopics() { + return getTopics(INCOMING_PREFIX, KogitoEventStreams.INCOMING, EventKind.CONSUMED); + } + + public Set getOutgoingTopics() { + return getTopics(OUTGOING_PREFIX, KogitoEventStreams.OUTGOING, EventKind.PRODUCED); + } @Override protected List getTopics() { - final List topics = new ArrayList<>(); - - if (incomingStreamTopic != null && !incomingStreamTopic.isEmpty()) { - final Topic incoming = DEFAULT_INCOMING_CHANNEL; - incoming.setName(incomingStreamTopic); - topics.add(incoming); + List topics = new ArrayList<>(); + for (String topic : getIncomingTopics()) { + topics.add(new Topic(topic, ChannelType.INCOMING)); } - - if (outgoingStreamTopic != null && !outgoingStreamTopic.isEmpty()) { - final Topic outgoing = DEFAULT_OUTGOING_CHANNEL; - outgoing.setName(outgoingStreamTopic); - topics.add(outgoing); + for (String topic : getOutgoingTopics()) { + topics.add(new Topic(topic, ChannelType.OUTGOING)); } + logger.debug("Using this list of topics {}", topics); + return topics; + } + private Set getTopics(String prefix, String defaultChannel, EventKind eventKind) { + final String defaultChannelName = env.getProperty(prefix, defaultChannel); + Set topics = cloudEventMetaList.stream().filter(c -> c.getKind().equals(eventKind)).map(CloudEventMeta::getType).map(this::parserTopicType) + .map(t -> env.getProperty(prefix + "." + t, defaultChannelName)) + .collect(Collectors.toSet()); + if (topics.isEmpty()) { + logger.debug("Using default channel name {}", defaultChannelName); + topics.add(defaultChannelName); + } return topics; } + + private String parserTopicType(String topic) { + int indexOf = topic.lastIndexOf('.'); + return indexOf == -1 ? topic : topic.substring(indexOf + 1); + } } diff --git a/springboot/addons/messaging/integration-tests/pom.xml b/springboot/addons/messaging/integration-tests/pom.xml index f91b3fa6966..041888c4984 100644 --- a/springboot/addons/messaging/integration-tests/pom.xml +++ b/springboot/addons/messaging/integration-tests/pom.xml @@ -34,6 +34,11 @@ Kogito :: Add-Ons :: Messaging :: Spring Boot (ITs) Integration tests for for Messages AddOn (Spring Boot) + + org.kie.kogito.addon.cloudevents.spring.tests + + + @@ -52,7 +57,6 @@ org.kie.kogito kogito-maven-plugin - ${project.version} org.kie.kogito diff --git a/springboot/addons/monitoring/core/pom.xml b/springboot/addons/monitoring/core/pom.xml index 0f65227cb7d..17385823b64 100644 --- a/springboot/addons/monitoring/core/pom.xml +++ b/springboot/addons/monitoring/core/pom.xml @@ -31,6 +31,10 @@ Kogito :: Add-Ons :: Monitoring Core Springboot kogito-addons-springboot-monitoring-core + + org.kie.kogito.springboot.monitoring.core + + org.kie.kogito diff --git a/springboot/addons/monitoring/elastic/pom.xml b/springboot/addons/monitoring/elastic/pom.xml index 2d0f20f2886..4782275739f 100644 --- a/springboot/addons/monitoring/elastic/pom.xml +++ b/springboot/addons/monitoring/elastic/pom.xml @@ -33,6 +33,10 @@ Kogito :: Add-Ons :: Monitoring Elastic Springboot Monitoring Elastic Springboot + + org.kie.kogito.springboot.monitoring.elastic + + org.kie.kogito diff --git a/springboot/addons/monitoring/prometheus/pom.xml b/springboot/addons/monitoring/prometheus/pom.xml index 414cf0ef564..46a4b95bea4 100644 --- a/springboot/addons/monitoring/prometheus/pom.xml +++ b/springboot/addons/monitoring/prometheus/pom.xml @@ -33,6 +33,10 @@ Prometheus monitoring for Springboot kogito-addons-springboot-monitoring-prometheus + + org.kie.kogito.springboot.monitoring.prometheus + + org.kie.kogito diff --git a/springboot/addons/persistence/filesystem/pom.xml b/springboot/addons/persistence/filesystem/pom.xml index 25bc4067422..b642df5ef34 100644 --- a/springboot/addons/persistence/filesystem/pom.xml +++ b/springboot/addons/persistence/filesystem/pom.xml @@ -33,6 +33,10 @@ File System persistence for Springboot kogito-addons-springboot-persistence-filesystem + + org.kie.kogito.springboot.persistence.filesystem + + org.kie.kogito diff --git a/springboot/addons/persistence/infinispan/pom.xml b/springboot/addons/persistence/infinispan/pom.xml index 244d64fab0d..2be7116e0bc 100644 --- a/springboot/addons/persistence/infinispan/pom.xml +++ b/springboot/addons/persistence/infinispan/pom.xml @@ -33,6 +33,10 @@ Infinispan persistence for Springboot kogito-addons-springboot-persistence-infinispan + + org.kie.kogito.springboot.persistence.infinispan + + org.kie.kogito diff --git a/springboot/addons/persistence/jdbc/pom.xml b/springboot/addons/persistence/jdbc/pom.xml index e71ab6440a2..f8fa0be5bcd 100644 --- a/springboot/addons/persistence/jdbc/pom.xml +++ b/springboot/addons/persistence/jdbc/pom.xml @@ -33,6 +33,10 @@ JDBC persistence for Springboot kogito-addons-springboot-persistence-jdbc + + org.kie.kogito.springboot.persistence.jdbc + + org.kie.kogito @@ -45,7 +49,6 @@ org.flywaydb flyway-core - ${version.org.flywaydb} diff --git a/springboot/addons/persistence/mongodb/pom.xml b/springboot/addons/persistence/mongodb/pom.xml index e9ce943d6d5..8277a9cce20 100644 --- a/springboot/addons/persistence/mongodb/pom.xml +++ b/springboot/addons/persistence/mongodb/pom.xml @@ -33,6 +33,10 @@ MongoDB persistence for Springboot kogito-addons-springboot-persistence-mongodb + + org.kie.kogito.springboot.persistence.mongodb + + org.kie.kogito diff --git a/springboot/addons/persistence/postgresql/pom.xml b/springboot/addons/persistence/postgresql/pom.xml index 0d67785b4e4..92b59b6b927 100644 --- a/springboot/addons/persistence/postgresql/pom.xml +++ b/springboot/addons/persistence/postgresql/pom.xml @@ -33,6 +33,10 @@ PostgreSQL persistence for Springboot kogito-addons-springboot-persistence-postgresql + + org.kie.kogito.springboot.persistence.postgresql + + org.kie.kogito diff --git a/springboot/addons/process-management/pom.xml b/springboot/addons/process-management/pom.xml index c3f9ff23c16..ba6c410f636 100644 --- a/springboot/addons/process-management/pom.xml +++ b/springboot/addons/process-management/pom.xml @@ -33,6 +33,11 @@ Kogito :: Add-Ons :: Process Management :: Spring Boot Addon Management of process instances for Spring Boot + + org.kie.kogito.springboot.process.management + + + org.springframework.boot diff --git a/springboot/addons/process-svg/pom.xml b/springboot/addons/process-svg/pom.xml index c38b0e4d025..3846c09c23b 100644 --- a/springboot/addons/process-svg/pom.xml +++ b/springboot/addons/process-svg/pom.xml @@ -31,6 +31,10 @@ Kogito :: Add-Ons :: Process SVG :: Spring Boot Addon Springboot Addon to interact with Process SVG Service + + org.kie.kogito.springboot.process.svg + + org.kie.kogito diff --git a/springboot/addons/rest-exception-handler/pom.xml b/springboot/addons/rest-exception-handler/pom.xml index 232cca6267f..4f8d5ce194d 100644 --- a/springboot/addons/rest-exception-handler/pom.xml +++ b/springboot/addons/rest-exception-handler/pom.xml @@ -33,6 +33,10 @@ Kogito :: Rest Exception Handler:: Spring Boot Kogito exception handling for Spring Boot + + org.kie.kogito.springboot.resource.exceptions + + org.springframework.boot diff --git a/springboot/addons/task-management/pom.xml b/springboot/addons/task-management/pom.xml index 1282b09188f..0d6d0b0a88a 100644 --- a/springboot/addons/task-management/pom.xml +++ b/springboot/addons/task-management/pom.xml @@ -33,6 +33,10 @@ Kogito :: Add-Ons :: Task Management :: Spring Boot Addon Management of human tasks for Spring Boot + + org.kie.kogito.springboot.task.management + + org.springframework.boot diff --git a/springboot/addons/task-notification/pom.xml b/springboot/addons/task-notification/pom.xml index 380d835b687..231a1567de2 100644 --- a/springboot/addons/task-notification/pom.xml +++ b/springboot/addons/task-notification/pom.xml @@ -33,6 +33,10 @@ Kogito :: Add-Ons :: Task notification :: Spring Boot Addon Task notification on Springboot + + org.kie.kogito.springboot.task.notification + + org.springframework.boot diff --git a/springboot/addons/tracing-decision/pom.xml b/springboot/addons/tracing-decision/pom.xml index e8579af0ac0..86767d8a3f2 100644 --- a/springboot/addons/tracing-decision/pom.xml +++ b/springboot/addons/tracing-decision/pom.xml @@ -32,6 +32,10 @@ kogito-addons-springboot-tracing-decision Kogito :: Add-Ons :: Tracing :: Spring Boot + + org.kie.kogito.springboot.task.tracing.decision + + org.kie.kogito diff --git a/springboot/archetype/pom.xml b/springboot/archetype/pom.xml index 324f26ee661..f713ac878b5 100644 --- a/springboot/archetype/pom.xml +++ b/springboot/archetype/pom.xml @@ -32,6 +32,9 @@ Kogito :: Spring Boot :: Maven Archetype Kogito based on Spring Boot runtime Archetype + + + @@ -49,7 +52,6 @@ org.kie.kogito kogito-maven-plugin - ${project.version} provided diff --git a/springboot/integration-tests/pom.xml b/springboot/integration-tests/pom.xml index 02451c4e3e5..2ffb0b10613 100644 --- a/springboot/integration-tests/pom.xml +++ b/springboot/integration-tests/pom.xml @@ -31,6 +31,7 @@ **/* + org.kie.kogito.springboot.starter.tests diff --git a/springboot/starters/kogito-decisions-spring-boot-starter/pom.xml b/springboot/starters/kogito-decisions-spring-boot-starter/pom.xml index a799824cf99..5e7b26b1f6a 100644 --- a/springboot/starters/kogito-decisions-spring-boot-starter/pom.xml +++ b/springboot/starters/kogito-decisions-spring-boot-starter/pom.xml @@ -33,6 +33,10 @@ Kogito :: Spring Boot :: Starter :: Decisions Spring Boot Starter for Kogito Decisions (DMN). Contains everything you need to get started with Kogito Decisions! + + org.kie.kogito.springboot.starter.decision + + org.kie.kogito diff --git a/springboot/starters/kogito-predictions-spring-boot-starter/pom.xml b/springboot/starters/kogito-predictions-spring-boot-starter/pom.xml index c932f69c3c0..2e9033c18a5 100644 --- a/springboot/starters/kogito-predictions-spring-boot-starter/pom.xml +++ b/springboot/starters/kogito-predictions-spring-boot-starter/pom.xml @@ -33,6 +33,10 @@ Kogito :: Spring Boot :: Starter :: Predictions Spring Boot Starter for Kogito Predictions (PMML). Contains everything you need to get started with Kogito Predictions! + + org.kie.kogito.springboot.starter.predictions + + org.kie.kogito diff --git a/springboot/starters/kogito-processes-spring-boot-starter/pom.xml b/springboot/starters/kogito-processes-spring-boot-starter/pom.xml index 1ce221586bc..75ad6a2c6a1 100644 --- a/springboot/starters/kogito-processes-spring-boot-starter/pom.xml +++ b/springboot/starters/kogito-processes-spring-boot-starter/pom.xml @@ -33,6 +33,10 @@ Kogito :: Spring Boot :: Starter :: Processes Spring Boot Starter for Kogito Processes (BPMN). Contains everything you need to get started with Kogito Processes! + + org.kie.kogito.springboot.starter.process + + org.kie.kogito diff --git a/springboot/starters/kogito-rules-spring-boot-starter/pom.xml b/springboot/starters/kogito-rules-spring-boot-starter/pom.xml index e80cc9e6b5b..a01d63519a7 100644 --- a/springboot/starters/kogito-rules-spring-boot-starter/pom.xml +++ b/springboot/starters/kogito-rules-spring-boot-starter/pom.xml @@ -33,6 +33,10 @@ Kogito :: Spring Boot :: Starter :: Rules Spring Boot Starter for Kogito Rules (DRLs). Contains everything you need to get started with Kogito Rules! + + org.kie.kogito.springboot.starter.rules + + org.kie.kogito diff --git a/springboot/starters/kogito-spring-boot-starter/pom.xml b/springboot/starters/kogito-spring-boot-starter/pom.xml index 9e9975d584f..ffc0a3872e0 100644 --- a/springboot/starters/kogito-spring-boot-starter/pom.xml +++ b/springboot/starters/kogito-spring-boot-starter/pom.xml @@ -33,6 +33,10 @@ Kogito :: Spring Boot :: Starter Spring Boot Starter for Kogito Runtimes. Contains every engine supported by Kogito (Decisions, Rules, Processes, Predictions and Serverless Workflows) + + org.kie.kogito.springboot.starter + + org.kie.kogito diff --git a/springboot/test/pom.xml b/springboot/test/pom.xml index 1cee214732e..25fb6243b82 100644 --- a/springboot/test/pom.xml +++ b/springboot/test/pom.xml @@ -35,6 +35,10 @@ Kogito :: Test Utilities :: Spring Boot Kogito Test Utilities for Spring Boot + + org.kie.kogito.springboot.test.resources + +