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: api/src/main/resources/schema/workflow.yaml
+50-18
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,7 @@ properties:
54
54
type: array
55
55
items:
56
56
type: object
57
+
title: ExtensionItem
57
58
minProperties: 1
58
59
maxProperties: 1
59
60
additionalProperties:
@@ -105,6 +106,7 @@ $defs:
105
106
type: array
106
107
items:
107
108
type: object
109
+
title: TaskItem
108
110
minProperties: 1
109
111
maxProperties: 1
110
112
additionalProperties:
@@ -157,6 +159,7 @@ $defs:
157
159
type: string
158
160
const: asyncapi
159
161
with:
162
+
title: WithAsyncAPI
160
163
type: object
161
164
properties:
162
165
document:
@@ -195,6 +198,7 @@ $defs:
195
198
type: string
196
199
const: grpc
197
200
with:
201
+
title: WithGRPC
198
202
type: object
199
203
properties:
200
204
proto:
@@ -241,6 +245,7 @@ $defs:
241
245
type: string
242
246
const: http
243
247
with:
248
+
title: WithHTTP
244
249
type: object
245
250
properties:
246
251
method:
@@ -274,6 +279,7 @@ $defs:
274
279
type: string
275
280
const: openapi
276
281
with:
282
+
title: WithOpenAPI
277
283
type: object
278
284
properties:
279
285
document:
@@ -441,7 +447,8 @@ $defs:
441
447
run:
442
448
type: object
443
449
oneOf:
444
-
- properties:
450
+
- title: RunContainer
451
+
properties:
445
452
container:
446
453
type: object
447
454
properties:
@@ -458,56 +465,66 @@ $defs:
458
465
type: object
459
466
description: The container's volume mappings, if any.
460
467
environment:
468
+
title: ContainerEnvironment
461
469
type: object
462
470
description: A key/value mapping of the environment variables, if any, to use when running the configured process.
463
471
required: [ image ]
464
472
required: [ container ]
465
473
description: Enables the execution of external processes encapsulated within a containerized environment.
466
-
- properties:
474
+
- title: RunScript
475
+
properties:
467
476
script:
468
477
type: object
469
478
properties:
470
479
language:
471
480
type: string
472
481
description: The language of the script to run.
473
482
environment:
483
+
title: ScriptEnvironment
474
484
type: object
475
485
additionalProperties: true
476
486
description: A key/value mapping of the environment variables, if any, to use when running the configured process.
477
487
oneOf:
478
-
- properties:
488
+
- title: ScriptInline
489
+
properties:
479
490
code:
480
491
type: string
481
492
required: [ code ]
482
493
description: The script's code.
483
-
- properties:
494
+
- title: ScriptExternal
495
+
properties:
484
496
source:
485
497
$ref: '#/$defs/externalResource'
486
498
description: The script's resource.
487
499
required: [ source ]
488
500
required: [ language ]
489
501
required: [ script ]
490
502
description: Enables the execution of custom scripts or code within a workflow, empowering workflows to perform specialized logic, data processing, or integration tasks by executing user-defined scripts written in various programming languages.
491
-
- properties:
503
+
- title: RunShell
504
+
properties:
492
505
shell:
493
506
type: object
494
507
properties:
495
508
command:
496
509
type: string
497
510
description: The shell command to run.
498
511
arguments:
512
+
title: ShellArguments
499
513
type: object
500
514
additionalProperties: true
501
515
description: A list of the arguments of the shell command to run.
502
516
environment:
517
+
title: ShellEnvironment
503
518
type: object
504
519
additionalProperties: true
505
520
description: A key/value mapping of the environment variables, if any, to use when running the configured process.
506
521
required: [ command ]
507
522
required: [ shell ]
508
523
description: Enables the execution of shell commands within a workflow, enabling workflows to interact with the underlying operating system and perform system-level operations, such as file manipulation, environment configuration, or system administration tasks.
509
-
- properties:
524
+
- title: RunWokflow
525
+
properties:
510
526
workflow:
527
+
title: RunWorkflowDescriptor
511
528
type: object
512
529
properties:
513
530
namespace:
@@ -521,6 +538,7 @@ $defs:
521
538
default: latest
522
539
description: The version of the workflow to run. Defaults to latest
523
540
input:
541
+
title: WorkflowInput
524
542
type: object
525
543
additionalProperties: true
526
544
description: The data, if any, to pass as input to the workflow to execute. The value should be validated against the target workflow's input schema, if specified.
@@ -579,6 +597,7 @@ $defs:
579
597
type: object
580
598
properties:
581
599
errors:
600
+
title: CatchErrors
582
601
type: object
583
602
as:
584
603
type: string
@@ -615,7 +634,8 @@ $defs:
615
634
authenticationPolicy:
616
635
type: object
617
636
oneOf:
618
-
- properties:
637
+
- title: BasicAuthenticationPolicy
638
+
properties:
619
639
basic:
620
640
type: object
621
641
properties:
@@ -628,7 +648,8 @@ $defs:
628
648
required: [ username, password ]
629
649
required: [ basic ]
630
650
description: Use basic authentication.
631
-
- properties:
651
+
- title: BearerAuthenticationPolicy
652
+
properties:
632
653
bearer:
633
654
type: object
634
655
properties:
@@ -638,7 +659,8 @@ $defs:
638
659
required: [ token ]
639
660
required: [ bearer ]
640
661
description: Use bearer authentication.
641
-
- properties:
662
+
- title: OAuth2AuthenticationPolicy
663
+
properties:
642
664
oauth2:
643
665
type: object
644
666
properties:
@@ -752,21 +774,24 @@ $defs:
752
774
eventConsumptionStrategy:
753
775
type: object
754
776
oneOf:
755
-
- properties:
777
+
- title: AllEventConsumptionStrategy
778
+
properties:
756
779
all:
757
780
type: array
758
781
items:
759
782
$ref: '#/$defs/eventFilter'
760
783
description: A list containing all the events that must be consumed.
761
784
required: [ all ]
762
-
- properties:
785
+
- title: AnyEventConsumptionStrategy
786
+
properties:
763
787
any:
764
788
type: array
765
789
items:
766
790
$ref: '#/$defs/eventFilter'
767
791
description: A list containing any of the events to consume.
768
792
required: [ any ]
769
-
- properties:
793
+
- title: OneEventConsumptionStrategy
794
+
properties:
770
795
one:
771
796
$ref: '#/$defs/eventFilter'
772
797
description: The single event to consume.
@@ -775,6 +800,7 @@ $defs:
775
800
type: object
776
801
properties:
777
802
with:
803
+
title: WithEvent
778
804
type: object
779
805
minProperties: 1
780
806
properties:
@@ -835,7 +861,8 @@ $defs:
835
861
oneOf:
836
862
- type: string
837
863
format: uri
838
-
- type: object
864
+
- title: ExternalResourceURI
865
+
type: object
839
866
properties:
840
867
uri:
841
868
type: string
@@ -895,17 +922,20 @@ $defs:
895
922
backoff:
896
923
type: object
897
924
oneOf:
898
-
- properties:
925
+
- title: ConstantBackoff
926
+
properties:
899
927
constant:
900
928
type: object
901
929
description: The definition of the constant backoff to use, if any.
902
930
required: [ constant ]
903
-
- properties:
931
+
- title: ExponentialBackOff
932
+
properties:
904
933
exponential:
905
934
type: object
906
935
description: The definition of the exponential backoff to use, if any.
907
936
required: [ exponential ]
908
-
- properties:
937
+
- title: LinearBackoff
938
+
properties:
909
939
linear:
910
940
type: object
911
941
description: The definition of the linear backoff to use, if any.
@@ -947,11 +977,13 @@ $defs:
947
977
default: json
948
978
description: The schema's format. Defaults to 'json'. The (optional) version of the format can be set using `{format}:{version}`.
0 commit comments