You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by kb...@apache.org on 2026/04/29 15:11:05 UTC

(incubator-kie-sandbox-quarkus-accelerator) branch 10.2.x created (now f4abac2)

This is an automated email from the ASF dual-hosted git repository.

kbowers-ibm pushed a change to branch 10.2.x
in repository https://gitbox.apache.org/repos/asf/incubator-kie-sandbox-quarkus-accelerator.git


      at f4abac2  Apache KIE 10.2.0

This branch includes the following new commits:

     new f4abac2  Apache KIE 10.2.0

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


(incubator-kie-sandbox-quarkus-accelerator) 01/01: Apache KIE 10.2.0

Posted by kb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kbowers-ibm pushed a commit to branch 10.2.x
in repository https://gitbox.apache.org/repos/asf/incubator-kie-sandbox-quarkus-accelerator.git

commit f4abac2b73e97617118b507b7a2457b608838a0b
Author: Kbowers <ke...@ibm.com>
AuthorDate: Wed Apr 29 17:10:34 2026 +0200

    Apache KIE 10.2.0
---
 README.md                                 |  38 ++---
 pom.xml                                   | 271 ++++++++++++++++++++++++++++++
 src/main/resources/application.properties | 118 +++++++++++++
 3 files changed, 407 insertions(+), 20 deletions(-)

diff --git a/README.md b/README.md
index a4ae114..ae9a113 100644
--- a/README.md
+++ b/README.md
@@ -1,22 +1,20 @@
-# KIE Sandbox Quarkus Accelerator
+<!--
+   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.
+-->
 
-This git repository contains all the files necessary to run a Quarkus application with .DMN and .BPMN files.
+# Apache KIE Sandbox Quarkus Accelerator
 
-On KIE Sandbox it's used as an Accelerator, to be applied to a set of Decision and Workflow files, making it fully buildable and deployable.
-
-## Branches
-- `main`: Should not be used.
-- `0.0.0`: The latest version of this Accelerator. Pull requests should point to this branch and new tags are generated from it on each release.
-- `template`: Legacy branch with a Quarkus template, created before the concept of Accelerators was implemented in KIE Sandbox.
-
-## Tags
-Tags are generated alongside [kie-tools](https://github.com/apache/incubator-kie-tools/) releases and match the latest version released (i.e. `0.27.0`).
-
-## Using this Accelerator on KIE Sandbox
-  - Go to [KIE Sandbox](https://sandbox.kie.org);
-  - Create your Decision and/or Workflow files;
-  - Click on `Add Accelerator` and select `Quarkus...`;
-  - Click `Apply`;
-  - When the Accelerator is successfully applied to your set of files, create a git repository from it (if not created already);
-  - Clone it to your local environment;
-  - Run with `mvn quarkus:dev`.
+Welcome to your Apache KIE Sandbox Quarkus Accelerator project!
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..6f70140
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,271 @@
+<?xml version="1.0"?>
+<!--
+  ~ 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.      
+-->
+<project
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
+  xmlns="http://maven.apache.org/POM/4.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+>
+  <modelVersion>4.0.0</modelVersion>
+
+  <!-- TODO: Update groupId, artifactId, and version -->
+  <groupId>org.acme.your-groupId</groupId>
+  <artifactId>your-artifactId</artifactId>
+  <version>1.0-SNAPSHOT</version>
+
+  <repositories>
+    <!--
+      Duplicating the Maven Central repository here (as it is already coming from Super POM)
+      makes the build much faster, as the Maven Central is now treated as the first (default) repository
+      (because it is before the Apache Nexus one).
+
+      Artifacts with release (fixed) versions are being downloaded primarily from there. Without
+      `central` being the first repository, Apache Nexus would be contacted first and since it is quite
+      slow it slows down the build.
+      
+      We use Apache repo only to download development SNAPSHOTs.
+
+      TODO: Feel free to remove this if you don't need it.
+    -->
+    <repository>
+      <id>central</id>
+      <name>Central Repository</name>
+      <url>https://repo.maven.apache.org/maven2</url>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+    </repository>
+    <repository>
+      <id>apache.snapshots</id>
+      <name>Apache Snapshot Repository</name>
+      <url>https://repository.apache.org/snapshots</url>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <snapshots>
+        <enabled>false</enabled>
+        <updatePolicy>never</updatePolicy>
+      </snapshots>
+    </repository>
+  </repositories>
+
+  <properties>
+    <maven.compiler.release>17</maven.compiler.release>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+
+    <!-- Versions -->
+    <version.quarkus>3.27.2</version.quarkus>
+    <version.kogito>10.2.0</version.kogito>
+    <version.jbpm-quarkus-devui-bom>10.2.0</version.jbpm-quarkus-devui-bom>
+  </properties>
+
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>io.quarkus.platform</groupId>
+        <artifactId>quarkus-bom</artifactId>
+        <version>${version.quarkus}</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+
+      <dependency>
+        <groupId>org.kie.kogito</groupId>
+        <artifactId>kogito-bom</artifactId>
+        <version>${version.kogito}</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.kie.kogito</groupId>
+        <artifactId>kogito-quarkus-bom</artifactId>
+        <version>${version.kogito}</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.kie.kogito</groupId>
+        <artifactId>kogito-kie-bom</artifactId>
+        <version>${version.kogito}</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.kie.kogito</groupId>
+        <artifactId>kogito-apps-bom</artifactId>
+        <version>${version.kogito}</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.drools</groupId>
+        <artifactId>drools-bom</artifactId>
+        <version>${version.kogito}</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm</groupId>
+        <artifactId>jbpm-quarkus-devui-bom</artifactId>
+        <version>${version.jbpm-quarkus-devui-bom}</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
+  <dependencies>
+    <!-- Kogito core -->
+    <dependency>
+      <groupId>org.jbpm</groupId>
+      <artifactId>jbpm-with-drools-quarkus</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.kie</groupId>
+      <artifactId>kie-addons-quarkus-process-management</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.kie</groupId>
+      <artifactId>kogito-addons-quarkus-jobs-management</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.kie</groupId>
+      <artifactId>kie-addons-quarkus-process-svg</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.kie</groupId>
+      <artifactId>kie-addons-quarkus-source-files</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.kie</groupId>
+      <artifactId>kogito-addons-quarkus-data-index-jpa</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.kie</groupId>
+      <artifactId>kogito-addons-quarkus-jobs</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.kie</groupId>
+      <artifactId>kogito-addons-quarkus-data-audit</artifactId>
+    </dependency>
+    <!-- Kogito persistence -->
+    <dependency>
+      <groupId>org.kie</groupId>
+      <artifactId>kie-addons-quarkus-persistence-jdbc</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.kie.kogito</groupId>
+      <artifactId>jobs-service-storage-jpa</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.kie</groupId>
+      <artifactId>kogito-addons-quarkus-data-audit-jpa</artifactId>
+    </dependency>
+    <!-- Kogito dev -->
+    <dependency>
+      <groupId>org.jbpm</groupId>
+      <artifactId>jbpm-quarkus-devui</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>io.quarkus</groupId>
+      <artifactId>quarkus-jdbc-h2</artifactId>
+    </dependency>
+
+
+    <!-- Quarkus -->
+    <dependency>
+      <groupId>io.quarkus</groupId>
+      <artifactId>quarkus-resteasy</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>io.quarkus</groupId>
+      <artifactId>quarkus-resteasy-jackson</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>io.quarkus</groupId>
+      <artifactId>quarkus-jdbc-postgresql</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>io.quarkus</groupId>
+      <artifactId>quarkus-agroal</artifactId>
+    </dependency>
+
+
+    <!-- Utils -->
+    <dependency>
+      <groupId>io.quarkus</groupId>
+      <artifactId>quarkus-smallrye-openapi</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>io.quarkus</groupId>
+      <artifactId>quarkus-smallrye-health</artifactId>
+    </dependency>
+
+
+    <!-- Tests -->
+    <dependency>
+      <groupId>io.quarkus</groupId>
+      <artifactId>quarkus-junit5</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>io.rest-assured</groupId>
+      <artifactId>rest-assured</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+
+    <!-- TODO: Add your dependencies here -->
+    <!-- ... -->
+  </dependencies>
+
+  <build>
+    <finalName>${project.artifactId}</finalName>
+    <plugins>
+      <plugin>
+        <groupId>io.quarkus</groupId>
+        <artifactId>quarkus-maven-plugin</artifactId>
+        <version>${version.quarkus}</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>build</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+  <profiles>
+    <profile>
+      <id>container</id>
+      <properties>
+        <quarkus.profile>container</quarkus.profile>
+      </properties>
+      <dependencies>
+        <dependency>
+          <groupId>io.quarkus</groupId>
+          <artifactId>quarkus-container-image-jib</artifactId>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
+</project>
\ No newline at end of file
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
new file mode 100644
index 0000000..e1a890b
--- /dev/null
+++ b/src/main/resources/application.properties
@@ -0,0 +1,118 @@
+# 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.
+
+###############
+# Persistence #
+###############
+
+
+# Tells the Kogito runtime what kind of persistence is configured.
+kogito.persistence.type=jdbc
+
+# Apache KIE provides a separate Flyway subsystem that allows Kogito's internal tables to be created and migrated
+# without interfering with your application's Flyway, if you're using it.
+#
+# This property enables/disables running this isolated Flyway mechanism automatically when the application starts.
+# If you want more control over when/how/who executes changes to your database, disable it and run the SQL scripts manually.
+%prod.kie.flyway.enabled=false
+
+%prod.quarkus.datasource.db-kind=postgresql
+%prod.quarkus.datasource.username=kogito-user
+%prod.quarkus.datasource.password=kogito-pass
+%prod.quarkus.datasource.jdbc.url=${QUARKUS_DATASOURCE_JDBC_URL:jdbc:postgresql://0.0.0.0:5432/kogito}
+%prod.quarkus.datasource.reactive.url=${QUARKUS_DATASOURCE_REACTIVE_URL:postgresql://0.0.0.0:5432/kogito}
+
+# Dev
+%dev.kie.flyway.enabled=true
+%dev.quarkus.datasource.db-kind=h2
+%dev.quarkus.datasource.username=kogito
+%dev.quarkus.datasource.jdbc.url=jdbc:h2:mem:default;NON_KEYWORDS=VALUE,KEY;DB_CLOSE_DELAY=-1
+
+
+
+
+############
+# Security #
+############
+
+%prod.kogito.auth.enabled=true
+%prod.quarkus.oidc.enabled=true
+%prod.quarkus.oidc.discovery-enabled=true
+%prod.quarkus.oidc.auth-server-url=<TODO>
+%prod.quarkus.oidc.client-id=<TODO>
+%prod.quarkus.oidc.credentials.secret=<TODO>
+
+%prod.quarkus.oidc.application-type=service
+%prod.quarkus.http.auth.permission.authenticated.paths=/*
+%prod.quarkus.http.auth.permission.authenticated.policy=authenticated
+%prod.quarkus.http.auth.permission.public.paths=/q/*,/docs/openapi.json
+%prod.quarkus.http.auth.permission.public.policy=permit
+
+%prod.quarkus.http.cors=false
+%prod.quarkus.http.cors.origins=<TODO>
+
+# Dev
+%dev.kogito.auth.enabled=false
+%dev.quarkus.oidc.enabled=false
+%dev.quarkus.http.cors=true
+%dev.quarkus.http.cors.origins=*
+
+
+
+
+############
+# Services #
+############
+
+# These properties are residual from Distributed Architecture, where Data-Index, Data-Audit,
+# and Jobs Service are external to the Kogito Runtime application.
+#
+# They are still necessary, but won't be anymore in future releases.
+
+kogito.service.url=http://0.0.0.0:8080
+kogito.jobs-service.url=http://0.0.0.0:8080
+kogito.data-index.url=http://0.0.0.0:8080
+
+
+
+
+####################
+# Containerization #
+####################
+
+# Profile to pack the application into a container image.
+# To use it run a Maven build with the `container` profile (-Pcontainer)
+
+%container.quarkus.container-image.build=true
+%container.quarkus.container-image.push=false
+%container.quarkus.container-image.group=${USER}
+%container.quarkus.container-image.registry=dev.local
+%container.quarkus.container-image.tag=${project.version}
+%container.quarkus.container-image.name=<TODO>
+
+
+
+
+#############
+# Misc. dev #
+#############
+
+%dev.quarkus.smallrye-openapi.path=/docs/openapi.json
+%dev.quarkus.http.test-port=0
+%dev.quarkus.dev-ui.cors.enabled=false
+%dev.quarkus.swagger-ui.always-include=true
+%dev.quarkus.kogito.data-index.graphql.ui.always-include=true
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org