This is an automated email from the ASF dual-hosted git repository.
ricardozanini pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 225482d8e issue-2100: [sonataflow]
serverless-workflow-oauth2-orchestration-quarkus example updates (#2101)
225482d8e is described below
commit 225482d8e093805aca094a89e0fdd57d85e8c189
Author: Walter Medvedeo <[email protected]>
AuthorDate: Fri Jun 6 15:06:30 2025 +0200
issue-2100: [sonataflow] serverless-workflow-oauth2-orchestration-quarkus
example updates (#2101)
---
.../serverless-workflow-oauth2-orchestration-quarkus/README.md | 4 ++--
.../acme-financial-service/README.md | 4 ++--
.../acme-financial-service/pom.xml | 4 ++--
.../currency-exchange-workflow/README.md | 10 +++++-----
.../currency-exchange-workflow/pom.xml | 10 ++++++++--
5 files changed, 19 insertions(+), 13 deletions(-)
diff --git
a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/README.md
b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/README.md
index 704e1defa..52dece44c 100644
---
a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/README.md
+++
b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/README.md
@@ -1,6 +1,6 @@
-# Kogito Serverless Workflow - Oauth2 Orchestration Example
+# SonataFlow - Oauth2 Orchestration Example
-This project is part of the Kogito Serverless Workflows guide, see this
document for more information [Orchestrating third party services with OAuth2
authentication](https://kiegroup.github.io/kogito-docs/serverlessworkflow/main/security/orchestrating-third-party-services-with-oauth2.html).
+This project is part of the SonataFlow guide, see this document for more
information [Orchestration of third-party services using OAuth 2.0
authentication](https://sonataflow.org/serverlessworkflow/latest/security/orchestrating-third-party-services-with-oauth2.html).
* The module [acme-financial-service](acme-financial-service/README.md)
implements the `Acme Financial Service` defined in the guide.
diff --git
a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/README.md
b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/README.md
index 727c7bc44..1628b2516 100644
---
a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/README.md
+++
b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/README.md
@@ -1,8 +1,8 @@
-# Kogito Serverless Workflow - Acme Financial Service
+# SonataFlow - Acme Financial Service
## Description
-This project contains a simple quarkus application that implements the `Acme
Financial Service` referred in
[serverless-workflow-oauth2-orchestration-quarkus/README.md](https://github.com/wmedvede/kogito-docs/blob/main/serverlessworkflow/modules/ROOT/pages/security/orchestrating-third-party-services-with-oauth2.adoc)
(TODO, update link)
+This project contains a simple quarkus application that implements the `Acme
Financial Service` referred in the SonataFlow guide: [Orchestration of
third-party services using OAuth 2.0
authentication](https://sonataflow.org/serverlessworkflow/latest/security/orchestrating-third-party-services-with-oauth2.html)
## Infrastructure requirements
diff --git
a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/pom.xml
b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/pom.xml
index ae926065b..23a66fb21 100644
---
a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/pom.xml
+++
b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/pom.xml
@@ -37,9 +37,9 @@
<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>
- <version.compiler.plugin>3.13.0</version.compiler.plugin>
+ <version.compiler.plugin>3.14.0</version.compiler.plugin>
<maven.compiler.release>17</maven.compiler.release>
- <version.failsafe.plugin>3.3.1</version.failsafe.plugin>
+ <version.failsafe.plugin>3.5.2</version.failsafe.plugin>
<version.org.assertj>3.22.0</version.org.assertj>
</properties>
<dependencyManagement>
diff --git
a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/README.md
b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/README.md
index f3ed52373..73d0dd54f 100644
---
a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/README.md
+++
b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/README.md
@@ -1,12 +1,12 @@
-# Kogito Serverless Workflow - Currency Exchange Workflow
+# SonataFlow - Currency Exchange Workflow
## Description
-This project contains a [serverless
workflow](src/main/resources/currency-exchange-workflow.sw.json) and some
auxiliary resources that implement the **Currency Exchange Workflow**
-described in the
[serverless-workflow-oauth2-orchestration-quarkus/README.md](https://github.com/wmedvede/kogito-docs/blob/main/serverlessworkflow/modules/ROOT/pages/security/orchestrating-third-party-services-with-oauth2.adoc).
(TODO update link).
+This project contains a
[workflow](src/main/resources/currency-exchange-workflow.sw.json) and some
auxiliary resources that implement the **Currency Exchange Workflow**
+described in the SonataFlow guide: [Orchestration of third-party services
using OAuth 2.0
authentication](https://sonataflow.org/serverlessworkflow/latest/security/orchestrating-third-party-services-with-oauth2.html).
The service is described using JSON format as defined in the
-[CNCF Serverless Workflow
specification](https://github.com/serverlessworkflow/specification).
+[CNCF Serverless Workflow
specification](https://github.com/serverlessworkflow/specification/tree/0.8.x).
## Infrastructure requirements
@@ -86,7 +86,7 @@ To run the generated native executable, generated in
`target/`, execute
The service based on the JSON workflow definition can be accessed by sending
requests to the http://localhost:8080/currency-exchange-workflow url.
-Use the following curl command to create a new serverless workflow instance
and get the results:
+Use the following curl command to create a new workflow instance and get the
results:
```sh
diff --git
a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/pom.xml
b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/pom.xml
index d7a152e18..c1f08ed17 100644
---
a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/pom.xml
+++
b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/pom.xml
@@ -39,9 +39,10 @@
<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>
- <version.compiler.plugin>3.13.0</version.compiler.plugin>
+ <version.compiler.plugin>3.14.0</version.compiler.plugin>
<maven.compiler.release>17</maven.compiler.release>
- <version.failsafe.plugin>3.3.1</version.failsafe.plugin>
+ <version.failsafe.plugin>3.5.2</version.failsafe.plugin>
+
<version.io.quarkiverse.openapi.generator>2.10.0-lts</version.io.quarkiverse.openapi.generator>
</properties>
<dependencyManagement>
<dependencies>
@@ -82,6 +83,11 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-client-oidc-filter</artifactId>
</dependency>
+ <dependency>
+ <groupId>io.quarkiverse.openapi.generator</groupId>
+ <artifactId>quarkus-openapi-generator-oidc</artifactId>
+ <version>${version.io.quarkiverse.openapi.generator}</version>
+ </dependency>
<dependency>
<groupId>org.apache.kie.sonataflow</groupId>
<artifactId>sonataflow-quarkus</artifactId>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]