diff --git a/dsl-reference.md b/dsl-reference.md index 2a63abe7..bc6ad69b 100644 --- a/dsl-reference.md +++ b/dsl-reference.md @@ -57,7 +57,6 @@ + [Authentication](#authentication) - [Basic](#basic-authentication) - [Bearer](#bearer-authentication) - - [Certificate](#certificate-authentication) - [Digest](#digest-authentication) - [OAUTH2](#oauth2-authentication) - [OpenIdConnect](#openidconnect-authentication) @@ -156,8 +155,8 @@ Configures a workflow's runtime expression evaluation. | Name | Type | Required | Description| |:--|:---:|:---:|:---| -| language | `string` | `yes` | The language used for writting runtime expressions.
*Defaults to `jq`.* | -| mode | `string` | `yes` | The runtime expression evaluation mode.
*Supported values are:*
- `strict`: requires all expressions to be enclosed within `${ }` for proper identification and evaluation.
- `loose`: evaluates any value provided. If the evaluation fails, it results in a string with the expression as its content.
*Defaults to `strict`.* +| language | `string` | `no` | The language used for writting runtime expressions.
*Defaults to `jq`.* | +| mode | `string` | `no` | The runtime expression evaluation mode.
*Supported values are:*
- `strict`: requires all expressions to be enclosed within `${ }` for proper identification and evaluation.
- `loose`: evaluates any value provided. If the evaluation fails, it results in a string with the expression as its content.
*Defaults to `strict`.* #### Examples @@ -1708,7 +1707,6 @@ Defines the mechanism used to authenticate users and workflows attempting to acc | use | `string` | `no` | The name of the top-level authentication definition to use. Cannot be used by authentication definitions defined at top level. | | basic | [`basicAuthentication`](#basic-authentication) | `no` | The `basic` authentication scheme to use, if any.
Required if no other property has been set, otherwise ignored. | | bearer | [`bearerAuthentication`](#bearer-authentication) | `no` | The `bearer` authentication scheme to use, if any.
Required if no other property has been set, otherwise ignored. | -| certificate | [`certificateAuthentication`](#certificate-authentication) | `no` | The `certificate` authentication scheme to use, if any.
Required if no other property has been set, otherwise ignored. | | digest | [`digestAuthentication`](#digest-authentication) | `no` | The `digest` authentication scheme to use, if any.
Required if no other property has been set, otherwise ignored. | | oauth2 | [`oauth2`](#oauth2-authentication) | `no` | The `oauth2` authentication scheme to use, if any.
Required if no other property has been set, otherwise ignored. | | oidc | [`oidc`](#openidconnect-authentication) | `no` | The `oidc` authentication scheme to use, if any.
Required if no other property has been set, otherwise ignored. | @@ -1805,9 +1803,6 @@ do: token: ${ .user.token } ``` -#### Certificate Authentication - - #### Digest Authentication Defines the fundamentals of a 'digest' authentication. diff --git a/schema/workflow.yaml b/schema/workflow.yaml index 0bd5cc42..8134ad41 100644 --- a/schema/workflow.yaml +++ b/schema/workflow.yaml @@ -152,6 +152,23 @@ properties: $ref: '#/$defs/eventConsumptionStrategy' title: ScheduleOn description: Specifies the events that trigger the workflow execution. + evaluate: + type: object + title: Evaluate + description: Configures the workflow's runtime expression evaluation. + unevaluatedProperties: false + properties: + language: + type: string + default: jq + title: EvaluateLanguage + description: The language used for writing runtime expressions. Defaults to 'jq'. + mode: + type: string + enum: [ strict, loose ] + default: strict + title: EvaluateMode + description: The runtime expression evaluation mode. Defaults to 'strict'. $defs: taskList: title: TaskList @@ -569,7 +586,7 @@ $defs: type: string title: McpClientName description: The name of the client used to connect to the MCP server. - description: + version: type: string title: McpClientVersion description: The version of the client used to connect to the MCP server.