diff --git a/.ci/validation/src/index.ts b/.ci/validation/src/index.ts index c6576555..c0b96076 100644 --- a/.ci/validation/src/index.ts +++ b/.ci/validation/src/index.ts @@ -25,7 +25,7 @@ export module SWSchemaValidator { addFormats(ajv); const workflowSchemaId = - "https://serverlessworkflow.io/schemas/1.0.0/workflow.yaml"; + "https://serverlessworkflow.io/schemas/1.0.0-alpha3/workflow.yaml"; const schemaPath = "../../../schema"; export const defaultEncoding = "utf-8"; diff --git a/.ci/validation/test/fixtures/invalid/extra-property-in-call.yaml b/.ci/validation/test/fixtures/invalid/extra-property-in-call.yaml index adf6a73f..a3a57605 100644 --- a/.ci/validation/test/fixtures/invalid/extra-property-in-call.yaml +++ b/.ci/validation/test/fixtures/invalid/extra-property-in-call.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: examples name: two-tasks-in-one-item version: '0.1.0' diff --git a/.ci/validation/test/fixtures/invalid/two-tasks-in-one-item.yaml b/.ci/validation/test/fixtures/invalid/two-tasks-in-one-item.yaml index ba15a80d..1812b7e1 100644 --- a/.ci/validation/test/fixtures/invalid/two-tasks-in-one-item.yaml +++ b/.ci/validation/test/fixtures/invalid/two-tasks-in-one-item.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: examples name: two-tasks-in-one-item version: '0.1.0' diff --git a/ctk/features/branch.feature b/ctk/features/branch.feature index 3fa03df4..c56cc8a7 100644 --- a/ctk/features/branch.feature +++ b/ctk/features/branch.feature @@ -8,7 +8,7 @@ Feature: Composite Task Given a workflow with definition: """yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: fork version: '1.0.0' diff --git a/ctk/features/call.feature b/ctk/features/call.feature index f5425918..e6d3fb91 100644 --- a/ctk/features/call.feature +++ b/ctk/features/call.feature @@ -11,7 +11,7 @@ Feature: Call Task Given a workflow with definition: """yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: http-call-with-content-output version: '1.0.0' @@ -40,7 +40,7 @@ Feature: Call Task Given a workflow with definition: """yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: http-call-with-response-output version: '1.0.0' @@ -68,7 +68,7 @@ Feature: Call Task Given a workflow with definition: """yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: http-call-with-basic-auth version: '1.0.0' @@ -98,7 +98,7 @@ Feature: Call Task Given a workflow with definition: """yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: openapi-call-with-content-output version: '1.0.0' @@ -127,7 +127,7 @@ Feature: Call Task Given a workflow with definition: """yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: openapi-call-with-response-output version: '1.0.0' diff --git a/ctk/features/data-flow.feature b/ctk/features/data-flow.feature index 01faa9eb..284cc12d 100644 --- a/ctk/features/data-flow.feature +++ b/ctk/features/data-flow.feature @@ -8,7 +8,7 @@ Feature: Data Flow Given a workflow with definition: """yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: output-filtering version: '1.0.0' @@ -36,7 +36,7 @@ Feature: Data Flow Given a workflow with definition: """yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: output-filtering version: '1.0.0' @@ -65,7 +65,7 @@ Feature: Data Flow Given a workflow with definition: """yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: non-object-output version: '1.0.0' diff --git a/ctk/features/do.feature b/ctk/features/do.feature index 3831e3a0..147556f4 100644 --- a/ctk/features/do.feature +++ b/ctk/features/do.feature @@ -8,7 +8,7 @@ Feature: Composite Task Given a workflow with definition: """yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: do version: '1.0.0' diff --git a/ctk/features/emit.feature b/ctk/features/emit.feature index ef3a7815..b2903b62 100644 --- a/ctk/features/emit.feature +++ b/ctk/features/emit.feature @@ -8,7 +8,7 @@ Feature: Emit Task Given a workflow with definition: """yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: emit version: '1.0.0' diff --git a/ctk/features/flow.feature b/ctk/features/flow.feature index b27d15a4..5b2ae611 100644 --- a/ctk/features/flow.feature +++ b/ctk/features/flow.feature @@ -7,7 +7,7 @@ Feature: Flow Directive Given a workflow with definition: """yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: implicit-sequence version: '1.0.0' @@ -35,7 +35,7 @@ Feature: Flow Directive Given a workflow with definition: """yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: explicit-sequence version: '1.0.0' diff --git a/ctk/features/for.feature b/ctk/features/for.feature index 92cc94df..97ffca7a 100644 --- a/ctk/features/for.feature +++ b/ctk/features/for.feature @@ -10,7 +10,7 @@ Feature: For Task Given a workflow with definition: """yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: for version: '1.0.0' diff --git a/ctk/features/raise.feature b/ctk/features/raise.feature index b1ecf179..1dcb7f4d 100644 --- a/ctk/features/raise.feature +++ b/ctk/features/raise.feature @@ -7,7 +7,7 @@ Feature: Raise Task Given a workflow with definition: """yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: raise-custom-error version: '1.0.0' diff --git a/ctk/features/set.feature b/ctk/features/set.feature index 56d71fd7..df50b68b 100644 --- a/ctk/features/set.feature +++ b/ctk/features/set.feature @@ -8,7 +8,7 @@ Feature: Set Task Given a workflow with definition: """yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: set version: '1.0.0' diff --git a/ctk/features/switch.feature b/ctk/features/switch.feature index 567398e1..b0d89e20 100644 --- a/ctk/features/switch.feature +++ b/ctk/features/switch.feature @@ -7,7 +7,7 @@ Feature: Switch Task Given a workflow with definition: """yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: switch-match version: '1.0.0' @@ -52,7 +52,7 @@ Feature: Switch Task Given a workflow with definition: """yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: switch-default-implicit version: '1.0.0' @@ -95,7 +95,7 @@ Feature: Switch Task Given a workflow with definition: """yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: switch-default-implicit version: '1.0.0' diff --git a/ctk/features/try.feature b/ctk/features/try.feature index 6ac7800c..0692f2ee 100644 --- a/ctk/features/try.feature +++ b/ctk/features/try.feature @@ -11,7 +11,7 @@ Feature: Try Task Given a workflow with definition: """yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: try-catch-404 version: '1.0.0' @@ -55,7 +55,7 @@ Feature: Try Task Given a workflow with definition: """yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: try-catch-503 version: '1.0.0' diff --git a/dsl-reference.md b/dsl-reference.md index 5d675792..ce78bcfc 100644 --- a/dsl-reference.md +++ b/dsl-reference.md @@ -131,7 +131,7 @@ Configures a workflow's runtime expression evaluation. ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: order-pet version: '0.1.0' @@ -272,7 +272,7 @@ Enables the execution of a specified function within a workflow, allowing seamle ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: call-example version: '0.1.0' @@ -311,7 +311,7 @@ The [AsyncAPI Call](#asyncapi-call) enables workflows to interact with external ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: asyncapi-example version: '0.1.0' @@ -349,7 +349,7 @@ The [gRPC Call](#grpc-call) enables communication with external systems via the ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: grpc-example version: '0.1.0' @@ -387,7 +387,7 @@ The [HTTP Call](#http-call) enables workflows to interact with external services ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: http-example version: '0.1.0' @@ -417,7 +417,7 @@ The [OpenAPI Call](#openapi-call) enables workflows to interact with external se ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: openapi-example version: '0.1.0' @@ -446,7 +446,7 @@ Serves as a fundamental building block within workflows, enabling the sequential ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: do-example version: '0.1.0' @@ -511,7 +511,7 @@ Allows workflows to publish events to event brokers or messaging systems, facili ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: emit-example version: '0.1.0' @@ -549,7 +549,7 @@ Allows workflows to iterate over a collection of items, executing a defined set ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: for-example version: '0.1.0' @@ -586,7 +586,7 @@ Allows workflows to execute multiple subtasks concurrently, enabling parallel pr ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: fork-example version: '0.1.0' @@ -627,7 +627,7 @@ Provides a mechanism for workflows to await and react to external events, enabli ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: listen-example version: '0.1.0' @@ -660,7 +660,7 @@ Intentionally triggers and propagates errors. By employing the "Raise" task, wor ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: raise-example version: '0.1.0' @@ -726,7 +726,7 @@ Provides the capability to execute external [containers](#container-process), [s ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: run-example version: '0.1.0' @@ -775,7 +775,7 @@ Enables the execution of external processes encapsulated within a containerized ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: run-container-example version: '0.1.0' @@ -804,7 +804,7 @@ Enables the execution of custom scripts or code within a workflow, empowering wo ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: run-script-example version: '0.1.0' @@ -835,7 +835,7 @@ Enables the execution of shell commands within a workflow, enabling workflows to ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: run-shell-example version: '0.1.0' @@ -862,7 +862,7 @@ Enables the invocation and execution of nested workflows within a parent workflo ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: run-workflow-example version: '0.1.0' @@ -891,7 +891,7 @@ A task used to set data. ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: set-example version: '0.1.0' @@ -917,7 +917,7 @@ Enables conditional branching within workflows, allowing them to dynamically sel ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: switch-example version: '0.1.0' @@ -1001,7 +1001,7 @@ Serves as a mechanism within workflows to handle errors gracefully, potentially ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: try-example version: '0.1.0' @@ -1058,7 +1058,7 @@ Allows workflows to pause or delay their execution for a specified period of tim ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: wait-example version: '0.1.0' @@ -1122,7 +1122,7 @@ Defines the mechanism used to authenticate users and workflows attempting to acc ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: authentication-example version: '0.1.0' @@ -1159,7 +1159,7 @@ Defines the fundamentals of a 'basic' authentication. ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: basic-authentication-example version: '0.1.0' @@ -1194,7 +1194,7 @@ Defines the fundamentals of a 'bearer' authentication ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: bearer-authentication-example version: '0.1.0' @@ -1228,7 +1228,7 @@ Defines the fundamentals of a 'digest' authentication. ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: digest-authentication-example version: '0.1.0' @@ -1279,7 +1279,7 @@ Defines the fundamentals of an 'oauth2' authentication. ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: oauth2-authentication-example version: '0.1.0' @@ -1341,7 +1341,7 @@ Defines the fundamentals of an 'oidc' authentication. ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: oidc-authentication-example version: '0.1.0' @@ -1383,7 +1383,7 @@ Extensions enable the execution of tasks prior to those they extend, offering th *Perform logging before and after any non-extension task is run:* ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: logging-extension-example version: '0.1.0' @@ -1418,7 +1418,7 @@ do: *Intercept HTTP calls to 'https://mocked.service.com' and mock its response:* ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: intercept-extension-example version: '0.1.0' @@ -1733,7 +1733,7 @@ Defines a workflow or task timeout. ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: timeout-example version: '0.1.0' diff --git a/dsl.md b/dsl.md index fe60dfee..67b0f3b9 100644 --- a/dsl.md +++ b/dsl.md @@ -531,7 +531,7 @@ The following example demonstrates how to use the `validateEmailAddress` custom ```yaml # workflow.yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: customFunctionWorkflow version: '0.1.0' @@ -599,7 +599,7 @@ See the [DSL reference](dsl-reference.md#extension) for more details about exten *Sample logging extension:* ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: sample-workflow version: '0.1.0' diff --git a/examples/accumulate-room-readings.yaml b/examples/accumulate-room-readings.yaml index 306652e0..835fe857 100644 --- a/examples/accumulate-room-readings.yaml +++ b/examples/accumulate-room-readings.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: examples name: accumulate-room-readings version: '0.1.0' diff --git a/examples/authentication-bearer-uri-format.yaml b/examples/authentication-bearer-uri-format.yaml index e68f3f05..3feb22a6 100644 --- a/examples/authentication-bearer-uri-format.yaml +++ b/examples/authentication-bearer-uri-format.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: examples name: bearer-auth version: '0.1.0' diff --git a/examples/authentication-bearer.yaml b/examples/authentication-bearer.yaml index c064038a..025c0ef1 100644 --- a/examples/authentication-bearer.yaml +++ b/examples/authentication-bearer.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: examples name: bearer-auth-uri-format version: '0.1.0' diff --git a/examples/authentication-oauth2.yaml b/examples/authentication-oauth2.yaml index 9008ac7d..52dcc455 100644 --- a/examples/authentication-oauth2.yaml +++ b/examples/authentication-oauth2.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: examples name: oauth2-authentication version: '0.1.0' diff --git a/examples/authentication-oidc.yaml b/examples/authentication-oidc.yaml index c23d3b71..84fe2d61 100644 --- a/examples/authentication-oidc.yaml +++ b/examples/authentication-oidc.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: examples name: oidc-authentication version: '0.1.0' diff --git a/examples/authentication-reusable.yaml b/examples/authentication-reusable.yaml index cdabf302..15586365 100644 --- a/examples/authentication-reusable.yaml +++ b/examples/authentication-reusable.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: examples name: bearer-auth version: '0.1.0' diff --git a/examples/call-asyncapi.yaml b/examples/call-asyncapi.yaml index 6c955952..cc392138 100644 --- a/examples/call-asyncapi.yaml +++ b/examples/call-asyncapi.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: examples name: bearer-auth version: '0.1.0' diff --git a/examples/call-custom-function-cataloged.yaml b/examples/call-custom-function-cataloged.yaml index 6613b17e..d302f8a6 100644 --- a/examples/call-custom-function-cataloged.yaml +++ b/examples/call-custom-function-cataloged.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: samples name: call-custom-function-cataloged version: '0.1.0' diff --git a/examples/call-custom-function-inline.yaml b/examples/call-custom-function-inline.yaml index a450a2ef..85ca55b9 100644 --- a/examples/call-custom-function-inline.yaml +++ b/examples/call-custom-function-inline.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: samples name: call-custom-function-inline version: '0.1.0' diff --git a/examples/call-grpc.yaml b/examples/call-grpc.yaml index 9f9a7e6d..9c3dde83 100644 --- a/examples/call-grpc.yaml +++ b/examples/call-grpc.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: grpc-example version: '0.1.0' diff --git a/examples/call-http-endpoint-interpolation-shorthand.yaml b/examples/call-http-endpoint-interpolation-shorthand.yaml index 9ac1852b..2f6c5f35 100644 --- a/examples/call-http-endpoint-interpolation-shorthand.yaml +++ b/examples/call-http-endpoint-interpolation-shorthand.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: examples name: call-http-shorthand-endpoint version: '0.1.0' diff --git a/examples/call-http-endpoint-interpolation.yaml b/examples/call-http-endpoint-interpolation.yaml index bb014ad7..d69c8378 100644 --- a/examples/call-http-endpoint-interpolation.yaml +++ b/examples/call-http-endpoint-interpolation.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: examples name: call-http-shorthand-endpoint version: '0.1.0' diff --git a/examples/call-openapi.yaml b/examples/call-openapi.yaml index 90826f93..1f1a025c 100644 --- a/examples/call-openapi.yaml +++ b/examples/call-openapi.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: openapi-example version: '0.1.0' diff --git a/examples/conditional-task.yaml b/examples/conditional-task.yaml index b0981e8b..f0699fea 100644 --- a/examples/conditional-task.yaml +++ b/examples/conditional-task.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: conditional-task version: '0.1.0' diff --git a/examples/do-multiple.yaml b/examples/do-multiple.yaml index 032d1dc0..51b3e55b 100644 --- a/examples/do-multiple.yaml +++ b/examples/do-multiple.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: examples name: call-http-shorthand-endpoint version: '0.1.0' diff --git a/examples/do-single.yaml b/examples/do-single.yaml index 9ac1852b..2f6c5f35 100644 --- a/examples/do-single.yaml +++ b/examples/do-single.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: examples name: call-http-shorthand-endpoint version: '0.1.0' diff --git a/examples/emit.yaml b/examples/emit.yaml index 82fe2823..8c3cdbef 100644 --- a/examples/emit.yaml +++ b/examples/emit.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: emit version: '0.1.0' diff --git a/examples/for.yaml b/examples/for.yaml index 333fcb25..c0e11b59 100644 --- a/examples/for.yaml +++ b/examples/for.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: for-example version: '0.1.0' diff --git a/examples/fork.yaml b/examples/fork.yaml index 41934624..d74e059a 100644 --- a/examples/fork.yaml +++ b/examples/fork.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: fork-example version: '0.1.0' diff --git a/examples/listen-to-all.yaml b/examples/listen-to-all.yaml index c865d121..daa4a040 100644 --- a/examples/listen-to-all.yaml +++ b/examples/listen-to-all.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: listen-to-all version: '0.1.0' diff --git a/examples/listen-to-any.yaml b/examples/listen-to-any.yaml index 5c959fdd..58ff4bc2 100644 --- a/examples/listen-to-any.yaml +++ b/examples/listen-to-any.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: listen-to-any version: '0.1.0' diff --git a/examples/listen-to-one.yaml b/examples/listen-to-one.yaml index 00089e15..c723edbf 100644 --- a/examples/listen-to-one.yaml +++ b/examples/listen-to-one.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: listen-to-one version: '0.1.0' diff --git a/examples/mock-service-extension.yaml b/examples/mock-service-extension.yaml index c0a78740..3f331c8d 100644 --- a/examples/mock-service-extension.yaml +++ b/examples/mock-service-extension.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: sample-workflow version: 0.1.0 diff --git a/examples/raise-inline copy.yaml b/examples/raise-inline copy.yaml index b190c877..fd8a2a06 100644 --- a/examples/raise-inline copy.yaml +++ b/examples/raise-inline copy.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: raise-not-implemented version: '0.1.0' diff --git a/examples/raise-reusable.yaml b/examples/raise-reusable.yaml index 5724ff6e..e945dfb9 100644 --- a/examples/raise-reusable.yaml +++ b/examples/raise-reusable.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: raise-not-implemented version: '0.1.0' diff --git a/examples/run-container.yaml b/examples/run-container.yaml index 5c7cfc98..45c3b99a 100644 --- a/examples/run-container.yaml +++ b/examples/run-container.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: run-container version: '0.1.0' diff --git a/examples/run-script-with-arguments.yaml b/examples/run-script-with-arguments.yaml index 2f4c02a6..8fb4676c 100644 --- a/examples/run-script-with-arguments.yaml +++ b/examples/run-script-with-arguments.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: samples name: run-script-with-arguments version: 0.1.0 diff --git a/examples/run-subflow.yaml b/examples/run-subflow.yaml index dea9cf15..a2219345 100644 --- a/examples/run-subflow.yaml +++ b/examples/run-subflow.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: run-subflow version: '0.1.0' diff --git a/examples/schedule-cron.yaml b/examples/schedule-cron.yaml index 330fe7a7..933a1628 100644 --- a/examples/schedule-cron.yaml +++ b/examples/schedule-cron.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: examples name: cron-schedule version: '0.1.0' diff --git a/examples/schedule-event-driven.yaml b/examples/schedule-event-driven.yaml index 0913796f..bb63c2a3 100644 --- a/examples/schedule-event-driven.yaml +++ b/examples/schedule-event-driven.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: examples name: event-driven-schedule version: '0.1.0' diff --git a/examples/set.yaml b/examples/set.yaml index 161c16b9..35857943 100644 --- a/examples/set.yaml +++ b/examples/set.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: set version: '0.1.0' diff --git a/examples/switch-then-string.yaml b/examples/switch-then-string.yaml index 547e94cf..6bba5a2c 100644 --- a/examples/switch-then-string.yaml +++ b/examples/switch-then-string.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: sample-workflow version: 0.1.0 diff --git a/examples/try-catch-retry-inline.yaml b/examples/try-catch-retry-inline.yaml index 7033562b..67517219 100644 --- a/examples/try-catch-retry-inline.yaml +++ b/examples/try-catch-retry-inline.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: try-catch-retry version: '0.1.0' diff --git a/examples/try-catch-retry-reusable.yaml b/examples/try-catch-retry-reusable.yaml index 76b1b69e..18f420f0 100644 --- a/examples/try-catch-retry-reusable.yaml +++ b/examples/try-catch-retry-reusable.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: try-catch-retry version: '0.1.0' diff --git a/examples/try-catch-then.yaml b/examples/try-catch-then.yaml index 2facecaf..6226e71c 100644 --- a/examples/try-catch-then.yaml +++ b/examples/try-catch-then.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: try-catch version: '0.1.0' diff --git a/examples/try-catch.yaml b/examples/try-catch.yaml index 2266067e..18863c7b 100644 --- a/examples/try-catch.yaml +++ b/examples/try-catch.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: try-catch version: '0.1.0' diff --git a/examples/wait-duration-inline.yaml b/examples/wait-duration-inline.yaml index f854275e..0f176c96 100644 --- a/examples/wait-duration-inline.yaml +++ b/examples/wait-duration-inline.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: wait-duration-inline version: '0.1.0' diff --git a/examples/wait-duration-iso8601.yaml b/examples/wait-duration-iso8601.yaml index 56e32b4d..ac6a1c51 100644 --- a/examples/wait-duration-iso8601.yaml +++ b/examples/wait-duration-iso8601.yaml @@ -1,5 +1,5 @@ document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: test name: wait-duration-8601 version: '0.1.0' diff --git a/schema/workflow.yaml b/schema/workflow.yaml index 11d02c04..7162014e 100644 --- a/schema/workflow.yaml +++ b/schema/workflow.yaml @@ -1,4 +1,4 @@ -$id: https://serverlessworkflow.io/schemas/1.0.0/workflow.yaml +$id: https://serverlessworkflow.io/schemas/1.0.0-alpha3/workflow.yaml $schema: https://json-schema.org/draft/2020-12/schema description: Serverless Workflow DSL - Workflow Schema. type: object @@ -1486,4 +1486,4 @@ $defs: type: string title: RuntimeExpression description: A runtime expression. - pattern: "^\\s*\\$\\{.+\\}\\s*$" \ No newline at end of file + pattern: "^\\s*\\$\\{.+\\}\\s*$" diff --git a/use-cases/automated-data-backup/README.md b/use-cases/automated-data-backup/README.md index 25906a71..bea0fa4c 100644 --- a/use-cases/automated-data-backup/README.md +++ b/use-cases/automated-data-backup/README.md @@ -54,7 +54,7 @@ The following diagram represents the high-level flow of the workflow: ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: sql-export-to-minio version: 0.1.2 diff --git a/use-cases/managing-ev-charging-stations/README.md b/use-cases/managing-ev-charging-stations/README.md index 35e41091..715b6a27 100644 --- a/use-cases/managing-ev-charging-stations/README.md +++ b/use-cases/managing-ev-charging-stations/README.md @@ -70,7 +70,7 @@ The following diagram represents the high-level flow of the workflow: ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: manage-ev-charging-stations version: '0.1.0' diff --git a/use-cases/managing-github-issues/README.md b/use-cases/managing-github-issues/README.md index d320c4e5..d50c5015 100644 --- a/use-cases/managing-github-issues/README.md +++ b/use-cases/managing-github-issues/README.md @@ -63,7 +63,7 @@ The following diagram represents the high-level flow of the workflow: ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: manage-github-issues version: '0.1.0' diff --git a/use-cases/multi-agent-ai-content-generation/README.md b/use-cases/multi-agent-ai-content-generation/README.md index abb633fd..d989c8e5 100644 --- a/use-cases/multi-agent-ai-content-generation/README.md +++ b/use-cases/multi-agent-ai-content-generation/README.md @@ -66,7 +66,7 @@ The following diagram represents the high-level flow of the workflow: ```yaml document: - dsl: '1.0.0' + dsl: '1.0.0-alpha3' namespace: default name: multi-agent-collaboration-for-ai-content version: '0.1.0'