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-docs.git
The following commit(s) were added to refs/heads/main by this push:
new 07bb932b0 Issue-617 Replace specVersion with spec_version attribute
(#618)
07bb932b0 is described below
commit 07bb932b05544e0e31c74bfa35cca3620773b663
Author: Tomáš David <[email protected]>
AuthorDate: Fri Apr 5 08:13:15 2024 -0400
Issue-617 Replace specVersion with spec_version attribute (#618)
Replace specVersion with spec_version attribute
---
.../modules/ROOT/pages/core/working-with-parallelism.adoc | 8 ++++----
.../event-orchestration/newsletter-subscription-example.adoc | 4 ++--
.../getting-started/create-your-first-workflow-service.adoc | 4 ++--
.../configuring-openapi-services-endpoints-with-quarkus.adoc | 4 ++--
4 files changed, 10 insertions(+), 10 deletions(-)
diff --git
a/serverlessworkflow/modules/ROOT/pages/core/working-with-parallelism.adoc
b/serverlessworkflow/modules/ROOT/pages/core/working-with-parallelism.adoc
index c4b992da3..a37347f1e 100644
--- a/serverlessworkflow/modules/ROOT/pages/core/working-with-parallelism.adoc
+++ b/serverlessworkflow/modules/ROOT/pages/core/working-with-parallelism.adoc
@@ -31,12 +31,12 @@
include::../../pages/_common-content/getting-started-requirement.adoc[]
+
--
.Example content for `parallel.sw.json` file
-[source,json]
+[source,json,subs="attributes+"]
----
{
"id": "parallel",
"version": "1.0",
- "specVersion": "0.8",
+ "specVersion": "{spec_version}",
"name": "Welcome to the Parallel dimension",
"description": "Testing parallelism",
"start": "Parallel",
@@ -172,12 +172,12 @@ For more information, see
<<proc-parallel-creating-the-workflow, Creating a para
+
--
.Example parallel workflow
-[source,json]
+[source,json,subs="attributes+"]
----
{
"id": "parallel",
"version": "1.0",
- "specVersion": "0.8",
+ "specVersion": "{spec_version}",
"name": "Welcome to the Parallel dimension",
"description": "Testing parallelism",
"start": "Parallel",
diff --git
a/serverlessworkflow/modules/ROOT/pages/use-cases/advanced-developer-use-cases/event-orchestration/newsletter-subscription-example.adoc
b/serverlessworkflow/modules/ROOT/pages/use-cases/advanced-developer-use-cases/event-orchestration/newsletter-subscription-example.adoc
index 92974a9aa..6fd9d480d 100644
---
a/serverlessworkflow/modules/ROOT/pages/use-cases/advanced-developer-use-cases/event-orchestration/newsletter-subscription-example.adoc
+++
b/serverlessworkflow/modules/ROOT/pages/use-cases/advanced-developer-use-cases/event-orchestration/newsletter-subscription-example.adoc
@@ -30,12 +30,12 @@ Here we have the Newsletter Subscription workflow:
image::use-cases/newsletter-subscription/newsletter-subscription-flow.png[Workflow]
.Newsletter subscription flow workflow definition
-[source,json]
+[source,json,subs="attributes+"]
----
{
"id": "subscription_flow",
"dataInputSchema": "subscription-schema.json",
- "specVersion": "0.8",
+ "specVersion": "{spec_version}",
"version": "1.0",
"start": "VerifyEmail",
"events": [
diff --git
a/serverlessworkflow/modules/ROOT/pages/use-cases/advanced-developer-use-cases/getting-started/create-your-first-workflow-service.adoc
b/serverlessworkflow/modules/ROOT/pages/use-cases/advanced-developer-use-cases/getting-started/create-your-first-workflow-service.adoc
index 9d8e27cf5..d47ce363f 100644
---
a/serverlessworkflow/modules/ROOT/pages/use-cases/advanced-developer-use-cases/getting-started/create-your-first-workflow-service.adoc
+++
b/serverlessworkflow/modules/ROOT/pages/use-cases/advanced-developer-use-cases/getting-started/create-your-first-workflow-service.adoc
@@ -105,12 +105,12 @@ After bootstrapping a project, you need to create a
workflow. In the following p
+
--
.Example content for `hello.sw.json` file
-[source,json]
+[source,json,subs="attributes+"]
----
{
"id": "hello_world", <1>
"version": "1.0",
- "specVersion": "0.8",
+ "specVersion": "{spec_version}",
"name": "Hello World Workflow",
"description": "JSON based hello world workflow",
"start": "Inject Hello World", <3>
diff --git
a/serverlessworkflow/modules/ROOT/pages/use-cases/advanced-developer-use-cases/service-orchestration/configuring-openapi-services-endpoints-with-quarkus.adoc
b/serverlessworkflow/modules/ROOT/pages/use-cases/advanced-developer-use-cases/service-orchestration/configuring-openapi-services-endpoints-with-quarkus.adoc
index c4414644a..3c76b43c7 100644
---
a/serverlessworkflow/modules/ROOT/pages/use-cases/advanced-developer-use-cases/service-orchestration/configuring-openapi-services-endpoints-with-quarkus.adoc
+++
b/serverlessworkflow/modules/ROOT/pages/use-cases/advanced-developer-use-cases/service-orchestration/configuring-openapi-services-endpoints-with-quarkus.adoc
@@ -22,11 +22,11 @@ Developing an application using a service that returns
different results every t
The `stock-profit` service contains the following workflow definition:
.Workflow definition in `stock-profit` service
-[source,json]
+[source,json,subs="attributes+"]
----
{
"id": "stockprofit",
- "specVersion": "0.8",
+ "specVersion": "{spec_version}",
"version": "2.0.0-SNAPSHOT",
"name": "Stock profit Workflow",
"start": "GetStockPrice",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]