Skip to content

Commit

Permalink
Issue-617 Replace specVersion with spec_version attribute (#618)
Browse files Browse the repository at this point in the history
Replace specVersion with spec_version attribute
  • Loading branch information
tomasdavidorg authored Apr 5, 2024
1 parent 0d13994 commit 07bb932
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 07bb932

Please sign in to comment.