Skip to content

Commit

Permalink
Merge pull request #17 from rgdoliveira/sync_main
Browse files Browse the repository at this point in the history
Sync main branch with Apache main branch
  • Loading branch information
rgdoliveira authored Mar 12, 2024
2 parents d0163e9 + 3fc0fe6 commit bcc0fed
Show file tree
Hide file tree
Showing 456 changed files with 4,379 additions and 4,917 deletions.
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

0 comments on commit bcc0fed

Please sign in to comment.