From b212f13d2aa92154bf246662823710d65ddd91d9 Mon Sep 17 00:00:00 2001 From: fantonangeli Date: Fri, 15 Mar 2024 12:27:07 +0100 Subject: [PATCH] Improved sonataflow-greeting-quarkus dependencies and use of pom properties + add decisiontable-quarkus-example --- .../decisiontable-quarkus-example/README.md | 167 +++++++ .../env/index.js | 31 ++ .../decisiontable-quarkus-example/install.js | 27 ++ .../package.json | 41 ++ .../decisiontable-quarkus-example/pom.xml | 134 +++++ .../org/kie/kogito/queries/Applicant.java | 49 ++ .../kie/kogito/queries/LoanApplication.java | 83 ++++ .../java/org/kie/kogito/queries/LoanUnit.java | 55 +++ .../src/main/resources/application.properties | 23 + .../org/kie/kogito/queries/LoanUnit.drl.xls | Bin 0 -> 12288 bytes .../quarkus/NativeRestQueryIT.java | 27 ++ .../decisiontable/quarkus/RestQueryTest.java | 90 ++++ .../src/test/resources/application.properties | 21 + .../kie-tools-quarkus-examples-parent/pom.xml | 232 +++++++++ examples/pom.xml | 457 ++++++++++++++++++ examples/sonataflow-examples-parent/pom.xml | 14 +- .../sonataflow-greeting-quarkus/install.js | 1 + .../sonataflow-greeting-quarkus/package.json | 2 +- examples/sonataflow-greeting-quarkus/pom.xml | 16 +- pnpm-lock.yaml | 16 +- repo/graph.dot | 11 +- repo/graph.json | 46 +- 22 files changed, 1505 insertions(+), 38 deletions(-) create mode 100644 examples/decisiontable-quarkus-example/README.md create mode 100644 examples/decisiontable-quarkus-example/env/index.js create mode 100644 examples/decisiontable-quarkus-example/install.js create mode 100644 examples/decisiontable-quarkus-example/package.json create mode 100644 examples/decisiontable-quarkus-example/pom.xml create mode 100644 examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/Applicant.java create mode 100644 examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanApplication.java create mode 100644 examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanUnit.java create mode 100644 examples/decisiontable-quarkus-example/src/main/resources/application.properties create mode 100644 examples/decisiontable-quarkus-example/src/main/resources/org/kie/kogito/queries/LoanUnit.drl.xls create mode 100644 examples/decisiontable-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/NativeRestQueryIT.java create mode 100644 examples/decisiontable-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/RestQueryTest.java create mode 100644 examples/decisiontable-quarkus-example/src/test/resources/application.properties create mode 100644 examples/kie-tools-quarkus-examples-parent/pom.xml create mode 100755 examples/pom.xml diff --git a/examples/decisiontable-quarkus-example/README.md b/examples/decisiontable-quarkus-example/README.md new file mode 100644 index 00000000000..d6c70d46874 --- /dev/null +++ b/examples/decisiontable-quarkus-example/README.md @@ -0,0 +1,167 @@ +# Decision Table + Quarkus example + +| | | +| ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `NOTE` | **Looking for modern decision tables?**
Kogito, like Drools, offers support of the [DMN open standard](https://drools.org/learn/dmn.html) for visual and semantic execution of declarative logic. The business rules in this example may be also expressed using DMN decision tables (or other visual paradigm of DMN), instead of Drools XLS decision tables.
For more information about DMN support in Kogito, you may refer to the companion Quarkus guide specific to [Kogito DMN support on Quarkus](https://quarkus.io/guides/kogito-dmn), or the [Kogito DMN documentation](https://docs.kogito.kie.org/latest/html_single/#_using_dmn_models_in_kogito_services). | + +## Description + +A rule service to validate `LoanApplication` fact. Rules are written as a decision table. + +REST endpoints are generated from query rules. You can insert `LoanApplication` facts and query a result via the REST endpoints. Rule resources are assembled as a RuleUnit. + +## Installing and Running + +### Prerequisites + +You will need: + +- Java 17+ installed +- Environment variable JAVA_HOME set accordingly +- 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 +- Environment variable GRAALVM_HOME set accordingly +- Note that GraalVM native image compilation typically requires other packages (glibc-devel, zlib-devel and gcc) to be installed too. You also need 'native-image' installed in GraalVM (using 'gu install native-image'). Please refer to [GraalVM installation documentation](https://www.graalvm.org/docs/reference-manual/aot-compilation/#prerequisites) for more details. + +### Compile and Run in Local Dev Mode + +``` +mvn clean compile quarkus:dev +``` + +### Package and Run in JVM mode + +``` +mvn clean package +java -jar target/quarkus-app/quarkus-run.jar +``` + +or on windows + +``` +mvn clean package +java -jar target\quarkus-app\quarkus-run.jar +``` + +### Package and Run using Local Native Image + +Note that this requires GRAALVM_HOME to point to a valid GraalVM installation + +``` +mvn clean package -Pnative +``` + +To run the generated native executable, generated in `target/`, execute + +``` +./target/decisiontable-quarkus-example-runner +``` + +Note: This does not yet work on Windows, GraalVM and Quarkus should be rolling out support for Windows soon. + +## OpenAPI (Swagger) documentation + +[Specification at swagger.io](https://swagger.io/docs/specification/about/) + +You can take a look at the [OpenAPI definition](http://localhost:8080/openapi?format=json) - automatically generated and included in this service - to determine all available operations exposed by this service. For easy readability you can visualize the OpenAPI definition file using a UI tool like for example available [Swagger UI](https://editor.swagger.io). + +In addition, various clients to interact with this service can be easily generated using this OpenAPI definition. + +When running in either Quarkus Development or Native mode, we also leverage the [Quarkus OpenAPI extension](https://quarkus.io/guides/openapi-swaggerui#use-swagger-ui-for-development) that exposes [Swagger UI](http://localhost:8080/swagger-ui/) that you can use to look at available REST endpoints and send test requests. + +## Example Usage + +Once the service is up and running, you can use the following examples to interact with the service. Note that rather than using the curl commands below, you can also use the [swagger UI](http://localhost:8080/swagger-ui/) to send requests. + +### POST /find-approved + +Returns approved loan applications from the given facts: + +Given facts: + +```json +{ + "maxAmount": 5000, + "loanApplications": [ + { + "id": "ABC10001", + "amount": 2000, + "deposit": 100, + "applicant": { "age": 45, "name": "John" } + }, + { + "id": "ABC10002", + "amount": 5000, + "deposit": 100, + "applicant": { "age": 25, "name": "Paul" } + }, + { + "id": "ABC10015", + "amount": 1000, + "deposit": 100, + "applicant": { "age": 12, "name": "George" } + } + ] +} +``` + +Example curl request (using the JSON above): + +```sh +curl -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' -d '{"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}}, {"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}}, {"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}' http://localhost:8080/find-approved +``` + +or on windows: + +```sh +curl -X POST -H "Accept: application/json" -H "Content-Type: application/json" -d "{\"maxAmount\":5000,\"loanApplications\":[{\"id\":\"ABC10001\",\"amount\":2000,\"deposit\":100,\"applicant\":{\"age\":45,\"name\":\"John\"}}, {\"id\":\"ABC10002\",\"amount\":5000,\"deposit\":100,\"applicant\":{\"age\":25,\"name\":\"Paul\"}}, {\"id\":\"ABC10015\",\"amount\":1000,\"deposit\":100,\"applicant\":{\"age\":12,\"name\":\"George\"}}]}" http://localhost:8080/find-approved +``` + +As response an array of loan applications is returned. + +Example response: + +```json +[ + { + "id": "ABC10001", + "applicant": { + "name": "John", + "age": 45 + }, + "amount": 2000, + "deposit": 100, + "approved": true + } +] +``` + +### POST /find-not-approved-id-and-amount + +Returns ids and amount values of rejected loan applications from the given facts: + +Example curl request (using the JSON from previous example): + +```sh +curl -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' -d '{"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}}, {"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}}, {"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}' http://localhost:8080/find-not-approved-id-and-amount +``` + +As response an array of loan application ids and amount values is returned. + +Example response: + +```json +[ + { + "$amount": 5000, + "$id": "ABC10002" + }, + { + "$amount": 1000, + "$id": "ABC10015" + } +] +``` diff --git a/examples/decisiontable-quarkus-example/env/index.js b/examples/decisiontable-quarkus-example/env/index.js new file mode 100644 index 00000000000..adcb8189d98 --- /dev/null +++ b/examples/decisiontable-quarkus-example/env/index.js @@ -0,0 +1,31 @@ +/* + * 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. + */ + +const { varsWithName, composeEnv, getOrDefault } = require("@kie-tools-scripts/build-env"); + +module.exports = composeEnv([require("@kie-tools/root-env/env")], { + vars: varsWithName({}), + get env() { + return { + decisiontableQuarkusExample: { + version: require("../package.json").version, + }, + }; + }, +}); diff --git a/examples/decisiontable-quarkus-example/install.js b/examples/decisiontable-quarkus-example/install.js new file mode 100644 index 00000000000..5d602f65caf --- /dev/null +++ b/examples/decisiontable-quarkus-example/install.js @@ -0,0 +1,27 @@ +/* + * 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. + */ + +const buildEnv = require("./env"); +const { setup } = require("@kie-tools/maven-config-setup-helper"); + +setup(` + -Drevision=${buildEnv.env.decisiontableQuarkusExample.version} + -Dquarkus.platform.version=${buildEnv.env.quarkusPlatform.version} + -Dversion.org.kie.kogito=${buildEnv.env.kogitoRuntime.version} +`); diff --git a/examples/decisiontable-quarkus-example/package.json b/examples/decisiontable-quarkus-example/package.json new file mode 100644 index 00000000000..8e01e58c8da --- /dev/null +++ b/examples/decisiontable-quarkus-example/package.json @@ -0,0 +1,41 @@ +{ + "private": true, + "name": "@kie-tools-examples/decisiontable-quarkus-example", + "version": "0.0.0", + "description": "", + "license": "Apache-2.0", + "homepage": "https://github.com/apache/incubator-kie-tools", + "repository": { + "type": "git", + "url": "https://github.com/apache/incubator-kie-tools.git" + }, + "bugs": { + "url": "https://github.com/apache/incubator-kie-tools/issues" + }, + "scripts": { + "build:dev": "run-script-os", + "build:dev:darwin:linux": "mvn clean package -DskipTests", + "build:dev:win32": "pnpm powershell \"mvn clean package -DskipTests \"", + "build:prod": "pnpm lint && run-script-os", + "build:prod:darwin:linux": "mvn clean package -DskipTests=$(build-env tests.run --not) -Dmaven.test.failure.ignore=$(build-env tests.ignoreFailures)", + "build:prod:win32": "pnpm powershell \"mvn clean package `-DskipTests `-Dmaven.test.failure.ignore=$(build-env tests.ignoreFailures)\"", + "install": "node install.js", + "lint": "echo 'Linting'", + "powershell": "@powershell -NoProfile -ExecutionPolicy Unrestricted -Command", + "quarkus:dev": "run-script-os", + "quarkus:dev:darwin:linux": "mvn clean package quarkus:dev -DskipTests", + "quarkus:dev:win32": "mvn clean package quarkus:dev -DskipTests", + "start": "pnpm quarkus:dev" + }, + "devDependencies": { + "@kie-tools/maven-config-setup-helper": "workspace:*", + "@kie-tools/root-env": "workspace:*", + "run-script-os": "^1.1.6" + }, + "kieTools": { + "requiredPreinstalledCliCommands": [ + "java", + "mvn" + ] + } +} \ No newline at end of file diff --git a/examples/decisiontable-quarkus-example/pom.xml b/examples/decisiontable-quarkus-example/pom.xml new file mode 100644 index 00000000000..2029cbbf977 --- /dev/null +++ b/examples/decisiontable-quarkus-example/pom.xml @@ -0,0 +1,134 @@ + + + + 4.0.0 + + org.apache.kie.examples + kie-tools-quarkus-examples-parent + ${revision} + ../kie-tools-quarkus-examples-parent/pom.xml + + decisiontable-quarkus-example + Kogito Example :: Decision Table - Quarkus + + ${quarkus.platform.version} + quarkus-bom + io.quarkus + ${quarkus.platform.version} + org.kie.kogito + kogito-bom + ${version.org.kie.kogito} + ${version.org.kie.kogito} + 999-SNAPSHOT + + + + + ${quarkus.platform.group-id} + ${quarkus.platform.artifact-id} + ${quarkus.platform.version} + pom + import + + + ${kogito.bom.group-id} + ${kogito.bom.artifact-id} + ${kogito.bom.version} + pom + import + + + org.drools + drools-bom + ${version.org.drools} + pom + import + + + + + + org.drools + drools-quarkus-rules + ${version.org.drools} + + + io.quarkus + quarkus-resteasy-jackson + + + io.quarkus + quarkus-resteasy + + + io.quarkus + quarkus-arc + + + io.quarkus + quarkus-smallrye-openapi + + + org.kie.kogito + kogito-drools + + + org.drools + drools-decisiontables + + + io.quarkus + quarkus-junit5 + test + + + io.rest-assured + rest-assured + test + + + io.quarkus + quarkus-smallrye-health + + + + ${project.artifactId} + + + ${quarkus.platform.group-id} + quarkus-maven-plugin + ${quarkus-plugin.version} + + + + build + + + + + + + diff --git a/examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/Applicant.java b/examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/Applicant.java new file mode 100644 index 00000000000..25d1c54e648 --- /dev/null +++ b/examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/Applicant.java @@ -0,0 +1,49 @@ +/* + * 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.queries; + +public class Applicant { + + private String name; + private int age; + + public Applicant() { + } + + public Applicant(String name, int age) { + this.name = name; + this.age = age; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public int getAge() { + return age; + } + + public void setAge(int age) { + this.age = age; + } +} diff --git a/examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanApplication.java b/examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanApplication.java new file mode 100644 index 00000000000..8697730bd34 --- /dev/null +++ b/examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanApplication.java @@ -0,0 +1,83 @@ +/* + * 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.queries; + +public class LoanApplication { + + private String id; + + private Applicant applicant; + + private int amount; + + private int deposit; + + private boolean approved = false; + + public LoanApplication() { + } + + public LoanApplication(String id, Applicant applicant, int amount, int deposit) { + this.id = id; + this.applicant = applicant; + this.amount = amount; + this.deposit = deposit; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Applicant getApplicant() { + return applicant; + } + + public void setApplicant(Applicant applicant) { + this.applicant = applicant; + } + + public boolean isApproved() { + return approved; + } + + public void setApproved(boolean approved) { + this.approved = approved; + } + + public int getAmount() { + return amount; + } + + public void setAmount(int amount) { + this.amount = amount; + } + + public int getDeposit() { + return deposit; + } + + public void setDeposit(int deposit) { + this.deposit = deposit; + } + +} diff --git a/examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanUnit.java b/examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanUnit.java new file mode 100644 index 00000000000..0aa22342021 --- /dev/null +++ b/examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanUnit.java @@ -0,0 +1,55 @@ +/* + * 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.queries; + +import org.drools.ruleunits.api.DataSource; +import org.drools.ruleunits.api.DataStore; +import org.drools.ruleunits.api.RuleUnitData; + +public class LoanUnit implements RuleUnitData { + + private int maxAmount; + + private DataStore loanApplications; + + public LoanUnit() { + this(DataSource.createStore()); + } + + public LoanUnit(DataStore loanApplications) { + this.loanApplications = loanApplications; + } + + public DataStore getLoanApplications() { + return loanApplications; + } + + public void setLoanApplications(DataStore loanApplications) { + this.loanApplications = loanApplications; + } + + public int getMaxAmount() { + return maxAmount; + } + + public void setMaxAmount(int maxAmount) { + this.maxAmount = maxAmount; + } + +} diff --git a/examples/decisiontable-quarkus-example/src/main/resources/application.properties b/examples/decisiontable-quarkus-example/src/main/resources/application.properties new file mode 100644 index 00000000000..a76c2a39bb8 --- /dev/null +++ b/examples/decisiontable-quarkus-example/src/main/resources/application.properties @@ -0,0 +1,23 @@ +# +# 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. +# + +# Packaging +# quarkus.package.type=fast-jar + +quarkus.swagger-ui.always-include=true \ No newline at end of file diff --git a/examples/decisiontable-quarkus-example/src/main/resources/org/kie/kogito/queries/LoanUnit.drl.xls b/examples/decisiontable-quarkus-example/src/main/resources/org/kie/kogito/queries/LoanUnit.drl.xls new file mode 100644 index 0000000000000000000000000000000000000000..cfa4b8db5f3d0134512e113f8531fb4b2eaaeed8 GIT binary patch literal 12288 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 z + + + 4.0.0 + + + org.apache.kie.examples + kie-tools-examples-parent + ${revision} + ../pom.xml + + + kie-tools-quarkus-examples-parent + pom + KIE-Tools Example :: Quarkus + + + org.kie.kogito.examples.quarkus + + 0 + + fast-jar + + + + + default + + true + + + decisiontable-quarkus-example + dmn-drools-quarkus-metrics + dmn-event-driven-quarkus + dmn-incubation-api-quarkus + dmn-knative-quickstart-quarkus + dmn-listener-quarkus + dmn-listener-dtable + dmn-pmml-quarkus-example + dmn-quarkus-example + dmn-resource-jar-quarkus-example + dmn-multiple-models-quarkus-example + dmn-tracing-quarkus + flexible-process-quarkus + kogito-travel-agency + onboarding-example + pmml-event-driven-quarkus + pmml-incubation-api-quarkus + pmml-quarkus-example + process-business-rules-quarkus + process-decisions-quarkus + process-decisions-rest-quarkus + process-decisions-rules-quarkus + process-error-handling + process-incubation-api-quarkus + process-infinispan-persistence-quarkus + process-kafka-avro-multi-quarkus + process-kafka-multi-quarkus + process-kafka-persistence-quarkus + process-kafka-quickstart-quarkus + process-knative-quickstart-quarkus + process-mongodb-persistence-quarkus + process-monitoring-quarkus + process-outbox-mongodb-quarkus + process-performance-client + process-performance-quarkus + process-postgresql-persistence-quarkus + process-quarkus-example + process-rest-service-call-quarkus + process-rest-workitem-multi-quarkus + process-rest-workitem-quarkus + process-scripts-quarkus + process-saga-quarkus + process-service-calls-quarkus + process-timer-quarkus + process-usertasks-custom-lifecycle-quarkus + process-usertasks-quarkus-with-console + process-usertasks-quarkus + process-usertasks-timer-quarkus-with-console + process-usertasks-timer-data-index-persistence-addon-quarkus + process-usertasks-with-security-oidc-quarkus-with-console + process-usertasks-with-security-oidc-quarkus + process-usertasks-with-security-quarkus + rules-incubation-api-quarkus + rules-legacy-quarkus-example + rules-quarkus-helloworld + ruleunit-event-driven-quarkus + ruleunit-quarkus-example + trusty-tracing-quarkus-devservices + + + + + native + + **/Native*IT.java + + native + 8g + + 8080 + + + + native + + + + decisiontable-quarkus-example + dmn-drools-quarkus-metrics + dmn-event-driven-quarkus + dmn-knative-quickstart-quarkus + dmn-listener-quarkus + dmn-pmml-quarkus-example + dmn-quarkus-example + dmn-tracing-quarkus + flexible-process-quarkus + kogito-travel-agency + onboarding-example + pmml-event-driven-quarkus + pmml-quarkus-example + process-business-rules-quarkus + process-infinispan-persistence-quarkus + process-kafka-persistence-quarkus + process-kafka-quickstart-quarkus + process-knative-quickstart-quarkus + process-mongodb-persistence-quarkus + process-monitoring-quarkus + process-outbox-mongodb-quarkus + process-postgresql-persistence-quarkus + process-quarkus-example + process-rest-service-call-quarkus + process-rest-workitem-multi-quarkus + process-rest-workitem-quarkus + process-scripts-quarkus + process-service-calls-quarkus + process-timer-quarkus + process-usertasks-custom-lifecycle-quarkus + process-usertasks-quarkus-with-console + process-usertasks-quarkus + process-usertasks-timer-quarkus-with-console + process-usertasks-with-security-oidc-quarkus-with-console + process-usertasks-with-security-oidc-quarkus + process-usertasks-with-security-quarkus + rules-quarkus-helloworld + ruleunit-event-driven-quarkus + ruleunit-quarkus-example + + + + + kogito-apps-downstream + + + kogito-apps + + + + trusty-tracing-quarkus-devservices + + + + + kogito-apps-downstream-native + + + kogito-apps-native + + + + **/Native*IT.java + + native + 8g + + 8080 + + + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + ${version.surefire.plugin} + + + org.jboss.logmanager.LogManager + + + + + org.apache.maven.plugins + maven-failsafe-plugin + ${version.surefire.plugin} + + + org.jboss.logmanager.LogManager + ${tests.quarkus.http.port} + + + + + + + + diff --git a/examples/pom.xml b/examples/pom.xml new file mode 100755 index 00000000000..a4d5685ee6b --- /dev/null +++ b/examples/pom.xml @@ -0,0 +1,457 @@ + + + + + 4.0.0 + + org.apache.kie.examples + kie-tools-examples-parent + ${revision} + pom + + KIE-Tools Example + KIE-Tools Example + + http://kogito.kie.org + 2019 + + JBoss by Red Hat + http://www.jboss.org/ + + + + Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + UTF-8 + + ${version.org.kie.kogito} + + 1 + **/*IT.java + **/Native*IT.java + false + + UTF-8 + UTF-8 + + 1.5.0 + + 1.4.0 + + 4.5.3 + + 3.3.1 + + 2024-01-16T00:00:00Z + 3.4.1 + + + 17 + 17 + 17 + 3.9.6 + 17 + 3.0.0-M2 + 3.1.0 + 3.0.1 + 3.0.0-M5 + 3.12.1 + 2.8.2 + + + + + + apache-release-staging-repository + Apache Release Staging Repository + https://repository.apache.org/service/local/staging/deploy/maven2 + + + apache-snapshots-repository + Apache Snapshot Repository + https://repository.apache.org/content/repositories/snapshots/ + + + + + + + apache-public-repository-group + Apache Public Repository Group + https://repository.apache.org/content/groups/public/ + default + + true + never + + + true + daily + + + + + + + + central + Central Repository + https://repo.maven.apache.org/maven2 + default + + false + + + + apache-public-repository-group + Apache Public Repository Group + https://repository.apache.org/content/groups/public/ + + true + + + true + + + + + + scm:git:https://github.com/apache/incubator-kie-kogito-examples.git + scm:git:git@github.com:apache/incubator-kie-kogito-examples.git + https://github.com/apache/incubator-kie-kogito-examples + + + + + All developers are listed in the KIE GitHub organization + https://github.com/orgs/kiegroup/people + + + + + + default + + true + + + kogito-quarkus-examples + kogito-springboot-examples + serverless-workflow-examples + + + + + + + + org.webjars + bootstrap + ${version.org.webjars} + runtime + + + org.skyscreamer + jsonassert + ${version.org.skyscreamer} + test + + + org.kie.kogito + kogito-test-utils + ${version.org.kie.kogito} + + + + + + + + + org.apache.maven.plugins + maven-resources-plugin + 2.5 + + + add-it-resources + pre-integration-test + + copy-resources + + + ${project.build.directory}/test-run/META-INF + + + target/classes/META-INF + + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + ${version.surefire.plugin} + + ${surefire.forkCount} + true + + ${failsafe.include} + + + ${failsafe.exclude} + + + ${tests.category} + ${enable.resource.infinispan} + ${enable.resource.kafka} + ${enable.resource.postgresql} + ${enable.resource.mongodb} + ${container.image.keycloak} + ${container.image.infinispan} + ${container.image.kafka} + ${project.build.directory}/${project.build.finalName}-runner + + ${project.build.outputDirectory} + ${project.build.directory}/test-run + + + + + integration-test + verify + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + ${version.enforcer.plugin} + + + enforce-versions + + enforce + + + + + ${version.maven} + + + ${maven.compiler.release} + + + + + + + + maven-deploy-plugin + ${version.deploy.plugin} + + 10 + + + + maven-compiler-plugin + ${version.compiler.plugin} + + ${maven.compiler.release} + + + + org.apache.maven.plugins + maven-surefire-plugin + ${version.surefire.plugin} + + ${surefire.forkCount} + true + hourly + + ${tests.category} + + + + + + org.apache.maven.plugins + maven-jar-plugin + ${version.jar.plugin} + + + default-jar + + + + ${java.module.name} + + + + + + + test-jar + + test-jar + + + true + + **/logback-test.xml + **/jndi.properties + + + + ${java.module.name}.tests + ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi.snapshot.qualifier} + ${project.name} + ${project.organization.name} + + + + + + + + + true + true + + + + + + org.apache.maven.plugins + maven-source-plugin + ${version.source.plugin} + + + attach-sources + + jar-no-fork + + + + + 2 + ${java.module.name}.source + ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi.snapshot.qualifier} + ${project.name} + ${project.organization.name} + + ${java.module.name};version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi.snapshot.qualifier}";roots:="." + + + + + + + attach-test-sources + + test-jar-no-fork + + + + + 2 + ${java.module.name}.tests.source + ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi.snapshot.qualifier} + ${project.name} + ${project.organization.name} + + ${java.module.name}.tests;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi.snapshot.qualifier}";roots:="." + + + + + + + + + + org.eclipse.jkube + kubernetes-maven-plugin + ${version.org.eclipse.jkube} + + + org.eclipse.jkube + openshift-maven-plugin + ${version.org.eclipse.jkube} + + + org.apache.maven.plugins + maven-artifact-plugin + ${version.maven.artifact.plugin} + + ${project.build.outputTimestamp} + + + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + + + + org.apache.maven.plugins + maven-jar-plugin + + + + org.apache.maven.plugins + maven-source-plugin + + + org.apache.maven.plugins + maven-surefire-plugin + + + org.apache.maven.plugins + maven-failsafe-plugin + + + + + diff --git a/examples/sonataflow-examples-parent/pom.xml b/examples/sonataflow-examples-parent/pom.xml index 83b26e0bb82..762b76b032a 100644 --- a/examples/sonataflow-examples-parent/pom.xml +++ b/examples/sonataflow-examples-parent/pom.xml @@ -1,4 +1,4 @@ - + - + 4.0.0 - org.apache.kie.sonataflow.examples + org.apache.kie.sonataflow.examples sonataflow-examples-parent - ${revision} + ${revision} pom KIE-Tools Example :: SonataFlow Examples :: Parent diff --git a/examples/sonataflow-greeting-quarkus/install.js b/examples/sonataflow-greeting-quarkus/install.js index d90e570ffcd..d0be5a6e7a5 100644 --- a/examples/sonataflow-greeting-quarkus/install.js +++ b/examples/sonataflow-greeting-quarkus/install.js @@ -23,4 +23,5 @@ const { setup } = require("@kie-tools/maven-config-setup-helper"); setup(` -Drevision=${buildEnv.env.sonataflowGreetingQuarkus.version} -Dquarkus.platform.version=${buildEnv.env.quarkusPlatform.version} + -Dversion.org.kie.kogito=${buildEnv.env.kogitoRuntime.version} `); diff --git a/examples/sonataflow-greeting-quarkus/package.json b/examples/sonataflow-greeting-quarkus/package.json index 59f0ebc7412..eec1ace90c0 100644 --- a/examples/sonataflow-greeting-quarkus/package.json +++ b/examples/sonataflow-greeting-quarkus/package.json @@ -30,7 +30,7 @@ "devDependencies": { "@kie-tools/maven-config-setup-helper": "workspace:*", "@kie-tools/root-env": "workspace:*", - "@kie-tools/serverless-workflow-dev-ui-webapp": "workspace:*", + "@kie-tools/sonataflow-quarkus-devui-extension-parent": "workspace:*", "run-script-os": "^1.1.6" }, "kieTools": { diff --git a/examples/sonataflow-greeting-quarkus/pom.xml b/examples/sonataflow-greeting-quarkus/pom.xml index 1ae6f7c5b39..16d2f5473d9 100644 --- a/examples/sonataflow-greeting-quarkus/pom.xml +++ b/examples/sonataflow-greeting-quarkus/pom.xml @@ -1,4 +1,4 @@ - + - + 4.0.0 @@ -43,9 +46,9 @@ io.quarkus org.kie.kogito kogito-bom - 999-SNAPSHOT + ${version.org.kie.kogito} 17 - 3.8.1 + 3.12.1 3.0.0-M7 @@ -87,11 +90,12 @@ org.apache.kie.sonataflow sonataflow-quarkus-devui-extension - 0.0.0 + ${revision} org.kie kie-addons-quarkus-source-files + 999-SNAPSHOT io.quarkus diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d9e2997ff4d..ac67eb1bb82 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -241,6 +241,18 @@ importers: specifier: ^1.1.6 version: 1.1.6 + examples/decisiontable-quarkus-example: + devDependencies: + "@kie-tools/maven-config-setup-helper": + specifier: workspace:* + version: link:../../packages/maven-config-setup-helper + "@kie-tools/root-env": + specifier: workspace:* + version: link:../../packages/root-env + run-script-os: + specifier: ^1.1.6 + version: 1.1.6 + examples/ping-pong-view: dependencies: "@kie-tools-core/envelope": @@ -390,9 +402,9 @@ importers: "@kie-tools/root-env": specifier: workspace:* version: link:../../packages/root-env - "@kie-tools/serverless-workflow-dev-ui-webapp": + "@kie-tools/sonataflow-quarkus-devui-extension-parent": specifier: workspace:* - version: link:../../packages/serverless-workflow-dev-ui-webapp + version: link:../../packages/sonataflow-quarkus-devui-extension-parent run-script-os: specifier: ^1.1.6 version: 1.1.6 diff --git a/repo/graph.dot b/repo/graph.dot index 12168b9f92f..834ce8beb5a 100644 --- a/repo/graph.dot +++ b/repo/graph.dot @@ -17,12 +17,14 @@ digraph G { "@kie-tools-core/vscode-extension" [ color = "purple", fontcolor = "purple", style = "rounded" ]; "@kie-tools-examples/commit-message-validation-service" [ color = "orange", fontcolor = "orange", style = "dashed, rounded" ]; "@kie-tools/root-env" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; + "@kie-tools-examples/decisiontable-quarkus-example" [ color = "orange", fontcolor = "orange", style = "dashed, rounded" ]; + "@kie-tools/maven-config-setup-helper" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; "@kie-tools-examples/ping-pong-view" [ color = "orange", fontcolor = "orange", style = "dashed, rounded" ]; "@kie-tools-core/envelope" [ color = "purple", fontcolor = "purple", style = "rounded" ]; "@kie-tools-examples/ping-pong-view-angular" [ color = "orange", fontcolor = "orange", style = "dashed, rounded" ]; "@kie-tools-examples/ping-pong-view-react" [ color = "orange", fontcolor = "orange", style = "dashed, rounded" ]; "@kie-tools-examples/sonataflow-greeting-quarkus" [ color = "orange", fontcolor = "orange", style = "dashed, rounded" ]; - "@kie-tools/serverless-workflow-dev-ui-webapp" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; + "@kie-tools/sonataflow-quarkus-devui-extension-parent" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; "@kie-tools-examples/todo-list-view" [ color = "orange", fontcolor = "orange", style = "dashed, rounded" ]; "kie-tools-examples-todo-list-view-vscode-extension" [ color = "orange", fontcolor = "orange", style = "dashed, rounded" ]; "@kie-tools-examples/uniforms-patternfly" [ color = "orange", fontcolor = "orange", style = "dashed, rounded" ]; @@ -56,7 +58,6 @@ digraph G { "@kie-tools/image-builder" [ color = "blue", fontcolor = "blue", style = "rounded" ]; "@kie-tools/dashbuilder" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; "@kie-tools/dashbuilder-component-assembler" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; - "@kie-tools/maven-config-setup-helper" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; "@kie-tools/dashbuilder-client" [ color = "blue", fontcolor = "blue", style = "rounded" ]; "@kie-tools/dashbuilder-component-api" [ color = "blue", fontcolor = "blue", style = "rounded" ]; "@kie-tools/dashbuilder-component-echarts" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; @@ -145,13 +146,13 @@ digraph G { "@kie-tools/serverless-workflow-diagram-editor-assets" [ color = "blue", fontcolor = "blue", style = "rounded" ]; "@kie-tools/serverless-workflow-text-editor" [ color = "blue", fontcolor = "blue", style = "rounded" ]; "@kie-tools/serverless-workflow-dev-ui-monitoring-webapp" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; + "@kie-tools/serverless-workflow-dev-ui-webapp" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; "@kie-tools/serverless-workflow-diagram-editor" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; "@kie-tools/serverless-workflow-diagram-editor-envelope" [ color = "blue", fontcolor = "blue", style = "rounded" ]; "@kie-tools/serverless-workflow-jq-expressions" [ color = "blue", fontcolor = "blue", style = "rounded" ]; "@kie-tools/serverless-workflow-service-catalog" [ color = "blue", fontcolor = "blue", style = "rounded" ]; "@kie-tools/serverless-workflow-language-service" [ color = "blue", fontcolor = "blue", style = "rounded" ]; "swf-vscode-extension" [ color = "blue", fontcolor = "blue", style = "rounded" ]; - "@kie-tools/sonataflow-quarkus-devui-extension-parent" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; "@kie-tools/stunner-editors-dmn-loader" [ color = "blue", fontcolor = "blue", style = "rounded" ]; "@kie-tools/unitables" [ color = "blue", fontcolor = "blue", style = "rounded" ]; "vscode-extension-dashbuilder-editor" [ color = "blue", fontcolor = "blue", style = "rounded" ]; @@ -177,10 +178,12 @@ digraph G { "kie-tools-examples-base64png-editor-vscode-extension" -> "@kie-tools-examples/base64png-editor" [ style = "solid", color = "orange" ]; "kie-tools-examples-base64png-editor-vscode-extension" -> "@kie-tools-core/webpack-base" [ style = "dashed", color = "orange" ]; "@kie-tools-examples/commit-message-validation-service" -> "@kie-tools/root-env" [ style = "dashed", color = "orange" ]; + "@kie-tools-examples/decisiontable-quarkus-example" -> "@kie-tools/maven-config-setup-helper" [ style = "dashed", color = "orange" ]; + "@kie-tools-examples/decisiontable-quarkus-example" -> "@kie-tools/root-env" [ style = "dashed", color = "orange" ]; "@kie-tools-examples/ping-pong-view" -> "@kie-tools-core/envelope" [ style = "solid", color = "orange" ]; "@kie-tools-examples/ping-pong-view-angular" -> "@kie-tools-examples/ping-pong-view" [ style = "solid", color = "orange" ]; "@kie-tools-examples/ping-pong-view-react" -> "@kie-tools-examples/ping-pong-view" [ style = "solid", color = "orange" ]; - "@kie-tools-examples/sonataflow-greeting-quarkus" -> "@kie-tools/serverless-workflow-dev-ui-webapp" [ style = "dashed", color = "orange" ]; + "@kie-tools-examples/sonataflow-greeting-quarkus" -> "@kie-tools/sonataflow-quarkus-devui-extension-parent" [ style = "dashed", color = "orange" ]; "@kie-tools-examples/todo-list-view" -> "@kie-tools-core/envelope" [ style = "solid", color = "orange" ]; "kie-tools-examples-todo-list-view-vscode-extension" -> "@kie-tools-core/vscode-extension" [ style = "solid", color = "orange" ]; "kie-tools-examples-todo-list-view-vscode-extension" -> "@kie-tools-examples/todo-list-view" [ style = "solid", color = "orange" ]; diff --git a/repo/graph.json b/repo/graph.json index 697ac3684cc..3be95fd3574 100644 --- a/repo/graph.json +++ b/repo/graph.json @@ -22,14 +22,15 @@ { "id": "@kie-tools-core/vscode-extension" }, { "id": "@kie-tools-core/vscode-java-code-completion" }, { "id": "@kie-tools-examples/commit-message-validation-service" }, + { "id": "@kie-tools-examples/decisiontable-quarkus-example" }, + { "id": "@kie-tools/maven-config-setup-helper" }, { "id": "@kie-tools-examples/ping-pong-view" }, { "id": "@kie-tools-core/envelope-bus" }, { "id": "@kie-tools-examples/ping-pong-view-angular" }, { "id": "@kie-tools-examples/ping-pong-view-react" }, { "id": "@kie-tools-examples/sonataflow-greeting-quarkus" }, + { "id": "@kie-tools/sonataflow-quarkus-devui-extension-parent" }, { "id": "@kie-tools/serverless-workflow-dev-ui-webapp" }, - { "id": "@kie-tools/runtime-tools-webapp-components" }, - { "id": "@kie-tools/serverless-workflow-dev-ui-monitoring-webapp" }, { "id": "@kie-tools-examples/todo-list-view" }, { "id": "kie-tools-examples-todo-list-view-vscode-extension" }, { "id": "@kie-tools-examples/uniforms-patternfly" }, @@ -59,7 +60,6 @@ { "id": "bpmn-vscode-extension" }, { "id": "@kie-tools/vscode-java-code-completion-extension-plugin" }, { "id": "@kie-tools/pmml-editor-marshaller" }, - { "id": "@kie-tools/maven-config-setup-helper" }, { "id": "@kie-tools/stunner-editors-dmn-loader" }, { "id": "chrome-extension-pack-kogito-kie-editors" }, { "id": "@kie-tools/chrome-extension-test-helper" }, @@ -135,6 +135,7 @@ { "id": "@kie-tools/runtime-tools-components" }, { "id": "@kie-tools/runtime-tools-gateway-api" }, { "id": "@kie-tools/runtime-tools-enveloped-components" }, + { "id": "@kie-tools/runtime-tools-webapp-components" }, { "id": "@kie-tools/scesim-editor" }, { "id": "@kie-tools/scesim-marshaller" }, { "id": "@kie-tools/serverless-logic-web-tools" }, @@ -153,10 +154,10 @@ { "id": "@kie-tools/serverless-workflow-diagram-editor" }, { "id": "@kie-tools/serverless-workflow-diagram-editor-envelope" }, { "id": "@kie-tools/serverless-workflow-language-service" }, + { "id": "@kie-tools/serverless-workflow-dev-ui-monitoring-webapp" }, { "id": "@kie-tools/serverless-workflow-jq-expressions" }, { "id": "@kie-tools/serverless-workflow-service-catalog" }, { "id": "swf-vscode-extension" }, - { "id": "@kie-tools/sonataflow-quarkus-devui-extension-parent" }, { "id": "vscode-extension-dashbuilder-editor" }, { "id": "vscode-extension-kie-ba-bundle" }, { "id": "vscode-extension-kogito-bundle" }, @@ -227,6 +228,12 @@ "target": "@kie-tools/root-env", "weight": 1 }, + { + "source": "@kie-tools-examples/decisiontable-quarkus-example", + "target": "@kie-tools/maven-config-setup-helper", + "weight": 1 + }, + { "source": "@kie-tools-examples/decisiontable-quarkus-example", "target": "@kie-tools/root-env", "weight": 1 }, { "source": "@kie-tools-examples/ping-pong-view", "target": "@kie-tools-core/envelope", "weight": 1 }, { "source": "@kie-tools-core/envelope-bus", "target": "@kie-tools/eslint", "weight": 1 }, { "source": "@kie-tools-core/envelope-bus", "target": "@kie-tools/root-env", "weight": 1 }, @@ -243,6 +250,11 @@ }, { "source": "@kie-tools-examples/sonataflow-greeting-quarkus", + "target": "@kie-tools/sonataflow-quarkus-devui-extension-parent", + "weight": 1 + }, + { + "source": "@kie-tools/sonataflow-quarkus-devui-extension-parent", "target": "@kie-tools/serverless-workflow-dev-ui-webapp", "weight": 1 }, @@ -256,16 +268,6 @@ "target": "@kie-tools/serverless-workflow-dev-ui-monitoring-webapp", "weight": 1 }, - { - "source": "@kie-tools/runtime-tools-webapp-components", - "target": "@kie-tools/runtime-tools-enveloped-components", - "weight": 1 - }, - { - "source": "@kie-tools/serverless-workflow-dev-ui-monitoring-webapp", - "target": "@kie-tools/dashbuilder-client", - "weight": 1 - }, { "source": "@kie-tools-examples/todo-list-view", "target": "@kie-tools-core/envelope", "weight": 1 }, { "source": "kie-tools-examples-todo-list-view-vscode-extension", @@ -836,6 +838,11 @@ "target": "@kie-tools/serverless-workflow-combined-editor", "weight": 1 }, + { + "source": "@kie-tools/runtime-tools-webapp-components", + "target": "@kie-tools/runtime-tools-enveloped-components", + "weight": 1 + }, { "source": "@kie-tools/scesim-editor", "target": "@kie-tools/boxed-expression-component", "weight": 1 }, { "source": "@kie-tools/scesim-editor", "target": "@kie-tools/scesim-marshaller", "weight": 1 }, { "source": "@kie-tools/scesim-marshaller", "target": "@kie-tools/xml-parser-ts-codegen", "weight": 1 }, @@ -951,6 +958,11 @@ "target": "@kie-tools/serverless-workflow-jq-expressions", "weight": 1 }, + { + "source": "@kie-tools/serverless-workflow-dev-ui-monitoring-webapp", + "target": "@kie-tools/dashbuilder-client", + "weight": 1 + }, { "source": "@kie-tools/serverless-workflow-jq-expressions", "target": "@kie-tools/serverless-workflow-service-catalog", @@ -970,11 +982,6 @@ "weight": 1 }, { "source": "swf-vscode-extension", "target": "@kie-tools/vscode-extension-common-test-helpers", "weight": 1 }, - { - "source": "@kie-tools/sonataflow-quarkus-devui-extension-parent", - "target": "@kie-tools/serverless-workflow-dev-ui-webapp", - "weight": 1 - }, { "source": "vscode-extension-dashbuilder-editor", "target": "@kie-tools-core/vscode-extension", "weight": 1 }, { "source": "vscode-extension-dashbuilder-editor", @@ -1007,6 +1014,7 @@ ["@kie-tools-examples/base64png-editor-chrome-extension", "examples/base64png-editor-chrome-extension"], ["kie-tools-examples-base64png-editor-vscode-extension", "examples/base64png-editor-vscode-extension"], ["@kie-tools-examples/commit-message-validation-service", "examples/commit-message-validation-service"], + ["@kie-tools-examples/decisiontable-quarkus-example", "examples/decisiontable-quarkus-example"], ["@kie-tools-examples/ping-pong-view", "examples/ping-pong-view"], ["@kie-tools-examples/ping-pong-view-angular", "examples/ping-pong-view-angular"], ["@kie-tools-examples/ping-pong-view-react", "examples/ping-pong-view-react"],