Skip to content

Commit 509884b

Browse files
authored
updates for 0.8 (#534)
Signed-off-by: Tihomir Surdilovic <[email protected]>
1 parent 6f7f43f commit 509884b

23 files changed

+138
-145
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Check out our project DevStats [here](https://serverlessworkflow.devstats.cncf.i
5151
| | Latest release | Latest release branch | Working branch |
5252
| --- | :---: | :---: | :---: |
5353
| **Core Specification** | |
54-
| [Serverless Workflow](https://github.com/serverlessworkflow/specification) | [v0.7](https://github.com/serverlessworkflow/specification/releases) | [0.7.x](https://github.com/serverlessworkflow/specification/tree/0.7.x) | [main](https://github.com/serverlessworkflow/specification) |
54+
| [Serverless Workflow](https://github.com/serverlessworkflow/specification) | [v0.8](https://github.com/serverlessworkflow/specification/releases) | [0.8.x](https://github.com/serverlessworkflow/specification/tree/0.8.x) | [main](https://github.com/serverlessworkflow/specification) |
5555
| **Additional Components** | |
5656
| [Synapse](https://github.com/serverlessworkflow/synapse) | [0.1.0-alpha1](https://github.com/serverlessworkflow/synapse/releases) | | [main](https://github.com/serverlessworkflow/synapse) |
5757
| [GO SDK](https://github.com/serverlessworkflow/sdk-go) | [v2.0.0](https://github.com/serverlessworkflow/sdk-go/releases) | [1.0.x](https://github.com/serverlessworkflow/sdk-go/tree/1.0.x) | [main](https://github.com/serverlessworkflow/sdk-go) |

comparisons/comparison-argo.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ spec:
7777
id: hello-world-parameters
7878
name: Hello World with parameters
7979
version: '1.0'
80-
specVersion: '0.7'
80+
specVersion: '0.8'
8181
start: whalesay
8282
functions:
8383
- name: whalesayimage
@@ -156,7 +156,7 @@ spec:
156156
id: hello-hello-hello
157157
name: Multi Step Hello
158158
version: '1.0'
159-
specVersion: '0.7'
159+
specVersion: '0.8'
160160
start: hello1
161161
functions:
162162
- name: whalesayimage
@@ -258,7 +258,7 @@ spec:
258258
id: dag-diamond-
259259
name: DAG Diamond Example
260260
version: '1.0'
261-
specVersion: '0.7'
261+
specVersion: '0.8'
262262
start: A
263263
functions:
264264
- name: echo
@@ -377,7 +377,7 @@ spec:
377377
id: scripts-bash-
378378
name: Scripts and Results Example
379379
version: '1.0'
380-
specVersion: '0.7'
380+
specVersion: '0.8'
381381
start: generate
382382
functions:
383383
- name: gen-random-int-bash
@@ -473,7 +473,7 @@ spec:
473473
id: loops-
474474
name: Loop over data example
475475
version: '1.0'
476-
specVersion: '0.7'
476+
specVersion: '0.8'
477477
start: injectdata
478478
functions:
479479
- name: whalesay
@@ -568,7 +568,7 @@ spec:
568568
id: coinflip-
569569
name: Conditionals Example
570570
version: '1.0'
571-
specVersion: '0.7'
571+
specVersion: '0.8'
572572
start: flip-coin
573573
functions:
574574
- name: flip-coin-function
@@ -661,7 +661,7 @@ spec:
661661
id: retry-backoff-
662662
name: Retry Example
663663
version: '1.0'
664-
specVersion: '0.7'
664+
specVersion: '0.8'
665665
start: retry-backoff
666666
functions:
667667
- name: fail-function
@@ -747,7 +747,7 @@ spec:
747747
id: coinflip-recursive-
748748
name: Recursion Example
749749
version: '1.0'
750-
specVersion: '0.7'
750+
specVersion: '0.8'
751751
start: flip-coin-state
752752
functions:
753753
- name: heads-function
@@ -857,7 +857,7 @@ spec:
857857
id: exit-handlers-
858858
name: Exit/Error Handling Example
859859
version: '1.0'
860-
specVersion: '0.7'
860+
specVersion: '0.8'
861861
autoRetries: true
862862
start: intentional-fail-state
863863
functions:

comparisons/comparison-bpmn.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ For this reason, the event, function, retry, and data mapping defined in the ass
5252
id: processfile
5353
name: Process File Workflow
5454
version: '1.0'
55-
specVersion: '0.7'
55+
specVersion: '0.8'
5656
start: Process File
5757
states:
5858
- name: Process File
@@ -88,7 +88,7 @@ functions:
8888
id: processapplication
8989
name: Process Application
9090
version: '1.0'
91-
specVersion: '0.7'
91+
specVersion: '0.8'
9292
start: ProcessNewApplication
9393
states:
9494
- name: ProcessNewApplication
@@ -142,7 +142,7 @@ events:
142142
id: simplecompensation
143143
name: Simple Compensation
144144
version: '1.0'
145-
specVersion: '0.7'
145+
specVersion: '0.8'
146146
start: Step 1
147147
states:
148148
- name: Step 1
@@ -204,7 +204,7 @@ functions:
204204
id: errorwithretries
205205
name: Error Handling With Retries Workflow
206206
version: '1.0'
207-
specVersion: '0.7'
207+
specVersion: '0.8'
208208
start: Make Coffee
209209
states:
210210
- name: Make Coffee
@@ -268,7 +268,7 @@ functions:
268268
id: executiontimeout
269269
name: Execution Timeout Workflow
270270
version: '1.0'
271-
specVersion: '0.7'
271+
specVersion: '0.8'
272272
start: Purchase Parts
273273
timeouts:
274274
workflowExecTimeout:
@@ -322,7 +322,7 @@ functions:
322322
id: foreachWorkflow
323323
name: ForEach State Workflow
324324
version: '1.0'
325-
specVersion: '0.7'
325+
specVersion: '0.8'
326326
start: ForEachItem
327327
states:
328328
- name: ForEachItem
@@ -361,7 +361,7 @@ a starting "operation" state transitioning to an "event" state which waits for t
361361
id: subflowloop
362362
name: SubFlow Loop Workflow
363363
version: '1.0'
364-
specVersion: '0.7'
364+
specVersion: '0.8'
365365
start: SubflowRepeat
366366
states:
367367
- name: SubflowRepeat
@@ -411,7 +411,7 @@ control-flow logic to check email and make a decision to reply to it or wait an
411411
id: approvereport
412412
name: Approve Report Workflow
413413
version: '1.0'
414-
specVersion: '0.7'
414+
specVersion: '0.8'
415415
start: Approve Report
416416
states:
417417
- name: Approve Report
@@ -474,7 +474,7 @@ functions:
474474
id: eventdecision
475475
name: Event Decision workflow
476476
version: '1.0'
477-
specVersion: '0.7'
477+
specVersion: '0.8'
478478
start: A
479479
states:
480480
- name: A

comparisons/comparison-brigade.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function exec(e, p) {
6565
id: greeting
6666
name: Greeting Workflow
6767
version: '1.0'
68-
specVersion: '0.7'
68+
specVersion: '0.8'
6969
start: GreetingState
7070
events:
7171
- name: execEvent
@@ -145,7 +145,7 @@ async function exec(e, p) {
145145
id: greetingwitherrorcheck
146146
name: Greeting Workflow With Error Check
147147
version: '1.0'
148-
specVersion: '0.7'
148+
specVersion: '0.8'
149149
autoRetries: true
150150
start: GreetingState
151151
events:
@@ -240,7 +240,7 @@ events.on("push", () => {
240240
id: multieventworkflow
241241
name: Multiple Events Workflow
242242
version: '1.0'
243-
specVersion: '0.7'
243+
specVersion: '0.8'
244244
start: GreetingState
245245
events:
246246
- name: execEvent
@@ -325,7 +325,7 @@ events.on("exec", () => {
325325
id: groupActionsWorkflow
326326
name: Group Actions Workflow
327327
version: '1.0'
328-
specVersion: '0.7'
328+
specVersion: '0.8'
329329
start: FirstGreetGroup
330330
events:
331331
- name: execEvent
@@ -404,7 +404,7 @@ events.on("exec", (e, p) => {
404404
id: eventDataWorkflow
405405
name: Event Data Workflow
406406
version: '1.0'
407-
specVersion: '0.7'
407+
specVersion: '0.8'
408408
start: LogEventData
409409
events:
410410
- name: execEvent
@@ -481,7 +481,7 @@ events.on("exec", (e, p) => {
481481
id: actionResultsWorkflow
482482
name: Action Results Workflow
483483
version: '1.0'
484-
specVersion: '0.7'
484+
specVersion: '0.8'
485485
start: ExecActionsAndStoreResults
486486
events:
487487
- name: execEvent
@@ -572,7 +572,7 @@ events.on("next", (e) => {
572572
id: eventDataWorkflow
573573
name: Event Data Workflow
574574
version: '1.0'
575-
specVersion: '0.7'
575+
specVersion: '0.8'
576576
start: ExecEventState
577577
events:
578578
- name: execEvent

comparisons/comparison-google-cloud-workflows.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ languages.
8686
{
8787
"id": "greetingwithargs",
8888
"name": "Greeting With Args",
89-
"specVersion": "0.7",
89+
"specVersion": "0.8",
9090
"start": "Set Output",
9191
"states": [
9292
{
@@ -195,7 +195,7 @@ instance is created. See the Serverless Workflow ["Workflow Data"](../specificat
195195
"id": "concatarray",
196196
"name": "Concatenating array values",
197197
"start": "DoConcat",
198-
"specVersion": "0.7",
198+
"specVersion": "0.8",
199199
"states": [
200200
{
201201
"name": "DoConcat",
@@ -285,7 +285,7 @@ array values, however it would just unnecessarily complicate things.
285285
{
286286
"id": "stopcomputeengine",
287287
"name": "Stop Compute Engine",
288-
"specVersion": "0.7",
288+
"specVersion": "0.8",
289289
"start": "DoStop",
290290
"states": [
291291
{
@@ -416,7 +416,7 @@ as service invocations, where as Google Workflow uses the "call" keyword.
416416
{
417417
"id": "publishtotopicwitherrorhandling",
418418
"name": "Publish To Topic With Error Handling",
419-
"specVersion": "0.7",
419+
"specVersion": "0.8",
420420
"start": "DoPublish",
421421
"errors": [
422422
{
@@ -577,7 +577,7 @@ to interested parties via events (CloudEvents specification format), which we ar
577577
"id": "errorhandlingwithretries",
578578
"name": "Error Handling with Retries",
579579
"start": "ReadItem",
580-
"specVersion": "0.7",
580+
"specVersion": "0.8",
581581
"states": [
582582
{
583583
"name": "ReadItem",

comparisons/comparison-temporal.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public static class GreetingWorkflowImpl implements GreetingWorkflow {
8383
"id": "greetingworkflow",
8484
"name": "Greeting Workflow",
8585
"version": "1.0",
86-
"specVersion": "0.7",
86+
"specVersion": "0.8",
8787
"autoRetries": true,
8888
"states": [
8989
{
@@ -165,7 +165,7 @@ WorkflowOptions workflowOptions =
165165
"id": "greetingworkflow",
166166
"name": "Greeting Workflow",
167167
"version": "1.0",
168-
"specVersion": "0.7",
168+
"specVersion": "0.8",
169169
"autoRetries": true,
170170
"timeouts": {
171171
"workflowExecTimeout": "PT10M"
@@ -269,7 +269,7 @@ WorkflowOptions workflowOptions =
269269
"id": "HelloSaga",
270270
"name": "Hello SAGA compensation Workflow",
271271
"version": "1.0",
272-
"specVersion": "0.7"
272+
"specVersion": "0.8",
273273
"states": [
274274
{
275275
"name": "ExecuteState",
@@ -393,7 +393,7 @@ static class GreetingActivitiesImpl implements GreetingActivities {
393393
"id": "HelloActivityRetry",
394394
"name": "Hello Activity with Retries Workflow",
395395
"version": "1.0",
396-
"specVersion": "0.7",
396+
"specVersion": "0.8",
397397
"autoRetries": true,
398398
"start": "GreetingState",
399399
"states": [

0 commit comments

Comments
 (0)