Skip to content

[0.8.x] updates for 0.8 #534

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

Merged
merged 1 commit into from
Nov 28, 2021
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
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