Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync main branch with Apache main branch #17

Merged
merged 16 commits into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
f0fa36d
Force structure for loan example (#1864)
fjtirado Feb 5, 2024
f8d4823
Fix #1858 - remove quay.io/kiegroup/kogito-runtime-jvm:latest to gene…
nmirasch Feb 6, 2024
e618c19
Consolidate serverless workflow newsletter-subscription example (#1870)
nmirasch Feb 9, 2024
6beaaaf
Fix #1866 - Remove Kogito Operator CRs and citations (#1867)
ricardozanini Feb 12, 2024
266e89f
incubator-kie-issues#938: Fix process-usertasks-timer-data-index-pers…
pefernan Feb 15, 2024
ec78076
[kie-issues#913] Upgrade to and align with Quarkus 3.2.10.Final LTS v…
baldimir Feb 21, 2024
f592a2b
incubator-kie-issues#932: Rename Quarkus Extension in `kogito-apps` (…
pefernan Feb 23, 2024
a40ec08
incubator-kie-issues#934: Rename the `jBPM` & `drools` Quarkus Exten…
pefernan Feb 23, 2024
6f45d4a
[Fix 1868] Including usage of $WORKFLOW.prevActionResult (#1878)
fjtirado Feb 27, 2024
3c62278
incubator-kie-issues#933: Rename `SonataFlow` Quarkus Extensions in `…
pefernan Feb 28, 2024
de0c7fa
Revert "incubator-kie-issues#933: Rename `SonataFlow` Quarkus Extensi…
pefernan Mar 1, 2024
133f01b
[NO_ISSUE]: Rollback missing `sonataflow-quarkus-devui` groupId (#1887)
pefernan Mar 4, 2024
20e636e
incubator-kie-issues#935: Rename `kie` & `kogito` Quarkus Extensions …
pefernan Mar 7, 2024
a1d8fd4
Fix missing Java 17 migration in examples (#1885)
nmirasch Mar 7, 2024
1ff8809
[incubator-kie-kogito-runtimes#2608] Testing multiple DMNs, importing…
gitgabrio Mar 8, 2024
3fc0fe6
[incubator-kie-issues#847] Implemented kogito-examples with models fr…
gitgabrio Mar 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,8 @@ A Serverless Workflow service that works as a Github bot application, which reac
- Rules on Quarkus with Unit: see [README.md](kogito-quarkus-examples/ruleunit-quarkus-example/README.md)
- Process on Quarkus: see [README.md](kogito-quarkus-examples/process-quarkus-example/README.md)
- Process on Spring Boot: see [README.md](kogito-springboot-examples/process-springboot-example/README.md)
- Trusty on Quarkus: see [README.md](kogito-quarkus-examples/trusty-demonstration/README.md)
- Trusty on Quarkus (DevUI integration): see [README.md](kogito-quarkus-examples/trusty-tracing-devservices/README.md)

## Trying the examples with the Kogito Operator

Most examples have a directory named `operator` including the YAML files to deploy it using the Kogito Operator in an OpenShift cluster.
Please refer to the [Kogito Documentation](https://docs.jboss.org/kogito/release/latest/html_single/#chap_kogito-deploying-on-openshift)
of how to install the operator to your environment in order to try it there.

## Getting Help
### Issues
- Do you have a [minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) for your issue?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ REST endpoints are generated from query rules. You can insert `LoanApplication`
### Prerequisites

You will need:
- Java 11+ installed
- Java 17+ installed
- Environment variable JAVA_HOME set accordingly
- Maven 3.8.6+ installed
- Maven 3.9.6+ installed

When using native image compilation, you will also need:
- [GraalVM 19.3.1](https://github.com/graalvm/graalvm-ce-builds/releases/tag/vm-19.3.1) installed
Expand Down Expand Up @@ -161,7 +161,3 @@ Example response:
}
]
```

## Deploying with Kogito Operator

In the [`operator`](operator) directory you'll find the custom resources needed to deploy this example on OpenShift with the [Kogito Operator](https://docs.jboss.org/kogito/release/latest/html_single/#chap_kogito-deploying-on-openshift).

This file was deleted.

8 changes: 4 additions & 4 deletions kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
<artifactId>decisiontable-quarkus-example</artifactId>
<name>Kogito Example :: Decision Table - Quarkus</name>
<properties>
<quarkus-plugin.version>3.2.9.Final</quarkus-plugin.version>
<quarkus-plugin.version>3.2.10.Final</quarkus-plugin.version>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
<quarkus.platform.version>3.2.9.Final</quarkus.platform.version>
<quarkus.platform.version>3.2.10.Final</quarkus.platform.version>
<kogito.bom.group-id>org.kie.kogito</kogito.bom.group-id>
<kogito.bom.artifact-id>kogito-bom</kogito.bom.artifact-id>
<kogito.bom.version>999-SNAPSHOT</kogito.bom.version>
Expand Down Expand Up @@ -67,8 +67,8 @@
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-quarkus-rules</artifactId>
<groupId>org.drools</groupId>
<artifactId>drools-quarkus-rules</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
8 changes: 4 additions & 4 deletions kogito-quarkus-examples/dmn-drools-quarkus-metrics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ This example demonstrates how to enable and consume the runtime metrics monitori
### Prerequisites

You will need:
- Java 11+ installed
- Java 17+ installed
- Environment variable JAVA_HOME set accordingly
- Maven 3.8.6+ installed
- Maven 3.9.6+ installed
- Docker 19+ (only if you want to run the integration tests and/or you want to use the `docker-compose` script provided in this example).

### How to enable the feature
Expand All @@ -18,8 +18,8 @@ Import the following dependency in your `pom.xml`:

```XML
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-monitoring-prometheus</artifactId>
<groupId>org.kie</groupId>
<artifactId>kie-addons-quarkus-monitoring-prometheus</artifactId>
</dependency>
```

Expand Down
16 changes: 8 additions & 8 deletions kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
<artifactId>dmn-drools-quarkus-metrics</artifactId>
<name>Kogito Example :: DMN Metrics Quarkus</name>
<properties>
<quarkus-plugin.version>3.2.9.Final</quarkus-plugin.version>
<quarkus-plugin.version>3.2.10.Final</quarkus-plugin.version>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
<quarkus.platform.version>3.2.9.Final</quarkus.platform.version>
<quarkus.platform.version>3.2.10.Final</quarkus.platform.version>
<kogito.bom.group-id>org.kie.kogito</kogito.bom.group-id>
<kogito.bom.artifact-id>kogito-bom</kogito.bom.artifact-id>
<kogito.bom.version>999-SNAPSHOT</kogito.bom.version>
Expand All @@ -59,12 +59,12 @@
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-quarkus-rules</artifactId>
<groupId>org.drools</groupId>
<artifactId>drools-quarkus-rules</artifactId>
</dependency>
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-quarkus-decisions</artifactId>
<groupId>org.drools</groupId>
<artifactId>drools-quarkus-decisions</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
Expand All @@ -83,8 +83,8 @@
<artifactId>quarkus-smallrye-openapi</artifactId>
</dependency>
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-monitoring-prometheus</artifactId>
<groupId>org.kie</groupId>
<artifactId>kie-addons-quarkus-monitoring-prometheus</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
8 changes: 4 additions & 4 deletions kogito-quarkus-examples/dmn-event-driven-quarkus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ The main goal behind the addon is to allow Kogito DMN services to be used as par
### Prerequisites

You will need:
- Java 11+ installed
- Java 17+ installed
- Environment variable JAVA_HOME set accordingly
- Maven 3.8.6+ installed
- Maven 3.9.6+ installed
- [Docker Engine](https://docs.docker.com/engine/) and [Docker Compose](https://docs.docker.com/compose/) installed

When using native image compilation, you will also need:
Expand All @@ -30,8 +30,8 @@ Like the other Kogito AddOns, the only required step to enable it is to include

```xml
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-events-decisions</artifactId>
<groupId>org.kie</groupId>
<artifactId>kie-addons-quarkus-events-decisions</artifactId>
</dependency>
```

Expand Down
12 changes: 6 additions & 6 deletions kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
<artifactId>dmn-event-driven-quarkus</artifactId>
<name>Kogito Example :: DMN Event-Driven :: Quarkus</name>
<properties>
<quarkus-plugin.version>3.2.9.Final</quarkus-plugin.version>
<quarkus-plugin.version>3.2.10.Final</quarkus-plugin.version>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
<quarkus.platform.version>3.2.9.Final</quarkus.platform.version>
<quarkus.platform.version>3.2.10.Final</quarkus.platform.version>
<kogito.bom.group-id>org.kie.kogito</kogito.bom.group-id>
<kogito.bom.artifact-id>kogito-bom</kogito.bom.artifact-id>
<kogito.bom.version>999-SNAPSHOT</kogito.bom.version>
Expand All @@ -61,13 +61,13 @@
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-quarkus-decisions</artifactId>
<groupId>org.drools</groupId>
<artifactId>drools-quarkus-decisions</artifactId>
</dependency>

<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-events-decisions</artifactId>
<groupId>org.kie</groupId>
<artifactId>kie-addons-quarkus-events-decisions</artifactId>
</dependency>

<dependency>
Expand Down
4 changes: 2 additions & 2 deletions kogito-quarkus-examples/dmn-incubation-api-quarkus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ The custom REST endpoint evaluates a DMN that computes Traffic Violation:
### Prerequisites

You will need:
- Java 11+ installed
- Java 17+ installed
- Environment variable JAVA_HOME set accordingly
- Maven 3.8.6+ installed
- Maven 3.9.6+ installed

### Compile and Run in Local Dev Mode

Expand Down
8 changes: 4 additions & 4 deletions kogito-quarkus-examples/dmn-incubation-api-quarkus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
<artifactId>dmn-incubation-api-quarkus</artifactId>
<name>Kogito Example :: DMN Incubation API With Quarkus</name>
<properties>
<quarkus-plugin.version>3.2.9.Final</quarkus-plugin.version>
<quarkus-plugin.version>3.2.10.Final</quarkus-plugin.version>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
<quarkus.platform.version>3.2.9.Final</quarkus.platform.version>
<quarkus.platform.version>3.2.10.Final</quarkus.platform.version>
<kogito.bom.group-id>org.kie.kogito</kogito.bom.group-id>
<kogito.bom.artifact-id>kogito-bom</kogito.bom.artifact-id>
<kogito.bom.version>999-SNAPSHOT</kogito.bom.version>
Expand Down Expand Up @@ -67,8 +67,8 @@
<artifactId>quarkus-resteasy-jackson</artifactId>
</dependency>
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-quarkus-decisions</artifactId>
<groupId>org.drools</groupId>
<artifactId>drools-quarkus-decisions</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ events.

You will need:

- Java 11+ installed
- Java 17+ installed
- Environment variable JAVA_HOME set accordingly
- Maven 3.8.6+ installed
- Maven 3.9.6+ installed

When using native image compilation, you will also need:

Expand Down
16 changes: 8 additions & 8 deletions kogito-quarkus-examples/dmn-knative-quickstart-quarkus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@

<properties>
<version.com.github.tomakehurst.wiremock>2.33.2</version.com.github.tomakehurst.wiremock>
<quarkus-plugin.version>3.2.9.Final</quarkus-plugin.version>
<quarkus-plugin.version>3.2.10.Final</quarkus-plugin.version>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
<quarkus.platform.version>3.2.9.Final</quarkus.platform.version>
<quarkus.platform.version>3.2.10.Final</quarkus.platform.version>
<kogito.bom.group-id>org.kie.kogito</kogito.bom.group-id>
<kogito.bom.artifact-id>kogito-bom</kogito.bom.artifact-id>
<kogito.bom.version>999-SNAPSHOT</kogito.bom.version>
Expand All @@ -64,18 +64,18 @@

<dependencies>
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-quarkus-decisions</artifactId>
<groupId>org.drools</groupId>
<artifactId>drools-quarkus-decisions</artifactId>
</dependency>

<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-events-decisions</artifactId>
<groupId>org.kie</groupId>
<artifactId>kie-addons-quarkus-events-decisions</artifactId>
</dependency>

<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-knative-eventing</artifactId>
<groupId>org.kie</groupId>
<artifactId>kie-addons-quarkus-knative-eventing</artifactId>
</dependency>

<dependency>
Expand Down
8 changes: 4 additions & 4 deletions kogito-quarkus-examples/dmn-listener-dtable/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
<artifactId>dmn-listener-dtable</artifactId>
<name>Kogito Example :: DMN Decision Table listener - Quarkus</name>
<properties>
<quarkus-plugin.version>3.2.9.Final</quarkus-plugin.version>
<quarkus-plugin.version>3.2.10.Final</quarkus-plugin.version>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
<quarkus.platform.version>3.2.9.Final</quarkus.platform.version>
<quarkus.platform.version>3.2.10.Final</quarkus.platform.version>
<kogito.bom.group-id>org.kie.kogito</kogito.bom.group-id>
<kogito.bom.artifact-id>kogito-bom</kogito.bom.artifact-id>
<kogito.bom.version>999-SNAPSHOT</kogito.bom.version>
Expand All @@ -59,8 +59,8 @@
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-quarkus-decisions</artifactId>
<groupId>org.drools</groupId>
<artifactId>drools-quarkus-decisions</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
7 changes: 2 additions & 5 deletions kogito-quarkus-examples/dmn-listener-quarkus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Listener injection is _optional_. If you don't need it, just ignore it.
### Prerequisites

You will need:
- Java 11+ installed
- Java 17+ installed
- Environment variable JAVA_HOME set accordingly
- Maven 3.8.6+ installed
- Maven 3.9.6+ installed

When using native image compilation, you will also need:
- [GraalVM 19.3.1](https://github.com/oracle/graal/releases/tag/vm-19.3.1) installed
Expand Down Expand Up @@ -130,6 +130,3 @@ Example response:
}
```

## Deploying with Kogito Operator

In the [`operator`](operator) directory you'll find the custom resources needed to deploy this example on OpenShift with the [Kogito Operator](https://docs.jboss.org/kogito/release/latest/html_single/#chap_kogito-deploying-on-openshift).

This file was deleted.

Loading
Loading