Skip to content

Commit

Permalink
updates for 0.8 (#534)
Browse files Browse the repository at this point in the history
Signed-off-by: Tihomir Surdilovic <[email protected]>
  • Loading branch information
tsurdilo authored Nov 28, 2021
1 parent 6f7f43f commit 509884b
Show file tree
Hide file tree
Showing 23 changed files with 138 additions and 145 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Check out our project DevStats [here](https://serverlessworkflow.devstats.cncf.i
| | Latest release | Latest release branch | Working branch |
| --- | :---: | :---: | :---: |
| **Core Specification** | |
| [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) |
| [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) |
| **Additional Components** | |
| [Synapse](https://github.com/serverlessworkflow/synapse) | [0.1.0-alpha1](https://github.com/serverlessworkflow/synapse/releases) | | [main](https://github.com/serverlessworkflow/synapse) |
| [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) |
Expand Down
18 changes: 9 additions & 9 deletions comparisons/comparison-argo.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ spec:
id: hello-world-parameters
name: Hello World with parameters
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: whalesay
functions:
- name: whalesayimage
Expand Down Expand Up @@ -156,7 +156,7 @@ spec:
id: hello-hello-hello
name: Multi Step Hello
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: hello1
functions:
- name: whalesayimage
Expand Down Expand Up @@ -258,7 +258,7 @@ spec:
id: dag-diamond-
name: DAG Diamond Example
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: A
functions:
- name: echo
Expand Down Expand Up @@ -377,7 +377,7 @@ spec:
id: scripts-bash-
name: Scripts and Results Example
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: generate
functions:
- name: gen-random-int-bash
Expand Down Expand Up @@ -473,7 +473,7 @@ spec:
id: loops-
name: Loop over data example
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: injectdata
functions:
- name: whalesay
Expand Down Expand Up @@ -568,7 +568,7 @@ spec:
id: coinflip-
name: Conditionals Example
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: flip-coin
functions:
- name: flip-coin-function
Expand Down Expand Up @@ -661,7 +661,7 @@ spec:
id: retry-backoff-
name: Retry Example
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: retry-backoff
functions:
- name: fail-function
Expand Down Expand Up @@ -747,7 +747,7 @@ spec:
id: coinflip-recursive-
name: Recursion Example
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: flip-coin-state
functions:
- name: heads-function
Expand Down Expand Up @@ -857,7 +857,7 @@ spec:
id: exit-handlers-
name: Exit/Error Handling Example
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
autoRetries: true
start: intentional-fail-state
functions:
Expand Down
18 changes: 9 additions & 9 deletions comparisons/comparison-bpmn.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ For this reason, the event, function, retry, and data mapping defined in the ass
id: processfile
name: Process File Workflow
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: Process File
states:
- name: Process File
Expand Down Expand Up @@ -88,7 +88,7 @@ functions:
id: processapplication
name: Process Application
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: ProcessNewApplication
states:
- name: ProcessNewApplication
Expand Down Expand Up @@ -142,7 +142,7 @@ events:
id: simplecompensation
name: Simple Compensation
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: Step 1
states:
- name: Step 1
Expand Down Expand Up @@ -204,7 +204,7 @@ functions:
id: errorwithretries
name: Error Handling With Retries Workflow
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: Make Coffee
states:
- name: Make Coffee
Expand Down Expand Up @@ -268,7 +268,7 @@ functions:
id: executiontimeout
name: Execution Timeout Workflow
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: Purchase Parts
timeouts:
workflowExecTimeout:
Expand Down Expand Up @@ -322,7 +322,7 @@ functions:
id: foreachWorkflow
name: ForEach State Workflow
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: ForEachItem
states:
- name: ForEachItem
Expand Down Expand Up @@ -361,7 +361,7 @@ a starting "operation" state transitioning to an "event" state which waits for t
id: subflowloop
name: SubFlow Loop Workflow
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: SubflowRepeat
states:
- name: SubflowRepeat
Expand Down Expand Up @@ -411,7 +411,7 @@ control-flow logic to check email and make a decision to reply to it or wait an
id: approvereport
name: Approve Report Workflow
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: Approve Report
states:
- name: Approve Report
Expand Down Expand Up @@ -474,7 +474,7 @@ functions:
id: eventdecision
name: Event Decision workflow
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: A
states:
- name: A
Expand Down
14 changes: 7 additions & 7 deletions comparisons/comparison-brigade.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function exec(e, p) {
id: greeting
name: Greeting Workflow
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: GreetingState
events:
- name: execEvent
Expand Down Expand Up @@ -145,7 +145,7 @@ async function exec(e, p) {
id: greetingwitherrorcheck
name: Greeting Workflow With Error Check
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
autoRetries: true
start: GreetingState
events:
Expand Down Expand Up @@ -240,7 +240,7 @@ events.on("push", () => {
id: multieventworkflow
name: Multiple Events Workflow
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: GreetingState
events:
- name: execEvent
Expand Down Expand Up @@ -325,7 +325,7 @@ events.on("exec", () => {
id: groupActionsWorkflow
name: Group Actions Workflow
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: FirstGreetGroup
events:
- name: execEvent
Expand Down Expand Up @@ -404,7 +404,7 @@ events.on("exec", (e, p) => {
id: eventDataWorkflow
name: Event Data Workflow
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: LogEventData
events:
- name: execEvent
Expand Down Expand Up @@ -481,7 +481,7 @@ events.on("exec", (e, p) => {
id: actionResultsWorkflow
name: Action Results Workflow
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: ExecActionsAndStoreResults
events:
- name: execEvent
Expand Down Expand Up @@ -572,7 +572,7 @@ events.on("next", (e) => {
id: eventDataWorkflow
name: Event Data Workflow
version: '1.0'
specVersion: '0.7'
specVersion: '0.8'
start: ExecEventState
events:
- name: execEvent
Expand Down
10 changes: 5 additions & 5 deletions comparisons/comparison-google-cloud-workflows.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ languages.
{
"id": "greetingwithargs",
"name": "Greeting With Args",
"specVersion": "0.7",
"specVersion": "0.8",
"start": "Set Output",
"states": [
{
Expand Down Expand Up @@ -195,7 +195,7 @@ instance is created. See the Serverless Workflow ["Workflow Data"](../specificat
"id": "concatarray",
"name": "Concatenating array values",
"start": "DoConcat",
"specVersion": "0.7",
"specVersion": "0.8",
"states": [
{
"name": "DoConcat",
Expand Down Expand Up @@ -285,7 +285,7 @@ array values, however it would just unnecessarily complicate things.
{
"id": "stopcomputeengine",
"name": "Stop Compute Engine",
"specVersion": "0.7",
"specVersion": "0.8",
"start": "DoStop",
"states": [
{
Expand Down Expand Up @@ -416,7 +416,7 @@ as service invocations, where as Google Workflow uses the "call" keyword.
{
"id": "publishtotopicwitherrorhandling",
"name": "Publish To Topic With Error Handling",
"specVersion": "0.7",
"specVersion": "0.8",
"start": "DoPublish",
"errors": [
{
Expand Down Expand Up @@ -577,7 +577,7 @@ to interested parties via events (CloudEvents specification format), which we ar
"id": "errorhandlingwithretries",
"name": "Error Handling with Retries",
"start": "ReadItem",
"specVersion": "0.7",
"specVersion": "0.8",
"states": [
{
"name": "ReadItem",
Expand Down
8 changes: 4 additions & 4 deletions comparisons/comparison-temporal.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public static class GreetingWorkflowImpl implements GreetingWorkflow {
"id": "greetingworkflow",
"name": "Greeting Workflow",
"version": "1.0",
"specVersion": "0.7",
"specVersion": "0.8",
"autoRetries": true,
"states": [
{
Expand Down Expand Up @@ -165,7 +165,7 @@ WorkflowOptions workflowOptions =
"id": "greetingworkflow",
"name": "Greeting Workflow",
"version": "1.0",
"specVersion": "0.7",
"specVersion": "0.8",
"autoRetries": true,
"timeouts": {
"workflowExecTimeout": "PT10M"
Expand Down Expand Up @@ -269,7 +269,7 @@ WorkflowOptions workflowOptions =
"id": "HelloSaga",
"name": "Hello SAGA compensation Workflow",
"version": "1.0",
"specVersion": "0.7"
"specVersion": "0.8",
"states": [
{
"name": "ExecuteState",
Expand Down Expand Up @@ -393,7 +393,7 @@ static class GreetingActivitiesImpl implements GreetingActivities {
"id": "HelloActivityRetry",
"name": "Hello Activity with Retries Workflow",
"version": "1.0",
"specVersion": "0.7",
"specVersion": "0.8",
"autoRetries": true,
"start": "GreetingState",
"states": [
Expand Down
Loading

0 comments on commit 509884b

Please sign in to comment.