Skip to content

Commit

Permalink
incubator-kie-issues#917: Verify Quarkus Extensions metadata in `kogi…
Browse files Browse the repository at this point in the history
…to-runtimes` (#3401)

* incubator-kie-issues#917: Verify Quarkus Extensions metadata in `kogito-runtimes`

* Apply suggestions from code review

Co-authored-by: Ricardo Zanini <[email protected]>

* Apply suggestions from code review

Co-authored-by: Ricardo Zanini <[email protected]>

* - added `kogito-addon-quarkus-source-files` extension metadata.

* - Aligned metadata & capabilities to new naming

* - fix typo

* - adding `cloud` category
- Quarkus Extensions it-tests fix

* - cleanup

---------

Co-authored-by: Ricardo Zanini <[email protected]>
  • Loading branch information
pefernan and ricardozanini authored Feb 19, 2024
1 parent 4b39444 commit 0d51eeb
Show file tree
Hide file tree
Showing 75 changed files with 430 additions and 213 deletions.
3 changes: 3 additions & 0 deletions quarkus/addons/camel/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@
</goals>
<configuration>
<deployment>${project.groupId}:${project.artifactId}-deployment:${project.version}</deployment>
<capabilities>
<provides>org.sonataflow.addons.camel</provides>
</capabilities>
</configuration>
</execution>
</executions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@
# under the License.
#

name: Kogito Addons Quarkus Camel
description: Add-on for Kogito Serverless Workflow to execute embedded Camel Routes as workflow functions.
name: SonataFlow Camel Quarkus Add-On
description: Add-on for SonataFlow to execute embedded Camel Routes as workflow functions.
metadata:
keywords:
- kogito
- sonataflow
- camel
- serverless
- workflow
- workflows
# guide: ...
categories:
- "integration"
- "cloud"
status: "preview"
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
public final class KogitoCapability {

public static final String KOGITO_GROUP_ID = "org.kie.kogito";
public static final KogitoCapability DECISIONS = new KogitoCapability("org.kie.kogito.decisions", "kogito-quarkus-decisions");
public static final KogitoCapability PROCESSES = new KogitoCapability("org.kie.kogito.processes", "kogito-quarkus-processes");
public static final KogitoCapability PREDICTIONS = new KogitoCapability("org.kie.kogito.predictions", "kogito-quarkus-predictions");
public static final KogitoCapability RULES = new KogitoCapability("org.kie.kogito.rules", "kogito-quarkus-rules");
public static final KogitoCapability SERVERLESS_WORKFLOW = new KogitoCapability("org.kie.kogito.serverless-workflow", "kogito-quarkus-serverless-workflow");
public static final KogitoCapability DECISIONS = new KogitoCapability("org.drools.decisions", "kogito-quarkus-decisions");
public static final KogitoCapability PROCESSES = new KogitoCapability("org.jbpm.processes", "kogito-quarkus-processes");
public static final KogitoCapability PREDICTIONS = new KogitoCapability("org.kie.predictions", "kogito-quarkus-predictions");
public static final KogitoCapability RULES = new KogitoCapability("org.drools.rules", "kogito-quarkus-rules");
public static final KogitoCapability SERVERLESS_WORKFLOW = new KogitoCapability("org.sonataflow.serverless-workflow", "kogito-quarkus-serverless-workflow");

public static final List<KogitoCapability> ENGINES = asList(
KogitoCapability.DECISIONS,
Expand Down
2 changes: 1 addition & 1 deletion quarkus/addons/events/decisions/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<configuration>
<deployment>${project.groupId}:${project.artifactId}-deployment:${project.version}</deployment>
<capabilities>
<provides>org.kie.kogito.addons.events.decisions</provides>
<provides>org.kie.addons.events.decisions</provides>
</capabilities>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@
# under the License.
#

name: Kogito Add-On Events Decisions
description: Kogito Add-On for processing events on Decisions (DMN) based projects
name: KIE Events Decisions Quarkus Add-On
description: KIE Add-On for processing events on Decisions (DMN) based projects
metadata:
keywords:
- kogito
- KIE
- decisions
- DMN
- Kafka
guide: https://quarkus.io/guides/kogito-dmn
guide: https://quarkus.io/guides/kie-dmn
categories:
- "business-automation"
status: "stable"
2 changes: 1 addition & 1 deletion quarkus/addons/events/mongodb/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
<configuration>
<deployment>${project.groupId}:${project.artifactId}-deployment:${project.version}</deployment>
<capabilities>
<provides>org.kie.kogito.addons.events.mongodb</provides>
<provides>org.kie.addons.events.mongodb</provides>
</capabilities>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,17 @@
# under the License.
#

name: Kogito Add-On Events MongoDB
description: Kogito Add-On for storing Kogito events log on MongoDB for later pushing via Debezium, allowing Outbox pattern implementation.
name: KIE Events MongoDB Add-On
description: KIE Add-On for storing events log on MongoDB for later pushing via Debezium, allowing Outbox pattern implementation.
metadata:
keywords:
- kogito
- KIE
- persistence
- mongodb
- events
- process
- processes
- BPMN
guide: https://quarkus.io/guides/kogito
categories:
- "business-automation"
status: "stable"
2 changes: 1 addition & 1 deletion quarkus/addons/events/predictions/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<configuration>
<deployment>${project.groupId}:${project.artifactId}-deployment:${project.version}</deployment>
<capabilities>
<provides>org.kie.kogito.addons.events.predictions</provides>
<provides>org.kie.addons.events.predictions</provides>
</capabilities>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@
# under the License.
#

name: Kogito Add-On Events Predictions
description: Kogito Add-On for processing events on Predictions (PMML) based projects
name: KIE Events Predictions Add-On
description: KIE Add-On for processing events on Predictions (PMML) based projects
metadata:
keywords:
- kogito
- KIE
- predictions
- PMML
- Kafka
guide: https://quarkus.io/guides/kogito-pmml
guide: https://quarkus.io/guides/kie-pmml
categories:
- "business-automation"
status: "stable"
2 changes: 1 addition & 1 deletion quarkus/addons/events/process/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<configuration>
<deployment>${project.groupId}:${project.artifactId}-deployment:${project.version}</deployment>
<capabilities>
<provides>org.kie.kogito.addons.events.process</provides>
<provides>org.kie.addons.events.process</provides>
</capabilities>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,19 @@
# under the License.
#

name: Kogito Add-On Events Process
description: Kogito Add-On for Processes Events
name: KIE Events Process Add-On
description: KIE Add-On for Processes Events
metadata:
keywords:
- kogito
- bpmn
- process
- KIE
- BPMN
- processes
- workflows
- events
# TODO: add process guide
guide: https://quarkus.io/guides/kogito
guide: https://quarkus.io/guides/kie
categories:
- "business-automation"
- "cloud"
status: "stable"
config:
- "kogito.events."
2 changes: 1 addition & 1 deletion quarkus/addons/events/rules/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<configuration>
<deployment>${project.groupId}:${project.artifactId}-deployment:${project.version}</deployment>
<capabilities>
<provides>org.kie.kogito.addons.events.rules</provides>
<provides>org.drools.addons.events.rules</provides>
</capabilities>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
# under the License.
#

name: Kogito Add-On Events Rules
description: Kogito Add-On for processing events on Rules (DRL) based projects
name: Drools Events Rules Add-On
description: Drools Add-On for processing events on Rules (DRL) based projects
metadata:
keywords:
- kogito
- rules
- drools
- DRL
- Kafka
guide: https://quarkus.io/guides/kogito-drl
guide: https://quarkus.io/guides/kie-drl
categories:
- "business-automation"
status: "stable"
2 changes: 1 addition & 1 deletion quarkus/addons/explainability/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
<configuration>
<deployment>${project.groupId}:${project.artifactId}-deployment:${project.version}</deployment>
<capabilities>
<provides>org.kie.kogito.addons.explainability</provides>
<provides>org.kie.addons.explainability</provides>
</capabilities>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
# under the License.
#

name: Kogito Add-On Explainability
description: Kogito Add-On to support explainability. Should be used only with the explainability service.
name: KIE Explainability Add-On
description: KIE Add-On to support explainability. Should be used only with the explainability service.
metadata:
keywords:
- kogito
- KIE
- decisions
- dmn
- DMN
- explainability
guide: https://quarkus.io/guides/kogito-dmn
guide: https://quarkus.io/guides/kie-dmn
categories:
- "business-automation"
unlisted: true
status: "stable"
4 changes: 0 additions & 4 deletions quarkus/addons/jobs/knative-eventing/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-rest-callback</artifactId>
</dependency>
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-rest-callback</artifactId>
</dependency>
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-jobs-service-health</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,21 @@
# under the License.
#

name: Kogito Add-On Jobs Service Knative Eventing
name: Kogito Jobs Service Knative Eventing Add-On
description: Kogito Add-On to interact with the Kogito Jobs Service using events via the knative eventing system
metadata:
keywords:
- kogito
- process
- bpmn
- processes
- BPMN
- knative
- workflows
- jobs
# TODO: add processes guide
guide: https://quarkus.io/guides/kogito
categories:
- "business-automation"
- "cloud"
status: "stable"
config:
- "kogito."
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,20 @@
# under the License.
#

name: Kogito Add-On Jobs Service
name: Kogito Jobs Service Add-On
description: Kogito Add-On to interact with Kogito Jobs Service
metadata:
keywords:
- kogito
- process
- bpmn
- processes
- BPMN
- workflows
- jobs
# TODO: add processes guide
guide: https://quarkus.io/guides/kogito
categories:
- "business-automation"
- "cloud"
status: "stable"
config:
- "kogito."
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,20 @@
# under the License.
#

name: Kogito Add-On Jobs Service Messaging
name: Kogito Jobs Service Messaging Add-On
description: Kogito Add-On to interact with the Kogito Jobs Service using events via the reactive messaging api
metadata:
keywords:
- kogito
- process
- bpmn
- processes
- BPMN
- workflows
- jobs
# TODO: add processes guide
guide: https://quarkus.io/guides/kogito
categories:
- "business-automation"
- "cloud"
status: "stable"
config:
- "kogito."
2 changes: 1 addition & 1 deletion quarkus/addons/knative/eventing/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<configuration>
<deployment>${project.groupId}:${project.artifactId}-deployment:${project.version}</deployment>
<capabilities>
<provides>org.kie.kogito.addons.knative.eventing</provides>
<provides>org.kie.addons.knative.eventing</provides>
</capabilities>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,25 @@
# under the License.
#

name: Kogito Add-On Knative Eventing
name: KIE Knative Eventing Add-On
description: Adds support for CloudEvents on top of HTTP and Knative env vars configuration.
metadata:
keywords:
- kogito
- KIE
- processes
- decisions
- rules
- bpmn
- BPMN
- drl
- dmn
- DMN
- knative
- eventing
- cloudevents
# TODO: add processes guide
guide: https://quarkus.io/guides/kogito
- workflows
guide: https://quarkus.io/guides/kie
categories:
- "business-automation"
- "cloud"
status: "stable"
config:
- "org.kie.kogito.addons.knative.eventing"
2 changes: 1 addition & 1 deletion quarkus/addons/kubernetes/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
<configuration>
<deployment>${project.groupId}:${project.artifactId}-deployment:${project.version}</deployment>
<capabilities>
<provides>org.kie.kogito.addons.kubernetes</provides>
<provides>org.kie.addons.kubernetes</provides>
</capabilities>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,16 @@
# under the License.
#

name: Kogito Add-On Kubernetes
description: Adds support for Kubernetes integrations within Kogito engine.
name: KIE Kubernetes Add-On
description: Adds support for Kubernetes integrations within KIE engine.
metadata:
keywords:
- kogito
- KIE
- kubernetes
- knative
guide: https://quarkus.io/guides/kogito
- workflows
guide: https://quarkus.io/guides/kie
categories:
- "business-automation"
- "cloud"
status: "stable"
Loading

0 comments on commit 0d51eeb

Please sign in to comment.