Skip to content

Commit 581ba09

Browse files
authored
Merge pull request #1010 from neuroglia-io/fix-1009-update-schema-version
Updated schema version to 1.0.0
2 parents 6a52595 + 663136e commit 581ba09

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+112
-112
lines changed

.ci/validation/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export module SWSchemaValidator {
2525
addFormats(ajv);
2626

2727
const workflowSchemaId =
28-
"https://serverlessworkflow.io/schemas/1.0.0-alpha1/workflow.yaml";
28+
"https://serverlessworkflow.io/schemas/1.0.0/workflow.yaml";
2929
const schemaPath = "../../../schema";
3030
export const defaultEncoding = "utf-8";
3131

.ci/validation/test/fixtures/invalid/extra-property-in-call.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
document:
2-
dsl: 1.0.0-alpha1
2+
dsl: '1.0.0'
33
namespace: examples
44
name: two-tasks-in-one-item
5-
version: 1.0.0-alpha1
5+
version: '0.1.0'
66
do:
77
- getPet:
88
call: http

.ci/validation/test/fixtures/invalid/two-tasks-in-one-item.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
document:
2-
dsl: 1.0.0-alpha1
2+
dsl: '1.0.0'
33
namespace: examples
44
name: two-tasks-in-one-item
5-
version: 1.0.0-alpha1
5+
version: '0.1.0'
66
do:
77
- getPet:
88
call: http

ctk/features/branch.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Feature: Composite Task
88
Given a workflow with definition:
99
"""yaml
1010
document:
11-
dsl: 1.0.0-alpha1
11+
dsl: '1.0.0'
1212
namespace: default
1313
name: fork
1414
do:

ctk/features/call.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Feature: Call Task
1111
Given a workflow with definition:
1212
"""yaml
1313
document:
14-
dsl: 1.0.0-alpha1
14+
dsl: '1.0.0'
1515
namespace: default
1616
name: http-call-with-content-output
1717
do:
@@ -39,7 +39,7 @@ Feature: Call Task
3939
Given a workflow with definition:
4040
"""yaml
4141
document:
42-
dsl: 1.0.0-alpha1
42+
dsl: '1.0.0'
4343
namespace: default
4444
name: http-call-with-response-output
4545
do:
@@ -66,7 +66,7 @@ Feature: Call Task
6666
Given a workflow with definition:
6767
"""yaml
6868
document:
69-
dsl: 1.0.0-alpha1
69+
dsl: '1.0.0'
7070
namespace: default
7171
name: http-call-with-basic-auth
7272
do:
@@ -95,7 +95,7 @@ Feature: Call Task
9595
Given a workflow with definition:
9696
"""yaml
9797
document:
98-
dsl: 1.0.0-alpha1
98+
dsl: '1.0.0'
9999
namespace: default
100100
name: openapi-call-with-content-output
101101
do:
@@ -123,7 +123,7 @@ Feature: Call Task
123123
Given a workflow with definition:
124124
"""yaml
125125
document:
126-
dsl: 1.0.0-alpha1
126+
dsl: '1.0.0'
127127
namespace: default
128128
name: openapi-call-with-response-output
129129
do:

ctk/features/data-flow.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Feature: Data Flow
88
Given a workflow with definition:
99
"""yaml
1010
document:
11-
dsl: 1.0.0-alpha1
11+
dsl: '1.0.0'
1212
namespace: default
1313
name: output-filtering
1414
do:
@@ -35,7 +35,7 @@ Feature: Data Flow
3535
Given a workflow with definition:
3636
"""yaml
3737
document:
38-
dsl: 1.0.0-alpha1
38+
dsl: '1.0.0'
3939
namespace: default
4040
name: output-filtering
4141
do:
@@ -63,7 +63,7 @@ Feature: Data Flow
6363
Given a workflow with definition:
6464
"""yaml
6565
document:
66-
dsl: 1.0.0-alpha1
66+
dsl: '1.0.0'
6767
namespace: default
6868
name: non-object-output
6969
do:

ctk/features/do.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Feature: Composite Task
88
Given a workflow with definition:
99
"""yaml
1010
document:
11-
dsl: 1.0.0-alpha1
11+
dsl: '1.0.0'
1212
namespace: default
1313
name: do
1414
do:

ctk/features/emit.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Feature: Emit Task
88
Given a workflow with definition:
99
"""yaml
1010
document:
11-
dsl: 1.0.0-alpha1
11+
dsl: '1.0.0'
1212
namespace: default
1313
name: emit
1414
do:

ctk/features/flow.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Feature: Flow Directive
77
Given a workflow with definition:
88
"""yaml
99
document:
10-
dsl: 1.0.0-alpha1
10+
dsl: '1.0.0'
1111
namespace: default
1212
name: implicit-sequence
1313
do:
@@ -34,7 +34,7 @@ Feature: Flow Directive
3434
Given a workflow with definition:
3535
"""yaml
3636
document:
37-
dsl: 1.0.0-alpha1
37+
dsl: '1.0.0'
3838
namespace: default
3939
name: explicit-sequence
4040
do:

ctk/features/for.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Feature: For Task
1010
Given a workflow with definition:
1111
"""yaml
1212
document:
13-
dsl: 1.0.0-alpha1
13+
dsl: '1.0.0'
1414
namespace: default
1515
name: for
1616
do:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy