Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue-617 Replace specVersion with spec_version attribute #618

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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