@camunda/connectors-element-templates 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/connectors.js +8 -2
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +30 -30
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +323 -9
- package/src/element-templates/asana-connector.json +101 -101
- package/src/element-templates/automation-anywhere-outbound-connector.json +1777 -961
- package/src/element-templates/aws-bedrock-outbound-connector.json +74 -74
- package/src/element-templates/aws-comprehend-outbound-connector.json +36 -36
- package/src/element-templates/aws-dynamodb-outbound-connector.json +1373 -1373
- package/src/element-templates/aws-eventbridge-connector-boundary.json +28 -28
- package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
- package/src/element-templates/aws-eventbridge-connector-start-event.json +23 -23
- package/src/element-templates/aws-eventbridge-outbound-connector.json +326 -326
- package/src/element-templates/aws-lambda-outbound-connector.json +231 -231
- package/src/element-templates/aws-sagemaker-outbound-connector.json +50 -50
- package/src/element-templates/aws-sns-inbound-boundary.json +285 -285
- package/src/element-templates/aws-sns-inbound-intermediate.json +33 -33
- package/src/element-templates/aws-sns-inbound-message-start.json +227 -227
- package/src/element-templates/aws-sns-inbound-start-event.json +132 -132
- package/src/element-templates/aws-sns-outbound-connector.json +370 -370
- package/src/element-templates/aws-sqs-boundary-connector.json +232 -232
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +532 -532
- package/src/element-templates/aws-sqs-outbound-connector.json +396 -396
- package/src/element-templates/aws-sqs-start-event-connector.json +389 -389
- package/src/element-templates/aws-textract-outbound-connector.json +123 -123
- package/src/element-templates/azure-blobstorage-outbound-connector.json +349 -0
- package/src/element-templates/blue-prism-connector.json +13 -13
- package/src/element-templates/box-outbound-connector.json +30 -30
- package/src/element-templates/easy-post-connector.json +121 -121
- package/src/element-templates/email-outbound-connector.json +233 -233
- package/src/element-templates/github-connector.json +1259 -1259
- package/src/element-templates/github-webhook-connector-boundary.json +35 -35
- package/src/element-templates/github-webhook-connector-intermediate.json +31 -31
- package/src/element-templates/github-webhook-connector-start-event.json +34 -34
- package/src/element-templates/gitlab-connector.json +3333 -3333
- package/src/element-templates/google-cloud-storage-outbound-connector.json +357 -0
- package/src/element-templates/google-drive-outbound-connector.json +414 -101
- package/src/element-templates/google-gemini-outbound-connector.json +32 -32
- package/src/element-templates/google-maps-platform-connector.json +489 -0
- package/src/element-templates/google-sheets-outbound-connector.json +2468 -2468
- package/src/element-templates/graphql-outbound-connector.json +1113 -1113
- package/src/element-templates/http-json-connector.json +2202 -1290
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +6 -6
- package/src/element-templates/http-polling-connector.json +6 -6
- package/src/element-templates/hugging-face-connector.json +34 -34
- package/src/element-templates/idp-extraction-outbound-connector.json +115 -0
- package/src/element-templates/jdbc-outbound-connector.json +36 -36
- package/src/element-templates/kafka-inbound-connector-boundary.json +540 -540
- package/src/element-templates/kafka-inbound-connector-intermediate.json +585 -585
- package/src/element-templates/kafka-inbound-connector.json +603 -0
- package/src/element-templates/kafka-outbound-connector.json +261 -261
- package/src/element-templates/microsoft-office365-mail-connector.json +32 -32
- package/src/element-templates/microsoft-teams-outbound-connector.json +97 -97
- package/src/element-templates/openai-connector.json +517 -159
- package/src/element-templates/operate-connector.json +569 -53
- package/src/element-templates/power-automate-connector.json +1724 -0
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +132 -132
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +941 -941
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +459 -459
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +269 -269
- package/src/element-templates/rabbitmq-outbound-connector.json +631 -631
- package/src/element-templates/salesforce-connector.json +44 -44
- package/src/element-templates/sendgrid-outbound-connector.json +787 -255
- package/src/element-templates/slack-inbound-boundary.json +215 -215
- package/src/element-templates/slack-inbound-intermediate.json +178 -178
- package/src/element-templates/slack-inbound-message-start.json +323 -323
- package/src/element-templates/slack-inbound-start-event.json +212 -212
- package/src/element-templates/slack-outbound-connector.json +777 -522
- package/src/element-templates/twilio-connector.json +29 -29
- package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
- package/src/element-templates/twilio-webhook-intermediate-connector.json +31 -31
- package/src/element-templates/uipath-connector.json +8 -8
- package/src/element-templates/webhook-connector-boundary.json +1133 -1133
- package/src/element-templates/webhook-connector-intermediate.json +1380 -1380
- package/src/element-templates/webhook-connector-start-event.json +1370 -1370
- package/src/element-templates/webhook-connector-start-message.json +1171 -1171
- package/src/element-templates/agenticai-aiagent-outbound-connector-8.8.0-alpha4.json +0 -843
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
4
|
-
"name": "REST
|
|
4
|
+
"name": "REST connector",
|
|
5
5
|
"id": "io.camunda.connectors.HttpJson.v2",
|
|
6
|
+
"deprecated": {
|
|
7
|
+
"message": "Replace with 'REST Connector' template.",
|
|
8
|
+
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
9
|
+
},
|
|
6
10
|
"description": "Invoke REST API",
|
|
7
|
-
"
|
|
8
|
-
|
|
11
|
+
"icon": {
|
|
12
|
+
"contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20viewBox%3D%220%200%2018%2018%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M17.0335%208.99997C17.0335%2013.4475%2013.4281%2017.0529%208.98065%2017.0529C4.53316%2017.0529%200.927765%2013.4475%200.927765%208.99997C0.927765%204.55248%204.53316%200.947083%208.98065%200.947083C13.4281%200.947083%2017.0335%204.55248%2017.0335%208.99997Z%22%20fill%3D%22%23505562%22%2F%3E%0A%3Cpath%20d%3D%22M4.93126%2014.1571L6.78106%203.71471H10.1375C11.1917%203.71471%2011.9824%203.98323%2012.5095%204.52027C13.0465%205.04736%2013.315%205.73358%2013.315%206.57892C13.315%207.44414%2013.0714%208.15522%2012.5841%208.71215C12.1067%209.25913%2011.4553%209.63705%2010.6298%209.8459L12.0619%2014.1571H10.3315L9.03364%2010.0249H7.24351L6.51254%2014.1571H4.93126ZM7.49711%208.59281H9.24248C9.99832%208.59281%2010.5901%208.42374%2011.0177%208.08561C11.4553%207.73753%2011.6741%207.26513%2011.6741%206.66842C11.6741%206.19106%2011.5249%205.81811%2011.2265%205.54959C10.9282%205.27113%2010.4558%205.1319%209.80936%205.1319H8.10874L7.49711%208.59281Z%22%20fill%3D%22white%22%2F%3E%0A%3C%2Fsvg%3E%0A"
|
|
13
|
+
},
|
|
14
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/rest/",
|
|
9
15
|
"category": {
|
|
10
16
|
"id": "connectors",
|
|
11
17
|
"name": "Connectors"
|
|
@@ -21,53 +27,45 @@
|
|
|
21
27
|
},
|
|
22
28
|
{
|
|
23
29
|
"id": "endpoint",
|
|
24
|
-
"label": "HTTP
|
|
30
|
+
"label": "HTTP endpoint"
|
|
25
31
|
},
|
|
26
32
|
{
|
|
27
|
-
"id": "
|
|
28
|
-
"label": "
|
|
33
|
+
"id": "input",
|
|
34
|
+
"label": "Payload"
|
|
29
35
|
},
|
|
30
36
|
{
|
|
31
|
-
"id": "
|
|
32
|
-
"label": "
|
|
37
|
+
"id": "timeout",
|
|
38
|
+
"label": "Connect timeout"
|
|
33
39
|
},
|
|
34
40
|
{
|
|
35
41
|
"id": "output",
|
|
36
|
-
"label": "
|
|
42
|
+
"label": "Response mapping"
|
|
37
43
|
},
|
|
38
44
|
{
|
|
39
|
-
"id": "
|
|
45
|
+
"id": "errors",
|
|
40
46
|
"label": "Error handling"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"id": "retries",
|
|
44
|
-
"label": "Retries"
|
|
45
47
|
}
|
|
46
48
|
],
|
|
47
49
|
"properties": [
|
|
48
50
|
{
|
|
51
|
+
"type": "Hidden",
|
|
49
52
|
"value": "io.camunda:http-json:1",
|
|
50
53
|
"binding": {
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
}
|
|
54
|
-
"type": "Hidden"
|
|
54
|
+
"type": "zeebe:taskDefinition",
|
|
55
|
+
"property": "type"
|
|
56
|
+
}
|
|
55
57
|
},
|
|
56
58
|
{
|
|
57
|
-
"id": "authentication.type",
|
|
58
59
|
"label": "Type",
|
|
60
|
+
"id": "authenticationType",
|
|
61
|
+
"group": "authentication",
|
|
59
62
|
"description": "Choose the authentication type. Select 'None' if no authentication is necessary",
|
|
60
63
|
"value": "noAuth",
|
|
61
|
-
"group": "authentication",
|
|
62
|
-
"binding": {
|
|
63
|
-
"name": "authentication.type",
|
|
64
|
-
"type": "zeebe:input"
|
|
65
|
-
},
|
|
66
64
|
"type": "Dropdown",
|
|
67
65
|
"choices": [
|
|
68
66
|
{
|
|
69
|
-
"name": "
|
|
70
|
-
"value": "
|
|
67
|
+
"name": "None",
|
|
68
|
+
"value": "noAuth"
|
|
71
69
|
},
|
|
72
70
|
{
|
|
73
71
|
"name": "Basic",
|
|
@@ -77,246 +75,199 @@
|
|
|
77
75
|
"name": "Bearer token",
|
|
78
76
|
"value": "bearer"
|
|
79
77
|
},
|
|
80
|
-
{
|
|
81
|
-
"name": "None",
|
|
82
|
-
"value": "noAuth"
|
|
83
|
-
},
|
|
84
78
|
{
|
|
85
79
|
"name": "OAuth 2.0",
|
|
86
80
|
"value": "oauth-client-credentials-flow"
|
|
87
81
|
}
|
|
88
|
-
]
|
|
82
|
+
],
|
|
83
|
+
"binding": {
|
|
84
|
+
"type": "zeebe:input",
|
|
85
|
+
"name": "authentication.type"
|
|
86
|
+
}
|
|
89
87
|
},
|
|
90
88
|
{
|
|
91
|
-
"id": "
|
|
92
|
-
"label": "
|
|
93
|
-
"
|
|
94
|
-
"optional": false,
|
|
95
|
-
"value": "headers",
|
|
96
|
-
"constraints": {
|
|
97
|
-
"notEmpty": true
|
|
98
|
-
},
|
|
99
|
-
"group": "authentication",
|
|
100
|
-
"binding": {
|
|
101
|
-
"name": "authentication.apiKeyLocation",
|
|
102
|
-
"type": "zeebe:input"
|
|
103
|
-
},
|
|
104
|
-
"condition": {
|
|
105
|
-
"property": "authentication.type",
|
|
106
|
-
"equals": "apiKey",
|
|
107
|
-
"type": "simple"
|
|
108
|
-
},
|
|
89
|
+
"id": "method",
|
|
90
|
+
"label": "Method",
|
|
91
|
+
"group": "endpoint",
|
|
109
92
|
"type": "Dropdown",
|
|
93
|
+
"value": "get",
|
|
110
94
|
"choices": [
|
|
111
95
|
{
|
|
112
|
-
"name": "
|
|
113
|
-
"value": "
|
|
96
|
+
"name": "GET",
|
|
97
|
+
"value": "get"
|
|
114
98
|
},
|
|
115
99
|
{
|
|
116
|
-
"name": "
|
|
117
|
-
"value": "
|
|
100
|
+
"name": "POST",
|
|
101
|
+
"value": "post"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "PATCH",
|
|
105
|
+
"value": "patch"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "PUT",
|
|
109
|
+
"value": "put"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "DELETE",
|
|
113
|
+
"value": "delete"
|
|
118
114
|
}
|
|
119
|
-
]
|
|
115
|
+
],
|
|
116
|
+
"binding": {
|
|
117
|
+
"type": "zeebe:input",
|
|
118
|
+
"name": "method"
|
|
119
|
+
}
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"constraints": {
|
|
126
|
-
"notEmpty": true
|
|
127
|
-
},
|
|
122
|
+
"label": "URL",
|
|
123
|
+
"group": "endpoint",
|
|
124
|
+
"type": "String",
|
|
128
125
|
"feel": "optional",
|
|
129
|
-
"group": "authentication",
|
|
130
126
|
"binding": {
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
},
|
|
134
|
-
"condition": {
|
|
135
|
-
"property": "authentication.type",
|
|
136
|
-
"equals": "apiKey",
|
|
137
|
-
"type": "simple"
|
|
127
|
+
"type": "zeebe:input",
|
|
128
|
+
"name": "url"
|
|
138
129
|
},
|
|
139
|
-
"
|
|
130
|
+
"constraints": {
|
|
131
|
+
"notEmpty": true,
|
|
132
|
+
"pattern": {
|
|
133
|
+
"value": "^(=|(http://|https://|secrets).*$)",
|
|
134
|
+
"message": "Must be a http(s) URL."
|
|
135
|
+
}
|
|
136
|
+
}
|
|
140
137
|
},
|
|
141
138
|
{
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
|
|
147
|
-
},
|
|
148
|
-
"feel": "optional",
|
|
149
|
-
"group": "authentication",
|
|
139
|
+
"label": "Query parameters",
|
|
140
|
+
"description": "Map of query parameters to add to the request URL",
|
|
141
|
+
"group": "endpoint",
|
|
142
|
+
"type": "Text",
|
|
143
|
+
"feel": "required",
|
|
150
144
|
"binding": {
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
},
|
|
154
|
-
"condition": {
|
|
155
|
-
"property": "authentication.type",
|
|
156
|
-
"equals": "apiKey",
|
|
157
|
-
"type": "simple"
|
|
145
|
+
"type": "zeebe:input",
|
|
146
|
+
"name": "queryParameters"
|
|
158
147
|
},
|
|
159
|
-
"
|
|
148
|
+
"optional": true
|
|
160
149
|
},
|
|
161
150
|
{
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
"
|
|
166
|
-
|
|
167
|
-
},
|
|
168
|
-
"feel": "optional",
|
|
169
|
-
"group": "authentication",
|
|
151
|
+
"label": "HTTP headers",
|
|
152
|
+
"description": "Map of HTTP headers to add to the request",
|
|
153
|
+
"group": "endpoint",
|
|
154
|
+
"type": "Text",
|
|
155
|
+
"feel": "required",
|
|
170
156
|
"binding": {
|
|
171
|
-
"
|
|
172
|
-
"
|
|
173
|
-
},
|
|
174
|
-
"condition": {
|
|
175
|
-
"property": "authentication.type",
|
|
176
|
-
"equals": "basic",
|
|
177
|
-
"type": "simple"
|
|
157
|
+
"type": "zeebe:input",
|
|
158
|
+
"name": "headers"
|
|
178
159
|
},
|
|
179
|
-
"
|
|
160
|
+
"optional": true
|
|
180
161
|
},
|
|
181
162
|
{
|
|
182
|
-
"
|
|
183
|
-
"label": "Password",
|
|
184
|
-
"optional": false,
|
|
185
|
-
"constraints": {
|
|
186
|
-
"notEmpty": true
|
|
187
|
-
},
|
|
188
|
-
"feel": "optional",
|
|
163
|
+
"label": "Bearer token",
|
|
189
164
|
"group": "authentication",
|
|
165
|
+
"type": "String",
|
|
166
|
+
"feel": "optional",
|
|
190
167
|
"binding": {
|
|
191
|
-
"
|
|
192
|
-
"
|
|
193
|
-
},
|
|
194
|
-
"condition": {
|
|
195
|
-
"property": "authentication.type",
|
|
196
|
-
"equals": "basic",
|
|
197
|
-
"type": "simple"
|
|
168
|
+
"type": "zeebe:input",
|
|
169
|
+
"name": "authentication.token"
|
|
198
170
|
},
|
|
199
|
-
"type": "String"
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
"id": "authentication.token",
|
|
203
|
-
"label": "Bearer token",
|
|
204
|
-
"optional": false,
|
|
205
171
|
"constraints": {
|
|
206
172
|
"notEmpty": true
|
|
207
173
|
},
|
|
208
|
-
"feel": "optional",
|
|
209
|
-
"group": "authentication",
|
|
210
|
-
"binding": {
|
|
211
|
-
"name": "authentication.token",
|
|
212
|
-
"type": "zeebe:input"
|
|
213
|
-
},
|
|
214
174
|
"condition": {
|
|
215
|
-
"property": "
|
|
216
|
-
"equals": "bearer"
|
|
217
|
-
|
|
218
|
-
},
|
|
219
|
-
"type": "String"
|
|
175
|
+
"property": "authenticationType",
|
|
176
|
+
"equals": "bearer"
|
|
177
|
+
}
|
|
220
178
|
},
|
|
221
179
|
{
|
|
222
|
-
"
|
|
223
|
-
"label": "Oauth token endpoint",
|
|
180
|
+
"label": "OAuth token endpoint",
|
|
224
181
|
"description": "The OAuth token endpoint",
|
|
225
|
-
"optional": false,
|
|
226
|
-
"constraints": {
|
|
227
|
-
"notEmpty": true
|
|
228
|
-
},
|
|
229
|
-
"feel": "optional",
|
|
230
182
|
"group": "authentication",
|
|
183
|
+
"type": "String",
|
|
184
|
+
"feel": "optional",
|
|
231
185
|
"binding": {
|
|
232
|
-
"
|
|
233
|
-
"
|
|
186
|
+
"type": "zeebe:input",
|
|
187
|
+
"name": "authentication.oauthTokenEndpoint"
|
|
234
188
|
},
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
"equals": "oauth-client-credentials-flow",
|
|
238
|
-
"type": "simple"
|
|
189
|
+
"constraints": {
|
|
190
|
+
"notEmpty": true
|
|
239
191
|
},
|
|
240
|
-
"
|
|
192
|
+
"condition": {
|
|
193
|
+
"property": "authenticationType",
|
|
194
|
+
"equals": "oauth-client-credentials-flow"
|
|
195
|
+
}
|
|
241
196
|
},
|
|
242
197
|
{
|
|
243
|
-
"
|
|
244
|
-
"label": "Client id",
|
|
198
|
+
"label": "Client ID",
|
|
245
199
|
"description": "Your application's client ID from the OAuth client",
|
|
246
|
-
"
|
|
200
|
+
"group": "authentication",
|
|
201
|
+
"type": "String",
|
|
202
|
+
"feel": "optional",
|
|
203
|
+
"binding": {
|
|
204
|
+
"type": "zeebe:input",
|
|
205
|
+
"name": "authentication.clientId"
|
|
206
|
+
},
|
|
247
207
|
"constraints": {
|
|
248
208
|
"notEmpty": true
|
|
249
209
|
},
|
|
250
|
-
"feel": "optional",
|
|
251
|
-
"group": "authentication",
|
|
252
|
-
"binding": {
|
|
253
|
-
"name": "authentication.clientId",
|
|
254
|
-
"type": "zeebe:input"
|
|
255
|
-
},
|
|
256
210
|
"condition": {
|
|
257
|
-
"property": "
|
|
258
|
-
"equals": "oauth-client-credentials-flow"
|
|
259
|
-
|
|
260
|
-
},
|
|
261
|
-
"type": "String"
|
|
211
|
+
"property": "authenticationType",
|
|
212
|
+
"equals": "oauth-client-credentials-flow"
|
|
213
|
+
}
|
|
262
214
|
},
|
|
263
215
|
{
|
|
264
|
-
"id": "authentication.clientSecret",
|
|
265
216
|
"label": "Client secret",
|
|
266
217
|
"description": "Your application's client secret from the OAuth client",
|
|
267
|
-
"
|
|
218
|
+
"group": "authentication",
|
|
219
|
+
"type": "String",
|
|
220
|
+
"feel": "optional",
|
|
221
|
+
"binding": {
|
|
222
|
+
"type": "zeebe:input",
|
|
223
|
+
"name": "authentication.clientSecret"
|
|
224
|
+
},
|
|
268
225
|
"constraints": {
|
|
269
226
|
"notEmpty": true
|
|
270
227
|
},
|
|
271
|
-
"
|
|
228
|
+
"condition": {
|
|
229
|
+
"property": "authenticationType",
|
|
230
|
+
"equals": "oauth-client-credentials-flow"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"label": "Scopes",
|
|
235
|
+
"description": "The scopes which you want to request authorization for (e.g.read:contacts)",
|
|
272
236
|
"group": "authentication",
|
|
237
|
+
"type": "String",
|
|
238
|
+
"feel": "optional",
|
|
239
|
+
"optional": true,
|
|
273
240
|
"binding": {
|
|
274
|
-
"
|
|
275
|
-
"
|
|
241
|
+
"type": "zeebe:input",
|
|
242
|
+
"name": "authentication.scopes"
|
|
276
243
|
},
|
|
277
244
|
"condition": {
|
|
278
|
-
"property": "
|
|
279
|
-
"equals": "oauth-client-credentials-flow"
|
|
280
|
-
|
|
281
|
-
},
|
|
282
|
-
"type": "String"
|
|
245
|
+
"property": "authenticationType",
|
|
246
|
+
"equals": "oauth-client-credentials-flow"
|
|
247
|
+
}
|
|
283
248
|
},
|
|
284
249
|
{
|
|
285
|
-
"id": "authentication.audience",
|
|
286
250
|
"label": "Audience",
|
|
287
251
|
"description": "The unique identifier of the target API you want to access",
|
|
288
|
-
"optional": true,
|
|
289
|
-
"feel": "optional",
|
|
290
252
|
"group": "authentication",
|
|
253
|
+
"type": "String",
|
|
254
|
+
"feel": "optional",
|
|
255
|
+
"optional": true,
|
|
291
256
|
"binding": {
|
|
292
|
-
"
|
|
293
|
-
"
|
|
257
|
+
"type": "zeebe:input",
|
|
258
|
+
"name": "authentication.audience"
|
|
294
259
|
},
|
|
295
260
|
"condition": {
|
|
296
|
-
"property": "
|
|
297
|
-
"equals": "oauth-client-credentials-flow"
|
|
298
|
-
|
|
299
|
-
},
|
|
300
|
-
"type": "String"
|
|
261
|
+
"property": "authenticationType",
|
|
262
|
+
"equals": "oauth-client-credentials-flow"
|
|
263
|
+
}
|
|
301
264
|
},
|
|
302
265
|
{
|
|
303
|
-
"id": "authentication.clientAuthentication",
|
|
304
266
|
"label": "Client authentication",
|
|
305
|
-
"
|
|
306
|
-
"optional": false,
|
|
307
|
-
"constraints": {
|
|
308
|
-
"notEmpty": true
|
|
309
|
-
},
|
|
267
|
+
"id": "authentication.clientAuthentication",
|
|
310
268
|
"group": "authentication",
|
|
311
|
-
"
|
|
312
|
-
|
|
313
|
-
"type": "zeebe:input"
|
|
314
|
-
},
|
|
315
|
-
"condition": {
|
|
316
|
-
"property": "authentication.type",
|
|
317
|
-
"equals": "oauth-client-credentials-flow",
|
|
318
|
-
"type": "simple"
|
|
319
|
-
},
|
|
269
|
+
"description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
|
|
270
|
+
"value": "basicAuthHeader",
|
|
320
271
|
"type": "Dropdown",
|
|
321
272
|
"choices": [
|
|
322
273
|
{
|
|
@@ -327,208 +278,119 @@
|
|
|
327
278
|
"name": "Send as Basic Auth header",
|
|
328
279
|
"value": "basicAuthHeader"
|
|
329
280
|
}
|
|
330
|
-
]
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
"id": "authentication.scopes",
|
|
334
|
-
"label": "Scopes",
|
|
335
|
-
"description": "The scopes which you want to request authorization for (e.g.read:contacts)",
|
|
336
|
-
"optional": true,
|
|
337
|
-
"feel": "optional",
|
|
338
|
-
"group": "authentication",
|
|
281
|
+
],
|
|
339
282
|
"binding": {
|
|
340
|
-
"
|
|
341
|
-
"
|
|
283
|
+
"type": "zeebe:input",
|
|
284
|
+
"name": "authentication.clientAuthentication"
|
|
342
285
|
},
|
|
343
286
|
"condition": {
|
|
344
|
-
"property": "
|
|
345
|
-
"equals": "oauth-client-credentials-flow"
|
|
346
|
-
|
|
347
|
-
},
|
|
348
|
-
"type": "String"
|
|
287
|
+
"property": "authenticationType",
|
|
288
|
+
"equals": "oauth-client-credentials-flow"
|
|
289
|
+
}
|
|
349
290
|
},
|
|
350
291
|
{
|
|
351
|
-
"
|
|
352
|
-
"
|
|
353
|
-
"
|
|
354
|
-
"
|
|
355
|
-
"constraints": {
|
|
356
|
-
"notEmpty": true
|
|
357
|
-
},
|
|
358
|
-
"group": "endpoint",
|
|
292
|
+
"label": "Username",
|
|
293
|
+
"group": "authentication",
|
|
294
|
+
"type": "String",
|
|
295
|
+
"feel": "optional",
|
|
359
296
|
"binding": {
|
|
360
|
-
"
|
|
361
|
-
"
|
|
297
|
+
"type": "zeebe:input",
|
|
298
|
+
"name": "authentication.username"
|
|
362
299
|
},
|
|
363
|
-
"type": "Dropdown",
|
|
364
|
-
"choices": [
|
|
365
|
-
{
|
|
366
|
-
"name": "DELETE",
|
|
367
|
-
"value": "DELETE"
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
"name": "POST",
|
|
371
|
-
"value": "POST"
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
"name": "GET",
|
|
375
|
-
"value": "GET"
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
"name": "PATCH",
|
|
379
|
-
"value": "PATCH"
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
"name": "PUT",
|
|
383
|
-
"value": "PUT"
|
|
384
|
-
}
|
|
385
|
-
]
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
"id": "url",
|
|
389
|
-
"label": "URL",
|
|
390
|
-
"optional": false,
|
|
391
300
|
"constraints": {
|
|
392
|
-
"notEmpty": true
|
|
393
|
-
"pattern": {
|
|
394
|
-
"value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
|
|
395
|
-
"message": "Must be a http(s) URL"
|
|
396
|
-
}
|
|
397
|
-
},
|
|
398
|
-
"feel": "optional",
|
|
399
|
-
"group": "endpoint",
|
|
400
|
-
"binding": {
|
|
401
|
-
"name": "url",
|
|
402
|
-
"type": "zeebe:input"
|
|
301
|
+
"notEmpty": true
|
|
403
302
|
},
|
|
404
|
-
"
|
|
303
|
+
"condition": {
|
|
304
|
+
"property": "authenticationType",
|
|
305
|
+
"equals": "basic"
|
|
306
|
+
}
|
|
405
307
|
},
|
|
406
308
|
{
|
|
407
|
-
"
|
|
408
|
-
"
|
|
409
|
-
"
|
|
410
|
-
"
|
|
411
|
-
"feel": "required",
|
|
412
|
-
"group": "endpoint",
|
|
309
|
+
"label": "Password",
|
|
310
|
+
"group": "authentication",
|
|
311
|
+
"type": "String",
|
|
312
|
+
"feel": "optional",
|
|
413
313
|
"binding": {
|
|
414
|
-
"
|
|
415
|
-
"
|
|
314
|
+
"type": "zeebe:input",
|
|
315
|
+
"name": "authentication.password"
|
|
416
316
|
},
|
|
417
|
-
"
|
|
418
|
-
|
|
419
|
-
{
|
|
420
|
-
"id": "queryParameters",
|
|
421
|
-
"label": "Query parameters",
|
|
422
|
-
"description": "Map of query parameters to add to the request URL",
|
|
423
|
-
"optional": true,
|
|
424
|
-
"feel": "required",
|
|
425
|
-
"group": "endpoint",
|
|
426
|
-
"binding": {
|
|
427
|
-
"name": "queryParameters",
|
|
428
|
-
"type": "zeebe:input"
|
|
317
|
+
"constraints": {
|
|
318
|
+
"notEmpty": true
|
|
429
319
|
},
|
|
430
|
-
"
|
|
320
|
+
"condition": {
|
|
321
|
+
"property": "authenticationType",
|
|
322
|
+
"equals": "basic"
|
|
323
|
+
}
|
|
431
324
|
},
|
|
432
325
|
{
|
|
433
|
-
"
|
|
434
|
-
"label": "Connection timeout in seconds",
|
|
326
|
+
"label": "Connection timeout",
|
|
435
327
|
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
436
|
-
"optional": true,
|
|
437
|
-
"value": "20",
|
|
438
|
-
"feel": "optional",
|
|
439
328
|
"group": "timeout",
|
|
329
|
+
"type": "String",
|
|
330
|
+
"value": "20",
|
|
440
331
|
"binding": {
|
|
441
|
-
"
|
|
442
|
-
"
|
|
332
|
+
"type": "zeebe:input",
|
|
333
|
+
"name": "connectionTimeoutInSeconds"
|
|
443
334
|
},
|
|
444
|
-
"
|
|
335
|
+
"optional": true,
|
|
336
|
+
"feel": "optional",
|
|
337
|
+
"constraints": {
|
|
338
|
+
"notEmpty": false,
|
|
339
|
+
"pattern": {
|
|
340
|
+
"value": "^(=|([0-9]+|secrets\\..+)$)",
|
|
341
|
+
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
342
|
+
}
|
|
343
|
+
}
|
|
445
344
|
},
|
|
446
345
|
{
|
|
447
|
-
"id": "body",
|
|
448
346
|
"label": "Request body",
|
|
449
347
|
"description": "Payload to send with the request",
|
|
450
|
-
"
|
|
348
|
+
"group": "input",
|
|
349
|
+
"type": "Text",
|
|
451
350
|
"feel": "optional",
|
|
452
|
-
"group": "payload",
|
|
453
351
|
"binding": {
|
|
454
|
-
"
|
|
455
|
-
"
|
|
352
|
+
"type": "zeebe:input",
|
|
353
|
+
"name": "body"
|
|
456
354
|
},
|
|
457
355
|
"condition": {
|
|
458
356
|
"property": "method",
|
|
459
|
-
"oneOf": ["
|
|
460
|
-
"type": "simple"
|
|
357
|
+
"oneOf": ["post", "put", "patch", "delete"]
|
|
461
358
|
},
|
|
462
|
-
"
|
|
359
|
+
"optional": true
|
|
463
360
|
},
|
|
464
361
|
{
|
|
465
|
-
"id": "resultVariable",
|
|
466
362
|
"label": "Result variable",
|
|
467
|
-
"description": "Name of variable to store the response in",
|
|
363
|
+
"description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
|
|
468
364
|
"group": "output",
|
|
365
|
+
"type": "String",
|
|
469
366
|
"binding": {
|
|
470
|
-
"
|
|
471
|
-
"
|
|
472
|
-
}
|
|
473
|
-
"type": "String"
|
|
367
|
+
"type": "zeebe:taskHeader",
|
|
368
|
+
"key": "resultVariable"
|
|
369
|
+
}
|
|
474
370
|
},
|
|
475
371
|
{
|
|
476
|
-
"id": "resultExpression",
|
|
477
372
|
"label": "Result expression",
|
|
478
|
-
"description": "Expression to map the response into process variables",
|
|
479
|
-
"feel": "required",
|
|
373
|
+
"description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
|
|
480
374
|
"group": "output",
|
|
375
|
+
"type": "Text",
|
|
376
|
+
"feel": "required",
|
|
481
377
|
"binding": {
|
|
482
|
-
"
|
|
483
|
-
"
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
},
|
|
378
|
+
"type": "zeebe:taskHeader",
|
|
379
|
+
"key": "resultExpression"
|
|
380
|
+
}
|
|
381
|
+
},
|
|
487
382
|
{
|
|
488
|
-
"id": "errorExpression",
|
|
489
383
|
"label": "Error expression",
|
|
490
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
384
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
|
|
385
|
+
"group": "errors",
|
|
386
|
+
"type": "Text",
|
|
491
387
|
"feel": "required",
|
|
492
|
-
"group": "error",
|
|
493
|
-
"binding": {
|
|
494
|
-
"key": "errorExpression",
|
|
495
|
-
"type": "zeebe:taskHeader"
|
|
496
|
-
},
|
|
497
|
-
"type": "Text"
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
"id": "retryCount",
|
|
501
|
-
"label": "Retries",
|
|
502
|
-
"description": "Number of retries",
|
|
503
|
-
"value": "3",
|
|
504
|
-
"feel": "optional",
|
|
505
|
-
"group": "retries",
|
|
506
|
-
"binding": {
|
|
507
|
-
"property": "retries",
|
|
508
|
-
"type": "zeebe:taskDefinition"
|
|
509
|
-
},
|
|
510
|
-
"type": "String"
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
"id": "retryBackoff",
|
|
514
|
-
"label": "Retry backoff",
|
|
515
|
-
"description": "ISO-8601 duration to wait between retries",
|
|
516
|
-
"value": "PT0S",
|
|
517
|
-
"feel": "optional",
|
|
518
|
-
"group": "retries",
|
|
519
388
|
"binding": {
|
|
520
|
-
"
|
|
521
|
-
"
|
|
522
|
-
}
|
|
523
|
-
"type": "String"
|
|
389
|
+
"type": "zeebe:taskHeader",
|
|
390
|
+
"key": "errorExpression"
|
|
391
|
+
}
|
|
524
392
|
}
|
|
525
|
-
]
|
|
526
|
-
"icon": {
|
|
527
|
-
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
|
|
528
|
-
},
|
|
529
|
-
"engines": {
|
|
530
|
-
"camunda": "^8.5"
|
|
531
|
-
}
|
|
393
|
+
]
|
|
532
394
|
},
|
|
533
395
|
{
|
|
534
396
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
@@ -536,7 +398,7 @@
|
|
|
536
398
|
"id": "io.camunda.connectors.HttpJson.v2",
|
|
537
399
|
"description": "Invoke REST API",
|
|
538
400
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
|
|
539
|
-
"version":
|
|
401
|
+
"version": 5,
|
|
540
402
|
"category": {
|
|
541
403
|
"id": "connectors",
|
|
542
404
|
"name": "Connectors"
|
|
@@ -552,7 +414,7 @@
|
|
|
552
414
|
},
|
|
553
415
|
{
|
|
554
416
|
"id": "endpoint",
|
|
555
|
-
"label": "HTTP
|
|
417
|
+
"label": "HTTP Endpoint"
|
|
556
418
|
},
|
|
557
419
|
{
|
|
558
420
|
"id": "timeout",
|
|
@@ -579,8 +441,8 @@
|
|
|
579
441
|
{
|
|
580
442
|
"value": "io.camunda:http-json:1",
|
|
581
443
|
"binding": {
|
|
582
|
-
"
|
|
583
|
-
"
|
|
444
|
+
"type": "zeebe:taskDefinition",
|
|
445
|
+
"property": "type"
|
|
584
446
|
},
|
|
585
447
|
"type": "Hidden"
|
|
586
448
|
},
|
|
@@ -620,7 +482,7 @@
|
|
|
620
482
|
},
|
|
621
483
|
{
|
|
622
484
|
"id": "authentication.apiKeyLocation",
|
|
623
|
-
"label": "
|
|
485
|
+
"label": "API key location",
|
|
624
486
|
"description": "Choose type: Send API key in header or as query parameter.",
|
|
625
487
|
"optional": false,
|
|
626
488
|
"value": "headers",
|
|
@@ -751,15 +613,11 @@
|
|
|
751
613
|
},
|
|
752
614
|
{
|
|
753
615
|
"id": "authentication.oauthTokenEndpoint",
|
|
754
|
-
"label": "OAuth
|
|
616
|
+
"label": "OAuth token endpoint",
|
|
755
617
|
"description": "The OAuth token endpoint",
|
|
756
618
|
"optional": false,
|
|
757
619
|
"constraints": {
|
|
758
|
-
"notEmpty": true
|
|
759
|
-
"pattern": {
|
|
760
|
-
"value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
|
|
761
|
-
"message": "Must be a http(s) URL"
|
|
762
|
-
}
|
|
620
|
+
"notEmpty": true
|
|
763
621
|
},
|
|
764
622
|
"feel": "optional",
|
|
765
623
|
"group": "authentication",
|
|
@@ -967,12 +825,9 @@
|
|
|
967
825
|
{
|
|
968
826
|
"id": "connectionTimeoutInSeconds",
|
|
969
827
|
"label": "Connection timeout in seconds",
|
|
970
|
-
"description": "
|
|
971
|
-
"optional":
|
|
828
|
+
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
829
|
+
"optional": true,
|
|
972
830
|
"value": "20",
|
|
973
|
-
"constraints": {
|
|
974
|
-
"notEmpty": true
|
|
975
|
-
},
|
|
976
831
|
"feel": "optional",
|
|
977
832
|
"group": "timeout",
|
|
978
833
|
"binding": {
|
|
@@ -981,45 +836,6 @@
|
|
|
981
836
|
},
|
|
982
837
|
"type": "String"
|
|
983
838
|
},
|
|
984
|
-
{
|
|
985
|
-
"id": "readTimeoutInSeconds",
|
|
986
|
-
"label": "Read timeout in seconds",
|
|
987
|
-
"description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
|
|
988
|
-
"optional": false,
|
|
989
|
-
"value": "20",
|
|
990
|
-
"constraints": {
|
|
991
|
-
"notEmpty": true
|
|
992
|
-
},
|
|
993
|
-
"feel": "optional",
|
|
994
|
-
"group": "timeout",
|
|
995
|
-
"binding": {
|
|
996
|
-
"name": "readTimeoutInSeconds",
|
|
997
|
-
"type": "zeebe:input"
|
|
998
|
-
},
|
|
999
|
-
"type": "String"
|
|
1000
|
-
},
|
|
1001
|
-
{
|
|
1002
|
-
"id": "writeTimeoutInSeconds",
|
|
1003
|
-
"label": "Write timeout in seconds",
|
|
1004
|
-
"description": "Timeout in seconds to set data or 0 for an infinite timeout",
|
|
1005
|
-
"optional": false,
|
|
1006
|
-
"value": "0",
|
|
1007
|
-
"constraints": {
|
|
1008
|
-
"notEmpty": true
|
|
1009
|
-
},
|
|
1010
|
-
"feel": "optional",
|
|
1011
|
-
"group": "timeout",
|
|
1012
|
-
"binding": {
|
|
1013
|
-
"name": "writeTimeoutInSeconds",
|
|
1014
|
-
"type": "zeebe:input"
|
|
1015
|
-
},
|
|
1016
|
-
"condition": {
|
|
1017
|
-
"property": "method",
|
|
1018
|
-
"oneOf": ["POST", "PUT", "PATCH"],
|
|
1019
|
-
"type": "simple"
|
|
1020
|
-
},
|
|
1021
|
-
"type": "String"
|
|
1022
|
-
},
|
|
1023
839
|
{
|
|
1024
840
|
"id": "body",
|
|
1025
841
|
"label": "Request body",
|
|
@@ -1073,38 +889,24 @@
|
|
|
1073
889
|
},
|
|
1074
890
|
"type": "Text"
|
|
1075
891
|
},
|
|
1076
|
-
{
|
|
1077
|
-
"id": "retryCount",
|
|
1078
|
-
"label": "Retries",
|
|
1079
|
-
"description": "Number of retries",
|
|
1080
|
-
"value": "3",
|
|
1081
|
-
"feel": "optional",
|
|
1082
|
-
"group": "retries",
|
|
1083
|
-
"binding": {
|
|
1084
|
-
"property": "retries",
|
|
1085
|
-
"type": "zeebe:taskDefinition"
|
|
1086
|
-
},
|
|
1087
|
-
"type": "String"
|
|
1088
|
-
},
|
|
1089
892
|
{
|
|
1090
893
|
"id": "retryBackoff",
|
|
1091
894
|
"label": "Retry backoff",
|
|
1092
895
|
"description": "ISO-8601 duration to wait between retries",
|
|
1093
896
|
"value": "PT0S",
|
|
1094
|
-
"feel": "optional",
|
|
1095
897
|
"group": "retries",
|
|
1096
898
|
"binding": {
|
|
1097
899
|
"key": "retryBackoff",
|
|
1098
900
|
"type": "zeebe:taskHeader"
|
|
1099
901
|
},
|
|
1100
|
-
"type": "
|
|
902
|
+
"type": "Hidden"
|
|
1101
903
|
}
|
|
1102
904
|
],
|
|
1103
905
|
"icon": {
|
|
1104
906
|
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
|
|
1105
907
|
},
|
|
1106
908
|
"engines": {
|
|
1107
|
-
"camunda": "^8.
|
|
909
|
+
"camunda": "^8.4"
|
|
1108
910
|
}
|
|
1109
911
|
},
|
|
1110
912
|
{
|
|
@@ -1541,14 +1343,11 @@
|
|
|
1541
1343
|
},
|
|
1542
1344
|
{
|
|
1543
1345
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1544
|
-
"name": "REST
|
|
1346
|
+
"name": "REST Outbound Connector",
|
|
1545
1347
|
"id": "io.camunda.connectors.HttpJson.v2",
|
|
1546
|
-
"version": 1,
|
|
1547
1348
|
"description": "Invoke REST API",
|
|
1548
|
-
"
|
|
1549
|
-
|
|
1550
|
-
},
|
|
1551
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/rest/",
|
|
1349
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
|
|
1350
|
+
"version": 6,
|
|
1552
1351
|
"category": {
|
|
1553
1352
|
"id": "connectors",
|
|
1554
1353
|
"name": "Connectors"
|
|
@@ -1564,45 +1363,53 @@
|
|
|
1564
1363
|
},
|
|
1565
1364
|
{
|
|
1566
1365
|
"id": "endpoint",
|
|
1567
|
-
"label": "HTTP
|
|
1366
|
+
"label": "HTTP Endpoint"
|
|
1568
1367
|
},
|
|
1569
1368
|
{
|
|
1570
|
-
"id": "
|
|
1571
|
-
"label": "
|
|
1369
|
+
"id": "timeout",
|
|
1370
|
+
"label": "Connection timeout"
|
|
1572
1371
|
},
|
|
1573
1372
|
{
|
|
1574
|
-
"id": "
|
|
1575
|
-
"label": "
|
|
1373
|
+
"id": "payload",
|
|
1374
|
+
"label": "Payload"
|
|
1576
1375
|
},
|
|
1577
1376
|
{
|
|
1578
1377
|
"id": "output",
|
|
1579
|
-
"label": "
|
|
1378
|
+
"label": "Output mapping"
|
|
1580
1379
|
},
|
|
1581
1380
|
{
|
|
1582
|
-
"id": "
|
|
1381
|
+
"id": "error",
|
|
1583
1382
|
"label": "Error handling"
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
"id": "retries",
|
|
1386
|
+
"label": "Retries"
|
|
1584
1387
|
}
|
|
1585
1388
|
],
|
|
1586
1389
|
"properties": [
|
|
1587
1390
|
{
|
|
1588
|
-
"type": "Hidden",
|
|
1589
1391
|
"value": "io.camunda:http-json:1",
|
|
1590
1392
|
"binding": {
|
|
1591
|
-
"
|
|
1592
|
-
"
|
|
1593
|
-
}
|
|
1393
|
+
"property": "type",
|
|
1394
|
+
"type": "zeebe:taskDefinition"
|
|
1395
|
+
},
|
|
1396
|
+
"type": "Hidden"
|
|
1594
1397
|
},
|
|
1595
1398
|
{
|
|
1399
|
+
"id": "authentication.type",
|
|
1596
1400
|
"label": "Type",
|
|
1597
|
-
"id": "authenticationType",
|
|
1598
|
-
"group": "authentication",
|
|
1599
1401
|
"description": "Choose the authentication type. Select 'None' if no authentication is necessary",
|
|
1600
1402
|
"value": "noAuth",
|
|
1403
|
+
"group": "authentication",
|
|
1404
|
+
"binding": {
|
|
1405
|
+
"name": "authentication.type",
|
|
1406
|
+
"type": "zeebe:input"
|
|
1407
|
+
},
|
|
1601
1408
|
"type": "Dropdown",
|
|
1602
1409
|
"choices": [
|
|
1603
1410
|
{
|
|
1604
|
-
"name": "
|
|
1605
|
-
"value": "
|
|
1411
|
+
"name": "API key",
|
|
1412
|
+
"value": "apiKey"
|
|
1606
1413
|
},
|
|
1607
1414
|
{
|
|
1608
1415
|
"name": "Basic",
|
|
@@ -1612,199 +1419,246 @@
|
|
|
1612
1419
|
"name": "Bearer token",
|
|
1613
1420
|
"value": "bearer"
|
|
1614
1421
|
},
|
|
1422
|
+
{
|
|
1423
|
+
"name": "None",
|
|
1424
|
+
"value": "noAuth"
|
|
1425
|
+
},
|
|
1615
1426
|
{
|
|
1616
1427
|
"name": "OAuth 2.0",
|
|
1617
1428
|
"value": "oauth-client-credentials-flow"
|
|
1618
1429
|
}
|
|
1619
|
-
]
|
|
1620
|
-
"binding": {
|
|
1621
|
-
"type": "zeebe:input",
|
|
1622
|
-
"name": "authentication.type"
|
|
1623
|
-
}
|
|
1430
|
+
]
|
|
1624
1431
|
},
|
|
1625
1432
|
{
|
|
1626
|
-
"id": "
|
|
1627
|
-
"label": "
|
|
1628
|
-
"
|
|
1433
|
+
"id": "authentication.apiKeyLocation",
|
|
1434
|
+
"label": "Api key location",
|
|
1435
|
+
"description": "Choose type: Send API key in header or as query parameter.",
|
|
1436
|
+
"optional": false,
|
|
1437
|
+
"value": "headers",
|
|
1438
|
+
"constraints": {
|
|
1439
|
+
"notEmpty": true
|
|
1440
|
+
},
|
|
1441
|
+
"group": "authentication",
|
|
1442
|
+
"binding": {
|
|
1443
|
+
"name": "authentication.apiKeyLocation",
|
|
1444
|
+
"type": "zeebe:input"
|
|
1445
|
+
},
|
|
1446
|
+
"condition": {
|
|
1447
|
+
"property": "authentication.type",
|
|
1448
|
+
"equals": "apiKey",
|
|
1449
|
+
"type": "simple"
|
|
1450
|
+
},
|
|
1629
1451
|
"type": "Dropdown",
|
|
1630
|
-
"value": "get",
|
|
1631
1452
|
"choices": [
|
|
1632
1453
|
{
|
|
1633
|
-
"name": "
|
|
1634
|
-
"value": "
|
|
1635
|
-
},
|
|
1636
|
-
{
|
|
1637
|
-
"name": "POST",
|
|
1638
|
-
"value": "post"
|
|
1639
|
-
},
|
|
1640
|
-
{
|
|
1641
|
-
"name": "PATCH",
|
|
1642
|
-
"value": "patch"
|
|
1643
|
-
},
|
|
1644
|
-
{
|
|
1645
|
-
"name": "PUT",
|
|
1646
|
-
"value": "put"
|
|
1454
|
+
"name": "Headers",
|
|
1455
|
+
"value": "headers"
|
|
1647
1456
|
},
|
|
1648
1457
|
{
|
|
1649
|
-
"name": "
|
|
1650
|
-
"value": "
|
|
1458
|
+
"name": "Query parameters",
|
|
1459
|
+
"value": "query"
|
|
1651
1460
|
}
|
|
1652
|
-
]
|
|
1653
|
-
"binding": {
|
|
1654
|
-
"type": "zeebe:input",
|
|
1655
|
-
"name": "method"
|
|
1656
|
-
}
|
|
1461
|
+
]
|
|
1657
1462
|
},
|
|
1658
1463
|
{
|
|
1659
|
-
"
|
|
1660
|
-
"
|
|
1661
|
-
"
|
|
1464
|
+
"id": "authentication.name",
|
|
1465
|
+
"label": "API key name",
|
|
1466
|
+
"optional": false,
|
|
1467
|
+
"constraints": {
|
|
1468
|
+
"notEmpty": true
|
|
1469
|
+
},
|
|
1662
1470
|
"feel": "optional",
|
|
1471
|
+
"group": "authentication",
|
|
1663
1472
|
"binding": {
|
|
1664
|
-
"
|
|
1665
|
-
"
|
|
1473
|
+
"name": "authentication.name",
|
|
1474
|
+
"type": "zeebe:input"
|
|
1666
1475
|
},
|
|
1667
|
-
"
|
|
1668
|
-
"
|
|
1669
|
-
"
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
}
|
|
1476
|
+
"condition": {
|
|
1477
|
+
"property": "authentication.type",
|
|
1478
|
+
"equals": "apiKey",
|
|
1479
|
+
"type": "simple"
|
|
1480
|
+
},
|
|
1481
|
+
"type": "String"
|
|
1674
1482
|
},
|
|
1675
1483
|
{
|
|
1676
|
-
"
|
|
1677
|
-
"
|
|
1678
|
-
"
|
|
1679
|
-
"
|
|
1680
|
-
|
|
1484
|
+
"id": "authentication.value",
|
|
1485
|
+
"label": "API key value",
|
|
1486
|
+
"optional": false,
|
|
1487
|
+
"constraints": {
|
|
1488
|
+
"notEmpty": true
|
|
1489
|
+
},
|
|
1490
|
+
"feel": "optional",
|
|
1491
|
+
"group": "authentication",
|
|
1681
1492
|
"binding": {
|
|
1682
|
-
"
|
|
1683
|
-
"
|
|
1493
|
+
"name": "authentication.value",
|
|
1494
|
+
"type": "zeebe:input"
|
|
1684
1495
|
},
|
|
1685
|
-
"
|
|
1496
|
+
"condition": {
|
|
1497
|
+
"property": "authentication.type",
|
|
1498
|
+
"equals": "apiKey",
|
|
1499
|
+
"type": "simple"
|
|
1500
|
+
},
|
|
1501
|
+
"type": "String"
|
|
1686
1502
|
},
|
|
1687
1503
|
{
|
|
1688
|
-
"
|
|
1689
|
-
"
|
|
1690
|
-
"
|
|
1691
|
-
"
|
|
1692
|
-
|
|
1504
|
+
"id": "authentication.username",
|
|
1505
|
+
"label": "Username",
|
|
1506
|
+
"optional": false,
|
|
1507
|
+
"constraints": {
|
|
1508
|
+
"notEmpty": true
|
|
1509
|
+
},
|
|
1510
|
+
"feel": "optional",
|
|
1511
|
+
"group": "authentication",
|
|
1693
1512
|
"binding": {
|
|
1694
|
-
"
|
|
1695
|
-
"
|
|
1513
|
+
"name": "authentication.username",
|
|
1514
|
+
"type": "zeebe:input"
|
|
1696
1515
|
},
|
|
1697
|
-
"
|
|
1516
|
+
"condition": {
|
|
1517
|
+
"property": "authentication.type",
|
|
1518
|
+
"equals": "basic",
|
|
1519
|
+
"type": "simple"
|
|
1520
|
+
},
|
|
1521
|
+
"type": "String"
|
|
1698
1522
|
},
|
|
1699
1523
|
{
|
|
1700
|
-
"
|
|
1701
|
-
"
|
|
1702
|
-
"
|
|
1524
|
+
"id": "authentication.password",
|
|
1525
|
+
"label": "Password",
|
|
1526
|
+
"optional": false,
|
|
1527
|
+
"constraints": {
|
|
1528
|
+
"notEmpty": true
|
|
1529
|
+
},
|
|
1703
1530
|
"feel": "optional",
|
|
1531
|
+
"group": "authentication",
|
|
1704
1532
|
"binding": {
|
|
1705
|
-
"
|
|
1706
|
-
"
|
|
1533
|
+
"name": "authentication.password",
|
|
1534
|
+
"type": "zeebe:input"
|
|
1535
|
+
},
|
|
1536
|
+
"condition": {
|
|
1537
|
+
"property": "authentication.type",
|
|
1538
|
+
"equals": "basic",
|
|
1539
|
+
"type": "simple"
|
|
1707
1540
|
},
|
|
1541
|
+
"type": "String"
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
"id": "authentication.token",
|
|
1545
|
+
"label": "Bearer token",
|
|
1546
|
+
"optional": false,
|
|
1708
1547
|
"constraints": {
|
|
1709
1548
|
"notEmpty": true
|
|
1710
1549
|
},
|
|
1550
|
+
"feel": "optional",
|
|
1551
|
+
"group": "authentication",
|
|
1552
|
+
"binding": {
|
|
1553
|
+
"name": "authentication.token",
|
|
1554
|
+
"type": "zeebe:input"
|
|
1555
|
+
},
|
|
1711
1556
|
"condition": {
|
|
1712
|
-
"property": "
|
|
1713
|
-
"equals": "bearer"
|
|
1714
|
-
|
|
1557
|
+
"property": "authentication.type",
|
|
1558
|
+
"equals": "bearer",
|
|
1559
|
+
"type": "simple"
|
|
1560
|
+
},
|
|
1561
|
+
"type": "String"
|
|
1715
1562
|
},
|
|
1716
1563
|
{
|
|
1717
|
-
"
|
|
1564
|
+
"id": "authentication.oauthTokenEndpoint",
|
|
1565
|
+
"label": "Oauth token endpoint",
|
|
1718
1566
|
"description": "The OAuth token endpoint",
|
|
1719
|
-
"
|
|
1720
|
-
"type": "String",
|
|
1721
|
-
"feel": "optional",
|
|
1722
|
-
"binding": {
|
|
1723
|
-
"type": "zeebe:input",
|
|
1724
|
-
"name": "authentication.oauthTokenEndpoint"
|
|
1725
|
-
},
|
|
1567
|
+
"optional": false,
|
|
1726
1568
|
"constraints": {
|
|
1727
1569
|
"notEmpty": true
|
|
1728
1570
|
},
|
|
1571
|
+
"feel": "optional",
|
|
1572
|
+
"group": "authentication",
|
|
1573
|
+
"binding": {
|
|
1574
|
+
"name": "authentication.oauthTokenEndpoint",
|
|
1575
|
+
"type": "zeebe:input"
|
|
1576
|
+
},
|
|
1729
1577
|
"condition": {
|
|
1730
|
-
"property": "
|
|
1731
|
-
"equals": "oauth-client-credentials-flow"
|
|
1732
|
-
|
|
1578
|
+
"property": "authentication.type",
|
|
1579
|
+
"equals": "oauth-client-credentials-flow",
|
|
1580
|
+
"type": "simple"
|
|
1581
|
+
},
|
|
1582
|
+
"type": "String"
|
|
1733
1583
|
},
|
|
1734
1584
|
{
|
|
1735
|
-
"
|
|
1585
|
+
"id": "authentication.clientId",
|
|
1586
|
+
"label": "Client id",
|
|
1736
1587
|
"description": "Your application's client ID from the OAuth client",
|
|
1737
|
-
"
|
|
1738
|
-
"type": "String",
|
|
1739
|
-
"feel": "optional",
|
|
1740
|
-
"binding": {
|
|
1741
|
-
"type": "zeebe:input",
|
|
1742
|
-
"name": "authentication.clientId"
|
|
1743
|
-
},
|
|
1588
|
+
"optional": false,
|
|
1744
1589
|
"constraints": {
|
|
1745
1590
|
"notEmpty": true
|
|
1746
1591
|
},
|
|
1592
|
+
"feel": "optional",
|
|
1593
|
+
"group": "authentication",
|
|
1594
|
+
"binding": {
|
|
1595
|
+
"name": "authentication.clientId",
|
|
1596
|
+
"type": "zeebe:input"
|
|
1597
|
+
},
|
|
1747
1598
|
"condition": {
|
|
1748
|
-
"property": "
|
|
1749
|
-
"equals": "oauth-client-credentials-flow"
|
|
1750
|
-
|
|
1599
|
+
"property": "authentication.type",
|
|
1600
|
+
"equals": "oauth-client-credentials-flow",
|
|
1601
|
+
"type": "simple"
|
|
1602
|
+
},
|
|
1603
|
+
"type": "String"
|
|
1751
1604
|
},
|
|
1752
1605
|
{
|
|
1606
|
+
"id": "authentication.clientSecret",
|
|
1753
1607
|
"label": "Client secret",
|
|
1754
1608
|
"description": "Your application's client secret from the OAuth client",
|
|
1755
|
-
"
|
|
1756
|
-
"type": "String",
|
|
1757
|
-
"feel": "optional",
|
|
1758
|
-
"binding": {
|
|
1759
|
-
"type": "zeebe:input",
|
|
1760
|
-
"name": "authentication.clientSecret"
|
|
1761
|
-
},
|
|
1609
|
+
"optional": false,
|
|
1762
1610
|
"constraints": {
|
|
1763
1611
|
"notEmpty": true
|
|
1764
1612
|
},
|
|
1765
|
-
"condition": {
|
|
1766
|
-
"property": "authenticationType",
|
|
1767
|
-
"equals": "oauth-client-credentials-flow"
|
|
1768
|
-
}
|
|
1769
|
-
},
|
|
1770
|
-
{
|
|
1771
|
-
"label": "Scopes",
|
|
1772
|
-
"description": "The scopes which you want to request authorization for (e.g.read:contacts)",
|
|
1773
|
-
"group": "authentication",
|
|
1774
|
-
"type": "String",
|
|
1775
1613
|
"feel": "optional",
|
|
1776
|
-
"
|
|
1614
|
+
"group": "authentication",
|
|
1777
1615
|
"binding": {
|
|
1778
|
-
"
|
|
1779
|
-
"
|
|
1616
|
+
"name": "authentication.clientSecret",
|
|
1617
|
+
"type": "zeebe:input"
|
|
1780
1618
|
},
|
|
1781
1619
|
"condition": {
|
|
1782
|
-
"property": "
|
|
1783
|
-
"equals": "oauth-client-credentials-flow"
|
|
1784
|
-
|
|
1620
|
+
"property": "authentication.type",
|
|
1621
|
+
"equals": "oauth-client-credentials-flow",
|
|
1622
|
+
"type": "simple"
|
|
1623
|
+
},
|
|
1624
|
+
"type": "String"
|
|
1785
1625
|
},
|
|
1786
1626
|
{
|
|
1627
|
+
"id": "authentication.audience",
|
|
1787
1628
|
"label": "Audience",
|
|
1788
1629
|
"description": "The unique identifier of the target API you want to access",
|
|
1789
|
-
"group": "authentication",
|
|
1790
|
-
"type": "String",
|
|
1791
|
-
"feel": "optional",
|
|
1792
1630
|
"optional": true,
|
|
1631
|
+
"feel": "optional",
|
|
1632
|
+
"group": "authentication",
|
|
1793
1633
|
"binding": {
|
|
1794
|
-
"
|
|
1795
|
-
"
|
|
1634
|
+
"name": "authentication.audience",
|
|
1635
|
+
"type": "zeebe:input"
|
|
1796
1636
|
},
|
|
1797
1637
|
"condition": {
|
|
1798
|
-
"property": "
|
|
1799
|
-
"equals": "oauth-client-credentials-flow"
|
|
1800
|
-
|
|
1638
|
+
"property": "authentication.type",
|
|
1639
|
+
"equals": "oauth-client-credentials-flow",
|
|
1640
|
+
"type": "simple"
|
|
1641
|
+
},
|
|
1642
|
+
"type": "String"
|
|
1801
1643
|
},
|
|
1802
1644
|
{
|
|
1803
|
-
"label": "Client authentication",
|
|
1804
1645
|
"id": "authentication.clientAuthentication",
|
|
1805
|
-
"
|
|
1646
|
+
"label": "Client authentication",
|
|
1806
1647
|
"description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
|
|
1807
|
-
"
|
|
1648
|
+
"optional": false,
|
|
1649
|
+
"constraints": {
|
|
1650
|
+
"notEmpty": true
|
|
1651
|
+
},
|
|
1652
|
+
"group": "authentication",
|
|
1653
|
+
"binding": {
|
|
1654
|
+
"name": "authentication.clientAuthentication",
|
|
1655
|
+
"type": "zeebe:input"
|
|
1656
|
+
},
|
|
1657
|
+
"condition": {
|
|
1658
|
+
"property": "authentication.type",
|
|
1659
|
+
"equals": "oauth-client-credentials-flow",
|
|
1660
|
+
"type": "simple"
|
|
1661
|
+
},
|
|
1808
1662
|
"type": "Dropdown",
|
|
1809
1663
|
"choices": [
|
|
1810
1664
|
{
|
|
@@ -1815,121 +1669,207 @@
|
|
|
1815
1669
|
"name": "Send as Basic Auth header",
|
|
1816
1670
|
"value": "basicAuthHeader"
|
|
1817
1671
|
}
|
|
1818
|
-
]
|
|
1819
|
-
"binding": {
|
|
1820
|
-
"type": "zeebe:input",
|
|
1821
|
-
"name": "authentication.clientAuthentication"
|
|
1822
|
-
},
|
|
1823
|
-
"condition": {
|
|
1824
|
-
"property": "authenticationType",
|
|
1825
|
-
"equals": "oauth-client-credentials-flow"
|
|
1826
|
-
}
|
|
1672
|
+
]
|
|
1827
1673
|
},
|
|
1828
1674
|
{
|
|
1829
|
-
"
|
|
1830
|
-
"
|
|
1831
|
-
"
|
|
1675
|
+
"id": "authentication.scopes",
|
|
1676
|
+
"label": "Scopes",
|
|
1677
|
+
"description": "The scopes which you want to request authorization for (e.g.read:contacts)",
|
|
1678
|
+
"optional": true,
|
|
1832
1679
|
"feel": "optional",
|
|
1680
|
+
"group": "authentication",
|
|
1833
1681
|
"binding": {
|
|
1834
|
-
"
|
|
1835
|
-
"
|
|
1836
|
-
},
|
|
1837
|
-
"constraints": {
|
|
1838
|
-
"notEmpty": true
|
|
1682
|
+
"name": "authentication.scopes",
|
|
1683
|
+
"type": "zeebe:input"
|
|
1839
1684
|
},
|
|
1840
1685
|
"condition": {
|
|
1841
|
-
"property": "
|
|
1842
|
-
"equals": "
|
|
1843
|
-
|
|
1686
|
+
"property": "authentication.type",
|
|
1687
|
+
"equals": "oauth-client-credentials-flow",
|
|
1688
|
+
"type": "simple"
|
|
1689
|
+
},
|
|
1690
|
+
"type": "String"
|
|
1844
1691
|
},
|
|
1845
1692
|
{
|
|
1846
|
-
"
|
|
1847
|
-
"
|
|
1848
|
-
"
|
|
1849
|
-
"
|
|
1850
|
-
"
|
|
1851
|
-
"type": "zeebe:input",
|
|
1852
|
-
"name": "authentication.password"
|
|
1853
|
-
},
|
|
1854
|
-
"constraints": {
|
|
1693
|
+
"id": "method",
|
|
1694
|
+
"label": "Method",
|
|
1695
|
+
"optional": false,
|
|
1696
|
+
"value": "GET",
|
|
1697
|
+
"constraints": {
|
|
1855
1698
|
"notEmpty": true
|
|
1856
1699
|
},
|
|
1857
|
-
"
|
|
1858
|
-
|
|
1859
|
-
"
|
|
1860
|
-
|
|
1700
|
+
"group": "endpoint",
|
|
1701
|
+
"binding": {
|
|
1702
|
+
"name": "method",
|
|
1703
|
+
"type": "zeebe:input"
|
|
1704
|
+
},
|
|
1705
|
+
"type": "Dropdown",
|
|
1706
|
+
"choices": [
|
|
1707
|
+
{
|
|
1708
|
+
"name": "DELETE",
|
|
1709
|
+
"value": "DELETE"
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"name": "POST",
|
|
1713
|
+
"value": "POST"
|
|
1714
|
+
},
|
|
1715
|
+
{
|
|
1716
|
+
"name": "GET",
|
|
1717
|
+
"value": "GET"
|
|
1718
|
+
},
|
|
1719
|
+
{
|
|
1720
|
+
"name": "PATCH",
|
|
1721
|
+
"value": "PATCH"
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
"name": "PUT",
|
|
1725
|
+
"value": "PUT"
|
|
1726
|
+
}
|
|
1727
|
+
]
|
|
1861
1728
|
},
|
|
1862
1729
|
{
|
|
1863
|
-
"
|
|
1864
|
-
"
|
|
1865
|
-
"
|
|
1866
|
-
"
|
|
1867
|
-
|
|
1730
|
+
"id": "url",
|
|
1731
|
+
"label": "URL",
|
|
1732
|
+
"optional": false,
|
|
1733
|
+
"constraints": {
|
|
1734
|
+
"notEmpty": true,
|
|
1735
|
+
"pattern": {
|
|
1736
|
+
"value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
|
|
1737
|
+
"message": "Must be a http(s) URL"
|
|
1738
|
+
}
|
|
1739
|
+
},
|
|
1740
|
+
"feel": "optional",
|
|
1741
|
+
"group": "endpoint",
|
|
1868
1742
|
"binding": {
|
|
1869
|
-
"
|
|
1870
|
-
"
|
|
1743
|
+
"name": "url",
|
|
1744
|
+
"type": "zeebe:input"
|
|
1745
|
+
},
|
|
1746
|
+
"type": "String"
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
"id": "headers",
|
|
1750
|
+
"label": "Headers",
|
|
1751
|
+
"description": "Map of HTTP headers to add to the request",
|
|
1752
|
+
"optional": true,
|
|
1753
|
+
"feel": "required",
|
|
1754
|
+
"group": "endpoint",
|
|
1755
|
+
"binding": {
|
|
1756
|
+
"name": "headers",
|
|
1757
|
+
"type": "zeebe:input"
|
|
1758
|
+
},
|
|
1759
|
+
"type": "String"
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
"id": "queryParameters",
|
|
1763
|
+
"label": "Query parameters",
|
|
1764
|
+
"description": "Map of query parameters to add to the request URL",
|
|
1765
|
+
"optional": true,
|
|
1766
|
+
"feel": "required",
|
|
1767
|
+
"group": "endpoint",
|
|
1768
|
+
"binding": {
|
|
1769
|
+
"name": "queryParameters",
|
|
1770
|
+
"type": "zeebe:input"
|
|
1871
1771
|
},
|
|
1772
|
+
"type": "String"
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
"id": "connectionTimeoutInSeconds",
|
|
1776
|
+
"label": "Connection timeout in seconds",
|
|
1777
|
+
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
1872
1778
|
"optional": true,
|
|
1779
|
+
"value": "20",
|
|
1873
1780
|
"feel": "optional",
|
|
1874
|
-
"
|
|
1875
|
-
|
|
1876
|
-
"
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
}
|
|
1781
|
+
"group": "timeout",
|
|
1782
|
+
"binding": {
|
|
1783
|
+
"name": "connectionTimeoutInSeconds",
|
|
1784
|
+
"type": "zeebe:input"
|
|
1785
|
+
},
|
|
1786
|
+
"type": "String"
|
|
1881
1787
|
},
|
|
1882
1788
|
{
|
|
1789
|
+
"id": "body",
|
|
1883
1790
|
"label": "Request body",
|
|
1884
1791
|
"description": "Payload to send with the request",
|
|
1885
|
-
"
|
|
1886
|
-
"type": "Text",
|
|
1792
|
+
"optional": true,
|
|
1887
1793
|
"feel": "optional",
|
|
1794
|
+
"group": "payload",
|
|
1888
1795
|
"binding": {
|
|
1889
|
-
"
|
|
1890
|
-
"
|
|
1796
|
+
"name": "body",
|
|
1797
|
+
"type": "zeebe:input"
|
|
1891
1798
|
},
|
|
1892
1799
|
"condition": {
|
|
1893
1800
|
"property": "method",
|
|
1894
|
-
"oneOf": ["
|
|
1801
|
+
"oneOf": ["POST", "PUT", "PATCH"],
|
|
1802
|
+
"type": "simple"
|
|
1895
1803
|
},
|
|
1896
|
-
"
|
|
1804
|
+
"type": "Text"
|
|
1897
1805
|
},
|
|
1898
1806
|
{
|
|
1807
|
+
"id": "resultVariable",
|
|
1899
1808
|
"label": "Result variable",
|
|
1900
|
-
"description": "Name of variable to store the response in
|
|
1809
|
+
"description": "Name of variable to store the response in",
|
|
1901
1810
|
"group": "output",
|
|
1902
|
-
"type": "String",
|
|
1903
1811
|
"binding": {
|
|
1904
|
-
"
|
|
1905
|
-
"
|
|
1906
|
-
}
|
|
1812
|
+
"key": "resultVariable",
|
|
1813
|
+
"type": "zeebe:taskHeader"
|
|
1814
|
+
},
|
|
1815
|
+
"type": "String"
|
|
1907
1816
|
},
|
|
1908
1817
|
{
|
|
1818
|
+
"id": "resultExpression",
|
|
1909
1819
|
"label": "Result expression",
|
|
1910
|
-
"description": "Expression to map the response into process variables
|
|
1911
|
-
"group": "output",
|
|
1912
|
-
"type": "Text",
|
|
1820
|
+
"description": "Expression to map the response into process variables",
|
|
1913
1821
|
"feel": "required",
|
|
1822
|
+
"group": "output",
|
|
1914
1823
|
"binding": {
|
|
1915
|
-
"
|
|
1916
|
-
"
|
|
1917
|
-
}
|
|
1824
|
+
"key": "resultExpression",
|
|
1825
|
+
"type": "zeebe:taskHeader"
|
|
1826
|
+
},
|
|
1827
|
+
"type": "Text"
|
|
1918
1828
|
},
|
|
1919
1829
|
{
|
|
1830
|
+
"id": "errorExpression",
|
|
1920
1831
|
"label": "Error expression",
|
|
1921
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
1922
|
-
"group": "errors",
|
|
1923
|
-
"type": "Text",
|
|
1832
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
1924
1833
|
"feel": "required",
|
|
1834
|
+
"group": "error",
|
|
1925
1835
|
"binding": {
|
|
1926
|
-
"
|
|
1927
|
-
"
|
|
1928
|
-
}
|
|
1836
|
+
"key": "errorExpression",
|
|
1837
|
+
"type": "zeebe:taskHeader"
|
|
1838
|
+
},
|
|
1839
|
+
"type": "Text"
|
|
1840
|
+
},
|
|
1841
|
+
{
|
|
1842
|
+
"id": "retryCount",
|
|
1843
|
+
"label": "Retries",
|
|
1844
|
+
"description": "Number of retries",
|
|
1845
|
+
"value": "3",
|
|
1846
|
+
"feel": "optional",
|
|
1847
|
+
"group": "retries",
|
|
1848
|
+
"binding": {
|
|
1849
|
+
"property": "retries",
|
|
1850
|
+
"type": "zeebe:taskDefinition"
|
|
1851
|
+
},
|
|
1852
|
+
"type": "String"
|
|
1853
|
+
},
|
|
1854
|
+
{
|
|
1855
|
+
"id": "retryBackoff",
|
|
1856
|
+
"label": "Retry backoff",
|
|
1857
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
1858
|
+
"value": "PT0S",
|
|
1859
|
+
"feel": "optional",
|
|
1860
|
+
"group": "retries",
|
|
1861
|
+
"binding": {
|
|
1862
|
+
"key": "retryBackoff",
|
|
1863
|
+
"type": "zeebe:taskHeader"
|
|
1864
|
+
},
|
|
1865
|
+
"type": "String"
|
|
1929
1866
|
}
|
|
1930
1867
|
],
|
|
1868
|
+
"icon": {
|
|
1869
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
|
|
1870
|
+
},
|
|
1931
1871
|
"engines": {
|
|
1932
|
-
"camunda": "^8.
|
|
1872
|
+
"camunda": "^8.5"
|
|
1933
1873
|
}
|
|
1934
1874
|
},
|
|
1935
1875
|
{
|
|
@@ -2177,104 +2117,1069 @@
|
|
|
2177
2117
|
}
|
|
2178
2118
|
},
|
|
2179
2119
|
{
|
|
2180
|
-
"label": "Audience",
|
|
2181
|
-
"description": "The unique identifier of the target API you want to access",
|
|
2182
|
-
"group": "authentication",
|
|
2183
|
-
"type": "String",
|
|
2184
|
-
"feel": "optional",
|
|
2185
|
-
"optional": true,
|
|
2120
|
+
"label": "Audience",
|
|
2121
|
+
"description": "The unique identifier of the target API you want to access",
|
|
2122
|
+
"group": "authentication",
|
|
2123
|
+
"type": "String",
|
|
2124
|
+
"feel": "optional",
|
|
2125
|
+
"optional": true,
|
|
2126
|
+
"binding": {
|
|
2127
|
+
"type": "zeebe:input",
|
|
2128
|
+
"name": "authentication.audience"
|
|
2129
|
+
},
|
|
2130
|
+
"condition": {
|
|
2131
|
+
"property": "authenticationType",
|
|
2132
|
+
"equals": "oauth-client-credentials-flow"
|
|
2133
|
+
}
|
|
2134
|
+
},
|
|
2135
|
+
{
|
|
2136
|
+
"label": "Client authentication",
|
|
2137
|
+
"id": "authentication.clientAuthentication",
|
|
2138
|
+
"group": "authentication",
|
|
2139
|
+
"description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
|
|
2140
|
+
"value": "basicAuthHeader",
|
|
2141
|
+
"type": "Dropdown",
|
|
2142
|
+
"choices": [
|
|
2143
|
+
{
|
|
2144
|
+
"name": "Send client credentials in body",
|
|
2145
|
+
"value": "credentialsBody"
|
|
2146
|
+
},
|
|
2147
|
+
{
|
|
2148
|
+
"name": "Send as Basic Auth header",
|
|
2149
|
+
"value": "basicAuthHeader"
|
|
2150
|
+
}
|
|
2151
|
+
],
|
|
2152
|
+
"binding": {
|
|
2153
|
+
"type": "zeebe:input",
|
|
2154
|
+
"name": "authentication.clientAuthentication"
|
|
2155
|
+
},
|
|
2156
|
+
"condition": {
|
|
2157
|
+
"property": "authenticationType",
|
|
2158
|
+
"equals": "oauth-client-credentials-flow"
|
|
2159
|
+
}
|
|
2160
|
+
},
|
|
2161
|
+
{
|
|
2162
|
+
"label": "Username",
|
|
2163
|
+
"group": "authentication",
|
|
2164
|
+
"type": "String",
|
|
2165
|
+
"feel": "optional",
|
|
2166
|
+
"binding": {
|
|
2167
|
+
"type": "zeebe:input",
|
|
2168
|
+
"name": "authentication.username"
|
|
2169
|
+
},
|
|
2170
|
+
"constraints": {
|
|
2171
|
+
"notEmpty": true
|
|
2172
|
+
},
|
|
2173
|
+
"condition": {
|
|
2174
|
+
"property": "authenticationType",
|
|
2175
|
+
"equals": "basic"
|
|
2176
|
+
}
|
|
2177
|
+
},
|
|
2178
|
+
{
|
|
2179
|
+
"label": "Password",
|
|
2180
|
+
"group": "authentication",
|
|
2181
|
+
"type": "String",
|
|
2182
|
+
"feel": "optional",
|
|
2183
|
+
"binding": {
|
|
2184
|
+
"type": "zeebe:input",
|
|
2185
|
+
"name": "authentication.password"
|
|
2186
|
+
},
|
|
2187
|
+
"constraints": {
|
|
2188
|
+
"notEmpty": true
|
|
2189
|
+
},
|
|
2190
|
+
"condition": {
|
|
2191
|
+
"property": "authenticationType",
|
|
2192
|
+
"equals": "basic"
|
|
2193
|
+
}
|
|
2194
|
+
},
|
|
2195
|
+
{
|
|
2196
|
+
"label": "Connection timeout",
|
|
2197
|
+
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
2198
|
+
"group": "timeout",
|
|
2199
|
+
"type": "String",
|
|
2200
|
+
"value": "20",
|
|
2201
|
+
"binding": {
|
|
2202
|
+
"type": "zeebe:input",
|
|
2203
|
+
"name": "connectionTimeoutInSeconds"
|
|
2204
|
+
},
|
|
2205
|
+
"optional": true,
|
|
2206
|
+
"feel": "optional",
|
|
2207
|
+
"constraints": {
|
|
2208
|
+
"notEmpty": false,
|
|
2209
|
+
"pattern": {
|
|
2210
|
+
"value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
|
|
2211
|
+
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
2212
|
+
}
|
|
2213
|
+
}
|
|
2214
|
+
},
|
|
2215
|
+
{
|
|
2216
|
+
"label": "Request body",
|
|
2217
|
+
"description": "Payload to send with the request",
|
|
2218
|
+
"group": "input",
|
|
2219
|
+
"type": "Text",
|
|
2220
|
+
"feel": "optional",
|
|
2221
|
+
"binding": {
|
|
2222
|
+
"type": "zeebe:input",
|
|
2223
|
+
"name": "body"
|
|
2224
|
+
},
|
|
2225
|
+
"condition": {
|
|
2226
|
+
"property": "method",
|
|
2227
|
+
"oneOf": ["post", "put", "patch", "delete"]
|
|
2228
|
+
},
|
|
2229
|
+
"optional": true
|
|
2230
|
+
},
|
|
2231
|
+
{
|
|
2232
|
+
"label": "Result variable",
|
|
2233
|
+
"description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
|
|
2234
|
+
"group": "output",
|
|
2235
|
+
"type": "String",
|
|
2236
|
+
"binding": {
|
|
2237
|
+
"type": "zeebe:taskHeader",
|
|
2238
|
+
"key": "resultVariable"
|
|
2239
|
+
}
|
|
2240
|
+
},
|
|
2241
|
+
{
|
|
2242
|
+
"label": "Result expression",
|
|
2243
|
+
"description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
|
|
2244
|
+
"group": "output",
|
|
2245
|
+
"type": "Text",
|
|
2246
|
+
"feel": "required",
|
|
2247
|
+
"binding": {
|
|
2248
|
+
"type": "zeebe:taskHeader",
|
|
2249
|
+
"key": "resultExpression"
|
|
2250
|
+
}
|
|
2251
|
+
},
|
|
2252
|
+
{
|
|
2253
|
+
"label": "Error expression",
|
|
2254
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
|
|
2255
|
+
"group": "errors",
|
|
2256
|
+
"type": "Text",
|
|
2257
|
+
"feel": "required",
|
|
2258
|
+
"binding": {
|
|
2259
|
+
"type": "zeebe:taskHeader",
|
|
2260
|
+
"key": "errorExpression"
|
|
2261
|
+
}
|
|
2262
|
+
}
|
|
2263
|
+
],
|
|
2264
|
+
"engines": {
|
|
2265
|
+
"camunda": "^8.2"
|
|
2266
|
+
}
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
2270
|
+
"name": "REST Connector (Basic Auth)",
|
|
2271
|
+
"id": "io.camunda.connectors.HttpJson.v1.basicAuth",
|
|
2272
|
+
"description": "[Deprecated] Replace with 'REST Connector' template.",
|
|
2273
|
+
"documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/protocol/rest/",
|
|
2274
|
+
"deprecated": {
|
|
2275
|
+
"message": "Replace with 'REST Connector' template.",
|
|
2276
|
+
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
2277
|
+
},
|
|
2278
|
+
"icon": {
|
|
2279
|
+
"contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20viewBox%3D%221%201%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M17.0335%208.99997C17.0335%2013.4475%2013.4281%2017.0529%208.98065%2017.0529C4.53316%2017.0529%200.927765%2013.4475%200.927765%208.99997C0.927765%204.55248%204.53316%200.947083%208.98065%200.947083C13.4281%200.947083%2017.0335%204.55248%2017.0335%208.99997Z%22%20fill%3D%22%23505562%22%2F%3E%0A%3Cpath%20d%3D%22M4.93126%2014.1571L6.78106%203.71471H10.1375C11.1917%203.71471%2011.9824%203.98323%2012.5095%204.52027C13.0465%205.04736%2013.315%205.73358%2013.315%206.57892C13.315%207.44414%2013.0714%208.15522%2012.5841%208.71215C12.1067%209.25913%2011.4553%209.63705%2010.6298%209.8459L12.0619%2014.1571H10.3315L9.03364%2010.0249H7.24351L6.51254%2014.1571H4.93126ZM7.49711%208.59281H9.24248C9.99832%208.59281%2010.5901%208.42374%2011.0177%208.08561C11.4553%207.73753%2011.6741%207.26513%2011.6741%206.66842C11.6741%206.19106%2011.5249%205.81811%2011.2265%205.54959C10.9282%205.27113%2010.4558%205.1319%209.80936%205.1319H8.10874L7.49711%208.59281Z%22%20fill%3D%22white%22%2F%3E%0A%3C%2Fsvg%3E%0A"
|
|
2280
|
+
},
|
|
2281
|
+
"category": {
|
|
2282
|
+
"id": "connectors",
|
|
2283
|
+
"name": "Connectors"
|
|
2284
|
+
},
|
|
2285
|
+
"appliesTo": ["bpmn:Task"],
|
|
2286
|
+
"elementType": {
|
|
2287
|
+
"value": "bpmn:ServiceTask"
|
|
2288
|
+
},
|
|
2289
|
+
"groups": [
|
|
2290
|
+
{
|
|
2291
|
+
"id": "endpoint",
|
|
2292
|
+
"label": "HTTP Endpoint"
|
|
2293
|
+
},
|
|
2294
|
+
{
|
|
2295
|
+
"id": "input",
|
|
2296
|
+
"label": "Payload"
|
|
2297
|
+
},
|
|
2298
|
+
{
|
|
2299
|
+
"id": "authentication",
|
|
2300
|
+
"label": "Authentication"
|
|
2301
|
+
},
|
|
2302
|
+
{
|
|
2303
|
+
"id": "output",
|
|
2304
|
+
"label": "Response Mapping"
|
|
2305
|
+
}
|
|
2306
|
+
],
|
|
2307
|
+
"properties": [
|
|
2308
|
+
{
|
|
2309
|
+
"type": "Hidden",
|
|
2310
|
+
"value": "io.camunda:http-json:1",
|
|
2311
|
+
"binding": {
|
|
2312
|
+
"type": "zeebe:taskDefinition",
|
|
2313
|
+
"property": "type"
|
|
2314
|
+
}
|
|
2315
|
+
},
|
|
2316
|
+
{
|
|
2317
|
+
"label": "Method",
|
|
2318
|
+
"group": "endpoint",
|
|
2319
|
+
"type": "Dropdown",
|
|
2320
|
+
"value": "get",
|
|
2321
|
+
"choices": [
|
|
2322
|
+
{
|
|
2323
|
+
"name": "GET",
|
|
2324
|
+
"value": "get"
|
|
2325
|
+
},
|
|
2326
|
+
{
|
|
2327
|
+
"name": "POST",
|
|
2328
|
+
"value": "post"
|
|
2329
|
+
},
|
|
2330
|
+
{
|
|
2331
|
+
"name": "PATCH",
|
|
2332
|
+
"value": "patch"
|
|
2333
|
+
},
|
|
2334
|
+
{
|
|
2335
|
+
"name": "PUT",
|
|
2336
|
+
"value": "put"
|
|
2337
|
+
},
|
|
2338
|
+
{
|
|
2339
|
+
"name": "DELETE",
|
|
2340
|
+
"value": "delete"
|
|
2341
|
+
}
|
|
2342
|
+
],
|
|
2343
|
+
"binding": {
|
|
2344
|
+
"type": "zeebe:input",
|
|
2345
|
+
"name": "method"
|
|
2346
|
+
}
|
|
2347
|
+
},
|
|
2348
|
+
{
|
|
2349
|
+
"label": "URL",
|
|
2350
|
+
"group": "endpoint",
|
|
2351
|
+
"type": "String",
|
|
2352
|
+
"feel": "optional",
|
|
2353
|
+
"binding": {
|
|
2354
|
+
"type": "zeebe:input",
|
|
2355
|
+
"name": "url"
|
|
2356
|
+
},
|
|
2357
|
+
"constraints": {
|
|
2358
|
+
"notEmpty": true,
|
|
2359
|
+
"pattern": {
|
|
2360
|
+
"value": "^(=|https?://).*",
|
|
2361
|
+
"message": "Must be a http(s) URL."
|
|
2362
|
+
}
|
|
2363
|
+
}
|
|
2364
|
+
},
|
|
2365
|
+
{
|
|
2366
|
+
"label": "Query Parameters",
|
|
2367
|
+
"description": "Map of query parameters to add to the request URL",
|
|
2368
|
+
"group": "endpoint",
|
|
2369
|
+
"type": "Text",
|
|
2370
|
+
"feel": "required",
|
|
2371
|
+
"binding": {
|
|
2372
|
+
"type": "zeebe:input",
|
|
2373
|
+
"name": "queryParameters"
|
|
2374
|
+
},
|
|
2375
|
+
"optional": true
|
|
2376
|
+
},
|
|
2377
|
+
{
|
|
2378
|
+
"label": "HTTP Headers",
|
|
2379
|
+
"description": "Map of HTTP headers to add to the request",
|
|
2380
|
+
"group": "endpoint",
|
|
2381
|
+
"type": "Text",
|
|
2382
|
+
"feel": "required",
|
|
2383
|
+
"binding": {
|
|
2384
|
+
"type": "zeebe:input",
|
|
2385
|
+
"name": "headers"
|
|
2386
|
+
},
|
|
2387
|
+
"optional": true
|
|
2388
|
+
},
|
|
2389
|
+
{
|
|
2390
|
+
"type": "Hidden",
|
|
2391
|
+
"value": "basic",
|
|
2392
|
+
"binding": {
|
|
2393
|
+
"type": "zeebe:input",
|
|
2394
|
+
"name": "authentication.type"
|
|
2395
|
+
}
|
|
2396
|
+
},
|
|
2397
|
+
{
|
|
2398
|
+
"label": "Username",
|
|
2399
|
+
"group": "authentication",
|
|
2400
|
+
"type": "String",
|
|
2401
|
+
"feel": "optional",
|
|
2402
|
+
"binding": {
|
|
2403
|
+
"type": "zeebe:input",
|
|
2404
|
+
"name": "authentication.username"
|
|
2405
|
+
},
|
|
2406
|
+
"constraints": {
|
|
2407
|
+
"notEmpty": true
|
|
2408
|
+
}
|
|
2409
|
+
},
|
|
2410
|
+
{
|
|
2411
|
+
"label": "Password",
|
|
2412
|
+
"group": "authentication",
|
|
2413
|
+
"type": "String",
|
|
2414
|
+
"feel": "optional",
|
|
2415
|
+
"binding": {
|
|
2416
|
+
"type": "zeebe:input",
|
|
2417
|
+
"name": "authentication.password"
|
|
2418
|
+
},
|
|
2419
|
+
"constraints": {
|
|
2420
|
+
"notEmpty": true
|
|
2421
|
+
}
|
|
2422
|
+
},
|
|
2423
|
+
{
|
|
2424
|
+
"label": "Request Body",
|
|
2425
|
+
"description": "JSON payload to send with the request",
|
|
2426
|
+
"group": "input",
|
|
2427
|
+
"type": "Text",
|
|
2428
|
+
"feel": "required",
|
|
2429
|
+
"binding": {
|
|
2430
|
+
"type": "zeebe:input",
|
|
2431
|
+
"name": "body"
|
|
2432
|
+
},
|
|
2433
|
+
"optional": true
|
|
2434
|
+
},
|
|
2435
|
+
{
|
|
2436
|
+
"label": "Result Variable",
|
|
2437
|
+
"description": "Name of variable to store the response in",
|
|
2438
|
+
"group": "output",
|
|
2439
|
+
"type": "String",
|
|
2440
|
+
"binding": {
|
|
2441
|
+
"type": "zeebe:taskHeader",
|
|
2442
|
+
"key": "resultVariable"
|
|
2443
|
+
}
|
|
2444
|
+
},
|
|
2445
|
+
{
|
|
2446
|
+
"label": "Result Expression",
|
|
2447
|
+
"description": "Expression to map the response into process variables",
|
|
2448
|
+
"group": "output",
|
|
2449
|
+
"type": "Text",
|
|
2450
|
+
"feel": "required",
|
|
2451
|
+
"binding": {
|
|
2452
|
+
"type": "zeebe:taskHeader",
|
|
2453
|
+
"key": "resultExpression"
|
|
2454
|
+
}
|
|
2455
|
+
}
|
|
2456
|
+
]
|
|
2457
|
+
},
|
|
2458
|
+
{
|
|
2459
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
2460
|
+
"name": "REST Outbound Connector",
|
|
2461
|
+
"id": "io.camunda.connectors.HttpJson.v2",
|
|
2462
|
+
"description": "Invoke REST API",
|
|
2463
|
+
"metadata": {
|
|
2464
|
+
"keywords": []
|
|
2465
|
+
},
|
|
2466
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
|
|
2467
|
+
"version": 10,
|
|
2468
|
+
"category": {
|
|
2469
|
+
"id": "connectors",
|
|
2470
|
+
"name": "Connectors"
|
|
2471
|
+
},
|
|
2472
|
+
"appliesTo": ["bpmn:Task"],
|
|
2473
|
+
"elementType": {
|
|
2474
|
+
"value": "bpmn:ServiceTask"
|
|
2475
|
+
},
|
|
2476
|
+
"engines": {
|
|
2477
|
+
"camunda": "^8.3"
|
|
2478
|
+
},
|
|
2479
|
+
"groups": [
|
|
2480
|
+
{
|
|
2481
|
+
"id": "authentication",
|
|
2482
|
+
"label": "Authentication"
|
|
2483
|
+
},
|
|
2484
|
+
{
|
|
2485
|
+
"id": "endpoint",
|
|
2486
|
+
"label": "HTTP endpoint"
|
|
2487
|
+
},
|
|
2488
|
+
{
|
|
2489
|
+
"id": "timeout",
|
|
2490
|
+
"label": "Connection timeout"
|
|
2491
|
+
},
|
|
2492
|
+
{
|
|
2493
|
+
"id": "payload",
|
|
2494
|
+
"label": "Payload"
|
|
2495
|
+
},
|
|
2496
|
+
{
|
|
2497
|
+
"id": "output",
|
|
2498
|
+
"label": "Output mapping"
|
|
2499
|
+
},
|
|
2500
|
+
{
|
|
2501
|
+
"id": "error",
|
|
2502
|
+
"label": "Error handling"
|
|
2503
|
+
},
|
|
2504
|
+
{
|
|
2505
|
+
"id": "retries",
|
|
2506
|
+
"label": "Retries"
|
|
2507
|
+
}
|
|
2508
|
+
],
|
|
2509
|
+
"properties": [
|
|
2510
|
+
{
|
|
2511
|
+
"value": "io.camunda:http-json:1",
|
|
2512
|
+
"binding": {
|
|
2513
|
+
"property": "type",
|
|
2514
|
+
"type": "zeebe:taskDefinition"
|
|
2515
|
+
},
|
|
2516
|
+
"type": "Hidden"
|
|
2517
|
+
},
|
|
2518
|
+
{
|
|
2519
|
+
"id": "authentication.type",
|
|
2520
|
+
"label": "Type",
|
|
2521
|
+
"description": "Choose the authentication type. Select 'None' if no authentication is necessary",
|
|
2522
|
+
"value": "noAuth",
|
|
2523
|
+
"group": "authentication",
|
|
2524
|
+
"binding": {
|
|
2525
|
+
"name": "authentication.type",
|
|
2526
|
+
"type": "zeebe:input"
|
|
2527
|
+
},
|
|
2528
|
+
"type": "Dropdown",
|
|
2529
|
+
"choices": [
|
|
2530
|
+
{
|
|
2531
|
+
"name": "API key",
|
|
2532
|
+
"value": "apiKey"
|
|
2533
|
+
},
|
|
2534
|
+
{
|
|
2535
|
+
"name": "Basic",
|
|
2536
|
+
"value": "basic"
|
|
2537
|
+
},
|
|
2538
|
+
{
|
|
2539
|
+
"name": "Bearer token",
|
|
2540
|
+
"value": "bearer"
|
|
2541
|
+
},
|
|
2542
|
+
{
|
|
2543
|
+
"name": "None",
|
|
2544
|
+
"value": "noAuth"
|
|
2545
|
+
},
|
|
2546
|
+
{
|
|
2547
|
+
"name": "OAuth 2.0",
|
|
2548
|
+
"value": "oauth-client-credentials-flow"
|
|
2549
|
+
}
|
|
2550
|
+
]
|
|
2551
|
+
},
|
|
2552
|
+
{
|
|
2553
|
+
"id": "authentication.apiKeyLocation",
|
|
2554
|
+
"label": "Api key location",
|
|
2555
|
+
"description": "Choose type: Send API key in header or as query parameter.",
|
|
2556
|
+
"optional": false,
|
|
2557
|
+
"value": "headers",
|
|
2558
|
+
"constraints": {
|
|
2559
|
+
"notEmpty": true
|
|
2560
|
+
},
|
|
2561
|
+
"group": "authentication",
|
|
2562
|
+
"binding": {
|
|
2563
|
+
"name": "authentication.apiKeyLocation",
|
|
2564
|
+
"type": "zeebe:input"
|
|
2565
|
+
},
|
|
2566
|
+
"condition": {
|
|
2567
|
+
"property": "authentication.type",
|
|
2568
|
+
"equals": "apiKey",
|
|
2569
|
+
"type": "simple"
|
|
2570
|
+
},
|
|
2571
|
+
"type": "Dropdown",
|
|
2572
|
+
"choices": [
|
|
2573
|
+
{
|
|
2574
|
+
"name": "Headers",
|
|
2575
|
+
"value": "headers"
|
|
2576
|
+
},
|
|
2577
|
+
{
|
|
2578
|
+
"name": "Query parameters",
|
|
2579
|
+
"value": "query"
|
|
2580
|
+
}
|
|
2581
|
+
]
|
|
2582
|
+
},
|
|
2583
|
+
{
|
|
2584
|
+
"id": "authentication.name",
|
|
2585
|
+
"label": "API key name",
|
|
2586
|
+
"optional": false,
|
|
2587
|
+
"constraints": {
|
|
2588
|
+
"notEmpty": true
|
|
2589
|
+
},
|
|
2590
|
+
"feel": "optional",
|
|
2591
|
+
"group": "authentication",
|
|
2592
|
+
"binding": {
|
|
2593
|
+
"name": "authentication.name",
|
|
2594
|
+
"type": "zeebe:input"
|
|
2595
|
+
},
|
|
2596
|
+
"condition": {
|
|
2597
|
+
"property": "authentication.type",
|
|
2598
|
+
"equals": "apiKey",
|
|
2599
|
+
"type": "simple"
|
|
2600
|
+
},
|
|
2601
|
+
"type": "String"
|
|
2602
|
+
},
|
|
2603
|
+
{
|
|
2604
|
+
"id": "authentication.value",
|
|
2605
|
+
"label": "API key value",
|
|
2606
|
+
"optional": false,
|
|
2607
|
+
"constraints": {
|
|
2608
|
+
"notEmpty": true
|
|
2609
|
+
},
|
|
2610
|
+
"feel": "optional",
|
|
2611
|
+
"group": "authentication",
|
|
2612
|
+
"binding": {
|
|
2613
|
+
"name": "authentication.value",
|
|
2614
|
+
"type": "zeebe:input"
|
|
2615
|
+
},
|
|
2616
|
+
"condition": {
|
|
2617
|
+
"property": "authentication.type",
|
|
2618
|
+
"equals": "apiKey",
|
|
2619
|
+
"type": "simple"
|
|
2620
|
+
},
|
|
2621
|
+
"type": "String"
|
|
2622
|
+
},
|
|
2623
|
+
{
|
|
2624
|
+
"id": "authentication.username",
|
|
2625
|
+
"label": "Username",
|
|
2626
|
+
"optional": false,
|
|
2627
|
+
"constraints": {
|
|
2628
|
+
"notEmpty": true
|
|
2629
|
+
},
|
|
2630
|
+
"feel": "optional",
|
|
2631
|
+
"group": "authentication",
|
|
2632
|
+
"binding": {
|
|
2633
|
+
"name": "authentication.username",
|
|
2634
|
+
"type": "zeebe:input"
|
|
2635
|
+
},
|
|
2636
|
+
"condition": {
|
|
2637
|
+
"property": "authentication.type",
|
|
2638
|
+
"equals": "basic",
|
|
2639
|
+
"type": "simple"
|
|
2640
|
+
},
|
|
2641
|
+
"type": "String"
|
|
2642
|
+
},
|
|
2643
|
+
{
|
|
2644
|
+
"id": "authentication.password",
|
|
2645
|
+
"label": "Password",
|
|
2646
|
+
"optional": false,
|
|
2647
|
+
"constraints": {
|
|
2648
|
+
"notEmpty": true
|
|
2649
|
+
},
|
|
2650
|
+
"feel": "optional",
|
|
2651
|
+
"group": "authentication",
|
|
2652
|
+
"binding": {
|
|
2653
|
+
"name": "authentication.password",
|
|
2654
|
+
"type": "zeebe:input"
|
|
2655
|
+
},
|
|
2656
|
+
"condition": {
|
|
2657
|
+
"property": "authentication.type",
|
|
2658
|
+
"equals": "basic",
|
|
2659
|
+
"type": "simple"
|
|
2660
|
+
},
|
|
2661
|
+
"type": "String"
|
|
2662
|
+
},
|
|
2663
|
+
{
|
|
2664
|
+
"id": "authentication.token",
|
|
2665
|
+
"label": "Bearer token",
|
|
2666
|
+
"optional": false,
|
|
2667
|
+
"constraints": {
|
|
2668
|
+
"notEmpty": true
|
|
2669
|
+
},
|
|
2670
|
+
"feel": "optional",
|
|
2671
|
+
"group": "authentication",
|
|
2672
|
+
"binding": {
|
|
2673
|
+
"name": "authentication.token",
|
|
2674
|
+
"type": "zeebe:input"
|
|
2675
|
+
},
|
|
2676
|
+
"condition": {
|
|
2677
|
+
"property": "authentication.type",
|
|
2678
|
+
"equals": "bearer",
|
|
2679
|
+
"type": "simple"
|
|
2680
|
+
},
|
|
2681
|
+
"type": "String"
|
|
2682
|
+
},
|
|
2683
|
+
{
|
|
2684
|
+
"id": "authentication.oauthTokenEndpoint",
|
|
2685
|
+
"label": "OAuth 2.0 token endpoint",
|
|
2686
|
+
"description": "The OAuth token endpoint",
|
|
2687
|
+
"optional": false,
|
|
2688
|
+
"constraints": {
|
|
2689
|
+
"notEmpty": true,
|
|
2690
|
+
"pattern": {
|
|
2691
|
+
"value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
|
|
2692
|
+
"message": "Must be a http(s) URL"
|
|
2693
|
+
}
|
|
2694
|
+
},
|
|
2695
|
+
"feel": "optional",
|
|
2696
|
+
"group": "authentication",
|
|
2697
|
+
"binding": {
|
|
2698
|
+
"name": "authentication.oauthTokenEndpoint",
|
|
2699
|
+
"type": "zeebe:input"
|
|
2700
|
+
},
|
|
2701
|
+
"condition": {
|
|
2702
|
+
"property": "authentication.type",
|
|
2703
|
+
"equals": "oauth-client-credentials-flow",
|
|
2704
|
+
"type": "simple"
|
|
2705
|
+
},
|
|
2706
|
+
"type": "String"
|
|
2707
|
+
},
|
|
2708
|
+
{
|
|
2709
|
+
"id": "authentication.clientId",
|
|
2710
|
+
"label": "Client ID",
|
|
2711
|
+
"description": "Your application's client ID from the OAuth client",
|
|
2712
|
+
"optional": false,
|
|
2713
|
+
"constraints": {
|
|
2714
|
+
"notEmpty": true
|
|
2715
|
+
},
|
|
2716
|
+
"feel": "optional",
|
|
2717
|
+
"group": "authentication",
|
|
2718
|
+
"binding": {
|
|
2719
|
+
"name": "authentication.clientId",
|
|
2720
|
+
"type": "zeebe:input"
|
|
2721
|
+
},
|
|
2722
|
+
"condition": {
|
|
2723
|
+
"property": "authentication.type",
|
|
2724
|
+
"equals": "oauth-client-credentials-flow",
|
|
2725
|
+
"type": "simple"
|
|
2726
|
+
},
|
|
2727
|
+
"type": "String"
|
|
2728
|
+
},
|
|
2729
|
+
{
|
|
2730
|
+
"id": "authentication.clientSecret",
|
|
2731
|
+
"label": "Client secret",
|
|
2732
|
+
"description": "Your application's client secret from the OAuth client",
|
|
2733
|
+
"optional": false,
|
|
2734
|
+
"constraints": {
|
|
2735
|
+
"notEmpty": true
|
|
2736
|
+
},
|
|
2737
|
+
"feel": "optional",
|
|
2738
|
+
"group": "authentication",
|
|
2739
|
+
"binding": {
|
|
2740
|
+
"name": "authentication.clientSecret",
|
|
2741
|
+
"type": "zeebe:input"
|
|
2742
|
+
},
|
|
2743
|
+
"condition": {
|
|
2744
|
+
"property": "authentication.type",
|
|
2745
|
+
"equals": "oauth-client-credentials-flow",
|
|
2746
|
+
"type": "simple"
|
|
2747
|
+
},
|
|
2748
|
+
"type": "String"
|
|
2749
|
+
},
|
|
2750
|
+
{
|
|
2751
|
+
"id": "authentication.audience",
|
|
2752
|
+
"label": "Audience",
|
|
2753
|
+
"description": "The unique identifier of the target API you want to access",
|
|
2754
|
+
"optional": true,
|
|
2755
|
+
"feel": "optional",
|
|
2756
|
+
"group": "authentication",
|
|
2757
|
+
"binding": {
|
|
2758
|
+
"name": "authentication.audience",
|
|
2759
|
+
"type": "zeebe:input"
|
|
2760
|
+
},
|
|
2761
|
+
"condition": {
|
|
2762
|
+
"property": "authentication.type",
|
|
2763
|
+
"equals": "oauth-client-credentials-flow",
|
|
2764
|
+
"type": "simple"
|
|
2765
|
+
},
|
|
2766
|
+
"type": "String"
|
|
2767
|
+
},
|
|
2768
|
+
{
|
|
2769
|
+
"id": "authentication.clientAuthentication",
|
|
2770
|
+
"label": "Client authentication",
|
|
2771
|
+
"description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
|
|
2772
|
+
"optional": false,
|
|
2773
|
+
"constraints": {
|
|
2774
|
+
"notEmpty": true
|
|
2775
|
+
},
|
|
2776
|
+
"group": "authentication",
|
|
2777
|
+
"binding": {
|
|
2778
|
+
"name": "authentication.clientAuthentication",
|
|
2779
|
+
"type": "zeebe:input"
|
|
2780
|
+
},
|
|
2781
|
+
"condition": {
|
|
2782
|
+
"property": "authentication.type",
|
|
2783
|
+
"equals": "oauth-client-credentials-flow",
|
|
2784
|
+
"type": "simple"
|
|
2785
|
+
},
|
|
2786
|
+
"type": "Dropdown",
|
|
2787
|
+
"choices": [
|
|
2788
|
+
{
|
|
2789
|
+
"name": "Send client credentials in body",
|
|
2790
|
+
"value": "credentialsBody"
|
|
2791
|
+
},
|
|
2792
|
+
{
|
|
2793
|
+
"name": "Send as Basic Auth header",
|
|
2794
|
+
"value": "basicAuthHeader"
|
|
2795
|
+
}
|
|
2796
|
+
]
|
|
2797
|
+
},
|
|
2798
|
+
{
|
|
2799
|
+
"id": "authentication.scopes",
|
|
2800
|
+
"label": "Scopes",
|
|
2801
|
+
"description": "The scopes which you want to request authorization for (e.g.read:contacts)",
|
|
2802
|
+
"optional": true,
|
|
2803
|
+
"feel": "optional",
|
|
2804
|
+
"group": "authentication",
|
|
2805
|
+
"binding": {
|
|
2806
|
+
"name": "authentication.scopes",
|
|
2807
|
+
"type": "zeebe:input"
|
|
2808
|
+
},
|
|
2809
|
+
"condition": {
|
|
2810
|
+
"property": "authentication.type",
|
|
2811
|
+
"equals": "oauth-client-credentials-flow",
|
|
2812
|
+
"type": "simple"
|
|
2813
|
+
},
|
|
2814
|
+
"type": "String"
|
|
2815
|
+
},
|
|
2816
|
+
{
|
|
2817
|
+
"id": "method",
|
|
2818
|
+
"label": "Method",
|
|
2819
|
+
"optional": false,
|
|
2820
|
+
"value": "GET",
|
|
2821
|
+
"constraints": {
|
|
2822
|
+
"notEmpty": true
|
|
2823
|
+
},
|
|
2824
|
+
"group": "endpoint",
|
|
2825
|
+
"binding": {
|
|
2826
|
+
"name": "method",
|
|
2827
|
+
"type": "zeebe:input"
|
|
2828
|
+
},
|
|
2829
|
+
"type": "Dropdown",
|
|
2830
|
+
"choices": [
|
|
2831
|
+
{
|
|
2832
|
+
"name": "POST",
|
|
2833
|
+
"value": "POST"
|
|
2834
|
+
},
|
|
2835
|
+
{
|
|
2836
|
+
"name": "GET",
|
|
2837
|
+
"value": "GET"
|
|
2838
|
+
},
|
|
2839
|
+
{
|
|
2840
|
+
"name": "DELETE",
|
|
2841
|
+
"value": "DELETE"
|
|
2842
|
+
},
|
|
2843
|
+
{
|
|
2844
|
+
"name": "PATCH",
|
|
2845
|
+
"value": "PATCH"
|
|
2846
|
+
},
|
|
2847
|
+
{
|
|
2848
|
+
"name": "PUT",
|
|
2849
|
+
"value": "PUT"
|
|
2850
|
+
}
|
|
2851
|
+
]
|
|
2852
|
+
},
|
|
2853
|
+
{
|
|
2854
|
+
"id": "url",
|
|
2855
|
+
"label": "URL",
|
|
2856
|
+
"optional": false,
|
|
2857
|
+
"constraints": {
|
|
2858
|
+
"notEmpty": true,
|
|
2859
|
+
"pattern": {
|
|
2860
|
+
"value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
|
|
2861
|
+
"message": "Must be a http(s) URL"
|
|
2862
|
+
}
|
|
2863
|
+
},
|
|
2864
|
+
"feel": "optional",
|
|
2865
|
+
"group": "endpoint",
|
|
2866
|
+
"binding": {
|
|
2867
|
+
"name": "url",
|
|
2868
|
+
"type": "zeebe:input"
|
|
2869
|
+
},
|
|
2870
|
+
"type": "String"
|
|
2871
|
+
},
|
|
2872
|
+
{
|
|
2873
|
+
"id": "headers",
|
|
2874
|
+
"label": "Headers",
|
|
2875
|
+
"description": "Map of HTTP headers to add to the request",
|
|
2876
|
+
"optional": true,
|
|
2877
|
+
"feel": "required",
|
|
2878
|
+
"group": "endpoint",
|
|
2879
|
+
"binding": {
|
|
2880
|
+
"name": "headers",
|
|
2881
|
+
"type": "zeebe:input"
|
|
2882
|
+
},
|
|
2883
|
+
"type": "String"
|
|
2884
|
+
},
|
|
2885
|
+
{
|
|
2886
|
+
"id": "queryParameters",
|
|
2887
|
+
"label": "Query parameters",
|
|
2888
|
+
"description": "Map of query parameters to add to the request URL",
|
|
2889
|
+
"optional": true,
|
|
2890
|
+
"feel": "required",
|
|
2891
|
+
"group": "endpoint",
|
|
2892
|
+
"binding": {
|
|
2893
|
+
"name": "queryParameters",
|
|
2894
|
+
"type": "zeebe:input"
|
|
2895
|
+
},
|
|
2896
|
+
"type": "String"
|
|
2897
|
+
},
|
|
2898
|
+
{
|
|
2899
|
+
"id": "storeResponse",
|
|
2900
|
+
"label": "Store response",
|
|
2901
|
+
"description": "Store the response as a document in the document store",
|
|
2902
|
+
"optional": false,
|
|
2903
|
+
"value": false,
|
|
2904
|
+
"feel": "static",
|
|
2905
|
+
"group": "endpoint",
|
|
2906
|
+
"binding": {
|
|
2907
|
+
"name": "storeResponse",
|
|
2908
|
+
"type": "zeebe:input"
|
|
2909
|
+
},
|
|
2910
|
+
"type": "Boolean"
|
|
2911
|
+
},
|
|
2912
|
+
{
|
|
2913
|
+
"id": "skipEncoding",
|
|
2914
|
+
"label": "Skip URL encoding",
|
|
2915
|
+
"description": "Skip the default URL decoding and encoding behavior",
|
|
2916
|
+
"optional": true,
|
|
2917
|
+
"group": "endpoint",
|
|
2918
|
+
"binding": {
|
|
2919
|
+
"name": "skipEncoding",
|
|
2920
|
+
"type": "zeebe:input"
|
|
2921
|
+
},
|
|
2922
|
+
"type": "Hidden"
|
|
2923
|
+
},
|
|
2924
|
+
{
|
|
2925
|
+
"id": "connectionTimeoutInSeconds",
|
|
2926
|
+
"label": "Connection timeout in seconds",
|
|
2927
|
+
"description": "Defines the connection timeout in seconds, or 0 for an infinite timeout",
|
|
2928
|
+
"optional": false,
|
|
2929
|
+
"value": 20,
|
|
2930
|
+
"constraints": {
|
|
2931
|
+
"notEmpty": true,
|
|
2932
|
+
"pattern": {
|
|
2933
|
+
"value": "^\\d+$",
|
|
2934
|
+
"message": "Must be a number"
|
|
2935
|
+
}
|
|
2936
|
+
},
|
|
2937
|
+
"feel": "static",
|
|
2938
|
+
"group": "timeout",
|
|
2939
|
+
"binding": {
|
|
2940
|
+
"name": "connectionTimeoutInSeconds",
|
|
2941
|
+
"type": "zeebe:input"
|
|
2942
|
+
},
|
|
2943
|
+
"type": "Number"
|
|
2944
|
+
},
|
|
2945
|
+
{
|
|
2946
|
+
"id": "readTimeoutInSeconds",
|
|
2947
|
+
"label": "Read timeout in seconds",
|
|
2948
|
+
"description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
|
|
2949
|
+
"optional": false,
|
|
2950
|
+
"value": 20,
|
|
2951
|
+
"constraints": {
|
|
2952
|
+
"notEmpty": true,
|
|
2953
|
+
"pattern": {
|
|
2954
|
+
"value": "^\\d+$",
|
|
2955
|
+
"message": "Must be a number"
|
|
2956
|
+
}
|
|
2957
|
+
},
|
|
2958
|
+
"feel": "static",
|
|
2959
|
+
"group": "timeout",
|
|
2960
|
+
"binding": {
|
|
2961
|
+
"name": "readTimeoutInSeconds",
|
|
2962
|
+
"type": "zeebe:input"
|
|
2963
|
+
},
|
|
2964
|
+
"type": "Number"
|
|
2965
|
+
},
|
|
2966
|
+
{
|
|
2967
|
+
"id": "body",
|
|
2968
|
+
"label": "Request body",
|
|
2969
|
+
"description": "Payload to send with the request",
|
|
2970
|
+
"optional": true,
|
|
2971
|
+
"feel": "optional",
|
|
2972
|
+
"group": "payload",
|
|
2973
|
+
"binding": {
|
|
2974
|
+
"name": "body",
|
|
2975
|
+
"type": "zeebe:input"
|
|
2976
|
+
},
|
|
2977
|
+
"condition": {
|
|
2978
|
+
"property": "method",
|
|
2979
|
+
"oneOf": ["POST", "PUT", "PATCH"],
|
|
2980
|
+
"type": "simple"
|
|
2981
|
+
},
|
|
2982
|
+
"type": "Text"
|
|
2983
|
+
},
|
|
2984
|
+
{
|
|
2985
|
+
"id": "ignoreNullValues",
|
|
2986
|
+
"label": "Ignore null values",
|
|
2987
|
+
"optional": false,
|
|
2988
|
+
"value": false,
|
|
2989
|
+
"feel": "static",
|
|
2990
|
+
"group": "payload",
|
|
2991
|
+
"binding": {
|
|
2992
|
+
"name": "ignoreNullValues",
|
|
2993
|
+
"type": "zeebe:input"
|
|
2994
|
+
},
|
|
2995
|
+
"tooltip": "Null values will not be sent",
|
|
2996
|
+
"type": "Boolean"
|
|
2997
|
+
},
|
|
2998
|
+
{
|
|
2999
|
+
"id": "resultVariable",
|
|
3000
|
+
"label": "Result variable",
|
|
3001
|
+
"description": "Name of variable to store the response in",
|
|
3002
|
+
"group": "output",
|
|
3003
|
+
"binding": {
|
|
3004
|
+
"key": "resultVariable",
|
|
3005
|
+
"type": "zeebe:taskHeader"
|
|
3006
|
+
},
|
|
3007
|
+
"type": "String"
|
|
3008
|
+
},
|
|
3009
|
+
{
|
|
3010
|
+
"id": "resultExpression",
|
|
3011
|
+
"label": "Result expression",
|
|
3012
|
+
"description": "Expression to map the response into process variables",
|
|
3013
|
+
"feel": "required",
|
|
3014
|
+
"group": "output",
|
|
3015
|
+
"binding": {
|
|
3016
|
+
"key": "resultExpression",
|
|
3017
|
+
"type": "zeebe:taskHeader"
|
|
3018
|
+
},
|
|
3019
|
+
"type": "Text"
|
|
3020
|
+
},
|
|
3021
|
+
{
|
|
3022
|
+
"id": "errorExpression",
|
|
3023
|
+
"label": "Error expression",
|
|
3024
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
3025
|
+
"feel": "required",
|
|
3026
|
+
"group": "error",
|
|
3027
|
+
"binding": {
|
|
3028
|
+
"key": "errorExpression",
|
|
3029
|
+
"type": "zeebe:taskHeader"
|
|
3030
|
+
},
|
|
3031
|
+
"type": "Text"
|
|
3032
|
+
},
|
|
3033
|
+
{
|
|
3034
|
+
"id": "retryCount",
|
|
3035
|
+
"label": "Retries",
|
|
3036
|
+
"description": "Number of retries",
|
|
3037
|
+
"value": "3",
|
|
3038
|
+
"feel": "optional",
|
|
3039
|
+
"group": "retries",
|
|
3040
|
+
"binding": {
|
|
3041
|
+
"property": "retries",
|
|
3042
|
+
"type": "zeebe:taskDefinition"
|
|
3043
|
+
},
|
|
3044
|
+
"type": "String"
|
|
3045
|
+
},
|
|
3046
|
+
{
|
|
3047
|
+
"id": "retryBackoff",
|
|
3048
|
+
"label": "Retry backoff",
|
|
3049
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
3050
|
+
"value": "PT0S",
|
|
3051
|
+
"group": "retries",
|
|
3052
|
+
"binding": {
|
|
3053
|
+
"key": "retryBackoff",
|
|
3054
|
+
"type": "zeebe:taskHeader"
|
|
3055
|
+
},
|
|
3056
|
+
"type": "String"
|
|
3057
|
+
}
|
|
3058
|
+
],
|
|
3059
|
+
"icon": {
|
|
3060
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
|
|
3061
|
+
}
|
|
3062
|
+
},
|
|
3063
|
+
{
|
|
3064
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
3065
|
+
"name": "REST Connector (No Auth)",
|
|
3066
|
+
"id": "io.camunda.connectors.HttpJson.v1.noAuth",
|
|
3067
|
+
"description": "[Deprecated] Replace with 'REST Connector' template.",
|
|
3068
|
+
"documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/protocol/rest/",
|
|
3069
|
+
"deprecated": {
|
|
3070
|
+
"message": "Replace with 'REST Connector' template.",
|
|
3071
|
+
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
3072
|
+
},
|
|
3073
|
+
"icon": {
|
|
3074
|
+
"contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20viewBox%3D%221%201%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M17.0335%208.99997C17.0335%2013.4475%2013.4281%2017.0529%208.98065%2017.0529C4.53316%2017.0529%200.927765%2013.4475%200.927765%208.99997C0.927765%204.55248%204.53316%200.947083%208.98065%200.947083C13.4281%200.947083%2017.0335%204.55248%2017.0335%208.99997Z%22%20fill%3D%22%23505562%22%2F%3E%0A%3Cpath%20d%3D%22M4.93126%2014.1571L6.78106%203.71471H10.1375C11.1917%203.71471%2011.9824%203.98323%2012.5095%204.52027C13.0465%205.04736%2013.315%205.73358%2013.315%206.57892C13.315%207.44414%2013.0714%208.15522%2012.5841%208.71215C12.1067%209.25913%2011.4553%209.63705%2010.6298%209.8459L12.0619%2014.1571H10.3315L9.03364%2010.0249H7.24351L6.51254%2014.1571H4.93126ZM7.49711%208.59281H9.24248C9.99832%208.59281%2010.5901%208.42374%2011.0177%208.08561C11.4553%207.73753%2011.6741%207.26513%2011.6741%206.66842C11.6741%206.19106%2011.5249%205.81811%2011.2265%205.54959C10.9282%205.27113%2010.4558%205.1319%209.80936%205.1319H8.10874L7.49711%208.59281Z%22%20fill%3D%22white%22%2F%3E%0A%3C%2Fsvg%3E%0A"
|
|
3075
|
+
},
|
|
3076
|
+
"category": {
|
|
3077
|
+
"id": "connectors",
|
|
3078
|
+
"name": "Connectors"
|
|
3079
|
+
},
|
|
3080
|
+
"appliesTo": ["bpmn:Task"],
|
|
3081
|
+
"elementType": {
|
|
3082
|
+
"value": "bpmn:ServiceTask"
|
|
3083
|
+
},
|
|
3084
|
+
"groups": [
|
|
3085
|
+
{
|
|
3086
|
+
"id": "endpoint",
|
|
3087
|
+
"label": "HTTP Endpoint"
|
|
3088
|
+
},
|
|
3089
|
+
{
|
|
3090
|
+
"id": "input",
|
|
3091
|
+
"label": "Payload"
|
|
3092
|
+
},
|
|
3093
|
+
{
|
|
3094
|
+
"id": "output",
|
|
3095
|
+
"label": "Response Mapping"
|
|
3096
|
+
}
|
|
3097
|
+
],
|
|
3098
|
+
"properties": [
|
|
3099
|
+
{
|
|
3100
|
+
"type": "Hidden",
|
|
3101
|
+
"value": "io.camunda:http-json:1",
|
|
2186
3102
|
"binding": {
|
|
2187
|
-
"type": "zeebe:
|
|
2188
|
-
"
|
|
2189
|
-
},
|
|
2190
|
-
"condition": {
|
|
2191
|
-
"property": "authenticationType",
|
|
2192
|
-
"equals": "oauth-client-credentials-flow"
|
|
3103
|
+
"type": "zeebe:taskDefinition",
|
|
3104
|
+
"property": "type"
|
|
2193
3105
|
}
|
|
2194
3106
|
},
|
|
2195
3107
|
{
|
|
2196
|
-
"label": "
|
|
2197
|
-
"
|
|
2198
|
-
"group": "authentication",
|
|
2199
|
-
"description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
|
|
2200
|
-
"value": "basicAuthHeader",
|
|
3108
|
+
"label": "Method",
|
|
3109
|
+
"group": "endpoint",
|
|
2201
3110
|
"type": "Dropdown",
|
|
3111
|
+
"value": "get",
|
|
2202
3112
|
"choices": [
|
|
2203
3113
|
{
|
|
2204
|
-
"name": "
|
|
2205
|
-
"value": "
|
|
3114
|
+
"name": "GET",
|
|
3115
|
+
"value": "get"
|
|
2206
3116
|
},
|
|
2207
3117
|
{
|
|
2208
|
-
"name": "
|
|
2209
|
-
"value": "
|
|
3118
|
+
"name": "POST",
|
|
3119
|
+
"value": "post"
|
|
3120
|
+
},
|
|
3121
|
+
{
|
|
3122
|
+
"name": "PATCH",
|
|
3123
|
+
"value": "patch"
|
|
3124
|
+
},
|
|
3125
|
+
{
|
|
3126
|
+
"name": "PUT",
|
|
3127
|
+
"value": "put"
|
|
3128
|
+
},
|
|
3129
|
+
{
|
|
3130
|
+
"name": "DELETE",
|
|
3131
|
+
"value": "delete"
|
|
2210
3132
|
}
|
|
2211
3133
|
],
|
|
2212
3134
|
"binding": {
|
|
2213
3135
|
"type": "zeebe:input",
|
|
2214
|
-
"name": "
|
|
2215
|
-
},
|
|
2216
|
-
"condition": {
|
|
2217
|
-
"property": "authenticationType",
|
|
2218
|
-
"equals": "oauth-client-credentials-flow"
|
|
3136
|
+
"name": "method"
|
|
2219
3137
|
}
|
|
2220
3138
|
},
|
|
2221
3139
|
{
|
|
2222
|
-
"label": "
|
|
2223
|
-
"group": "
|
|
3140
|
+
"label": "URL",
|
|
3141
|
+
"group": "endpoint",
|
|
2224
3142
|
"type": "String",
|
|
2225
3143
|
"feel": "optional",
|
|
2226
3144
|
"binding": {
|
|
2227
3145
|
"type": "zeebe:input",
|
|
2228
|
-
"name": "
|
|
3146
|
+
"name": "url"
|
|
2229
3147
|
},
|
|
2230
3148
|
"constraints": {
|
|
2231
|
-
"notEmpty": true
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
3149
|
+
"notEmpty": true,
|
|
3150
|
+
"pattern": {
|
|
3151
|
+
"value": "^(=|https?://).*",
|
|
3152
|
+
"message": "Must be a http(s) URL."
|
|
3153
|
+
}
|
|
2236
3154
|
}
|
|
2237
3155
|
},
|
|
2238
3156
|
{
|
|
2239
|
-
"label": "
|
|
2240
|
-
"
|
|
2241
|
-
"
|
|
2242
|
-
"
|
|
3157
|
+
"label": "Query Parameters",
|
|
3158
|
+
"description": "Map of query parameters to add to the request URL",
|
|
3159
|
+
"group": "endpoint",
|
|
3160
|
+
"type": "Text",
|
|
3161
|
+
"feel": "required",
|
|
2243
3162
|
"binding": {
|
|
2244
3163
|
"type": "zeebe:input",
|
|
2245
|
-
"name": "
|
|
2246
|
-
},
|
|
2247
|
-
"constraints": {
|
|
2248
|
-
"notEmpty": true
|
|
3164
|
+
"name": "queryParameters"
|
|
2249
3165
|
},
|
|
2250
|
-
"
|
|
2251
|
-
"property": "authenticationType",
|
|
2252
|
-
"equals": "basic"
|
|
2253
|
-
}
|
|
3166
|
+
"optional": true
|
|
2254
3167
|
},
|
|
2255
3168
|
{
|
|
2256
|
-
"label": "
|
|
2257
|
-
"description": "
|
|
2258
|
-
"group": "
|
|
2259
|
-
"type": "
|
|
2260
|
-
"
|
|
3169
|
+
"label": "HTTP Headers",
|
|
3170
|
+
"description": "Map of HTTP headers to add to the request",
|
|
3171
|
+
"group": "endpoint",
|
|
3172
|
+
"type": "Text",
|
|
3173
|
+
"feel": "required",
|
|
2261
3174
|
"binding": {
|
|
2262
3175
|
"type": "zeebe:input",
|
|
2263
|
-
"name": "
|
|
3176
|
+
"name": "headers"
|
|
2264
3177
|
},
|
|
2265
|
-
"optional": true
|
|
2266
|
-
"feel": "optional",
|
|
2267
|
-
"constraints": {
|
|
2268
|
-
"notEmpty": false,
|
|
2269
|
-
"pattern": {
|
|
2270
|
-
"value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
|
|
2271
|
-
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
2272
|
-
}
|
|
2273
|
-
}
|
|
3178
|
+
"optional": true
|
|
2274
3179
|
},
|
|
2275
3180
|
{
|
|
2276
|
-
"label": "Request
|
|
2277
|
-
"description": "
|
|
3181
|
+
"label": "Request Body",
|
|
3182
|
+
"description": "JSON payload to send with the request",
|
|
2278
3183
|
"group": "input",
|
|
2279
3184
|
"type": "Text",
|
|
2280
3185
|
"feel": "optional",
|
|
@@ -2282,15 +3187,11 @@
|
|
|
2282
3187
|
"type": "zeebe:input",
|
|
2283
3188
|
"name": "body"
|
|
2284
3189
|
},
|
|
2285
|
-
"condition": {
|
|
2286
|
-
"property": "method",
|
|
2287
|
-
"oneOf": ["post", "put", "patch", "delete"]
|
|
2288
|
-
},
|
|
2289
3190
|
"optional": true
|
|
2290
3191
|
},
|
|
2291
3192
|
{
|
|
2292
|
-
"label": "Result
|
|
2293
|
-
"description": "Name of variable to store the response in
|
|
3193
|
+
"label": "Result Variable",
|
|
3194
|
+
"description": "Name of variable to store the response in",
|
|
2294
3195
|
"group": "output",
|
|
2295
3196
|
"type": "String",
|
|
2296
3197
|
"binding": {
|
|
@@ -2299,8 +3200,8 @@
|
|
|
2299
3200
|
}
|
|
2300
3201
|
},
|
|
2301
3202
|
{
|
|
2302
|
-
"label": "Result
|
|
2303
|
-
"description": "Expression to map the response into process variables
|
|
3203
|
+
"label": "Result Expression",
|
|
3204
|
+
"description": "Expression to map the response into process variables",
|
|
2304
3205
|
"group": "output",
|
|
2305
3206
|
"type": "Text",
|
|
2306
3207
|
"feel": "required",
|
|
@@ -2308,22 +3209,8 @@
|
|
|
2308
3209
|
"type": "zeebe:taskHeader",
|
|
2309
3210
|
"key": "resultExpression"
|
|
2310
3211
|
}
|
|
2311
|
-
},
|
|
2312
|
-
{
|
|
2313
|
-
"label": "Error expression",
|
|
2314
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
|
|
2315
|
-
"group": "errors",
|
|
2316
|
-
"type": "Text",
|
|
2317
|
-
"feel": "required",
|
|
2318
|
-
"binding": {
|
|
2319
|
-
"type": "zeebe:taskHeader",
|
|
2320
|
-
"key": "errorExpression"
|
|
2321
|
-
}
|
|
2322
3212
|
}
|
|
2323
|
-
]
|
|
2324
|
-
"engines": {
|
|
2325
|
-
"camunda": "^8.2"
|
|
2326
|
-
}
|
|
3213
|
+
]
|
|
2327
3214
|
},
|
|
2328
3215
|
{
|
|
2329
3216
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
@@ -2331,7 +3218,7 @@
|
|
|
2331
3218
|
"id": "io.camunda.connectors.HttpJson.v2",
|
|
2332
3219
|
"description": "Invoke REST API",
|
|
2333
3220
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
|
|
2334
|
-
"version":
|
|
3221
|
+
"version": 8,
|
|
2335
3222
|
"category": {
|
|
2336
3223
|
"id": "connectors",
|
|
2337
3224
|
"name": "Connectors"
|
|
@@ -2347,7 +3234,7 @@
|
|
|
2347
3234
|
},
|
|
2348
3235
|
{
|
|
2349
3236
|
"id": "endpoint",
|
|
2350
|
-
"label": "HTTP
|
|
3237
|
+
"label": "HTTP endpoint"
|
|
2351
3238
|
},
|
|
2352
3239
|
{
|
|
2353
3240
|
"id": "timeout",
|
|
@@ -2374,8 +3261,8 @@
|
|
|
2374
3261
|
{
|
|
2375
3262
|
"value": "io.camunda:http-json:1",
|
|
2376
3263
|
"binding": {
|
|
2377
|
-
"
|
|
2378
|
-
"
|
|
3264
|
+
"property": "type",
|
|
3265
|
+
"type": "zeebe:taskDefinition"
|
|
2379
3266
|
},
|
|
2380
3267
|
"type": "Hidden"
|
|
2381
3268
|
},
|
|
@@ -2391,6 +3278,10 @@
|
|
|
2391
3278
|
},
|
|
2392
3279
|
"type": "Dropdown",
|
|
2393
3280
|
"choices": [
|
|
3281
|
+
{
|
|
3282
|
+
"name": "API key",
|
|
3283
|
+
"value": "apiKey"
|
|
3284
|
+
},
|
|
2394
3285
|
{
|
|
2395
3286
|
"name": "Basic",
|
|
2396
3287
|
"value": "basic"
|
|
@@ -2409,6 +3300,77 @@
|
|
|
2409
3300
|
}
|
|
2410
3301
|
]
|
|
2411
3302
|
},
|
|
3303
|
+
{
|
|
3304
|
+
"id": "authentication.apiKeyLocation",
|
|
3305
|
+
"label": "Api key location",
|
|
3306
|
+
"description": "Choose type: Send API key in header or as query parameter.",
|
|
3307
|
+
"optional": false,
|
|
3308
|
+
"value": "headers",
|
|
3309
|
+
"constraints": {
|
|
3310
|
+
"notEmpty": true
|
|
3311
|
+
},
|
|
3312
|
+
"group": "authentication",
|
|
3313
|
+
"binding": {
|
|
3314
|
+
"name": "authentication.apiKeyLocation",
|
|
3315
|
+
"type": "zeebe:input"
|
|
3316
|
+
},
|
|
3317
|
+
"condition": {
|
|
3318
|
+
"property": "authentication.type",
|
|
3319
|
+
"equals": "apiKey",
|
|
3320
|
+
"type": "simple"
|
|
3321
|
+
},
|
|
3322
|
+
"type": "Dropdown",
|
|
3323
|
+
"choices": [
|
|
3324
|
+
{
|
|
3325
|
+
"name": "Headers",
|
|
3326
|
+
"value": "headers"
|
|
3327
|
+
},
|
|
3328
|
+
{
|
|
3329
|
+
"name": "Query parameters",
|
|
3330
|
+
"value": "query"
|
|
3331
|
+
}
|
|
3332
|
+
]
|
|
3333
|
+
},
|
|
3334
|
+
{
|
|
3335
|
+
"id": "authentication.name",
|
|
3336
|
+
"label": "API key name",
|
|
3337
|
+
"optional": false,
|
|
3338
|
+
"constraints": {
|
|
3339
|
+
"notEmpty": true
|
|
3340
|
+
},
|
|
3341
|
+
"feel": "optional",
|
|
3342
|
+
"group": "authentication",
|
|
3343
|
+
"binding": {
|
|
3344
|
+
"name": "authentication.name",
|
|
3345
|
+
"type": "zeebe:input"
|
|
3346
|
+
},
|
|
3347
|
+
"condition": {
|
|
3348
|
+
"property": "authentication.type",
|
|
3349
|
+
"equals": "apiKey",
|
|
3350
|
+
"type": "simple"
|
|
3351
|
+
},
|
|
3352
|
+
"type": "String"
|
|
3353
|
+
},
|
|
3354
|
+
{
|
|
3355
|
+
"id": "authentication.value",
|
|
3356
|
+
"label": "API key value",
|
|
3357
|
+
"optional": false,
|
|
3358
|
+
"constraints": {
|
|
3359
|
+
"notEmpty": true
|
|
3360
|
+
},
|
|
3361
|
+
"feel": "optional",
|
|
3362
|
+
"group": "authentication",
|
|
3363
|
+
"binding": {
|
|
3364
|
+
"name": "authentication.value",
|
|
3365
|
+
"type": "zeebe:input"
|
|
3366
|
+
},
|
|
3367
|
+
"condition": {
|
|
3368
|
+
"property": "authentication.type",
|
|
3369
|
+
"equals": "apiKey",
|
|
3370
|
+
"type": "simple"
|
|
3371
|
+
},
|
|
3372
|
+
"type": "String"
|
|
3373
|
+
},
|
|
2412
3374
|
{
|
|
2413
3375
|
"id": "authentication.username",
|
|
2414
3376
|
"label": "Username",
|
|
@@ -2424,7 +3386,8 @@
|
|
|
2424
3386
|
},
|
|
2425
3387
|
"condition": {
|
|
2426
3388
|
"property": "authentication.type",
|
|
2427
|
-
"equals": "basic"
|
|
3389
|
+
"equals": "basic",
|
|
3390
|
+
"type": "simple"
|
|
2428
3391
|
},
|
|
2429
3392
|
"type": "String"
|
|
2430
3393
|
},
|
|
@@ -2443,7 +3406,8 @@
|
|
|
2443
3406
|
},
|
|
2444
3407
|
"condition": {
|
|
2445
3408
|
"property": "authentication.type",
|
|
2446
|
-
"equals": "basic"
|
|
3409
|
+
"equals": "basic",
|
|
3410
|
+
"type": "simple"
|
|
2447
3411
|
},
|
|
2448
3412
|
"type": "String"
|
|
2449
3413
|
},
|
|
@@ -2462,17 +3426,22 @@
|
|
|
2462
3426
|
},
|
|
2463
3427
|
"condition": {
|
|
2464
3428
|
"property": "authentication.type",
|
|
2465
|
-
"equals": "bearer"
|
|
3429
|
+
"equals": "bearer",
|
|
3430
|
+
"type": "simple"
|
|
2466
3431
|
},
|
|
2467
3432
|
"type": "String"
|
|
2468
3433
|
},
|
|
2469
3434
|
{
|
|
2470
3435
|
"id": "authentication.oauthTokenEndpoint",
|
|
2471
|
-
"label": "
|
|
3436
|
+
"label": "OAuth 2.0 token endpoint",
|
|
2472
3437
|
"description": "The OAuth token endpoint",
|
|
2473
3438
|
"optional": false,
|
|
2474
3439
|
"constraints": {
|
|
2475
|
-
"notEmpty": true
|
|
3440
|
+
"notEmpty": true,
|
|
3441
|
+
"pattern": {
|
|
3442
|
+
"value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
|
|
3443
|
+
"message": "Must be a http(s) URL"
|
|
3444
|
+
}
|
|
2476
3445
|
},
|
|
2477
3446
|
"feel": "optional",
|
|
2478
3447
|
"group": "authentication",
|
|
@@ -2482,13 +3451,14 @@
|
|
|
2482
3451
|
},
|
|
2483
3452
|
"condition": {
|
|
2484
3453
|
"property": "authentication.type",
|
|
2485
|
-
"equals": "oauth-client-credentials-flow"
|
|
3454
|
+
"equals": "oauth-client-credentials-flow",
|
|
3455
|
+
"type": "simple"
|
|
2486
3456
|
},
|
|
2487
3457
|
"type": "String"
|
|
2488
3458
|
},
|
|
2489
3459
|
{
|
|
2490
3460
|
"id": "authentication.clientId",
|
|
2491
|
-
"label": "Client
|
|
3461
|
+
"label": "Client ID",
|
|
2492
3462
|
"description": "Your application's client ID from the OAuth client",
|
|
2493
3463
|
"optional": false,
|
|
2494
3464
|
"constraints": {
|
|
@@ -2502,7 +3472,8 @@
|
|
|
2502
3472
|
},
|
|
2503
3473
|
"condition": {
|
|
2504
3474
|
"property": "authentication.type",
|
|
2505
|
-
"equals": "oauth-client-credentials-flow"
|
|
3475
|
+
"equals": "oauth-client-credentials-flow",
|
|
3476
|
+
"type": "simple"
|
|
2506
3477
|
},
|
|
2507
3478
|
"type": "String"
|
|
2508
3479
|
},
|
|
@@ -2522,7 +3493,8 @@
|
|
|
2522
3493
|
},
|
|
2523
3494
|
"condition": {
|
|
2524
3495
|
"property": "authentication.type",
|
|
2525
|
-
"equals": "oauth-client-credentials-flow"
|
|
3496
|
+
"equals": "oauth-client-credentials-flow",
|
|
3497
|
+
"type": "simple"
|
|
2526
3498
|
},
|
|
2527
3499
|
"type": "String"
|
|
2528
3500
|
},
|
|
@@ -2539,7 +3511,8 @@
|
|
|
2539
3511
|
},
|
|
2540
3512
|
"condition": {
|
|
2541
3513
|
"property": "authentication.type",
|
|
2542
|
-
"equals": "oauth-client-credentials-flow"
|
|
3514
|
+
"equals": "oauth-client-credentials-flow",
|
|
3515
|
+
"type": "simple"
|
|
2543
3516
|
},
|
|
2544
3517
|
"type": "String"
|
|
2545
3518
|
},
|
|
@@ -2558,7 +3531,8 @@
|
|
|
2558
3531
|
},
|
|
2559
3532
|
"condition": {
|
|
2560
3533
|
"property": "authentication.type",
|
|
2561
|
-
"equals": "oauth-client-credentials-flow"
|
|
3534
|
+
"equals": "oauth-client-credentials-flow",
|
|
3535
|
+
"type": "simple"
|
|
2562
3536
|
},
|
|
2563
3537
|
"type": "Dropdown",
|
|
2564
3538
|
"choices": [
|
|
@@ -2585,7 +3559,8 @@
|
|
|
2585
3559
|
},
|
|
2586
3560
|
"condition": {
|
|
2587
3561
|
"property": "authentication.type",
|
|
2588
|
-
"equals": "oauth-client-credentials-flow"
|
|
3562
|
+
"equals": "oauth-client-credentials-flow",
|
|
3563
|
+
"type": "simple"
|
|
2589
3564
|
},
|
|
2590
3565
|
"type": "String"
|
|
2591
3566
|
},
|
|
@@ -2674,9 +3649,16 @@
|
|
|
2674
3649
|
{
|
|
2675
3650
|
"id": "connectionTimeoutInSeconds",
|
|
2676
3651
|
"label": "Connection timeout in seconds",
|
|
2677
|
-
"description": "
|
|
2678
|
-
"optional":
|
|
3652
|
+
"description": "Defines the connection timeout in seconds, or 0 for an infinite timeout",
|
|
3653
|
+
"optional": false,
|
|
2679
3654
|
"value": "20",
|
|
3655
|
+
"constraints": {
|
|
3656
|
+
"notEmpty": true,
|
|
3657
|
+
"pattern": {
|
|
3658
|
+
"value": "^\\d+$",
|
|
3659
|
+
"message": "Must be a number"
|
|
3660
|
+
}
|
|
3661
|
+
},
|
|
2680
3662
|
"feel": "optional",
|
|
2681
3663
|
"group": "timeout",
|
|
2682
3664
|
"binding": {
|
|
@@ -2685,6 +3667,27 @@
|
|
|
2685
3667
|
},
|
|
2686
3668
|
"type": "String"
|
|
2687
3669
|
},
|
|
3670
|
+
{
|
|
3671
|
+
"id": "readTimeoutInSeconds",
|
|
3672
|
+
"label": "Read timeout in seconds",
|
|
3673
|
+
"description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
|
|
3674
|
+
"optional": false,
|
|
3675
|
+
"value": "20",
|
|
3676
|
+
"constraints": {
|
|
3677
|
+
"notEmpty": true,
|
|
3678
|
+
"pattern": {
|
|
3679
|
+
"value": "^\\d+$",
|
|
3680
|
+
"message": "Must be a number"
|
|
3681
|
+
}
|
|
3682
|
+
},
|
|
3683
|
+
"feel": "optional",
|
|
3684
|
+
"group": "timeout",
|
|
3685
|
+
"binding": {
|
|
3686
|
+
"name": "readTimeoutInSeconds",
|
|
3687
|
+
"type": "zeebe:input"
|
|
3688
|
+
},
|
|
3689
|
+
"type": "String"
|
|
3690
|
+
},
|
|
2688
3691
|
{
|
|
2689
3692
|
"id": "body",
|
|
2690
3693
|
"label": "Request body",
|
|
@@ -2698,7 +3701,8 @@
|
|
|
2698
3701
|
},
|
|
2699
3702
|
"condition": {
|
|
2700
3703
|
"property": "method",
|
|
2701
|
-
"oneOf": ["POST", "PUT", "PATCH"]
|
|
3704
|
+
"oneOf": ["POST", "PUT", "PATCH"],
|
|
3705
|
+
"type": "simple"
|
|
2702
3706
|
},
|
|
2703
3707
|
"type": "Text"
|
|
2704
3708
|
},
|
|
@@ -2737,33 +3741,224 @@
|
|
|
2737
3741
|
},
|
|
2738
3742
|
"type": "Text"
|
|
2739
3743
|
},
|
|
3744
|
+
{
|
|
3745
|
+
"id": "retryCount",
|
|
3746
|
+
"label": "Retries",
|
|
3747
|
+
"description": "Number of retries",
|
|
3748
|
+
"value": "3",
|
|
3749
|
+
"feel": "optional",
|
|
3750
|
+
"group": "retries",
|
|
3751
|
+
"binding": {
|
|
3752
|
+
"property": "retries",
|
|
3753
|
+
"type": "zeebe:taskDefinition"
|
|
3754
|
+
},
|
|
3755
|
+
"type": "String"
|
|
3756
|
+
},
|
|
2740
3757
|
{
|
|
2741
3758
|
"id": "retryBackoff",
|
|
2742
3759
|
"label": "Retry backoff",
|
|
2743
3760
|
"description": "ISO-8601 duration to wait between retries",
|
|
2744
3761
|
"value": "PT0S",
|
|
3762
|
+
"feel": "optional",
|
|
2745
3763
|
"group": "retries",
|
|
2746
3764
|
"binding": {
|
|
2747
3765
|
"key": "retryBackoff",
|
|
2748
3766
|
"type": "zeebe:taskHeader"
|
|
2749
3767
|
},
|
|
2750
|
-
"type": "
|
|
3768
|
+
"type": "String"
|
|
2751
3769
|
}
|
|
2752
3770
|
],
|
|
2753
3771
|
"icon": {
|
|
2754
3772
|
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
|
|
2755
3773
|
},
|
|
2756
3774
|
"engines": {
|
|
2757
|
-
"camunda": "^8.
|
|
3775
|
+
"camunda": "^8.6"
|
|
2758
3776
|
}
|
|
2759
3777
|
},
|
|
3778
|
+
{
|
|
3779
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
3780
|
+
"name": "REST Connector (Bearer Token Auth)",
|
|
3781
|
+
"id": "io.camunda.connectors.HttpJson.v1.bearerToken",
|
|
3782
|
+
"description": "[Deprecated] Replace with 'REST Connector' template.",
|
|
3783
|
+
"documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/protocol/rest/",
|
|
3784
|
+
"deprecated": {
|
|
3785
|
+
"message": "Replace with 'REST Connector' template.",
|
|
3786
|
+
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
3787
|
+
},
|
|
3788
|
+
"icon": {
|
|
3789
|
+
"contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20viewBox%3D%221%201%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M17.0335%208.99997C17.0335%2013.4475%2013.4281%2017.0529%208.98065%2017.0529C4.53316%2017.0529%200.927765%2013.4475%200.927765%208.99997C0.927765%204.55248%204.53316%200.947083%208.98065%200.947083C13.4281%200.947083%2017.0335%204.55248%2017.0335%208.99997Z%22%20fill%3D%22%23505562%22%2F%3E%0A%3Cpath%20d%3D%22M4.93126%2014.1571L6.78106%203.71471H10.1375C11.1917%203.71471%2011.9824%203.98323%2012.5095%204.52027C13.0465%205.04736%2013.315%205.73358%2013.315%206.57892C13.315%207.44414%2013.0714%208.15522%2012.5841%208.71215C12.1067%209.25913%2011.4553%209.63705%2010.6298%209.8459L12.0619%2014.1571H10.3315L9.03364%2010.0249H7.24351L6.51254%2014.1571H4.93126ZM7.49711%208.59281H9.24248C9.99832%208.59281%2010.5901%208.42374%2011.0177%208.08561C11.4553%207.73753%2011.6741%207.26513%2011.6741%206.66842C11.6741%206.19106%2011.5249%205.81811%2011.2265%205.54959C10.9282%205.27113%2010.4558%205.1319%209.80936%205.1319H8.10874L7.49711%208.59281Z%22%20fill%3D%22white%22%2F%3E%0A%3C%2Fsvg%3E%0A"
|
|
3790
|
+
},
|
|
3791
|
+
"category": {
|
|
3792
|
+
"id": "connectors",
|
|
3793
|
+
"name": "Connectors"
|
|
3794
|
+
},
|
|
3795
|
+
"appliesTo": ["bpmn:Task"],
|
|
3796
|
+
"elementType": {
|
|
3797
|
+
"value": "bpmn:ServiceTask"
|
|
3798
|
+
},
|
|
3799
|
+
"groups": [
|
|
3800
|
+
{
|
|
3801
|
+
"id": "endpoint",
|
|
3802
|
+
"label": "HTTP Endpoint"
|
|
3803
|
+
},
|
|
3804
|
+
{
|
|
3805
|
+
"id": "input",
|
|
3806
|
+
"label": "Payload"
|
|
3807
|
+
},
|
|
3808
|
+
{
|
|
3809
|
+
"id": "authentication",
|
|
3810
|
+
"label": "Authentication"
|
|
3811
|
+
},
|
|
3812
|
+
{
|
|
3813
|
+
"id": "output",
|
|
3814
|
+
"label": "Response Mapping"
|
|
3815
|
+
}
|
|
3816
|
+
],
|
|
3817
|
+
"properties": [
|
|
3818
|
+
{
|
|
3819
|
+
"type": "Hidden",
|
|
3820
|
+
"value": "io.camunda:http-json:1",
|
|
3821
|
+
"binding": {
|
|
3822
|
+
"type": "zeebe:taskDefinition",
|
|
3823
|
+
"property": "type"
|
|
3824
|
+
}
|
|
3825
|
+
},
|
|
3826
|
+
{
|
|
3827
|
+
"label": "Method",
|
|
3828
|
+
"group": "endpoint",
|
|
3829
|
+
"type": "Dropdown",
|
|
3830
|
+
"value": "get",
|
|
3831
|
+
"choices": [
|
|
3832
|
+
{
|
|
3833
|
+
"name": "GET",
|
|
3834
|
+
"value": "get"
|
|
3835
|
+
},
|
|
3836
|
+
{
|
|
3837
|
+
"name": "POST",
|
|
3838
|
+
"value": "post"
|
|
3839
|
+
},
|
|
3840
|
+
{
|
|
3841
|
+
"name": "PATCH",
|
|
3842
|
+
"value": "patch"
|
|
3843
|
+
},
|
|
3844
|
+
{
|
|
3845
|
+
"name": "PUT",
|
|
3846
|
+
"value": "put"
|
|
3847
|
+
},
|
|
3848
|
+
{
|
|
3849
|
+
"name": "DELETE",
|
|
3850
|
+
"value": "delete"
|
|
3851
|
+
}
|
|
3852
|
+
],
|
|
3853
|
+
"binding": {
|
|
3854
|
+
"type": "zeebe:input",
|
|
3855
|
+
"name": "method"
|
|
3856
|
+
}
|
|
3857
|
+
},
|
|
3858
|
+
{
|
|
3859
|
+
"label": "URL",
|
|
3860
|
+
"group": "endpoint",
|
|
3861
|
+
"type": "String",
|
|
3862
|
+
"feel": "optional",
|
|
3863
|
+
"binding": {
|
|
3864
|
+
"type": "zeebe:input",
|
|
3865
|
+
"name": "url"
|
|
3866
|
+
},
|
|
3867
|
+
"constraints": {
|
|
3868
|
+
"notEmpty": true,
|
|
3869
|
+
"pattern": {
|
|
3870
|
+
"value": "^(=|https?://).*",
|
|
3871
|
+
"message": "Must be a http(s) URL."
|
|
3872
|
+
}
|
|
3873
|
+
}
|
|
3874
|
+
},
|
|
3875
|
+
{
|
|
3876
|
+
"label": "Query Parameters",
|
|
3877
|
+
"description": "Map of query parameters to add to the request URL",
|
|
3878
|
+
"group": "endpoint",
|
|
3879
|
+
"type": "Text",
|
|
3880
|
+
"feel": "required",
|
|
3881
|
+
"binding": {
|
|
3882
|
+
"type": "zeebe:input",
|
|
3883
|
+
"name": "queryParameters"
|
|
3884
|
+
},
|
|
3885
|
+
"optional": true
|
|
3886
|
+
},
|
|
3887
|
+
{
|
|
3888
|
+
"label": "HTTP Headers",
|
|
3889
|
+
"description": "Map of HTTP headers to add to the request",
|
|
3890
|
+
"group": "endpoint",
|
|
3891
|
+
"type": "Text",
|
|
3892
|
+
"feel": "required",
|
|
3893
|
+
"binding": {
|
|
3894
|
+
"type": "zeebe:input",
|
|
3895
|
+
"name": "headers"
|
|
3896
|
+
},
|
|
3897
|
+
"optional": true
|
|
3898
|
+
},
|
|
3899
|
+
{
|
|
3900
|
+
"type": "Hidden",
|
|
3901
|
+
"value": "bearer",
|
|
3902
|
+
"binding": {
|
|
3903
|
+
"type": "zeebe:input",
|
|
3904
|
+
"name": "authentication.type"
|
|
3905
|
+
}
|
|
3906
|
+
},
|
|
3907
|
+
{
|
|
3908
|
+
"label": "Bearer Token",
|
|
3909
|
+
"group": "authentication",
|
|
3910
|
+
"type": "String",
|
|
3911
|
+
"feel": "optional",
|
|
3912
|
+
"binding": {
|
|
3913
|
+
"type": "zeebe:input",
|
|
3914
|
+
"name": "authentication.token"
|
|
3915
|
+
},
|
|
3916
|
+
"constraints": {
|
|
3917
|
+
"notEmpty": true
|
|
3918
|
+
}
|
|
3919
|
+
},
|
|
3920
|
+
{
|
|
3921
|
+
"label": "Request Body",
|
|
3922
|
+
"description": "JSON payload to send with the request",
|
|
3923
|
+
"group": "input",
|
|
3924
|
+
"type": "Text",
|
|
3925
|
+
"feel": "required",
|
|
3926
|
+
"binding": {
|
|
3927
|
+
"type": "zeebe:input",
|
|
3928
|
+
"name": "body"
|
|
3929
|
+
},
|
|
3930
|
+
"optional": true
|
|
3931
|
+
},
|
|
3932
|
+
{
|
|
3933
|
+
"label": "Result Variable",
|
|
3934
|
+
"description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
|
|
3935
|
+
"group": "output",
|
|
3936
|
+
"type": "String",
|
|
3937
|
+
"binding": {
|
|
3938
|
+
"type": "zeebe:taskHeader",
|
|
3939
|
+
"key": "resultVariable"
|
|
3940
|
+
}
|
|
3941
|
+
},
|
|
3942
|
+
{
|
|
3943
|
+
"label": "Result Expression",
|
|
3944
|
+
"description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
|
|
3945
|
+
"group": "output",
|
|
3946
|
+
"type": "Text",
|
|
3947
|
+
"feel": "required",
|
|
3948
|
+
"binding": {
|
|
3949
|
+
"type": "zeebe:taskHeader",
|
|
3950
|
+
"key": "resultExpression"
|
|
3951
|
+
}
|
|
3952
|
+
}
|
|
3953
|
+
]
|
|
3954
|
+
},
|
|
2760
3955
|
{
|
|
2761
3956
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
2762
3957
|
"name": "REST Outbound Connector",
|
|
2763
3958
|
"id": "io.camunda.connectors.HttpJson.v2",
|
|
2764
3959
|
"description": "Invoke REST API",
|
|
2765
3960
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
|
|
2766
|
-
"version":
|
|
3961
|
+
"version": 7,
|
|
2767
3962
|
"category": {
|
|
2768
3963
|
"id": "connectors",
|
|
2769
3964
|
"name": "Connectors"
|
|
@@ -3198,11 +4393,7 @@
|
|
|
3198
4393
|
"optional": false,
|
|
3199
4394
|
"value": "20",
|
|
3200
4395
|
"constraints": {
|
|
3201
|
-
"notEmpty": true
|
|
3202
|
-
"pattern": {
|
|
3203
|
-
"value": "^\\d+$",
|
|
3204
|
-
"message": "Must be a number"
|
|
3205
|
-
}
|
|
4396
|
+
"notEmpty": true
|
|
3206
4397
|
},
|
|
3207
4398
|
"feel": "optional",
|
|
3208
4399
|
"group": "timeout",
|
|
@@ -3219,11 +4410,7 @@
|
|
|
3219
4410
|
"optional": false,
|
|
3220
4411
|
"value": "20",
|
|
3221
4412
|
"constraints": {
|
|
3222
|
-
"notEmpty": true
|
|
3223
|
-
"pattern": {
|
|
3224
|
-
"value": "^\\d+$",
|
|
3225
|
-
"message": "Must be a number"
|
|
3226
|
-
}
|
|
4413
|
+
"notEmpty": true
|
|
3227
4414
|
},
|
|
3228
4415
|
"feel": "optional",
|
|
3229
4416
|
"group": "timeout",
|
|
@@ -3233,6 +4420,28 @@
|
|
|
3233
4420
|
},
|
|
3234
4421
|
"type": "String"
|
|
3235
4422
|
},
|
|
4423
|
+
{
|
|
4424
|
+
"id": "writeTimeoutInSeconds",
|
|
4425
|
+
"label": "Write timeout in seconds",
|
|
4426
|
+
"description": "Timeout in seconds to set data or 0 for an infinite timeout",
|
|
4427
|
+
"optional": false,
|
|
4428
|
+
"value": "0",
|
|
4429
|
+
"constraints": {
|
|
4430
|
+
"notEmpty": true
|
|
4431
|
+
},
|
|
4432
|
+
"feel": "optional",
|
|
4433
|
+
"group": "timeout",
|
|
4434
|
+
"binding": {
|
|
4435
|
+
"name": "writeTimeoutInSeconds",
|
|
4436
|
+
"type": "zeebe:input"
|
|
4437
|
+
},
|
|
4438
|
+
"condition": {
|
|
4439
|
+
"property": "method",
|
|
4440
|
+
"oneOf": ["POST", "PUT", "PATCH"],
|
|
4441
|
+
"type": "simple"
|
|
4442
|
+
},
|
|
4443
|
+
"type": "String"
|
|
4444
|
+
},
|
|
3236
4445
|
{
|
|
3237
4446
|
"id": "body",
|
|
3238
4447
|
"label": "Request body",
|
|
@@ -3317,16 +4526,19 @@
|
|
|
3317
4526
|
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
|
|
3318
4527
|
},
|
|
3319
4528
|
"engines": {
|
|
3320
|
-
"camunda": "^8.
|
|
4529
|
+
"camunda": "^8.5"
|
|
3321
4530
|
}
|
|
3322
4531
|
},
|
|
3323
4532
|
{
|
|
3324
4533
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
3325
|
-
"name": "REST
|
|
4534
|
+
"name": "REST connector",
|
|
3326
4535
|
"id": "io.camunda.connectors.HttpJson.v2",
|
|
4536
|
+
"version": 1,
|
|
3327
4537
|
"description": "Invoke REST API",
|
|
3328
|
-
"
|
|
3329
|
-
|
|
4538
|
+
"icon": {
|
|
4539
|
+
"contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20viewBox%3D%220%200%2018%2018%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M17.0335%208.99997C17.0335%2013.4475%2013.4281%2017.0529%208.98065%2017.0529C4.53316%2017.0529%200.927765%2013.4475%200.927765%208.99997C0.927765%204.55248%204.53316%200.947083%208.98065%200.947083C13.4281%200.947083%2017.0335%204.55248%2017.0335%208.99997Z%22%20fill%3D%22%23505562%22%2F%3E%0A%3Cpath%20d%3D%22M4.93126%2014.1571L6.78106%203.71471H10.1375C11.1917%203.71471%2011.9824%203.98323%2012.5095%204.52027C13.0465%205.04736%2013.315%205.73358%2013.315%206.57892C13.315%207.44414%2013.0714%208.15522%2012.5841%208.71215C12.1067%209.25913%2011.4553%209.63705%2010.6298%209.8459L12.0619%2014.1571H10.3315L9.03364%2010.0249H7.24351L6.51254%2014.1571H4.93126ZM7.49711%208.59281H9.24248C9.99832%208.59281%2010.5901%208.42374%2011.0177%208.08561C11.4553%207.73753%2011.6741%207.26513%2011.6741%206.66842C11.6741%206.19106%2011.5249%205.81811%2011.2265%205.54959C10.9282%205.27113%2010.4558%205.1319%209.80936%205.1319H8.10874L7.49711%208.59281Z%22%20fill%3D%22white%22%2F%3E%0A%3C%2Fsvg%3E%0A"
|
|
4540
|
+
},
|
|
4541
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/rest/",
|
|
3330
4542
|
"category": {
|
|
3331
4543
|
"id": "connectors",
|
|
3332
4544
|
"name": "Connectors"
|
|
@@ -3342,53 +4554,45 @@
|
|
|
3342
4554
|
},
|
|
3343
4555
|
{
|
|
3344
4556
|
"id": "endpoint",
|
|
3345
|
-
"label": "HTTP
|
|
4557
|
+
"label": "HTTP endpoint"
|
|
3346
4558
|
},
|
|
3347
4559
|
{
|
|
3348
|
-
"id": "
|
|
3349
|
-
"label": "
|
|
4560
|
+
"id": "input",
|
|
4561
|
+
"label": "Payload"
|
|
3350
4562
|
},
|
|
3351
4563
|
{
|
|
3352
|
-
"id": "
|
|
3353
|
-
"label": "
|
|
4564
|
+
"id": "timeout",
|
|
4565
|
+
"label": "Connect timeout"
|
|
3354
4566
|
},
|
|
3355
4567
|
{
|
|
3356
4568
|
"id": "output",
|
|
3357
|
-
"label": "
|
|
4569
|
+
"label": "Response mapping"
|
|
3358
4570
|
},
|
|
3359
4571
|
{
|
|
3360
|
-
"id": "
|
|
4572
|
+
"id": "errors",
|
|
3361
4573
|
"label": "Error handling"
|
|
3362
|
-
},
|
|
3363
|
-
{
|
|
3364
|
-
"id": "retries",
|
|
3365
|
-
"label": "Retries"
|
|
3366
4574
|
}
|
|
3367
4575
|
],
|
|
3368
4576
|
"properties": [
|
|
3369
4577
|
{
|
|
4578
|
+
"type": "Hidden",
|
|
3370
4579
|
"value": "io.camunda:http-json:1",
|
|
3371
4580
|
"binding": {
|
|
3372
4581
|
"type": "zeebe:taskDefinition",
|
|
3373
4582
|
"property": "type"
|
|
3374
|
-
}
|
|
3375
|
-
"type": "Hidden"
|
|
4583
|
+
}
|
|
3376
4584
|
},
|
|
3377
4585
|
{
|
|
3378
|
-
"id": "authentication.type",
|
|
3379
4586
|
"label": "Type",
|
|
4587
|
+
"id": "authenticationType",
|
|
4588
|
+
"group": "authentication",
|
|
3380
4589
|
"description": "Choose the authentication type. Select 'None' if no authentication is necessary",
|
|
3381
4590
|
"value": "noAuth",
|
|
3382
|
-
"group": "authentication",
|
|
3383
|
-
"binding": {
|
|
3384
|
-
"name": "authentication.type",
|
|
3385
|
-
"type": "zeebe:input"
|
|
3386
|
-
},
|
|
3387
4591
|
"type": "Dropdown",
|
|
3388
4592
|
"choices": [
|
|
3389
4593
|
{
|
|
3390
|
-
"name": "
|
|
3391
|
-
"value": "
|
|
4594
|
+
"name": "None",
|
|
4595
|
+
"value": "noAuth"
|
|
3392
4596
|
},
|
|
3393
4597
|
{
|
|
3394
4598
|
"name": "Basic",
|
|
@@ -3398,246 +4602,199 @@
|
|
|
3398
4602
|
"name": "Bearer token",
|
|
3399
4603
|
"value": "bearer"
|
|
3400
4604
|
},
|
|
3401
|
-
{
|
|
3402
|
-
"name": "None",
|
|
3403
|
-
"value": "noAuth"
|
|
3404
|
-
},
|
|
3405
4605
|
{
|
|
3406
4606
|
"name": "OAuth 2.0",
|
|
3407
4607
|
"value": "oauth-client-credentials-flow"
|
|
3408
4608
|
}
|
|
3409
|
-
]
|
|
4609
|
+
],
|
|
4610
|
+
"binding": {
|
|
4611
|
+
"type": "zeebe:input",
|
|
4612
|
+
"name": "authentication.type"
|
|
4613
|
+
}
|
|
3410
4614
|
},
|
|
3411
4615
|
{
|
|
3412
|
-
"id": "
|
|
3413
|
-
"label": "
|
|
3414
|
-
"
|
|
3415
|
-
"optional": false,
|
|
3416
|
-
"value": "headers",
|
|
3417
|
-
"constraints": {
|
|
3418
|
-
"notEmpty": true
|
|
3419
|
-
},
|
|
3420
|
-
"group": "authentication",
|
|
3421
|
-
"binding": {
|
|
3422
|
-
"name": "authentication.apiKeyLocation",
|
|
3423
|
-
"type": "zeebe:input"
|
|
3424
|
-
},
|
|
3425
|
-
"condition": {
|
|
3426
|
-
"property": "authentication.type",
|
|
3427
|
-
"equals": "apiKey",
|
|
3428
|
-
"type": "simple"
|
|
3429
|
-
},
|
|
4616
|
+
"id": "method",
|
|
4617
|
+
"label": "Method",
|
|
4618
|
+
"group": "endpoint",
|
|
3430
4619
|
"type": "Dropdown",
|
|
4620
|
+
"value": "get",
|
|
3431
4621
|
"choices": [
|
|
3432
4622
|
{
|
|
3433
|
-
"name": "
|
|
3434
|
-
"value": "
|
|
4623
|
+
"name": "GET",
|
|
4624
|
+
"value": "get"
|
|
3435
4625
|
},
|
|
3436
4626
|
{
|
|
3437
|
-
"name": "
|
|
3438
|
-
"value": "
|
|
4627
|
+
"name": "POST",
|
|
4628
|
+
"value": "post"
|
|
4629
|
+
},
|
|
4630
|
+
{
|
|
4631
|
+
"name": "PATCH",
|
|
4632
|
+
"value": "patch"
|
|
4633
|
+
},
|
|
4634
|
+
{
|
|
4635
|
+
"name": "PUT",
|
|
4636
|
+
"value": "put"
|
|
4637
|
+
},
|
|
4638
|
+
{
|
|
4639
|
+
"name": "DELETE",
|
|
4640
|
+
"value": "delete"
|
|
3439
4641
|
}
|
|
3440
|
-
]
|
|
4642
|
+
],
|
|
4643
|
+
"binding": {
|
|
4644
|
+
"type": "zeebe:input",
|
|
4645
|
+
"name": "method"
|
|
4646
|
+
}
|
|
3441
4647
|
},
|
|
3442
4648
|
{
|
|
3443
|
-
"
|
|
3444
|
-
"
|
|
3445
|
-
"
|
|
3446
|
-
"constraints": {
|
|
3447
|
-
"notEmpty": true
|
|
3448
|
-
},
|
|
4649
|
+
"label": "URL",
|
|
4650
|
+
"group": "endpoint",
|
|
4651
|
+
"type": "String",
|
|
3449
4652
|
"feel": "optional",
|
|
3450
|
-
"group": "authentication",
|
|
3451
4653
|
"binding": {
|
|
3452
|
-
"
|
|
3453
|
-
"
|
|
3454
|
-
},
|
|
3455
|
-
"condition": {
|
|
3456
|
-
"property": "authentication.type",
|
|
3457
|
-
"equals": "apiKey",
|
|
3458
|
-
"type": "simple"
|
|
4654
|
+
"type": "zeebe:input",
|
|
4655
|
+
"name": "url"
|
|
3459
4656
|
},
|
|
3460
|
-
"
|
|
4657
|
+
"constraints": {
|
|
4658
|
+
"notEmpty": true,
|
|
4659
|
+
"pattern": {
|
|
4660
|
+
"value": "^(=|(http://|https://|secrets).*$)",
|
|
4661
|
+
"message": "Must be a http(s) URL."
|
|
4662
|
+
}
|
|
4663
|
+
}
|
|
3461
4664
|
},
|
|
3462
4665
|
{
|
|
3463
|
-
"
|
|
3464
|
-
"
|
|
3465
|
-
"
|
|
3466
|
-
"
|
|
3467
|
-
|
|
3468
|
-
},
|
|
3469
|
-
"feel": "optional",
|
|
3470
|
-
"group": "authentication",
|
|
4666
|
+
"label": "Query parameters",
|
|
4667
|
+
"description": "Map of query parameters to add to the request URL",
|
|
4668
|
+
"group": "endpoint",
|
|
4669
|
+
"type": "Text",
|
|
4670
|
+
"feel": "required",
|
|
3471
4671
|
"binding": {
|
|
3472
|
-
"
|
|
3473
|
-
"
|
|
3474
|
-
},
|
|
3475
|
-
"condition": {
|
|
3476
|
-
"property": "authentication.type",
|
|
3477
|
-
"equals": "apiKey",
|
|
3478
|
-
"type": "simple"
|
|
4672
|
+
"type": "zeebe:input",
|
|
4673
|
+
"name": "queryParameters"
|
|
3479
4674
|
},
|
|
3480
|
-
"
|
|
4675
|
+
"optional": true
|
|
3481
4676
|
},
|
|
3482
4677
|
{
|
|
3483
|
-
"
|
|
3484
|
-
"
|
|
3485
|
-
"
|
|
3486
|
-
"
|
|
3487
|
-
|
|
3488
|
-
},
|
|
3489
|
-
"feel": "optional",
|
|
3490
|
-
"group": "authentication",
|
|
4678
|
+
"label": "HTTP headers",
|
|
4679
|
+
"description": "Map of HTTP headers to add to the request",
|
|
4680
|
+
"group": "endpoint",
|
|
4681
|
+
"type": "Text",
|
|
4682
|
+
"feel": "required",
|
|
3491
4683
|
"binding": {
|
|
3492
|
-
"
|
|
3493
|
-
"
|
|
3494
|
-
},
|
|
3495
|
-
"condition": {
|
|
3496
|
-
"property": "authentication.type",
|
|
3497
|
-
"equals": "basic",
|
|
3498
|
-
"type": "simple"
|
|
4684
|
+
"type": "zeebe:input",
|
|
4685
|
+
"name": "headers"
|
|
3499
4686
|
},
|
|
3500
|
-
"
|
|
4687
|
+
"optional": true
|
|
3501
4688
|
},
|
|
3502
4689
|
{
|
|
3503
|
-
"
|
|
3504
|
-
"label": "Password",
|
|
3505
|
-
"optional": false,
|
|
3506
|
-
"constraints": {
|
|
3507
|
-
"notEmpty": true
|
|
3508
|
-
},
|
|
3509
|
-
"feel": "optional",
|
|
4690
|
+
"label": "Bearer token",
|
|
3510
4691
|
"group": "authentication",
|
|
4692
|
+
"type": "String",
|
|
4693
|
+
"feel": "optional",
|
|
3511
4694
|
"binding": {
|
|
3512
|
-
"
|
|
3513
|
-
"
|
|
3514
|
-
},
|
|
3515
|
-
"condition": {
|
|
3516
|
-
"property": "authentication.type",
|
|
3517
|
-
"equals": "basic",
|
|
3518
|
-
"type": "simple"
|
|
4695
|
+
"type": "zeebe:input",
|
|
4696
|
+
"name": "authentication.token"
|
|
3519
4697
|
},
|
|
3520
|
-
"type": "String"
|
|
3521
|
-
},
|
|
3522
|
-
{
|
|
3523
|
-
"id": "authentication.token",
|
|
3524
|
-
"label": "Bearer token",
|
|
3525
|
-
"optional": false,
|
|
3526
4698
|
"constraints": {
|
|
3527
4699
|
"notEmpty": true
|
|
3528
4700
|
},
|
|
3529
|
-
"feel": "optional",
|
|
3530
|
-
"group": "authentication",
|
|
3531
|
-
"binding": {
|
|
3532
|
-
"name": "authentication.token",
|
|
3533
|
-
"type": "zeebe:input"
|
|
3534
|
-
},
|
|
3535
4701
|
"condition": {
|
|
3536
|
-
"property": "
|
|
3537
|
-
"equals": "bearer"
|
|
3538
|
-
|
|
3539
|
-
},
|
|
3540
|
-
"type": "String"
|
|
4702
|
+
"property": "authenticationType",
|
|
4703
|
+
"equals": "bearer"
|
|
4704
|
+
}
|
|
3541
4705
|
},
|
|
3542
4706
|
{
|
|
3543
|
-
"id": "authentication.oauthTokenEndpoint",
|
|
3544
4707
|
"label": "OAuth token endpoint",
|
|
3545
4708
|
"description": "The OAuth token endpoint",
|
|
3546
|
-
"optional": false,
|
|
3547
|
-
"constraints": {
|
|
3548
|
-
"notEmpty": true
|
|
3549
|
-
},
|
|
3550
|
-
"feel": "optional",
|
|
3551
4709
|
"group": "authentication",
|
|
4710
|
+
"type": "String",
|
|
4711
|
+
"feel": "optional",
|
|
3552
4712
|
"binding": {
|
|
3553
|
-
"
|
|
3554
|
-
"
|
|
4713
|
+
"type": "zeebe:input",
|
|
4714
|
+
"name": "authentication.oauthTokenEndpoint"
|
|
3555
4715
|
},
|
|
3556
|
-
"
|
|
3557
|
-
"
|
|
3558
|
-
"equals": "oauth-client-credentials-flow",
|
|
3559
|
-
"type": "simple"
|
|
4716
|
+
"constraints": {
|
|
4717
|
+
"notEmpty": true
|
|
3560
4718
|
},
|
|
3561
|
-
"
|
|
4719
|
+
"condition": {
|
|
4720
|
+
"property": "authenticationType",
|
|
4721
|
+
"equals": "oauth-client-credentials-flow"
|
|
4722
|
+
}
|
|
3562
4723
|
},
|
|
3563
4724
|
{
|
|
3564
|
-
"id": "authentication.clientId",
|
|
3565
4725
|
"label": "Client ID",
|
|
3566
4726
|
"description": "Your application's client ID from the OAuth client",
|
|
3567
|
-
"optional": false,
|
|
3568
|
-
"constraints": {
|
|
3569
|
-
"notEmpty": true
|
|
3570
|
-
},
|
|
3571
|
-
"feel": "optional",
|
|
3572
4727
|
"group": "authentication",
|
|
4728
|
+
"type": "String",
|
|
4729
|
+
"feel": "optional",
|
|
3573
4730
|
"binding": {
|
|
3574
|
-
"
|
|
3575
|
-
"
|
|
4731
|
+
"type": "zeebe:input",
|
|
4732
|
+
"name": "authentication.clientId"
|
|
3576
4733
|
},
|
|
3577
|
-
"
|
|
3578
|
-
"
|
|
3579
|
-
"equals": "oauth-client-credentials-flow",
|
|
3580
|
-
"type": "simple"
|
|
4734
|
+
"constraints": {
|
|
4735
|
+
"notEmpty": true
|
|
3581
4736
|
},
|
|
3582
|
-
"
|
|
4737
|
+
"condition": {
|
|
4738
|
+
"property": "authenticationType",
|
|
4739
|
+
"equals": "oauth-client-credentials-flow"
|
|
4740
|
+
}
|
|
3583
4741
|
},
|
|
3584
4742
|
{
|
|
3585
|
-
"id": "authentication.clientSecret",
|
|
3586
4743
|
"label": "Client secret",
|
|
3587
4744
|
"description": "Your application's client secret from the OAuth client",
|
|
3588
|
-
"
|
|
4745
|
+
"group": "authentication",
|
|
4746
|
+
"type": "String",
|
|
4747
|
+
"feel": "optional",
|
|
4748
|
+
"binding": {
|
|
4749
|
+
"type": "zeebe:input",
|
|
4750
|
+
"name": "authentication.clientSecret"
|
|
4751
|
+
},
|
|
3589
4752
|
"constraints": {
|
|
3590
4753
|
"notEmpty": true
|
|
3591
4754
|
},
|
|
3592
|
-
"
|
|
4755
|
+
"condition": {
|
|
4756
|
+
"property": "authenticationType",
|
|
4757
|
+
"equals": "oauth-client-credentials-flow"
|
|
4758
|
+
}
|
|
4759
|
+
},
|
|
4760
|
+
{
|
|
4761
|
+
"label": "Scopes",
|
|
4762
|
+
"description": "The scopes which you want to request authorization for (e.g.read:contacts)",
|
|
3593
4763
|
"group": "authentication",
|
|
4764
|
+
"type": "String",
|
|
4765
|
+
"feel": "optional",
|
|
4766
|
+
"optional": true,
|
|
3594
4767
|
"binding": {
|
|
3595
|
-
"
|
|
3596
|
-
"
|
|
4768
|
+
"type": "zeebe:input",
|
|
4769
|
+
"name": "authentication.scopes"
|
|
3597
4770
|
},
|
|
3598
4771
|
"condition": {
|
|
3599
|
-
"property": "
|
|
3600
|
-
"equals": "oauth-client-credentials-flow"
|
|
3601
|
-
|
|
3602
|
-
},
|
|
3603
|
-
"type": "String"
|
|
4772
|
+
"property": "authenticationType",
|
|
4773
|
+
"equals": "oauth-client-credentials-flow"
|
|
4774
|
+
}
|
|
3604
4775
|
},
|
|
3605
4776
|
{
|
|
3606
|
-
"id": "authentication.audience",
|
|
3607
4777
|
"label": "Audience",
|
|
3608
4778
|
"description": "The unique identifier of the target API you want to access",
|
|
3609
|
-
"optional": true,
|
|
3610
|
-
"feel": "optional",
|
|
3611
4779
|
"group": "authentication",
|
|
4780
|
+
"type": "String",
|
|
4781
|
+
"feel": "optional",
|
|
4782
|
+
"optional": true,
|
|
3612
4783
|
"binding": {
|
|
3613
|
-
"
|
|
3614
|
-
"
|
|
4784
|
+
"type": "zeebe:input",
|
|
4785
|
+
"name": "authentication.audience"
|
|
3615
4786
|
},
|
|
3616
4787
|
"condition": {
|
|
3617
|
-
"property": "
|
|
3618
|
-
"equals": "oauth-client-credentials-flow"
|
|
3619
|
-
|
|
3620
|
-
},
|
|
3621
|
-
"type": "String"
|
|
4788
|
+
"property": "authenticationType",
|
|
4789
|
+
"equals": "oauth-client-credentials-flow"
|
|
4790
|
+
}
|
|
3622
4791
|
},
|
|
3623
4792
|
{
|
|
3624
|
-
"id": "authentication.clientAuthentication",
|
|
3625
4793
|
"label": "Client authentication",
|
|
3626
|
-
"
|
|
3627
|
-
"optional": false,
|
|
3628
|
-
"constraints": {
|
|
3629
|
-
"notEmpty": true
|
|
3630
|
-
},
|
|
4794
|
+
"id": "authentication.clientAuthentication",
|
|
3631
4795
|
"group": "authentication",
|
|
3632
|
-
"
|
|
3633
|
-
|
|
3634
|
-
"type": "zeebe:input"
|
|
3635
|
-
},
|
|
3636
|
-
"condition": {
|
|
3637
|
-
"property": "authentication.type",
|
|
3638
|
-
"equals": "oauth-client-credentials-flow",
|
|
3639
|
-
"type": "simple"
|
|
3640
|
-
},
|
|
4796
|
+
"description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
|
|
4797
|
+
"value": "basicAuthHeader",
|
|
3641
4798
|
"type": "Dropdown",
|
|
3642
4799
|
"choices": [
|
|
3643
4800
|
{
|
|
@@ -3648,193 +4805,121 @@
|
|
|
3648
4805
|
"name": "Send as Basic Auth header",
|
|
3649
4806
|
"value": "basicAuthHeader"
|
|
3650
4807
|
}
|
|
3651
|
-
]
|
|
3652
|
-
},
|
|
3653
|
-
{
|
|
3654
|
-
"id": "authentication.scopes",
|
|
3655
|
-
"label": "Scopes",
|
|
3656
|
-
"description": "The scopes which you want to request authorization for (e.g.read:contacts)",
|
|
3657
|
-
"optional": true,
|
|
3658
|
-
"feel": "optional",
|
|
3659
|
-
"group": "authentication",
|
|
4808
|
+
],
|
|
3660
4809
|
"binding": {
|
|
3661
|
-
"
|
|
3662
|
-
"
|
|
4810
|
+
"type": "zeebe:input",
|
|
4811
|
+
"name": "authentication.clientAuthentication"
|
|
3663
4812
|
},
|
|
3664
4813
|
"condition": {
|
|
3665
|
-
"property": "
|
|
3666
|
-
"equals": "oauth-client-credentials-flow"
|
|
3667
|
-
|
|
3668
|
-
},
|
|
3669
|
-
"type": "String"
|
|
4814
|
+
"property": "authenticationType",
|
|
4815
|
+
"equals": "oauth-client-credentials-flow"
|
|
4816
|
+
}
|
|
3670
4817
|
},
|
|
3671
4818
|
{
|
|
3672
|
-
"
|
|
3673
|
-
"
|
|
3674
|
-
"
|
|
3675
|
-
"
|
|
3676
|
-
"constraints": {
|
|
3677
|
-
"notEmpty": true
|
|
3678
|
-
},
|
|
3679
|
-
"group": "endpoint",
|
|
4819
|
+
"label": "Username",
|
|
4820
|
+
"group": "authentication",
|
|
4821
|
+
"type": "String",
|
|
4822
|
+
"feel": "optional",
|
|
3680
4823
|
"binding": {
|
|
3681
|
-
"
|
|
3682
|
-
"
|
|
4824
|
+
"type": "zeebe:input",
|
|
4825
|
+
"name": "authentication.username"
|
|
3683
4826
|
},
|
|
3684
|
-
"type": "Dropdown",
|
|
3685
|
-
"choices": [
|
|
3686
|
-
{
|
|
3687
|
-
"name": "DELETE",
|
|
3688
|
-
"value": "DELETE"
|
|
3689
|
-
},
|
|
3690
|
-
{
|
|
3691
|
-
"name": "POST",
|
|
3692
|
-
"value": "POST"
|
|
3693
|
-
},
|
|
3694
|
-
{
|
|
3695
|
-
"name": "GET",
|
|
3696
|
-
"value": "GET"
|
|
3697
|
-
},
|
|
3698
|
-
{
|
|
3699
|
-
"name": "PATCH",
|
|
3700
|
-
"value": "PATCH"
|
|
3701
|
-
},
|
|
3702
|
-
{
|
|
3703
|
-
"name": "PUT",
|
|
3704
|
-
"value": "PUT"
|
|
3705
|
-
}
|
|
3706
|
-
]
|
|
3707
|
-
},
|
|
3708
|
-
{
|
|
3709
|
-
"id": "url",
|
|
3710
|
-
"label": "URL",
|
|
3711
|
-
"optional": false,
|
|
3712
4827
|
"constraints": {
|
|
3713
|
-
"notEmpty": true
|
|
3714
|
-
"pattern": {
|
|
3715
|
-
"value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
|
|
3716
|
-
"message": "Must be a http(s) URL"
|
|
3717
|
-
}
|
|
3718
|
-
},
|
|
3719
|
-
"feel": "optional",
|
|
3720
|
-
"group": "endpoint",
|
|
3721
|
-
"binding": {
|
|
3722
|
-
"name": "url",
|
|
3723
|
-
"type": "zeebe:input"
|
|
4828
|
+
"notEmpty": true
|
|
3724
4829
|
},
|
|
3725
|
-
"
|
|
4830
|
+
"condition": {
|
|
4831
|
+
"property": "authenticationType",
|
|
4832
|
+
"equals": "basic"
|
|
4833
|
+
}
|
|
3726
4834
|
},
|
|
3727
4835
|
{
|
|
3728
|
-
"
|
|
3729
|
-
"
|
|
3730
|
-
"
|
|
3731
|
-
"
|
|
3732
|
-
"feel": "required",
|
|
3733
|
-
"group": "endpoint",
|
|
4836
|
+
"label": "Password",
|
|
4837
|
+
"group": "authentication",
|
|
4838
|
+
"type": "String",
|
|
4839
|
+
"feel": "optional",
|
|
3734
4840
|
"binding": {
|
|
3735
|
-
"
|
|
3736
|
-
"
|
|
4841
|
+
"type": "zeebe:input",
|
|
4842
|
+
"name": "authentication.password"
|
|
3737
4843
|
},
|
|
3738
|
-
"
|
|
3739
|
-
|
|
3740
|
-
{
|
|
3741
|
-
"id": "queryParameters",
|
|
3742
|
-
"label": "Query parameters",
|
|
3743
|
-
"description": "Map of query parameters to add to the request URL",
|
|
3744
|
-
"optional": true,
|
|
3745
|
-
"feel": "required",
|
|
3746
|
-
"group": "endpoint",
|
|
3747
|
-
"binding": {
|
|
3748
|
-
"name": "queryParameters",
|
|
3749
|
-
"type": "zeebe:input"
|
|
4844
|
+
"constraints": {
|
|
4845
|
+
"notEmpty": true
|
|
3750
4846
|
},
|
|
3751
|
-
"
|
|
4847
|
+
"condition": {
|
|
4848
|
+
"property": "authenticationType",
|
|
4849
|
+
"equals": "basic"
|
|
4850
|
+
}
|
|
3752
4851
|
},
|
|
3753
4852
|
{
|
|
3754
|
-
"
|
|
3755
|
-
"label": "Connection timeout in seconds",
|
|
4853
|
+
"label": "Connection timeout",
|
|
3756
4854
|
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
3757
|
-
"optional": true,
|
|
3758
|
-
"value": "20",
|
|
3759
|
-
"feel": "optional",
|
|
3760
4855
|
"group": "timeout",
|
|
4856
|
+
"type": "String",
|
|
4857
|
+
"value": "20",
|
|
3761
4858
|
"binding": {
|
|
3762
|
-
"
|
|
3763
|
-
"
|
|
4859
|
+
"type": "zeebe:input",
|
|
4860
|
+
"name": "connectionTimeoutInSeconds"
|
|
3764
4861
|
},
|
|
3765
|
-
"
|
|
4862
|
+
"optional": true,
|
|
4863
|
+
"feel": "optional",
|
|
4864
|
+
"constraints": {
|
|
4865
|
+
"notEmpty": false,
|
|
4866
|
+
"pattern": {
|
|
4867
|
+
"value": "^(=|([0-9]+|secrets\\..+)$)",
|
|
4868
|
+
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
4869
|
+
}
|
|
4870
|
+
}
|
|
3766
4871
|
},
|
|
3767
4872
|
{
|
|
3768
|
-
"id": "body",
|
|
3769
4873
|
"label": "Request body",
|
|
3770
4874
|
"description": "Payload to send with the request",
|
|
3771
|
-
"
|
|
4875
|
+
"group": "input",
|
|
4876
|
+
"type": "Text",
|
|
3772
4877
|
"feel": "optional",
|
|
3773
|
-
"group": "payload",
|
|
3774
4878
|
"binding": {
|
|
3775
|
-
"
|
|
3776
|
-
"
|
|
4879
|
+
"type": "zeebe:input",
|
|
4880
|
+
"name": "body"
|
|
3777
4881
|
},
|
|
3778
4882
|
"condition": {
|
|
3779
4883
|
"property": "method",
|
|
3780
|
-
"oneOf": ["
|
|
3781
|
-
"type": "simple"
|
|
4884
|
+
"oneOf": ["post", "put", "patch", "delete"]
|
|
3782
4885
|
},
|
|
3783
|
-
"
|
|
4886
|
+
"optional": true
|
|
3784
4887
|
},
|
|
3785
4888
|
{
|
|
3786
|
-
"id": "resultVariable",
|
|
3787
4889
|
"label": "Result variable",
|
|
3788
|
-
"description": "Name of variable to store the response in",
|
|
4890
|
+
"description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
|
|
3789
4891
|
"group": "output",
|
|
4892
|
+
"type": "String",
|
|
3790
4893
|
"binding": {
|
|
3791
|
-
"
|
|
3792
|
-
"
|
|
3793
|
-
}
|
|
3794
|
-
"type": "String"
|
|
4894
|
+
"type": "zeebe:taskHeader",
|
|
4895
|
+
"key": "resultVariable"
|
|
4896
|
+
}
|
|
3795
4897
|
},
|
|
3796
4898
|
{
|
|
3797
|
-
"id": "resultExpression",
|
|
3798
4899
|
"label": "Result expression",
|
|
3799
|
-
"description": "Expression to map the response into process variables",
|
|
3800
|
-
"feel": "required",
|
|
4900
|
+
"description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
|
|
3801
4901
|
"group": "output",
|
|
3802
|
-
"
|
|
3803
|
-
"key": "resultExpression",
|
|
3804
|
-
"type": "zeebe:taskHeader"
|
|
3805
|
-
},
|
|
3806
|
-
"type": "Text"
|
|
3807
|
-
},
|
|
3808
|
-
{
|
|
3809
|
-
"id": "errorExpression",
|
|
3810
|
-
"label": "Error expression",
|
|
3811
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
4902
|
+
"type": "Text",
|
|
3812
4903
|
"feel": "required",
|
|
3813
|
-
"group": "error",
|
|
3814
4904
|
"binding": {
|
|
3815
|
-
"
|
|
3816
|
-
"
|
|
3817
|
-
}
|
|
3818
|
-
"type": "Text"
|
|
4905
|
+
"type": "zeebe:taskHeader",
|
|
4906
|
+
"key": "resultExpression"
|
|
4907
|
+
}
|
|
3819
4908
|
},
|
|
3820
4909
|
{
|
|
3821
|
-
"
|
|
3822
|
-
"
|
|
3823
|
-
"
|
|
3824
|
-
"
|
|
3825
|
-
"
|
|
4910
|
+
"label": "Error expression",
|
|
4911
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
|
|
4912
|
+
"group": "errors",
|
|
4913
|
+
"type": "Text",
|
|
4914
|
+
"feel": "required",
|
|
3826
4915
|
"binding": {
|
|
3827
|
-
"
|
|
3828
|
-
"
|
|
3829
|
-
}
|
|
3830
|
-
"type": "Hidden"
|
|
4916
|
+
"type": "zeebe:taskHeader",
|
|
4917
|
+
"key": "errorExpression"
|
|
4918
|
+
}
|
|
3831
4919
|
}
|
|
3832
4920
|
],
|
|
3833
|
-
"icon": {
|
|
3834
|
-
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
|
|
3835
|
-
},
|
|
3836
4921
|
"engines": {
|
|
3837
|
-
"camunda": "^8.
|
|
4922
|
+
"camunda": "^8.2"
|
|
3838
4923
|
}
|
|
3839
4924
|
},
|
|
3840
4925
|
{
|
|
@@ -3842,11 +4927,8 @@
|
|
|
3842
4927
|
"name": "REST Outbound Connector",
|
|
3843
4928
|
"id": "io.camunda.connectors.HttpJson.v2",
|
|
3844
4929
|
"description": "Invoke REST API",
|
|
3845
|
-
"metadata": {
|
|
3846
|
-
"keywords": []
|
|
3847
|
-
},
|
|
3848
4930
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
|
|
3849
|
-
"version":
|
|
4931
|
+
"version": 4,
|
|
3850
4932
|
"category": {
|
|
3851
4933
|
"id": "connectors",
|
|
3852
4934
|
"name": "Connectors"
|
|
@@ -3855,9 +4937,6 @@
|
|
|
3855
4937
|
"elementType": {
|
|
3856
4938
|
"value": "bpmn:ServiceTask"
|
|
3857
4939
|
},
|
|
3858
|
-
"engines": {
|
|
3859
|
-
"camunda": "^8.3"
|
|
3860
|
-
},
|
|
3861
4940
|
"groups": [
|
|
3862
4941
|
{
|
|
3863
4942
|
"id": "authentication",
|
|
@@ -3865,7 +4944,7 @@
|
|
|
3865
4944
|
},
|
|
3866
4945
|
{
|
|
3867
4946
|
"id": "endpoint",
|
|
3868
|
-
"label": "HTTP
|
|
4947
|
+
"label": "HTTP Endpoint"
|
|
3869
4948
|
},
|
|
3870
4949
|
{
|
|
3871
4950
|
"id": "timeout",
|
|
@@ -3892,8 +4971,8 @@
|
|
|
3892
4971
|
{
|
|
3893
4972
|
"value": "io.camunda:http-json:1",
|
|
3894
4973
|
"binding": {
|
|
3895
|
-
"
|
|
3896
|
-
"
|
|
4974
|
+
"type": "zeebe:taskDefinition",
|
|
4975
|
+
"property": "type"
|
|
3897
4976
|
},
|
|
3898
4977
|
"type": "Hidden"
|
|
3899
4978
|
},
|
|
@@ -3909,10 +4988,6 @@
|
|
|
3909
4988
|
},
|
|
3910
4989
|
"type": "Dropdown",
|
|
3911
4990
|
"choices": [
|
|
3912
|
-
{
|
|
3913
|
-
"name": "API key",
|
|
3914
|
-
"value": "apiKey"
|
|
3915
|
-
},
|
|
3916
4991
|
{
|
|
3917
4992
|
"name": "Basic",
|
|
3918
4993
|
"value": "basic"
|
|
@@ -3931,77 +5006,6 @@
|
|
|
3931
5006
|
}
|
|
3932
5007
|
]
|
|
3933
5008
|
},
|
|
3934
|
-
{
|
|
3935
|
-
"id": "authentication.apiKeyLocation",
|
|
3936
|
-
"label": "Api key location",
|
|
3937
|
-
"description": "Choose type: Send API key in header or as query parameter.",
|
|
3938
|
-
"optional": false,
|
|
3939
|
-
"value": "headers",
|
|
3940
|
-
"constraints": {
|
|
3941
|
-
"notEmpty": true
|
|
3942
|
-
},
|
|
3943
|
-
"group": "authentication",
|
|
3944
|
-
"binding": {
|
|
3945
|
-
"name": "authentication.apiKeyLocation",
|
|
3946
|
-
"type": "zeebe:input"
|
|
3947
|
-
},
|
|
3948
|
-
"condition": {
|
|
3949
|
-
"property": "authentication.type",
|
|
3950
|
-
"equals": "apiKey",
|
|
3951
|
-
"type": "simple"
|
|
3952
|
-
},
|
|
3953
|
-
"type": "Dropdown",
|
|
3954
|
-
"choices": [
|
|
3955
|
-
{
|
|
3956
|
-
"name": "Headers",
|
|
3957
|
-
"value": "headers"
|
|
3958
|
-
},
|
|
3959
|
-
{
|
|
3960
|
-
"name": "Query parameters",
|
|
3961
|
-
"value": "query"
|
|
3962
|
-
}
|
|
3963
|
-
]
|
|
3964
|
-
},
|
|
3965
|
-
{
|
|
3966
|
-
"id": "authentication.name",
|
|
3967
|
-
"label": "API key name",
|
|
3968
|
-
"optional": false,
|
|
3969
|
-
"constraints": {
|
|
3970
|
-
"notEmpty": true
|
|
3971
|
-
},
|
|
3972
|
-
"feel": "optional",
|
|
3973
|
-
"group": "authentication",
|
|
3974
|
-
"binding": {
|
|
3975
|
-
"name": "authentication.name",
|
|
3976
|
-
"type": "zeebe:input"
|
|
3977
|
-
},
|
|
3978
|
-
"condition": {
|
|
3979
|
-
"property": "authentication.type",
|
|
3980
|
-
"equals": "apiKey",
|
|
3981
|
-
"type": "simple"
|
|
3982
|
-
},
|
|
3983
|
-
"type": "String"
|
|
3984
|
-
},
|
|
3985
|
-
{
|
|
3986
|
-
"id": "authentication.value",
|
|
3987
|
-
"label": "API key value",
|
|
3988
|
-
"optional": false,
|
|
3989
|
-
"constraints": {
|
|
3990
|
-
"notEmpty": true
|
|
3991
|
-
},
|
|
3992
|
-
"feel": "optional",
|
|
3993
|
-
"group": "authentication",
|
|
3994
|
-
"binding": {
|
|
3995
|
-
"name": "authentication.value",
|
|
3996
|
-
"type": "zeebe:input"
|
|
3997
|
-
},
|
|
3998
|
-
"condition": {
|
|
3999
|
-
"property": "authentication.type",
|
|
4000
|
-
"equals": "apiKey",
|
|
4001
|
-
"type": "simple"
|
|
4002
|
-
},
|
|
4003
|
-
"type": "String"
|
|
4004
|
-
},
|
|
4005
5009
|
{
|
|
4006
5010
|
"id": "authentication.username",
|
|
4007
5011
|
"label": "Username",
|
|
@@ -4017,8 +5021,7 @@
|
|
|
4017
5021
|
},
|
|
4018
5022
|
"condition": {
|
|
4019
5023
|
"property": "authentication.type",
|
|
4020
|
-
"equals": "basic"
|
|
4021
|
-
"type": "simple"
|
|
5024
|
+
"equals": "basic"
|
|
4022
5025
|
},
|
|
4023
5026
|
"type": "String"
|
|
4024
5027
|
},
|
|
@@ -4037,8 +5040,7 @@
|
|
|
4037
5040
|
},
|
|
4038
5041
|
"condition": {
|
|
4039
5042
|
"property": "authentication.type",
|
|
4040
|
-
"equals": "basic"
|
|
4041
|
-
"type": "simple"
|
|
5043
|
+
"equals": "basic"
|
|
4042
5044
|
},
|
|
4043
5045
|
"type": "String"
|
|
4044
5046
|
},
|
|
@@ -4057,22 +5059,17 @@
|
|
|
4057
5059
|
},
|
|
4058
5060
|
"condition": {
|
|
4059
5061
|
"property": "authentication.type",
|
|
4060
|
-
"equals": "bearer"
|
|
4061
|
-
"type": "simple"
|
|
5062
|
+
"equals": "bearer"
|
|
4062
5063
|
},
|
|
4063
5064
|
"type": "String"
|
|
4064
5065
|
},
|
|
4065
5066
|
{
|
|
4066
5067
|
"id": "authentication.oauthTokenEndpoint",
|
|
4067
|
-
"label": "
|
|
5068
|
+
"label": "Oauth token endpoint",
|
|
4068
5069
|
"description": "The OAuth token endpoint",
|
|
4069
5070
|
"optional": false,
|
|
4070
5071
|
"constraints": {
|
|
4071
|
-
"notEmpty": true
|
|
4072
|
-
"pattern": {
|
|
4073
|
-
"value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
|
|
4074
|
-
"message": "Must be a http(s) URL"
|
|
4075
|
-
}
|
|
5072
|
+
"notEmpty": true
|
|
4076
5073
|
},
|
|
4077
5074
|
"feel": "optional",
|
|
4078
5075
|
"group": "authentication",
|
|
@@ -4082,14 +5079,13 @@
|
|
|
4082
5079
|
},
|
|
4083
5080
|
"condition": {
|
|
4084
5081
|
"property": "authentication.type",
|
|
4085
|
-
"equals": "oauth-client-credentials-flow"
|
|
4086
|
-
"type": "simple"
|
|
5082
|
+
"equals": "oauth-client-credentials-flow"
|
|
4087
5083
|
},
|
|
4088
5084
|
"type": "String"
|
|
4089
5085
|
},
|
|
4090
5086
|
{
|
|
4091
5087
|
"id": "authentication.clientId",
|
|
4092
|
-
"label": "Client
|
|
5088
|
+
"label": "Client id",
|
|
4093
5089
|
"description": "Your application's client ID from the OAuth client",
|
|
4094
5090
|
"optional": false,
|
|
4095
5091
|
"constraints": {
|
|
@@ -4103,8 +5099,7 @@
|
|
|
4103
5099
|
},
|
|
4104
5100
|
"condition": {
|
|
4105
5101
|
"property": "authentication.type",
|
|
4106
|
-
"equals": "oauth-client-credentials-flow"
|
|
4107
|
-
"type": "simple"
|
|
5102
|
+
"equals": "oauth-client-credentials-flow"
|
|
4108
5103
|
},
|
|
4109
5104
|
"type": "String"
|
|
4110
5105
|
},
|
|
@@ -4124,8 +5119,7 @@
|
|
|
4124
5119
|
},
|
|
4125
5120
|
"condition": {
|
|
4126
5121
|
"property": "authentication.type",
|
|
4127
|
-
"equals": "oauth-client-credentials-flow"
|
|
4128
|
-
"type": "simple"
|
|
5122
|
+
"equals": "oauth-client-credentials-flow"
|
|
4129
5123
|
},
|
|
4130
5124
|
"type": "String"
|
|
4131
5125
|
},
|
|
@@ -4142,8 +5136,7 @@
|
|
|
4142
5136
|
},
|
|
4143
5137
|
"condition": {
|
|
4144
5138
|
"property": "authentication.type",
|
|
4145
|
-
"equals": "oauth-client-credentials-flow"
|
|
4146
|
-
"type": "simple"
|
|
5139
|
+
"equals": "oauth-client-credentials-flow"
|
|
4147
5140
|
},
|
|
4148
5141
|
"type": "String"
|
|
4149
5142
|
},
|
|
@@ -4162,8 +5155,7 @@
|
|
|
4162
5155
|
},
|
|
4163
5156
|
"condition": {
|
|
4164
5157
|
"property": "authentication.type",
|
|
4165
|
-
"equals": "oauth-client-credentials-flow"
|
|
4166
|
-
"type": "simple"
|
|
5158
|
+
"equals": "oauth-client-credentials-flow"
|
|
4167
5159
|
},
|
|
4168
5160
|
"type": "Dropdown",
|
|
4169
5161
|
"choices": [
|
|
@@ -4190,8 +5182,7 @@
|
|
|
4190
5182
|
},
|
|
4191
5183
|
"condition": {
|
|
4192
5184
|
"property": "authentication.type",
|
|
4193
|
-
"equals": "oauth-client-credentials-flow"
|
|
4194
|
-
"type": "simple"
|
|
5185
|
+
"equals": "oauth-client-credentials-flow"
|
|
4195
5186
|
},
|
|
4196
5187
|
"type": "String"
|
|
4197
5188
|
},
|
|
@@ -4210,6 +5201,10 @@
|
|
|
4210
5201
|
},
|
|
4211
5202
|
"type": "Dropdown",
|
|
4212
5203
|
"choices": [
|
|
5204
|
+
{
|
|
5205
|
+
"name": "DELETE",
|
|
5206
|
+
"value": "DELETE"
|
|
5207
|
+
},
|
|
4213
5208
|
{
|
|
4214
5209
|
"name": "POST",
|
|
4215
5210
|
"value": "POST"
|
|
@@ -4218,10 +5213,6 @@
|
|
|
4218
5213
|
"name": "GET",
|
|
4219
5214
|
"value": "GET"
|
|
4220
5215
|
},
|
|
4221
|
-
{
|
|
4222
|
-
"name": "DELETE",
|
|
4223
|
-
"value": "DELETE"
|
|
4224
|
-
},
|
|
4225
5216
|
{
|
|
4226
5217
|
"name": "PATCH",
|
|
4227
5218
|
"value": "PATCH"
|
|
@@ -4277,73 +5268,19 @@
|
|
|
4277
5268
|
},
|
|
4278
5269
|
"type": "String"
|
|
4279
5270
|
},
|
|
4280
|
-
{
|
|
4281
|
-
"id": "storeResponse",
|
|
4282
|
-
"label": "Store response",
|
|
4283
|
-
"description": "Store the response as a document in the document store",
|
|
4284
|
-
"optional": false,
|
|
4285
|
-
"value": false,
|
|
4286
|
-
"feel": "static",
|
|
4287
|
-
"group": "endpoint",
|
|
4288
|
-
"binding": {
|
|
4289
|
-
"name": "storeResponse",
|
|
4290
|
-
"type": "zeebe:input"
|
|
4291
|
-
},
|
|
4292
|
-
"type": "Boolean"
|
|
4293
|
-
},
|
|
4294
|
-
{
|
|
4295
|
-
"id": "skipEncoding",
|
|
4296
|
-
"label": "Skip URL encoding",
|
|
4297
|
-
"description": "Skip the default URL decoding and encoding behavior",
|
|
4298
|
-
"optional": true,
|
|
4299
|
-
"group": "endpoint",
|
|
4300
|
-
"binding": {
|
|
4301
|
-
"name": "skipEncoding",
|
|
4302
|
-
"type": "zeebe:input"
|
|
4303
|
-
},
|
|
4304
|
-
"type": "Hidden"
|
|
4305
|
-
},
|
|
4306
5271
|
{
|
|
4307
5272
|
"id": "connectionTimeoutInSeconds",
|
|
4308
5273
|
"label": "Connection timeout in seconds",
|
|
4309
|
-
"description": "
|
|
4310
|
-
"optional":
|
|
4311
|
-
"value": 20,
|
|
4312
|
-
"
|
|
4313
|
-
"notEmpty": true,
|
|
4314
|
-
"pattern": {
|
|
4315
|
-
"value": "^\\d+$",
|
|
4316
|
-
"message": "Must be a number"
|
|
4317
|
-
}
|
|
4318
|
-
},
|
|
4319
|
-
"feel": "static",
|
|
5274
|
+
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
5275
|
+
"optional": true,
|
|
5276
|
+
"value": "20",
|
|
5277
|
+
"feel": "optional",
|
|
4320
5278
|
"group": "timeout",
|
|
4321
5279
|
"binding": {
|
|
4322
5280
|
"name": "connectionTimeoutInSeconds",
|
|
4323
5281
|
"type": "zeebe:input"
|
|
4324
5282
|
},
|
|
4325
|
-
"type": "
|
|
4326
|
-
},
|
|
4327
|
-
{
|
|
4328
|
-
"id": "readTimeoutInSeconds",
|
|
4329
|
-
"label": "Read timeout in seconds",
|
|
4330
|
-
"description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
|
|
4331
|
-
"optional": false,
|
|
4332
|
-
"value": 20,
|
|
4333
|
-
"constraints": {
|
|
4334
|
-
"notEmpty": true,
|
|
4335
|
-
"pattern": {
|
|
4336
|
-
"value": "^\\d+$",
|
|
4337
|
-
"message": "Must be a number"
|
|
4338
|
-
}
|
|
4339
|
-
},
|
|
4340
|
-
"feel": "static",
|
|
4341
|
-
"group": "timeout",
|
|
4342
|
-
"binding": {
|
|
4343
|
-
"name": "readTimeoutInSeconds",
|
|
4344
|
-
"type": "zeebe:input"
|
|
4345
|
-
},
|
|
4346
|
-
"type": "Number"
|
|
5283
|
+
"type": "String"
|
|
4347
5284
|
},
|
|
4348
5285
|
{
|
|
4349
5286
|
"id": "body",
|
|
@@ -4358,25 +5295,10 @@
|
|
|
4358
5295
|
},
|
|
4359
5296
|
"condition": {
|
|
4360
5297
|
"property": "method",
|
|
4361
|
-
"oneOf": ["POST", "PUT", "PATCH"]
|
|
4362
|
-
"type": "simple"
|
|
5298
|
+
"oneOf": ["POST", "PUT", "PATCH"]
|
|
4363
5299
|
},
|
|
4364
5300
|
"type": "Text"
|
|
4365
5301
|
},
|
|
4366
|
-
{
|
|
4367
|
-
"id": "ignoreNullValues",
|
|
4368
|
-
"label": "Ignore null values",
|
|
4369
|
-
"optional": false,
|
|
4370
|
-
"value": false,
|
|
4371
|
-
"feel": "static",
|
|
4372
|
-
"group": "payload",
|
|
4373
|
-
"binding": {
|
|
4374
|
-
"name": "ignoreNullValues",
|
|
4375
|
-
"type": "zeebe:input"
|
|
4376
|
-
},
|
|
4377
|
-
"tooltip": "Null values will not be sent",
|
|
4378
|
-
"type": "Boolean"
|
|
4379
|
-
},
|
|
4380
5302
|
{
|
|
4381
5303
|
"id": "resultVariable",
|
|
4382
5304
|
"label": "Result variable",
|
|
@@ -4412,19 +5334,6 @@
|
|
|
4412
5334
|
},
|
|
4413
5335
|
"type": "Text"
|
|
4414
5336
|
},
|
|
4415
|
-
{
|
|
4416
|
-
"id": "retryCount",
|
|
4417
|
-
"label": "Retries",
|
|
4418
|
-
"description": "Number of retries",
|
|
4419
|
-
"value": "3",
|
|
4420
|
-
"feel": "optional",
|
|
4421
|
-
"group": "retries",
|
|
4422
|
-
"binding": {
|
|
4423
|
-
"property": "retries",
|
|
4424
|
-
"type": "zeebe:taskDefinition"
|
|
4425
|
-
},
|
|
4426
|
-
"type": "String"
|
|
4427
|
-
},
|
|
4428
5337
|
{
|
|
4429
5338
|
"id": "retryBackoff",
|
|
4430
5339
|
"label": "Retry backoff",
|
|
@@ -4435,11 +5344,14 @@
|
|
|
4435
5344
|
"key": "retryBackoff",
|
|
4436
5345
|
"type": "zeebe:taskHeader"
|
|
4437
5346
|
},
|
|
4438
|
-
"type": "
|
|
5347
|
+
"type": "Hidden"
|
|
4439
5348
|
}
|
|
4440
5349
|
],
|
|
4441
5350
|
"icon": {
|
|
4442
5351
|
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
|
|
5352
|
+
},
|
|
5353
|
+
"engines": {
|
|
5354
|
+
"camunda": "^8.2"
|
|
4443
5355
|
}
|
|
4444
5356
|
},
|
|
4445
5357
|
{
|