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
+47-18Lines changed: 47 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -157,6 +157,7 @@ $defs:
157
157
type: string
158
158
const: asyncapi
159
159
with:
160
+
title: WithAsyncAPI
160
161
type: object
161
162
properties:
162
163
document:
@@ -195,6 +196,7 @@ $defs:
195
196
type: string
196
197
const: grpc
197
198
with:
199
+
title: WithGRPC
198
200
type: object
199
201
properties:
200
202
proto:
@@ -241,6 +243,7 @@ $defs:
241
243
type: string
242
244
const: http
243
245
with:
246
+
title: WithHTTP
244
247
type: object
245
248
properties:
246
249
method:
@@ -274,6 +277,7 @@ $defs:
274
277
type: string
275
278
const: openapi
276
279
with:
280
+
title: WithOpenAPI
277
281
type: object
278
282
properties:
279
283
document:
@@ -441,7 +445,8 @@ $defs:
441
445
run:
442
446
type: object
443
447
oneOf:
444
-
- properties:
448
+
- title: RunContainer
449
+
properties:
445
450
container:
446
451
type: object
447
452
properties:
@@ -458,55 +463,64 @@ $defs:
458
463
type: object
459
464
description: The container's volume mappings, if any.
460
465
environment:
466
+
title: ContainerEnvironment
461
467
type: object
462
468
description: A key/value mapping of the environment variables, if any, to use when running the configured process.
463
469
required: [ image ]
464
470
required: [ container ]
465
471
description: Enables the execution of external processes encapsulated within a containerized environment.
466
-
- properties:
472
+
- title: RunScript
473
+
properties:
467
474
script:
468
475
type: object
469
476
properties:
470
477
language:
471
478
type: string
472
479
description: The language of the script to run.
473
480
environment:
481
+
title: ScriptEnvironment
474
482
type: object
475
483
additionalProperties: true
476
484
description: A key/value mapping of the environment variables, if any, to use when running the configured process.
477
485
oneOf:
478
-
- properties:
486
+
- title: ScriptInline
487
+
properties:
479
488
code:
480
489
type: string
481
490
required: [ code ]
482
491
description: The script's code.
483
-
- properties:
492
+
- title: ScriptExternal
493
+
properties:
484
494
source:
485
495
$ref: '#/$defs/externalResource'
486
496
description: The script's resource.
487
497
required: [ source ]
488
498
required: [ language ]
489
499
required: [ script ]
490
500
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:
501
+
- title: RunShell
502
+
properties:
492
503
shell:
493
504
type: object
494
505
properties:
495
506
command:
496
507
type: string
497
508
description: The shell command to run.
498
509
arguments:
510
+
title: ScriptArguments
499
511
type: object
500
512
additionalProperties: true
501
513
description: A list of the arguments of the shell command to run.
502
514
environment:
515
+
title: ShellEnvironment
503
516
type: object
504
517
additionalProperties: true
505
518
description: A key/value mapping of the environment variables, if any, to use when running the configured process.
506
519
required: [ command ]
507
520
required: [ shell ]
508
521
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:
522
+
- title: RunWokflow
523
+
properties:
510
524
workflow:
511
525
type: object
512
526
properties:
@@ -521,6 +535,7 @@ $defs:
521
535
default: latest
522
536
description: The version of the workflow to run. Defaults to latest
523
537
input:
538
+
title: WorkflowInput
524
539
type: object
525
540
additionalProperties: true
526
541
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 +594,7 @@ $defs:
579
594
type: object
580
595
properties:
581
596
errors:
597
+
title: CatchErrors
582
598
type: object
583
599
as:
584
600
type: string
@@ -615,7 +631,8 @@ $defs:
615
631
authenticationPolicy:
616
632
type: object
617
633
oneOf:
618
-
- properties:
634
+
- title: BasicAuthenticationPolicy
635
+
properties:
619
636
basic:
620
637
type: object
621
638
properties:
@@ -628,7 +645,8 @@ $defs:
628
645
required: [ username, password ]
629
646
required: [ basic ]
630
647
description: Use basic authentication.
631
-
- properties:
648
+
- title: BearerAuthenticationPolicy
649
+
properties:
632
650
bearer:
633
651
type: object
634
652
properties:
@@ -638,7 +656,8 @@ $defs:
638
656
required: [ token ]
639
657
required: [ bearer ]
640
658
description: Use bearer authentication.
641
-
- properties:
659
+
- title: OAuth2AuthenticationPolicy
660
+
properties:
642
661
oauth2:
643
662
type: object
644
663
properties:
@@ -752,21 +771,24 @@ $defs:
752
771
eventConsumptionStrategy:
753
772
type: object
754
773
oneOf:
755
-
- properties:
774
+
- title: AllEventConsumptionStrategy
775
+
properties:
756
776
all:
757
777
type: array
758
778
items:
759
779
$ref: '#/$defs/eventFilter'
760
780
description: A list containing all the events that must be consumed.
761
781
required: [ all ]
762
-
- properties:
782
+
- title: AnyEventConsumptionStrategy
783
+
properties:
763
784
any:
764
785
type: array
765
786
items:
766
787
$ref: '#/$defs/eventFilter'
767
788
description: A list containing any of the events to consume.
768
789
required: [ any ]
769
-
- properties:
790
+
- title: OneEventConsumptionStrategy
791
+
properties:
770
792
one:
771
793
$ref: '#/$defs/eventFilter'
772
794
description: The single event to consume.
@@ -775,6 +797,7 @@ $defs:
775
797
type: object
776
798
properties:
777
799
with:
800
+
title: WithEvent
778
801
type: object
779
802
minProperties: 1
780
803
properties:
@@ -835,7 +858,8 @@ $defs:
835
858
oneOf:
836
859
- type: string
837
860
format: uri
838
-
- type: object
861
+
- title: ExternalResourceURI
862
+
type: object
839
863
properties:
840
864
uri:
841
865
type: string
@@ -895,17 +919,20 @@ $defs:
895
919
backoff:
896
920
type: object
897
921
oneOf:
898
-
- properties:
922
+
- title: constantBackoff
923
+
properties:
899
924
constant:
900
925
type: object
901
926
description: The definition of the constant backoff to use, if any.
902
927
required: [ constant ]
903
-
- properties:
928
+
- title: exponentialBackOff
929
+
properties:
904
930
exponential:
905
931
type: object
906
932
description: The definition of the exponential backoff to use, if any.
907
933
required: [ exponential ]
908
-
- properties:
934
+
- title: linealBackoff
935
+
properties:
909
936
linear:
910
937
type: object
911
938
description: The definition of the linear backoff to use, if any.
@@ -947,11 +974,13 @@ $defs:
947
974
default: json
948
975
description: The schema's format. Defaults to 'json'. The (optional) version of the format can be set using `{format}:{version}`.
0 commit comments