@camunda/connectors-element-templates 0.0.1-alpha8 → 1.0.1
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 +2 -2
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +8 -0
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +8 -0
- package/src/element-templates/embeddings-vector-database-outbound-connector.json +88 -0
- package/src/element-templates/google-maps-platform-connector.json +2 -19
- package/src/element-templates/{http-polling-connector-boundary.json → http-polling-boundary-catch-event-connector.json} +766 -0
- package/src/element-templates/http-polling-connector.json +772 -6
|
@@ -3,7 +3,773 @@
|
|
|
3
3
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
4
4
|
"name": "HTTP Polling Intermediate Catch Event Connector",
|
|
5
5
|
"id": "io.camunda.connectors.http.Polling",
|
|
6
|
-
"
|
|
6
|
+
"description": "Polls endpoint at regular intervals",
|
|
7
|
+
"metadata": {
|
|
8
|
+
"keywords": []
|
|
9
|
+
},
|
|
10
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/polling/",
|
|
11
|
+
"version": 3,
|
|
12
|
+
"category": {
|
|
13
|
+
"id": "connectors",
|
|
14
|
+
"name": "Connectors"
|
|
15
|
+
},
|
|
16
|
+
"appliesTo": ["bpmn:IntermediateCatchEvent"],
|
|
17
|
+
"elementType": {
|
|
18
|
+
"value": "bpmn:IntermediateCatchEvent",
|
|
19
|
+
"eventDefinition": "bpmn:MessageEventDefinition"
|
|
20
|
+
},
|
|
21
|
+
"engines": {
|
|
22
|
+
"camunda": "^8.3"
|
|
23
|
+
},
|
|
24
|
+
"groups": [
|
|
25
|
+
{
|
|
26
|
+
"id": "authentication",
|
|
27
|
+
"label": "Authentication"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": "endpoint",
|
|
31
|
+
"label": "HTTP Polling configuration"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "payload",
|
|
35
|
+
"label": "Payload"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"id": "timeout",
|
|
39
|
+
"label": "Connect timeout"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"id": "activation",
|
|
43
|
+
"label": "Activation"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "correlation",
|
|
47
|
+
"label": "Correlation",
|
|
48
|
+
"tooltip": "Learn more about message correlation in the <a href=\"https://docs.camunda.io/docs/components/concepts/messages/#message-correlation-overview\">documentation</a>."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "deduplication",
|
|
52
|
+
"label": "Deduplication",
|
|
53
|
+
"tooltip": "Deduplication allows you to configure multiple inbound connector elements to reuse the same backend (consumer/thread/endpoint) by sharing the same deduplication ID."
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "output",
|
|
57
|
+
"label": "Output mapping"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"properties": [
|
|
61
|
+
{
|
|
62
|
+
"value": "io.camunda:http-polling:1",
|
|
63
|
+
"binding": {
|
|
64
|
+
"name": "inbound.type",
|
|
65
|
+
"type": "zeebe:property"
|
|
66
|
+
},
|
|
67
|
+
"type": "Hidden"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "DEFAULT_HTTP_REQUEST_INTERVAL",
|
|
71
|
+
"label": "DEFAULT_HTTP_REQUEST_INTERVAL",
|
|
72
|
+
"feel": "optional",
|
|
73
|
+
"binding": {
|
|
74
|
+
"name": "DEFAULT_HTTP_REQUEST_INTERVAL",
|
|
75
|
+
"type": "zeebe:property"
|
|
76
|
+
},
|
|
77
|
+
"type": "String"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"id": "DEFAULT_PROCESS_POLLING_INTERVAL",
|
|
81
|
+
"label": "DEFAULT_PROCESS_POLLING_INTERVAL",
|
|
82
|
+
"feel": "optional",
|
|
83
|
+
"binding": {
|
|
84
|
+
"name": "DEFAULT_PROCESS_POLLING_INTERVAL",
|
|
85
|
+
"type": "zeebe:property"
|
|
86
|
+
},
|
|
87
|
+
"type": "String"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"id": "httpRequestInterval",
|
|
91
|
+
"label": "Http request interval",
|
|
92
|
+
"feel": "optional",
|
|
93
|
+
"binding": {
|
|
94
|
+
"name": "httpRequestInterval",
|
|
95
|
+
"type": "zeebe:property"
|
|
96
|
+
},
|
|
97
|
+
"type": "String"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"id": "processPollingInterval",
|
|
101
|
+
"label": "Process polling interval",
|
|
102
|
+
"feel": "optional",
|
|
103
|
+
"binding": {
|
|
104
|
+
"name": "processPollingInterval",
|
|
105
|
+
"type": "zeebe:property"
|
|
106
|
+
},
|
|
107
|
+
"type": "String"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"id": "authentication.type",
|
|
111
|
+
"label": "Type",
|
|
112
|
+
"description": "Choose the authentication type. Select 'None' if no authentication is necessary",
|
|
113
|
+
"value": "noAuth",
|
|
114
|
+
"group": "authentication",
|
|
115
|
+
"binding": {
|
|
116
|
+
"name": "authentication.type",
|
|
117
|
+
"type": "zeebe:property"
|
|
118
|
+
},
|
|
119
|
+
"type": "Dropdown",
|
|
120
|
+
"choices": [
|
|
121
|
+
{
|
|
122
|
+
"name": "API key",
|
|
123
|
+
"value": "apiKey"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "Basic",
|
|
127
|
+
"value": "basic"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "Bearer token",
|
|
131
|
+
"value": "bearer"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "None",
|
|
135
|
+
"value": "noAuth"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "OAuth 2.0",
|
|
139
|
+
"value": "oauth-client-credentials-flow"
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"id": "authentication.apiKeyLocation",
|
|
145
|
+
"label": "Api key location",
|
|
146
|
+
"description": "Choose type: Send API key in header or as query parameter.",
|
|
147
|
+
"optional": false,
|
|
148
|
+
"value": "headers",
|
|
149
|
+
"constraints": {
|
|
150
|
+
"notEmpty": true
|
|
151
|
+
},
|
|
152
|
+
"group": "authentication",
|
|
153
|
+
"binding": {
|
|
154
|
+
"name": "authentication.apiKeyLocation",
|
|
155
|
+
"type": "zeebe:property"
|
|
156
|
+
},
|
|
157
|
+
"condition": {
|
|
158
|
+
"property": "authentication.type",
|
|
159
|
+
"equals": "apiKey",
|
|
160
|
+
"type": "simple"
|
|
161
|
+
},
|
|
162
|
+
"type": "Dropdown",
|
|
163
|
+
"choices": [
|
|
164
|
+
{
|
|
165
|
+
"name": "Headers",
|
|
166
|
+
"value": "headers"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "Query parameters",
|
|
170
|
+
"value": "query"
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"id": "authentication.name",
|
|
176
|
+
"label": "API key name",
|
|
177
|
+
"optional": false,
|
|
178
|
+
"constraints": {
|
|
179
|
+
"notEmpty": true
|
|
180
|
+
},
|
|
181
|
+
"group": "authentication",
|
|
182
|
+
"binding": {
|
|
183
|
+
"name": "authentication.name",
|
|
184
|
+
"type": "zeebe:property"
|
|
185
|
+
},
|
|
186
|
+
"condition": {
|
|
187
|
+
"property": "authentication.type",
|
|
188
|
+
"equals": "apiKey",
|
|
189
|
+
"type": "simple"
|
|
190
|
+
},
|
|
191
|
+
"type": "String"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"id": "authentication.value",
|
|
195
|
+
"label": "API key value",
|
|
196
|
+
"optional": false,
|
|
197
|
+
"constraints": {
|
|
198
|
+
"notEmpty": true
|
|
199
|
+
},
|
|
200
|
+
"group": "authentication",
|
|
201
|
+
"binding": {
|
|
202
|
+
"name": "authentication.value",
|
|
203
|
+
"type": "zeebe:property"
|
|
204
|
+
},
|
|
205
|
+
"condition": {
|
|
206
|
+
"property": "authentication.type",
|
|
207
|
+
"equals": "apiKey",
|
|
208
|
+
"type": "simple"
|
|
209
|
+
},
|
|
210
|
+
"type": "String"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"id": "authentication.username",
|
|
214
|
+
"label": "Username",
|
|
215
|
+
"optional": false,
|
|
216
|
+
"constraints": {
|
|
217
|
+
"notEmpty": true
|
|
218
|
+
},
|
|
219
|
+
"group": "authentication",
|
|
220
|
+
"binding": {
|
|
221
|
+
"name": "authentication.username",
|
|
222
|
+
"type": "zeebe:property"
|
|
223
|
+
},
|
|
224
|
+
"condition": {
|
|
225
|
+
"property": "authentication.type",
|
|
226
|
+
"equals": "basic",
|
|
227
|
+
"type": "simple"
|
|
228
|
+
},
|
|
229
|
+
"type": "String"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"id": "authentication.password",
|
|
233
|
+
"label": "Password",
|
|
234
|
+
"optional": false,
|
|
235
|
+
"constraints": {
|
|
236
|
+
"notEmpty": true
|
|
237
|
+
},
|
|
238
|
+
"group": "authentication",
|
|
239
|
+
"binding": {
|
|
240
|
+
"name": "authentication.password",
|
|
241
|
+
"type": "zeebe:property"
|
|
242
|
+
},
|
|
243
|
+
"condition": {
|
|
244
|
+
"property": "authentication.type",
|
|
245
|
+
"equals": "basic",
|
|
246
|
+
"type": "simple"
|
|
247
|
+
},
|
|
248
|
+
"type": "String"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"id": "authentication.token",
|
|
252
|
+
"label": "Bearer token",
|
|
253
|
+
"optional": false,
|
|
254
|
+
"constraints": {
|
|
255
|
+
"notEmpty": true
|
|
256
|
+
},
|
|
257
|
+
"group": "authentication",
|
|
258
|
+
"binding": {
|
|
259
|
+
"name": "authentication.token",
|
|
260
|
+
"type": "zeebe:property"
|
|
261
|
+
},
|
|
262
|
+
"condition": {
|
|
263
|
+
"property": "authentication.type",
|
|
264
|
+
"equals": "bearer",
|
|
265
|
+
"type": "simple"
|
|
266
|
+
},
|
|
267
|
+
"type": "String"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"id": "authentication.oauthTokenEndpoint",
|
|
271
|
+
"label": "OAuth 2.0 token endpoint",
|
|
272
|
+
"description": "The OAuth token endpoint",
|
|
273
|
+
"optional": false,
|
|
274
|
+
"constraints": {
|
|
275
|
+
"notEmpty": true,
|
|
276
|
+
"pattern": {
|
|
277
|
+
"value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
|
|
278
|
+
"message": "Must be a http(s) URL"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
"group": "authentication",
|
|
282
|
+
"binding": {
|
|
283
|
+
"name": "authentication.oauthTokenEndpoint",
|
|
284
|
+
"type": "zeebe:property"
|
|
285
|
+
},
|
|
286
|
+
"condition": {
|
|
287
|
+
"property": "authentication.type",
|
|
288
|
+
"equals": "oauth-client-credentials-flow",
|
|
289
|
+
"type": "simple"
|
|
290
|
+
},
|
|
291
|
+
"type": "String"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"id": "authentication.clientId",
|
|
295
|
+
"label": "Client ID",
|
|
296
|
+
"description": "Your application's client ID from the OAuth client",
|
|
297
|
+
"optional": false,
|
|
298
|
+
"constraints": {
|
|
299
|
+
"notEmpty": true
|
|
300
|
+
},
|
|
301
|
+
"group": "authentication",
|
|
302
|
+
"binding": {
|
|
303
|
+
"name": "authentication.clientId",
|
|
304
|
+
"type": "zeebe:property"
|
|
305
|
+
},
|
|
306
|
+
"condition": {
|
|
307
|
+
"property": "authentication.type",
|
|
308
|
+
"equals": "oauth-client-credentials-flow",
|
|
309
|
+
"type": "simple"
|
|
310
|
+
},
|
|
311
|
+
"type": "String"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"id": "authentication.clientSecret",
|
|
315
|
+
"label": "Client secret",
|
|
316
|
+
"description": "Your application's client secret from the OAuth client",
|
|
317
|
+
"optional": false,
|
|
318
|
+
"constraints": {
|
|
319
|
+
"notEmpty": true
|
|
320
|
+
},
|
|
321
|
+
"group": "authentication",
|
|
322
|
+
"binding": {
|
|
323
|
+
"name": "authentication.clientSecret",
|
|
324
|
+
"type": "zeebe:property"
|
|
325
|
+
},
|
|
326
|
+
"condition": {
|
|
327
|
+
"property": "authentication.type",
|
|
328
|
+
"equals": "oauth-client-credentials-flow",
|
|
329
|
+
"type": "simple"
|
|
330
|
+
},
|
|
331
|
+
"type": "String"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"id": "authentication.audience",
|
|
335
|
+
"label": "Audience",
|
|
336
|
+
"description": "The unique identifier of the target API you want to access",
|
|
337
|
+
"optional": true,
|
|
338
|
+
"group": "authentication",
|
|
339
|
+
"binding": {
|
|
340
|
+
"name": "authentication.audience",
|
|
341
|
+
"type": "zeebe:property"
|
|
342
|
+
},
|
|
343
|
+
"condition": {
|
|
344
|
+
"property": "authentication.type",
|
|
345
|
+
"equals": "oauth-client-credentials-flow",
|
|
346
|
+
"type": "simple"
|
|
347
|
+
},
|
|
348
|
+
"type": "String"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"id": "authentication.clientAuthentication",
|
|
352
|
+
"label": "Client authentication",
|
|
353
|
+
"description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
|
|
354
|
+
"optional": false,
|
|
355
|
+
"constraints": {
|
|
356
|
+
"notEmpty": true
|
|
357
|
+
},
|
|
358
|
+
"group": "authentication",
|
|
359
|
+
"binding": {
|
|
360
|
+
"name": "authentication.clientAuthentication",
|
|
361
|
+
"type": "zeebe:property"
|
|
362
|
+
},
|
|
363
|
+
"condition": {
|
|
364
|
+
"property": "authentication.type",
|
|
365
|
+
"equals": "oauth-client-credentials-flow",
|
|
366
|
+
"type": "simple"
|
|
367
|
+
},
|
|
368
|
+
"type": "Dropdown",
|
|
369
|
+
"choices": [
|
|
370
|
+
{
|
|
371
|
+
"name": "Send client credentials in body",
|
|
372
|
+
"value": "credentialsBody"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"name": "Send as Basic Auth header",
|
|
376
|
+
"value": "basicAuthHeader"
|
|
377
|
+
}
|
|
378
|
+
]
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"id": "authentication.scopes",
|
|
382
|
+
"label": "Scopes",
|
|
383
|
+
"description": "The scopes which you want to request authorization for (e.g.read:contacts)",
|
|
384
|
+
"optional": true,
|
|
385
|
+
"group": "authentication",
|
|
386
|
+
"binding": {
|
|
387
|
+
"name": "authentication.scopes",
|
|
388
|
+
"type": "zeebe:property"
|
|
389
|
+
},
|
|
390
|
+
"condition": {
|
|
391
|
+
"property": "authentication.type",
|
|
392
|
+
"equals": "oauth-client-credentials-flow",
|
|
393
|
+
"type": "simple"
|
|
394
|
+
},
|
|
395
|
+
"type": "String"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"id": "method",
|
|
399
|
+
"label": "Method",
|
|
400
|
+
"optional": false,
|
|
401
|
+
"value": "GET",
|
|
402
|
+
"constraints": {
|
|
403
|
+
"notEmpty": true
|
|
404
|
+
},
|
|
405
|
+
"group": "endpoint",
|
|
406
|
+
"binding": {
|
|
407
|
+
"name": "method",
|
|
408
|
+
"type": "zeebe:property"
|
|
409
|
+
},
|
|
410
|
+
"type": "Dropdown",
|
|
411
|
+
"choices": [
|
|
412
|
+
{
|
|
413
|
+
"name": "POST",
|
|
414
|
+
"value": "POST"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"name": "GET",
|
|
418
|
+
"value": "GET"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"name": "DELETE",
|
|
422
|
+
"value": "DELETE"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"name": "PATCH",
|
|
426
|
+
"value": "PATCH"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"name": "PUT",
|
|
430
|
+
"value": "PUT"
|
|
431
|
+
}
|
|
432
|
+
]
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"id": "url",
|
|
436
|
+
"label": "URL",
|
|
437
|
+
"optional": false,
|
|
438
|
+
"constraints": {
|
|
439
|
+
"notEmpty": true,
|
|
440
|
+
"pattern": {
|
|
441
|
+
"value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
|
|
442
|
+
"message": "Must be a http(s) URL"
|
|
443
|
+
}
|
|
444
|
+
},
|
|
445
|
+
"group": "endpoint",
|
|
446
|
+
"binding": {
|
|
447
|
+
"name": "url",
|
|
448
|
+
"type": "zeebe:property"
|
|
449
|
+
},
|
|
450
|
+
"type": "String"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"id": "headers",
|
|
454
|
+
"label": "Headers",
|
|
455
|
+
"description": "Map of HTTP headers to add to the request",
|
|
456
|
+
"optional": true,
|
|
457
|
+
"feel": "required",
|
|
458
|
+
"group": "endpoint",
|
|
459
|
+
"binding": {
|
|
460
|
+
"name": "headers",
|
|
461
|
+
"type": "zeebe:property"
|
|
462
|
+
},
|
|
463
|
+
"type": "String"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"id": "queryParameters",
|
|
467
|
+
"label": "Query parameters",
|
|
468
|
+
"description": "Map of query parameters to add to the request URL",
|
|
469
|
+
"optional": true,
|
|
470
|
+
"feel": "required",
|
|
471
|
+
"group": "endpoint",
|
|
472
|
+
"binding": {
|
|
473
|
+
"name": "queryParameters",
|
|
474
|
+
"type": "zeebe:property"
|
|
475
|
+
},
|
|
476
|
+
"type": "String"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"id": "storeResponse",
|
|
480
|
+
"label": "Store response",
|
|
481
|
+
"description": "Store the response as a document in the document store",
|
|
482
|
+
"optional": false,
|
|
483
|
+
"value": false,
|
|
484
|
+
"feel": "static",
|
|
485
|
+
"group": "endpoint",
|
|
486
|
+
"binding": {
|
|
487
|
+
"name": "storeResponse",
|
|
488
|
+
"type": "zeebe:property"
|
|
489
|
+
},
|
|
490
|
+
"type": "Boolean"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"id": "skipEncoding",
|
|
494
|
+
"label": "Skip URL encoding",
|
|
495
|
+
"description": "Skip the default URL decoding and encoding behavior",
|
|
496
|
+
"optional": true,
|
|
497
|
+
"group": "endpoint",
|
|
498
|
+
"binding": {
|
|
499
|
+
"name": "skipEncoding",
|
|
500
|
+
"type": "zeebe:property"
|
|
501
|
+
},
|
|
502
|
+
"type": "Hidden"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"id": "body",
|
|
506
|
+
"label": "Request body",
|
|
507
|
+
"description": "Payload to send with the request",
|
|
508
|
+
"optional": true,
|
|
509
|
+
"feel": "optional",
|
|
510
|
+
"group": "payload",
|
|
511
|
+
"binding": {
|
|
512
|
+
"name": "body",
|
|
513
|
+
"type": "zeebe:property"
|
|
514
|
+
},
|
|
515
|
+
"condition": {
|
|
516
|
+
"property": "method",
|
|
517
|
+
"oneOf": ["POST", "PUT", "PATCH"],
|
|
518
|
+
"type": "simple"
|
|
519
|
+
},
|
|
520
|
+
"type": "Text"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"id": "ignoreNullValues",
|
|
524
|
+
"label": "Ignore null values",
|
|
525
|
+
"optional": false,
|
|
526
|
+
"value": false,
|
|
527
|
+
"feel": "static",
|
|
528
|
+
"group": "payload",
|
|
529
|
+
"binding": {
|
|
530
|
+
"name": "ignoreNullValues",
|
|
531
|
+
"type": "zeebe:property"
|
|
532
|
+
},
|
|
533
|
+
"tooltip": "Null values will not be sent",
|
|
534
|
+
"type": "Boolean"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"id": "connectionTimeoutInSeconds",
|
|
538
|
+
"label": "Connection timeout in seconds",
|
|
539
|
+
"description": "Defines the connection timeout in seconds, or 0 for an infinite timeout",
|
|
540
|
+
"optional": false,
|
|
541
|
+
"value": "20",
|
|
542
|
+
"constraints": {
|
|
543
|
+
"notEmpty": true,
|
|
544
|
+
"pattern": {
|
|
545
|
+
"value": "^\\d+$",
|
|
546
|
+
"message": "Must be a number"
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
"group": "timeout",
|
|
550
|
+
"binding": {
|
|
551
|
+
"name": "connectionTimeoutInSeconds",
|
|
552
|
+
"type": "zeebe:property"
|
|
553
|
+
},
|
|
554
|
+
"type": "String"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"id": "readTimeoutInSeconds",
|
|
558
|
+
"label": "Read timeout in seconds",
|
|
559
|
+
"description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
|
|
560
|
+
"optional": false,
|
|
561
|
+
"value": "20",
|
|
562
|
+
"constraints": {
|
|
563
|
+
"notEmpty": true,
|
|
564
|
+
"pattern": {
|
|
565
|
+
"value": "^\\d+$",
|
|
566
|
+
"message": "Must be a number"
|
|
567
|
+
}
|
|
568
|
+
},
|
|
569
|
+
"group": "timeout",
|
|
570
|
+
"binding": {
|
|
571
|
+
"name": "readTimeoutInSeconds",
|
|
572
|
+
"type": "zeebe:property"
|
|
573
|
+
},
|
|
574
|
+
"type": "String"
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"id": "activationCondition",
|
|
578
|
+
"label": "Activation condition",
|
|
579
|
+
"description": "Condition under which the Connector triggers. Leave empty to catch all events",
|
|
580
|
+
"optional": true,
|
|
581
|
+
"feel": "required",
|
|
582
|
+
"group": "activation",
|
|
583
|
+
"binding": {
|
|
584
|
+
"name": "activationCondition",
|
|
585
|
+
"type": "zeebe:property"
|
|
586
|
+
},
|
|
587
|
+
"type": "String"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"id": "consumeUnmatchedEvents",
|
|
591
|
+
"label": "Consume unmatched events",
|
|
592
|
+
"value": true,
|
|
593
|
+
"group": "activation",
|
|
594
|
+
"binding": {
|
|
595
|
+
"name": "consumeUnmatchedEvents",
|
|
596
|
+
"type": "zeebe:property"
|
|
597
|
+
},
|
|
598
|
+
"tooltip": "Unmatched events are rejected by default, allowing the upstream service to handle the error. Check this box to consume unmatched events and return a success response",
|
|
599
|
+
"type": "Boolean"
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"id": "correlationKeyProcess",
|
|
603
|
+
"label": "Correlation key (process)",
|
|
604
|
+
"description": "Sets up the correlation key from process variables",
|
|
605
|
+
"constraints": {
|
|
606
|
+
"notEmpty": true
|
|
607
|
+
},
|
|
608
|
+
"feel": "required",
|
|
609
|
+
"group": "correlation",
|
|
610
|
+
"binding": {
|
|
611
|
+
"name": "correlationKey",
|
|
612
|
+
"type": "bpmn:Message#zeebe:subscription#property"
|
|
613
|
+
},
|
|
614
|
+
"type": "String"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"id": "correlationKeyPayload",
|
|
618
|
+
"label": "Correlation key (payload)",
|
|
619
|
+
"description": "Extracts the correlation key from the incoming message payload",
|
|
620
|
+
"constraints": {
|
|
621
|
+
"notEmpty": true
|
|
622
|
+
},
|
|
623
|
+
"feel": "required",
|
|
624
|
+
"group": "correlation",
|
|
625
|
+
"binding": {
|
|
626
|
+
"name": "correlationKeyExpression",
|
|
627
|
+
"type": "zeebe:property"
|
|
628
|
+
},
|
|
629
|
+
"type": "String"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"id": "messageIdExpression",
|
|
633
|
+
"label": "Message ID expression",
|
|
634
|
+
"description": "Expression to extract unique identifier of a message",
|
|
635
|
+
"optional": true,
|
|
636
|
+
"feel": "required",
|
|
637
|
+
"group": "correlation",
|
|
638
|
+
"binding": {
|
|
639
|
+
"name": "messageIdExpression",
|
|
640
|
+
"type": "zeebe:property"
|
|
641
|
+
},
|
|
642
|
+
"type": "String"
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"id": "messageTtl",
|
|
646
|
+
"label": "Message TTL",
|
|
647
|
+
"description": "Time-to-live for the message in the broker (ISO-8601 duration)",
|
|
648
|
+
"optional": true,
|
|
649
|
+
"constraints": {
|
|
650
|
+
"notEmpty": false,
|
|
651
|
+
"pattern": {
|
|
652
|
+
"value": "^(PT.*|)$",
|
|
653
|
+
"message": "must be an ISO-8601 duration"
|
|
654
|
+
}
|
|
655
|
+
},
|
|
656
|
+
"feel": "optional",
|
|
657
|
+
"group": "correlation",
|
|
658
|
+
"binding": {
|
|
659
|
+
"name": "messageTtl",
|
|
660
|
+
"type": "zeebe:property"
|
|
661
|
+
},
|
|
662
|
+
"type": "String"
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"id": "messageNameUuid",
|
|
666
|
+
"generatedValue": {
|
|
667
|
+
"type": "uuid"
|
|
668
|
+
},
|
|
669
|
+
"group": "correlation",
|
|
670
|
+
"binding": {
|
|
671
|
+
"name": "name",
|
|
672
|
+
"type": "bpmn:Message#property"
|
|
673
|
+
},
|
|
674
|
+
"type": "Hidden"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"id": "deduplicationModeManualFlag",
|
|
678
|
+
"label": "Manual mode",
|
|
679
|
+
"description": "By default, similar connectors receive the same deduplication ID. Customize by activating manual mode",
|
|
680
|
+
"value": false,
|
|
681
|
+
"group": "deduplication",
|
|
682
|
+
"binding": {
|
|
683
|
+
"name": "deduplicationModeManualFlag",
|
|
684
|
+
"type": "zeebe:property"
|
|
685
|
+
},
|
|
686
|
+
"type": "Boolean"
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"id": "deduplicationId",
|
|
690
|
+
"label": "Deduplication ID",
|
|
691
|
+
"constraints": {
|
|
692
|
+
"notEmpty": true,
|
|
693
|
+
"pattern": {
|
|
694
|
+
"value": "^[a-zA-Z0-9_-]+$",
|
|
695
|
+
"message": "can only contain alphanumeric characters, dashes, and underscores"
|
|
696
|
+
}
|
|
697
|
+
},
|
|
698
|
+
"group": "deduplication",
|
|
699
|
+
"binding": {
|
|
700
|
+
"name": "deduplicationId",
|
|
701
|
+
"type": "zeebe:property"
|
|
702
|
+
},
|
|
703
|
+
"condition": {
|
|
704
|
+
"property": "deduplicationModeManualFlag",
|
|
705
|
+
"equals": true,
|
|
706
|
+
"type": "simple"
|
|
707
|
+
},
|
|
708
|
+
"type": "String"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"id": "deduplicationModeManual",
|
|
712
|
+
"value": "MANUAL",
|
|
713
|
+
"group": "deduplication",
|
|
714
|
+
"binding": {
|
|
715
|
+
"name": "deduplicationMode",
|
|
716
|
+
"type": "zeebe:property"
|
|
717
|
+
},
|
|
718
|
+
"condition": {
|
|
719
|
+
"property": "deduplicationId",
|
|
720
|
+
"isActive": true,
|
|
721
|
+
"type": "simple"
|
|
722
|
+
},
|
|
723
|
+
"type": "Hidden"
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
"id": "deduplicationModeAuto",
|
|
727
|
+
"value": "AUTO",
|
|
728
|
+
"group": "deduplication",
|
|
729
|
+
"binding": {
|
|
730
|
+
"name": "deduplicationMode",
|
|
731
|
+
"type": "zeebe:property"
|
|
732
|
+
},
|
|
733
|
+
"condition": {
|
|
734
|
+
"property": "deduplicationId",
|
|
735
|
+
"isActive": false,
|
|
736
|
+
"type": "simple"
|
|
737
|
+
},
|
|
738
|
+
"type": "Hidden"
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"id": "resultVariable",
|
|
742
|
+
"label": "Result variable",
|
|
743
|
+
"description": "Name of variable to store the response in",
|
|
744
|
+
"group": "output",
|
|
745
|
+
"binding": {
|
|
746
|
+
"name": "resultVariable",
|
|
747
|
+
"type": "zeebe:property"
|
|
748
|
+
},
|
|
749
|
+
"type": "String"
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"id": "resultExpression",
|
|
753
|
+
"label": "Result expression",
|
|
754
|
+
"description": "Expression to map the response into process variables",
|
|
755
|
+
"feel": "required",
|
|
756
|
+
"group": "output",
|
|
757
|
+
"binding": {
|
|
758
|
+
"name": "resultExpression",
|
|
759
|
+
"type": "zeebe:property"
|
|
760
|
+
},
|
|
761
|
+
"type": "Text"
|
|
762
|
+
}
|
|
763
|
+
],
|
|
764
|
+
"icon": {
|
|
765
|
+
"contents": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJz8+Cjxzdmcgd2lkdGg9JzE4JyBoZWlnaHQ9JzE4JyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnPgogICAgPGcgY2xhc3M9J2xheWVyJz4KICAgICAgICA8dGl0bGU+TGF5ZXIgMTwvdGl0bGU+CiAgICAgICAgPHBhdGggZD0nbTE3LjAzLDljMCw0LjQ1IC0zLjYsOC4wNSAtOC4wNSw4LjA1Yy00LjQ1LDAgLTguMDUsLTMuNiAtOC4wNSwtOC4wNWMwLC00LjQ1IDMuNiwtOC4wNSA4LjA1LC04LjA1YzQuNDUsMCA4LjA1LDMuNiA4LjA1LDguMDV6JwogICAgICAgICAgICAgIGZpbGw9JyM1MDU1NjInIGlkPSdzdmdfMScvPgogICAgICAgIDxwYXRoIGQ9J200LjkzLDE0LjE2bDEuODUsLTEwLjQ1bDMuMzYsMGMxLjA1LDAgMS44NCwwLjI3IDIuMzcsMC44MWMwLjU0LDAuNTMgMC44LDEuMjEgMC44LDIuMDZjMCwwLjg2IC0wLjI0LDEuNTggLTAuNzMsMi4xM2MtMC40NywwLjU1IC0xLjEyLDAuOTMgLTEuOTUsMS4xNGwtMC40OCwwLjA5bC0wLjUzLDAuMDNsLTAuNiwwLjA1bC0xLjc5LDBsLTAuNzMsNC4xNGwtMS41OCwwem0yLjU3LC01LjU3bDEuNzQsMGMwLjc2LDAgMS4zNSwtMC4xNyAxLjc4LC0wLjVjMC40NCwtMC4zNSAwLjY1LC0wLjgyIDAuNjUsLTEuNDJjMCwtMC40OCAtMC4xNSwtMC44NSAtMC40NCwtMS4xMmMtMC4zLC0wLjI4IC0wLjc3LC0wLjQyIC0xLjQyLC0wLjQybC0xLjcsMGwtMC42MSwzLjQ2eicKICAgICAgICAgICAgICBmaWxsPSd3aGl0ZScgaWQ9J3N2Z18yJy8+CiAgICA8L2c+Cjwvc3ZnPg=="
|
|
766
|
+
}
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
770
|
+
"name": "HTTP Polling Intermediate Catch Event Connector",
|
|
771
|
+
"id": "io.camunda.connectors.http.Polling",
|
|
772
|
+
"version": 1,
|
|
7
773
|
"description": "Polls endpoint at regular intervals",
|
|
8
774
|
"icon": {
|
|
9
775
|
"contents": "data:image/svg+xml;utf8,%3C%3Fxml version='1.0'%3F%3E%3Csvg width='18' height='18' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpath d='m17.03,9c0,4.45 -3.6,8.05 -8.05,8.05c-4.45,0 -8.05,-3.6 -8.05,-8.05c0,-4.45 3.6,-8.05 8.05,-8.05c4.45,0 8.05,3.6 8.05,8.05z' fill='%23505562' id='svg_1'/%3E%3Cpath d='m4.93,14.16l1.85,-10.45l3.36,0c1.05,0 1.84,0.27 2.37,0.81c0.54,0.53 0.8,1.21 0.8,2.06c0,0.86 -0.24,1.58 -0.73,2.13c-0.47,0.55 -1.12,0.93 -1.95,1.14l-0.48,0.09l-0.53,0.03l-0.6,0.05l-1.79,0l-0.73,4.14l-1.58,0zm2.57,-5.57l1.74,0c0.76,0 1.35,-0.17 1.78,-0.5c0.44,-0.35 0.65,-0.82 0.65,-1.42c0,-0.48 -0.15,-0.85 -0.44,-1.12c-0.3,-0.28 -0.77,-0.42 -1.42,-0.42l-1.7,0l-0.61,3.46z' fill='white' id='svg_2'/%3E%3C/g%3E%3C/svg%3E"
|
|
@@ -185,7 +951,7 @@
|
|
|
185
951
|
"constraints": {
|
|
186
952
|
"notEmpty": true,
|
|
187
953
|
"pattern": {
|
|
188
|
-
"value": "
|
|
954
|
+
"value": "^=|P(?=\\d|T\\d)(?:\\d+Y)?(?:\\d+M)?(?:\\d+W)?(?:\\d+D)?(?:T(?:\\d+H)?(?:\\d+M)?(?:\\d+(?:\\.\\d{1,3})?S)?)$",
|
|
189
955
|
"message": "value must be defined"
|
|
190
956
|
}
|
|
191
957
|
},
|
|
@@ -197,7 +963,7 @@
|
|
|
197
963
|
"value": "PT5S",
|
|
198
964
|
"binding": {
|
|
199
965
|
"type": "zeebe:property",
|
|
200
|
-
"name": "
|
|
966
|
+
"name": "operatePollingInterval"
|
|
201
967
|
},
|
|
202
968
|
"optional": true
|
|
203
969
|
},
|
|
@@ -472,7 +1238,7 @@
|
|
|
472
1238
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
473
1239
|
"name": "HTTP Polling Intermediate Catch Event Connector",
|
|
474
1240
|
"id": "io.camunda.connectors.http.Polling",
|
|
475
|
-
"version":
|
|
1241
|
+
"version": 2,
|
|
476
1242
|
"description": "Polls endpoint at regular intervals",
|
|
477
1243
|
"icon": {
|
|
478
1244
|
"contents": "data:image/svg+xml;utf8,%3C%3Fxml version='1.0'%3F%3E%3Csvg width='18' height='18' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpath d='m17.03,9c0,4.45 -3.6,8.05 -8.05,8.05c-4.45,0 -8.05,-3.6 -8.05,-8.05c0,-4.45 3.6,-8.05 8.05,-8.05c4.45,0 8.05,3.6 8.05,8.05z' fill='%23505562' id='svg_1'/%3E%3Cpath d='m4.93,14.16l1.85,-10.45l3.36,0c1.05,0 1.84,0.27 2.37,0.81c0.54,0.53 0.8,1.21 0.8,2.06c0,0.86 -0.24,1.58 -0.73,2.13c-0.47,0.55 -1.12,0.93 -1.95,1.14l-0.48,0.09l-0.53,0.03l-0.6,0.05l-1.79,0l-0.73,4.14l-1.58,0zm2.57,-5.57l1.74,0c0.76,0 1.35,-0.17 1.78,-0.5c0.44,-0.35 0.65,-0.82 0.65,-1.42c0,-0.48 -0.15,-0.85 -0.44,-1.12c-0.3,-0.28 -0.77,-0.42 -1.42,-0.42l-1.7,0l-0.61,3.46z' fill='white' id='svg_2'/%3E%3C/g%3E%3C/svg%3E"
|
|
@@ -654,7 +1420,7 @@
|
|
|
654
1420
|
"constraints": {
|
|
655
1421
|
"notEmpty": true,
|
|
656
1422
|
"pattern": {
|
|
657
|
-
"value": "
|
|
1423
|
+
"value": "^P(?=\\d|T\\d)(?:\\d+Y)?(?:\\d+M)?(?:\\d+W)?(?:\\d+D)?(?:T(?:\\d+H)?(?:\\d+M)?(?:\\d+(?:\\.\\d{1,3})?S)?)$",
|
|
658
1424
|
"message": "value must be defined"
|
|
659
1425
|
}
|
|
660
1426
|
},
|
|
@@ -666,7 +1432,7 @@
|
|
|
666
1432
|
"value": "PT5S",
|
|
667
1433
|
"binding": {
|
|
668
1434
|
"type": "zeebe:property",
|
|
669
|
-
"name": "
|
|
1435
|
+
"name": "processPollingInterval"
|
|
670
1436
|
},
|
|
671
1437
|
"optional": true
|
|
672
1438
|
},
|