Skip to content

Commit

Permalink
Updated schema version to 1.0.0-alpha3
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Baptiste Bianchi <jb.bianchi@neuroglia.io>
  • Loading branch information
JBBianchi committed Sep 6, 2024
1 parent 62ff5e8 commit 94823b0
Show file tree
Hide file tree
Showing 49 changed files with 104 additions and 104 deletions.
2 changes: 1 addition & 1 deletion .ci/validation/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export module SWSchemaValidator {
addFormats(ajv);

const workflowSchemaId =
"https://serverlessworkflow.io/schemas/1.0.0-alpha1/workflow.yaml";
"https://serverlessworkflow.io/schemas/1.0.0-alpha3/workflow.yaml";
const schemaPath = "../../../schema";
export const defaultEncoding = "utf-8";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: examples
name: two-tasks-in-one-item
version: 1.0.0-alpha1
version: '1.0.0'
do:
- getPet:
call: http
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: examples
name: two-tasks-in-one-item
version: 1.0.0-alpha1
version: '1.0.0'
do:
- getPet:
call: http
Expand Down
2 changes: 1 addition & 1 deletion ctk/features/branch.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Feature: Composite Task
Given a workflow with definition:
"""yaml
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: default
name: fork
do:
Expand Down
10 changes: 5 additions & 5 deletions ctk/features/call.feature
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Feature: Call Task
Given a workflow with definition:
"""yaml
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: default
name: http-call-with-content-output
do:
Expand Down Expand Up @@ -39,7 +39,7 @@ Feature: Call Task
Given a workflow with definition:
"""yaml
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: default
name: http-call-with-response-output
do:
Expand All @@ -66,7 +66,7 @@ Feature: Call Task
Given a workflow with definition:
"""yaml
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: default
name: http-call-with-basic-auth
do:
Expand Down Expand Up @@ -95,7 +95,7 @@ Feature: Call Task
Given a workflow with definition:
"""yaml
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: default
name: openapi-call-with-content-output
do:
Expand Down Expand Up @@ -123,7 +123,7 @@ Feature: Call Task
Given a workflow with definition:
"""yaml
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: default
name: openapi-call-with-response-output
do:
Expand Down
6 changes: 3 additions & 3 deletions ctk/features/data-flow.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Feature: Data Flow
Given a workflow with definition:
"""yaml
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: default
name: output-filtering
do:
Expand All @@ -35,7 +35,7 @@ Feature: Data Flow
Given a workflow with definition:
"""yaml
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: default
name: output-filtering
do:
Expand Down Expand Up @@ -63,7 +63,7 @@ Feature: Data Flow
Given a workflow with definition:
"""yaml
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: default
name: non-object-output
do:
Expand Down
2 changes: 1 addition & 1 deletion ctk/features/do.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Feature: Composite Task
Given a workflow with definition:
"""yaml
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: default
name: do
do:
Expand Down
2 changes: 1 addition & 1 deletion ctk/features/emit.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Feature: Emit Task
Given a workflow with definition:
"""yaml
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: default
name: emit
do:
Expand Down
4 changes: 2 additions & 2 deletions ctk/features/flow.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Feature: Flow Directive
Given a workflow with definition:
"""yaml
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: default
name: implicit-sequence
do:
Expand All @@ -34,7 +34,7 @@ Feature: Flow Directive
Given a workflow with definition:
"""yaml
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: default
name: explicit-sequence
do:
Expand Down
2 changes: 1 addition & 1 deletion ctk/features/for.feature
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Feature: For Task
Given a workflow with definition:
"""yaml
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: default
name: for
do:
Expand Down
2 changes: 1 addition & 1 deletion ctk/features/raise.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Feature: Raise Task
Given a workflow with definition:
"""yaml
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: default
name: raise-custom-error
do:
Expand Down
2 changes: 1 addition & 1 deletion ctk/features/set.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Feature: Set Task
Given a workflow with definition:
"""yaml
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: default
name: set
do:
Expand Down
6 changes: 3 additions & 3 deletions ctk/features/switch.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Feature: Switch Task
Given a workflow with definition:
"""yaml
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: default
name: switch-match
do:
Expand Down Expand Up @@ -51,7 +51,7 @@ Feature: Switch Task
Given a workflow with definition:
"""yaml
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: default
name: switch-default-implicit
do:
Expand Down Expand Up @@ -93,7 +93,7 @@ Feature: Switch Task
Given a workflow with definition:
"""yaml
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: default
name: switch-default-implicit
do:
Expand Down
4 changes: 2 additions & 2 deletions ctk/features/try.feature
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Feature: Try Task
Given a workflow with definition:
"""yaml
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: default
name: try-catch-404
do:
Expand Down Expand Up @@ -54,7 +54,7 @@ Feature: Try Task
Given a workflow with definition:
"""yaml
document:
dsl: 1.0.0-alpha1
dsl: '1.0.0-alpha3'
namespace: default
name: try-catch-503
do:
Expand Down
Loading

0 comments on commit 94823b0

Please sign in to comment.