Skip to content

Commit

Permalink
kie-issues#739: adjust repository after transfer to apache (apache#1838)
Browse files Browse the repository at this point in the history
* kie-issues#739: adjust repository after transfer to apache

* leftovers

---------

Co-authored-by: jstastny-cz <[email protected]>
  • Loading branch information
2 people authored and rgdoliveira committed Dec 13, 2023
1 parent a0ea9b5 commit 13b2324
Show file tree
Hide file tree
Showing 74 changed files with 105 additions and 94 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ mvn_opts=
mvn_cmd=mvn $(mvn_opts)

build_chain_branch=$(shell git branch --show-current)
build_chain_file='https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml'
build_chain_group='kiegroup'
build_chain_project='kiegroup/kogito-examples'
build_chain_file='https://raw.githubusercontent.com/apache/incubator-kie-kogito-pipelines/main/.ci/pull-request-config.yaml'
build_chain_group='apache'
build_chain_project='apache/incubator-kie-kogito-examples'

default: help

Expand All @@ -21,7 +21,7 @@ build-quickly:
.PHONY: build-upstream
## (build-chain) Build upstream projects from the same branch. If needed, you can modify the `build_chain_file`, `build_chain_group` and `build_chain_branch`. See `build_chain_file` for setting correct environment variables
build-upstream: build-chain
build-chain build cross_pr -f ${build_chain_file} -o /tmp/bc -p ${build_chain_project} -b ${build_chain_branch} -g ${build_chain_group} --skipParallelCheckout --skipProjectExecution kiegroup/kogito-examples --skipProjectCheckout kiegroup/kogito-examples
build-chain build cross_pr -f ${build_chain_file} -o /tmp/bc -p ${build_chain_project} -b ${build_chain_branch} -g ${build_chain_group} --skipParallelCheckout --skipProjectExecution apache/incubator-kie-kogito-examples --skipProjectCheckout apache/incubator-kie-kogito-examples

.PHONY: build-pr
pr_link=
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This module contains a number of examples that you can take a look at and try ou
Since Kogito aims at supporting both Quarkus and Spring Boot each example usually provides both type of projects.

- Default branch is `stable`, pointing to the latest released version.
- **[You can also check all versions by looking at releases.](https://github.com/kiegroup/kogito-examples/releases/latest)**
- **[You can also check all versions by looking at releases.](https://github.com/apache/incubator-kie-kogito-examples/releases/latest)**

## Use alternative Quarkus platforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/decisiontable-quarkus-example
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/dmn-listener-quarkus
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/dmn-pmml-quarkus-example
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/dmn-quarkus-example
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
2 changes: 1 addition & 1 deletion kogito-quarkus-examples/dmn-tracing-quarkus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Example response:

## Integration example with Trusty Service

When the tracing addon is enabled, the tracing events are emitted and pushed to a Kafka broker. The [Trusty Service](https://github.com/kiegroup/kogito-apps/tree/main/trusty) can consume such events and store them on a storage. The Trusty Service exposes then some api to consume the information that has been collected.
When the tracing addon is enabled, the tracing events are emitted and pushed to a Kafka broker. The [Trusty Service](https://github.com/apache/incubator-kie-kogito-apps/tree/main/trusty) can consume such events and store them on a storage. The Trusty Service exposes then some api to consume the information that has been collected.
A `docker-compose` example is provided in the current folder. In particular, when `docker-compose up` is run, a Kafka broker, an Infinispan container and the latest build of the trusty service configured to use Infinispan are deployed.
Once the services are up and running, after a decision has been evaluated, you can access the trusty service API to list the evaluations at `localhost:8081/executions` for example.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
type: RemoteSource
gitSource:
contextDir: kogito-quarkus-examples/dmn-tracing-quarkus
uri: "https://github.com/kiegroup/kogito-examples/"
uri: "https://github.com/apache/incubator-kie-kogito-examples/"
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/flexible-process-quarkus
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
type: RemoteSource
gitSource:
contextDir: kogito-quarkus-examples/kogito-travel-agency/extended/travels
uri: "https://github.com/kiegroup/kogito-examples/"
uri: "https://github.com/apache/incubator-kie-kogito-examples/"
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
type: RemoteSource
gitSource:
contextDir: kogito-quarkus-examples/kogito-travel-agency/extended/visas
uri: "https://github.com/kiegroup/kogito-examples/"
uri: "https://github.com/apache/incubator-kie-kogito-examples/"
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -371,4 +371,4 @@ curl -H "Content-Type: application/json" -H "Accept: application/json" -X POST h
### Querying the technical cache

When running **Kogito Data Index Service** on dev mode, the GraphiQL UI is available at [http://localhost:8180](http://localhost:8180/) and allow to
perform different queries on the model as is explained at [wiki/Data-Index-service](https://github.com/kiegroup/kogito-runtimes/wiki/Data-Index-Service)
perform different queries on the model as is explained at [wiki/Data-Index-service](https://github.com/apache/incubator-kie-kogito-runtimes/wiki/Data-Index-Service)
Original file line number Diff line number Diff line change
Expand Up @@ -227,4 +227,4 @@ EOF
### Querying the technical cache

When running **Kogito Data Index Service** on dev mode, the GraphiQL UI is available at [http://localhost:8180](http://localhost:8180/) and allow to
perform different queries on the model as is explained at [wiki/Data-Index-service](https://github.com/kiegroup/kogito-runtimes/wiki/Data-Index-Service)
perform different queries on the model as is explained at [wiki/Data-Index-service](https://github.com/apache/incubator-kie-kogito-runtimes/wiki/Data-Index-Service)
2 changes: 1 addition & 1 deletion kogito-quarkus-examples/ocp-tryout/applicationImage.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Prepare Kogito application image

The Tryout process installs a container image, which must be accessible from an image repository. If such an image exists, this step can be skipped.
Below steps show the process of building and uploading an image using the example of the [extended Kogito Travel Agency](https://github.com/kiegroup/kogito-examples/tree/stable/kogito-quarkus-examples/kogito-travel-agency/extended/travels/) application:
Below steps show the process of building and uploading an image using the example of the [extended Kogito Travel Agency](https://github.com/apache/incubator-kie-kogito-examples/tree/stable/kogito-quarkus-examples/kogito-travel-agency/extended/travels/) application:
- cd into `kogito-examples/kogito-quarkus-examples/kogito-travel-agency/extended/travels`
- build the application: `mvn clean package`
- build the image: `docker build -f src/main/docker/Dockerfile.jvm -t quarkus/kogito-travel-agency-travels-jvm .`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/pmml-quarkus-example
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/process-business-rules-quarkus
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/process-error-handling
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
type: RemoteSource
gitSource:
contextDir: kogito-quarkus-examples/process-infinispan-persistence-quarkus
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/process-kafka-multi-quickstart-quarkus
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
type: RemoteSource
gitSource:
contextDir: kogito-quarkus-examples/process-kafka-persistence-quarkus
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/process-kafka-quickstart-quarkus
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Description

A quickstart project that deals with traveller processing carried by rules. It illustrates how easy it is to make the Kogito processes and rules to work with Knative Eventing. This project is based on
the example [Process with Kafka](https://github.com/kiegroup/kogito-examples/tree/main/kogito-quarkus-examples/process-kafka-quickstart-quarkus).
the example [Process with Kafka](https://github.com/apache/incubator-kie-kogito-examples/tree/main/kogito-quarkus-examples/process-kafka-quickstart-quarkus).

This example shows

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
type: RemoteSource
gitSource:
contextDir: kogito-quarkus-examples/process-mongodb-persistence-quarkus
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ curl -d '{"approver" : "john", "order" : {"orderNumber" : "12345", "shipped" : f

<p align="center"><img src="docs/images/kafdrop_process_events_messages.png"></p>

6. With the Kafka broker info from step 8, run the Kogito Data Index Service with MongoDB to consume Kafka messages: https://github.com/kiegroup/kogito-runtimes/wiki/Data-Index-Service
6. With the Kafka broker info from step 8, run the Kogito Data Index Service with MongoDB to consume Kafka messages: https://github.com/apache/incubator-kie-kogito-runtimes/wiki/Data-Index-Service

7. Shut down the cluster
```shell
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
type: RemoteSource
gitSource:
contextDir: kogito-quarkus-examples/process-quarkus-example
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
#uncomment to enable persistence
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/process-service-rest-call-quarkus
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Description

This example contains a BPMN that performs two consecutive REST invocations using [RestWorkItemHandler](https://github.com/kiegroup/kogito-runtimes/blob/main/kogito-workitems/kogito-rest-workitem/src/main/java/org/kogito/workitem/rest/RestWorkItemHandler.java), an alternative declarative approach to service programatic calls.
This example contains a BPMN that performs two consecutive REST invocations using [RestWorkItemHandler](https://github.com/apache/incubator-kie-kogito-runtimes/blob/main/kogito-workitems/kogito-rest-workitem/src/main/java/org/kogito/workitem/rest/RestWorkItemHandler.java), an alternative declarative approach to service programatic calls.

Note that in order to user a WorkItem in Kogito Editor, corresponding .wid file needs to located together with the bpmn file under the same directory

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
A quickstart project that processes users in the system. It's main purpose is to to call external REST service
to load a given user by its username.

There are two ways to invoke a rest web service in Kogito: programmatically, as shown in this other [example](https://github.com/kiegroup/kogito-examples/tree/stable/kogito-quarkus-examples/process-service-calls-quarkus) or using RestWorkItemHandler, as in this example.
There are two ways to invoke a rest web service in Kogito: programmatically, as shown in this other [example](https://github.com/apache/incubator-kie-kogito-examples/tree/stable/kogito-quarkus-examples/process-service-calls-quarkus) or using RestWorkItemHandler, as in this example.

Note that in order to user a WorkItem in Kogito Editor, corresponding .wid file needs to located together with the bpmn file under the same directory

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/process-service-rest-call-quarkus
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/process-scripts-quarkus
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/process-service-calls-quarkus
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/process-timer-quarkus
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/process-usertasks-quarkus
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/process-usertasks-with-security-quarkus
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/rules-quarkus-helloworld
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/ruleunit-quarkus-example
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ KOGITO_VERSION=v1.5.0

Deploy the kogito operator in the cluster
```bash
wget https://github.com/kiegroup/kogito-operator/releases/download/${KOGITO_VERSION}/kogito-operator.yaml
wget https://github.com/apache/incubator-kie-kogito-operator/releases/download/${KOGITO_VERSION}/kogito-operator.yaml
kubectl apply -f kogito-operator.yaml
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ You will need:
mvn clean compile quarkus:dev
```

The tracing addon emits tracing events to a Kafka broker running within Quarkus DevServices. A [Trusty Service](https://github.com/kiegroup/kogito-apps/tree/main/trusty)
The tracing addon emits tracing events to a Kafka broker running within Quarkus DevServices. A [Trusty Service](https://github.com/apache/incubator-kie-kogito-apps/tree/main/trusty)
instance, also running within Quarkus DevServices, consumes the events and stores them in a PostgreSQL instance running
within Quarkus DevServices too. Within Quarkus DevMode the DevMode UI can be launched by pressing [d] or navigating to
http://localhost:8080/q/dev/.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/decisiontable-springboot-example
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/dmn-listener-springboot
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/dmn-pmml-springboot-example
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
# value: "my value"
gitSource:
contextDir: kogito-quarkus-examples/dmn-springboot-example
uri: 'https://github.com/kiegroup/kogito-examples'
uri: 'https://github.com/apache/incubator-kie-kogito-examples'
# set your maven nexus repository to speed up the build time
#mavenMirrorURL:
---
Expand Down
Loading

0 comments on commit 13b2324

Please sign in to comment.