You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dsl.md
+20-11Lines changed: 20 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -343,18 +343,20 @@ When the evaluation of an expression fails, runtimes **must** raise an error wit
343
343
| input |`any`| The task's transformed input. |
344
344
| output |`any`| The task's transformed output. |
345
345
| secrets |`map`| A key/value map of the workflow secrets.<br>To avoid unintentional bleeding, secrets can only be used in the `input.from` runtime expression. |
346
+
| authorization |[`authorizationDescriptor`](#authorization-descriptor)| Describes the resolved authorization, as defined by the task's authentication, if any. |
346
347
| task |[`taskDescriptor`](#task-descriptor)| Describes the current task. |
347
348
| workflow |[`workflowDescriptor`](#workflow-descriptor)| Describes the current workflow. |
348
349
| runtime |[`runtimeDescriptor`](#runtime-descriptor)| Describes the runtime. |
349
350
351
+
350
352
##### Runtime Descriptor
351
353
352
354
This argument contains information about the runtime executing the workflow.
353
355
354
356
| Name | Type | Description | Example |
355
-
|:-----|:----:|:------------|-------|
357
+
|:-----|:----:|:------------|:--------|
356
358
| name |`string`| A human friendly name for the runtime. |`Synapse`, `Sonata`|
357
-
| version |`string`| The version of the runtime. This can be an arbitrary string |a incrementing positive integer (`362`), semantic version (`1.4.78`), commit hash (`04cd3be6da98fc35422c8caa821e0aa1ef6b2c02`) or container image label (`v0.7.43-alpine`) |
359
+
| version |`string`| The version of the runtime. This can be an arbitrary string |An incrementing positive integer (`362`), semantic version (`1.4.78`), commit hash (`04cd3be6da98fc35422c8caa821e0aa1ef6b2c02`) or container image label (`v0.7.43-alpine`) |
358
360
| metadata |`map`| An object/map of implementation specific key-value pairs. This can be chosen by runtime implementors and usage of this argument signals that a given workflow definition might not be runtime agnostic | A Software as a Service (SaaS) provider might choose to expose information about the tenant the workflow is executed for e.g. `{ "organization": { "id": "org-ff51cff2-fc83-4d70-9af1-8dacdbbce0be", "name": "example-corp" }, "featureFlags": ["fastZip", "arm64"] }`. |
359
361
360
362
##### Workflow Descriptor
@@ -377,6 +379,13 @@ This argument contains information about the runtime executing the workflow.
377
379
| output |`any`| The task's *raw* output (i.e. *BEFORE* the `output.as` expression). ||
378
380
| startedAt |[`dateTimeDescriptor`](#datetime-descriptor)| The start time of the task ||
379
381
382
+
##### Authorization Descriptor
383
+
384
+
| Name | Type | Description | Example |
385
+
|:-------|:------:|:------------|:--------|
386
+
| scheme |`string`| The resolved authorization scheme. |`Bearer`|
387
+
| parameter |`string`| The resolved authorization parameter. |`eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJVadQssw5c`|
388
+
380
389
##### DateTime Descriptor
381
390
382
391
| Name | Type | Description | Example |
@@ -387,15 +396,15 @@ This argument contains information about the runtime executing the workflow.
387
396
388
397
The following table shows which arguments are available for each runtime expression:
389
398
390
-
| Runtime Expression | Evaluated on | Produces |`$context`|`$input`|`$output`|`$secrets`|`$task`|`$workflow`|
0 commit comments