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
"description": "Workflow definition unique identifier (workflow id property)"
20
+
},
21
+
"workflowVersions": {
22
+
"type": "array",
23
+
"description": "Workflow versions. If not defined, applies to all workflow instances (regardless of their associated workflow version)",
24
+
"items": {
25
+
"type": "string"
26
+
}
27
+
},
28
+
"singleInstance": {
29
+
"description": "Rate Limit settings per single instance of a workflow with provided workflowid",
30
+
"$ref": "#/definitions/ratelimits"
31
+
},
32
+
"allInstances": {
33
+
"description": "Rate Limit settings across all instance of a workflow with provided workflowid",
34
+
"$ref": "#/definitions/ratelimits"
35
+
}
36
+
},
37
+
"required": [
38
+
"extensionid",
39
+
"workflowid"
40
+
]
41
+
},
42
+
"ratelimits": {
43
+
"type": "object",
44
+
"properties": {
45
+
"maxActionsPerSecond": {
46
+
"type": "number",
47
+
"default": 0,
48
+
"description": "Sets the rate limiting on number of actions that can be executed per second. Notice that the number is represented as number type, so that you can set it to less than 1 if needed. For example, set the number to 0.1 means workflow actions can be executed once every 10 seconds. Default zero value means 'unlimited'"
49
+
},
50
+
"maxConcurrentActions": {
51
+
"type": "number",
52
+
"default": 100,
53
+
"description": "Maximum number of actions that can be executed in parallel"
54
+
},
55
+
"maxProducedEventsPerSecond": {
56
+
"type": "number",
57
+
"default": 0,
58
+
"description": "Sets the rate limiting on number of events that can be produced per second. Notice that the number is represented as number type, so that you can set it to less than 1 if needed. For example, set the number to 0.1 means workflow can produce events once every 10 seconds. Default zero value means 'unlimited'"
59
+
},
60
+
"maxStates": {
61
+
"type": "integer",
62
+
"default": 0,
63
+
"description": "Maximum number of workflow states that should be executed. Default is zero, meaning unlimited."
64
+
},
65
+
"maxTransitions": {
66
+
"type": "integer",
67
+
"default": 0,
68
+
"description": "Maximum number of workflow transitions that should be executed. Default is zero, meaning unlimited."
Copy file name to clipboardExpand all lines: schemas/0.7/functions.json
+12-2Lines changed: 12 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -36,19 +36,29 @@
36
36
},
37
37
"operation": {
38
38
"type": "string",
39
-
"description": "If type is `rest`, <path_to_openapi_definition>#<operation_id>. If type is `rpc`, <path_to_grpc_proto_file>#<service_name>#<service_method>. If type is `graphql`, <url_to_graphql_endpoint>#<literal \"mutation\" or \"query\">#<query_or_mutation_name>. If type is `expression`, defines the workflow expression.",
39
+
"description": "If type is `rest`, <path_to_openapi_definition>#<operation_id>. If type is `asyncapi`, <path_to_asyncapi_definition>#<operation_id>. If type is `rpc`, <path_to_grpc_proto_file>#<service_name>#<service_method>. If type is `graphql`, <url_to_graphql_endpoint>#<literal \\\"mutation\\\" or \\\"query\\\">#<query_or_mutation_name>. If type is `odata`, <URI_to_odata_service>#<Entity_Set_Name>. If type is `expression`, defines the workflow expression.",
40
40
"minLength": 1
41
41
},
42
42
"type": {
43
43
"type": "string",
44
-
"description": "Defines the function type. Is either `rest`, `rpc`, `graphql` or `expression`. Default is `rest`",
44
+
"description": "Defines the function type. Is either `rest`, `asyncapi, `rpc`, `graphql`, `odata`, or `expression`. Default is `rest`",
45
45
"enum": [
46
46
"rest",
47
+
"asyncapi",
47
48
"rpc",
48
49
"graphql",
50
+
"odata",
49
51
"expression"
50
52
],
51
53
"default": "rest"
54
+
},
55
+
"authRef": {
56
+
"type": "string",
57
+
"description": "References an auth definition name to be used to access to resource defined in the operation parameter",
0 commit comments