@camunda/connectors-element-templates 1.0.5 → 1.0.7

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.
Files changed (85) hide show
  1. package/package.json +1 -1
  2. package/src/build_element_template_array_json_files.sh +9 -0
  3. package/src/connectors.js +4 -2
  4. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +171 -13
  5. package/src/element-templates/agenticai-aiagent-job-worker.json +1618 -0
  6. package/src/element-templates/agenticai-aiagent-outbound-connector.json +3064 -300
  7. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +1 -1
  8. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2 -1
  9. package/src/element-templates/asana-connector.json +8 -8
  10. package/src/element-templates/automation-anywhere-outbound-connector.json +1185 -1179
  11. package/src/element-templates/aws-dynamodb-outbound-connector.json +77 -77
  12. package/src/element-templates/aws-eventbridge-connector-boundary.json +20 -20
  13. package/src/element-templates/aws-eventbridge-connector-intermediate.json +38 -38
  14. package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
  15. package/src/element-templates/aws-eventbridge-connector-start-event.json +18 -15
  16. package/src/element-templates/aws-eventbridge-outbound-connector.json +50 -50
  17. package/src/element-templates/aws-lambda-outbound-connector.json +279 -279
  18. package/src/element-templates/aws-s3-outbound-connector.json +30 -30
  19. package/src/element-templates/aws-sagemaker-outbound-connector.json +50 -50
  20. package/src/element-templates/aws-sns-inbound-boundary.json +486 -486
  21. package/src/element-templates/aws-sns-inbound-intermediate.json +491 -491
  22. package/src/element-templates/aws-sns-inbound-message-start.json +98 -98
  23. package/src/element-templates/aws-sns-inbound-start-event.json +133 -133
  24. package/src/element-templates/aws-sns-outbound-connector.json +423 -423
  25. package/src/element-templates/aws-sqs-boundary-connector.json +58 -58
  26. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +523 -523
  27. package/src/element-templates/aws-sqs-outbound-connector.json +692 -692
  28. package/src/element-templates/aws-sqs-start-event-connector.json +709 -709
  29. package/src/element-templates/aws-sqs-start-message.json +460 -460
  30. package/src/element-templates/azure-blobstorage-outbound-connector.json +1 -1
  31. package/src/element-templates/blue-prism-connector.json +53 -53
  32. package/src/element-templates/csv-outbound-connector.json +804 -0
  33. package/src/element-templates/easy-post-connector.json +151 -151
  34. package/src/element-templates/email-inbound-connector-intermediate.json +19 -19
  35. package/src/element-templates/email-message-start-event-connector.json +19 -19
  36. package/src/element-templates/email-outbound-connector.json +199 -199
  37. package/src/element-templates/embeddings-vector-database-outbound-connector.json +3478 -170
  38. package/src/element-templates/github-connector.json +277 -277
  39. package/src/element-templates/github-webhook-connector-intermediate.json +44 -44
  40. package/src/element-templates/github-webhook-connector-start-event.json +29 -26
  41. package/src/element-templates/gitlab-connector.json +990 -990
  42. package/src/element-templates/google-drive-outbound-connector.json +423 -423
  43. package/src/element-templates/google-gemini-outbound-connector.json +32 -32
  44. package/src/element-templates/google-maps-platform-connector.json +17 -17
  45. package/src/element-templates/google-sheets-outbound-connector.json +2550 -2550
  46. package/src/element-templates/graphql-outbound-connector.json +1179 -1179
  47. package/src/element-templates/http-json-connector.json +2280 -2280
  48. package/src/element-templates/http-polling-boundary-catch-event-connector.json +256 -553
  49. package/src/element-templates/http-polling-connector.json +262 -559
  50. package/src/element-templates/hugging-face-connector.json +34 -34
  51. package/src/element-templates/jdbc-outbound-connector.json +402 -0
  52. package/src/element-templates/kafka-inbound-connector-boundary.json +1052 -1052
  53. package/src/element-templates/kafka-inbound-connector-intermediate.json +1088 -1088
  54. package/src/element-templates/kafka-inbound-connector-start-message.json +112 -112
  55. package/src/element-templates/kafka-inbound-connector.json +3 -0
  56. package/src/element-templates/kafka-outbound-connector.json +617 -617
  57. package/src/element-templates/microsoft-office365-mail-connector.json +32 -32
  58. package/src/element-templates/microsoft-teams-outbound-connector.json +1783 -1783
  59. package/src/element-templates/openai-connector.json +144 -144
  60. package/src/element-templates/operate-connector.json +66 -62
  61. package/src/element-templates/power-automate-connector.json +10 -10
  62. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +439 -439
  63. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +474 -474
  64. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +11 -11
  65. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +597 -597
  66. package/src/element-templates/rabbitmq-outbound-connector.json +622 -622
  67. package/src/element-templates/salesforce-connector.json +44 -44
  68. package/src/element-templates/sendgrid-outbound-connector.json +633 -633
  69. package/src/element-templates/slack-inbound-boundary.json +184 -184
  70. package/src/element-templates/slack-inbound-intermediate.json +168 -168
  71. package/src/element-templates/slack-inbound-message-start.json +201 -201
  72. package/src/element-templates/slack-inbound-start-event.json +320 -317
  73. package/src/element-templates/slack-outbound-connector.json +1185 -1185
  74. package/src/element-templates/twilio-connector.json +26 -26
  75. package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
  76. package/src/element-templates/twilio-webhook-connector.json +3 -0
  77. package/src/element-templates/twilio-webhook-intermediate-connector.json +31 -31
  78. package/src/element-templates/twilio-webhook-message-start-connector.json +8 -8
  79. package/src/element-templates/uipath-connector.json +10 -10
  80. package/src/element-templates/webhook-connector-boundary.json +629 -629
  81. package/src/element-templates/webhook-connector-intermediate.json +268 -268
  82. package/src/element-templates/webhook-connector-start-event.json +1563 -1560
  83. package/src/element-templates/webhook-connector-start-message.json +1258 -1258
  84. package/src/element-templates/whatsapp-connector.json +39 -39
  85. package/src/element-templates/idp-extraction-outbound-connector.json +0 -932
@@ -3,24 +3,21 @@
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
+ "version": 3,
6
7
  "description": "Polls endpoint at regular intervals",
7
- "metadata": {
8
- "keywords": []
8
+ "icon": {
9
+ "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"
9
10
  },
10
11
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/polling/",
11
- "version": 3,
12
12
  "category": {
13
13
  "id": "connectors",
14
14
  "name": "Connectors"
15
15
  },
16
- "appliesTo": ["bpmn:IntermediateCatchEvent"],
16
+ "appliesTo": ["bpmn:IntermediateCatchEvent", "bpmn:IntermediateThrowEvent"],
17
17
  "elementType": {
18
18
  "value": "bpmn:IntermediateCatchEvent",
19
19
  "eventDefinition": "bpmn:MessageEventDefinition"
20
20
  },
21
- "engines": {
22
- "camunda": "^8.3"
23
- },
24
21
  "groups": [
25
22
  {
26
23
  "id": "authentication",
@@ -31,96 +28,56 @@
31
28
  "label": "HTTP Polling configuration"
32
29
  },
33
30
  {
34
- "id": "payload",
31
+ "id": "input",
35
32
  "label": "Payload"
36
33
  },
37
- {
38
- "id": "timeout",
39
- "label": "Connect timeout"
40
- },
41
34
  {
42
35
  "id": "activation",
43
- "label": "Activation"
36
+ "label": "Condition to proceed"
44
37
  },
45
38
  {
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>."
39
+ "id": "timer",
40
+ "label": "Timer"
49
41
  },
50
42
  {
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."
43
+ "id": "timeout",
44
+ "label": "Connect timeout"
54
45
  },
55
46
  {
56
- "id": "output",
57
- "label": "Output mapping"
47
+ "id": "variable-mapping",
48
+ "label": "Response mapping"
58
49
  }
59
50
  ],
60
51
  "properties": [
61
52
  {
53
+ "type": "Hidden",
62
54
  "value": "io.camunda:http-polling:1",
63
55
  "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"
56
+ "type": "zeebe:property",
57
+ "name": "inbound.type"
58
+ }
88
59
  },
89
60
  {
90
- "id": "httpRequestInterval",
91
- "label": "Http request interval",
92
- "feel": "optional",
93
- "binding": {
94
- "name": "httpRequestInterval",
95
- "type": "zeebe:property"
61
+ "type": "Hidden",
62
+ "generatedValue": {
63
+ "type": "uuid"
96
64
  },
97
- "type": "String"
98
- },
99
- {
100
- "id": "processPollingInterval",
101
- "label": "Process polling interval",
102
- "feel": "optional",
103
65
  "binding": {
104
- "name": "processPollingInterval",
105
- "type": "zeebe:property"
106
- },
107
- "type": "String"
66
+ "type": "bpmn:Message#property",
67
+ "name": "name"
68
+ }
108
69
  },
109
70
  {
110
- "id": "authentication.type",
111
71
  "label": "Type",
72
+ "id": "authenticationType",
73
+ "group": "authentication",
112
74
  "description": "Choose the authentication type. Select 'None' if no authentication is necessary",
113
75
  "value": "noAuth",
114
- "group": "authentication",
115
- "binding": {
116
- "name": "authentication.type",
117
- "type": "zeebe:property"
118
- },
119
76
  "type": "Dropdown",
120
77
  "choices": [
121
78
  {
122
- "name": "API key",
123
- "value": "apiKey"
79
+ "name": "None",
80
+ "value": "noAuth"
124
81
  },
125
82
  {
126
83
  "name": "Basic",
@@ -130,241 +87,229 @@
130
87
  "name": "Bearer token",
131
88
  "value": "bearer"
132
89
  },
133
- {
134
- "name": "None",
135
- "value": "noAuth"
136
- },
137
90
  {
138
91
  "name": "OAuth 2.0",
139
92
  "value": "oauth-client-credentials-flow"
140
93
  }
141
- ]
94
+ ],
95
+ "binding": {
96
+ "type": "zeebe:property",
97
+ "name": "authentication.type"
98
+ }
142
99
  },
143
100
  {
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
- },
101
+ "id": "method",
102
+ "label": "Method",
103
+ "group": "endpoint",
162
104
  "type": "Dropdown",
105
+ "value": "get",
163
106
  "choices": [
164
107
  {
165
- "name": "Headers",
166
- "value": "headers"
108
+ "name": "GET",
109
+ "value": "get"
110
+ },
111
+ {
112
+ "name": "POST",
113
+ "value": "post"
114
+ },
115
+ {
116
+ "name": "PATCH",
117
+ "value": "patch"
118
+ },
119
+ {
120
+ "name": "PUT",
121
+ "value": "put"
167
122
  },
168
123
  {
169
- "name": "Query parameters",
170
- "value": "query"
124
+ "name": "DELETE",
125
+ "value": "delete"
171
126
  }
172
- ]
127
+ ],
128
+ "binding": {
129
+ "type": "zeebe:property",
130
+ "name": "method"
131
+ }
173
132
  },
174
133
  {
175
- "id": "authentication.name",
176
- "label": "API key name",
177
- "optional": false,
178
- "constraints": {
179
- "notEmpty": true
180
- },
181
- "group": "authentication",
134
+ "label": "URL",
135
+ "group": "endpoint",
136
+ "type": "String",
137
+ "feel": "optional",
182
138
  "binding": {
183
- "name": "authentication.name",
184
- "type": "zeebe:property"
185
- },
186
- "condition": {
187
- "property": "authentication.type",
188
- "equals": "apiKey",
189
- "type": "simple"
139
+ "type": "zeebe:property",
140
+ "name": "url"
190
141
  },
191
- "type": "String"
142
+ "constraints": {
143
+ "notEmpty": true,
144
+ "pattern": {
145
+ "value": "^(=|(https?://|secrets\\..+|\\{\\{secrets\\..+\\}\\}).*$)",
146
+ "message": "must be a http(s) URL"
147
+ }
148
+ }
192
149
  },
193
150
  {
194
- "id": "authentication.value",
195
- "label": "API key value",
196
- "optional": false,
197
- "constraints": {
198
- "notEmpty": true
199
- },
200
- "group": "authentication",
151
+ "label": "Query parameters",
152
+ "description": "Map of query parameters to add to the request URL",
153
+ "group": "endpoint",
154
+ "type": "Text",
155
+ "feel": "required",
201
156
  "binding": {
202
- "name": "authentication.value",
203
- "type": "zeebe:property"
204
- },
205
- "condition": {
206
- "property": "authentication.type",
207
- "equals": "apiKey",
208
- "type": "simple"
157
+ "type": "zeebe:property",
158
+ "name": "queryParameters"
209
159
  },
210
- "type": "String"
160
+ "optional": true
211
161
  },
212
162
  {
213
- "id": "authentication.username",
214
- "label": "Username",
215
- "optional": false,
216
- "constraints": {
217
- "notEmpty": true
218
- },
219
- "group": "authentication",
163
+ "label": "HTTP headers",
164
+ "description": "Map of HTTP headers to add to the request",
165
+ "group": "endpoint",
166
+ "type": "Text",
167
+ "feel": "required",
220
168
  "binding": {
221
- "name": "authentication.username",
222
- "type": "zeebe:property"
223
- },
224
- "condition": {
225
- "property": "authentication.type",
226
- "equals": "basic",
227
- "type": "simple"
169
+ "type": "zeebe:property",
170
+ "name": "headers"
228
171
  },
229
- "type": "String"
172
+ "optional": true
230
173
  },
231
174
  {
232
- "id": "authentication.password",
233
- "label": "Password",
234
- "optional": false,
175
+ "label": "Interval",
176
+ "description": "The delay between HTTP requests, defined as ISO 8601 durations format. <a href='https://docs.camunda.io/docs/components/modeler/bpmn/timer-events/#time-duration' target='_blank'>How to configure a time duration</a>",
177
+ "group": "endpoint",
178
+ "type": "String",
179
+ "feel": "optional",
180
+ "value": "PT50S",
181
+ "binding": {
182
+ "type": "zeebe:property",
183
+ "name": "httpRequestInterval"
184
+ },
235
185
  "constraints": {
236
- "notEmpty": true
186
+ "notEmpty": true,
187
+ "pattern": {
188
+ "value": "^P(?=\\d|T\\d)(?:\\d+Y)?(?:\\d+M)?(?:\\d+W)?(?:\\d+D)?(?:T(?:\\d+H)?(?:\\d+M)?(?:\\d+(?:\\.\\d{1,3})?S)?)$",
189
+ "message": "value must be defined"
190
+ }
237
191
  },
238
- "group": "authentication",
192
+ "optional": false
193
+ },
194
+ {
195
+ "group": "endpoint",
196
+ "type": "Hidden",
197
+ "value": "PT5S",
239
198
  "binding": {
240
- "name": "authentication.password",
241
- "type": "zeebe:property"
242
- },
243
- "condition": {
244
- "property": "authentication.type",
245
- "equals": "basic",
246
- "type": "simple"
199
+ "type": "zeebe:property",
200
+ "name": "processPollingInterval"
247
201
  },
248
- "type": "String"
202
+ "optional": true
249
203
  },
250
204
  {
251
- "id": "authentication.token",
252
205
  "label": "Bearer token",
253
- "optional": false,
254
- "constraints": {
255
- "notEmpty": true
256
- },
257
206
  "group": "authentication",
207
+ "type": "String",
208
+ "feel": "optional",
258
209
  "binding": {
259
- "name": "authentication.token",
260
- "type": "zeebe:property"
210
+ "type": "zeebe:property",
211
+ "name": "authentication.token"
261
212
  },
262
- "condition": {
263
- "property": "authentication.type",
264
- "equals": "bearer",
265
- "type": "simple"
213
+ "constraints": {
214
+ "notEmpty": true
266
215
  },
267
- "type": "String"
216
+ "condition": {
217
+ "property": "authenticationType",
218
+ "equals": "bearer"
219
+ }
268
220
  },
269
221
  {
270
- "id": "authentication.oauthTokenEndpoint",
271
- "label": "OAuth 2.0 token endpoint",
222
+ "label": "OAuth token endpoint",
272
223
  "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
224
  "group": "authentication",
225
+ "type": "String",
226
+ "feel": "optional",
282
227
  "binding": {
283
- "name": "authentication.oauthTokenEndpoint",
284
- "type": "zeebe:property"
228
+ "type": "zeebe:property",
229
+ "name": "authentication.oauthTokenEndpoint"
285
230
  },
286
- "condition": {
287
- "property": "authentication.type",
288
- "equals": "oauth-client-credentials-flow",
289
- "type": "simple"
231
+ "constraints": {
232
+ "notEmpty": true
290
233
  },
291
- "type": "String"
234
+ "condition": {
235
+ "property": "authenticationType",
236
+ "equals": "oauth-client-credentials-flow"
237
+ }
292
238
  },
293
239
  {
294
- "id": "authentication.clientId",
295
240
  "label": "Client ID",
296
241
  "description": "Your application's client ID from the OAuth client",
297
- "optional": false,
298
- "constraints": {
299
- "notEmpty": true
300
- },
301
242
  "group": "authentication",
243
+ "type": "String",
244
+ "feel": "optional",
302
245
  "binding": {
303
- "name": "authentication.clientId",
304
- "type": "zeebe:property"
246
+ "type": "zeebe:property",
247
+ "name": "authentication.clientId"
305
248
  },
306
- "condition": {
307
- "property": "authentication.type",
308
- "equals": "oauth-client-credentials-flow",
309
- "type": "simple"
249
+ "constraints": {
250
+ "notEmpty": true
310
251
  },
311
- "type": "String"
252
+ "condition": {
253
+ "property": "authenticationType",
254
+ "equals": "oauth-client-credentials-flow"
255
+ }
312
256
  },
313
257
  {
314
- "id": "authentication.clientSecret",
315
258
  "label": "Client secret",
316
259
  "description": "Your application's client secret from the OAuth client",
317
- "optional": false,
260
+ "group": "authentication",
261
+ "type": "String",
262
+ "feel": "optional",
263
+ "binding": {
264
+ "type": "zeebe:property",
265
+ "name": "authentication.clientSecret"
266
+ },
318
267
  "constraints": {
319
268
  "notEmpty": true
320
269
  },
270
+ "condition": {
271
+ "property": "authenticationType",
272
+ "equals": "oauth-client-credentials-flow"
273
+ }
274
+ },
275
+ {
276
+ "label": "Scopes",
277
+ "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
321
278
  "group": "authentication",
279
+ "type": "String",
280
+ "feel": "optional",
281
+ "optional": true,
322
282
  "binding": {
323
- "name": "authentication.clientSecret",
324
- "type": "zeebe:property"
283
+ "type": "zeebe:property",
284
+ "name": "authentication.scopes"
325
285
  },
326
286
  "condition": {
327
- "property": "authentication.type",
328
- "equals": "oauth-client-credentials-flow",
329
- "type": "simple"
330
- },
331
- "type": "String"
287
+ "property": "authenticationType",
288
+ "equals": "oauth-client-credentials-flow"
289
+ }
332
290
  },
333
291
  {
334
- "id": "authentication.audience",
335
292
  "label": "Audience",
336
293
  "description": "The unique identifier of the target API you want to access",
337
- "optional": true,
338
294
  "group": "authentication",
295
+ "type": "String",
296
+ "feel": "optional",
297
+ "optional": true,
339
298
  "binding": {
340
- "name": "authentication.audience",
341
- "type": "zeebe:property"
299
+ "type": "zeebe:property",
300
+ "name": "authentication.audience"
342
301
  },
343
302
  "condition": {
344
- "property": "authentication.type",
345
- "equals": "oauth-client-credentials-flow",
346
- "type": "simple"
347
- },
348
- "type": "String"
303
+ "property": "authenticationType",
304
+ "equals": "oauth-client-credentials-flow"
305
+ }
349
306
  },
350
307
  {
351
- "id": "authentication.clientAuthentication",
352
308
  "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
- },
309
+ "id": "authentication.clientAuthentication",
358
310
  "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
- },
311
+ "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
312
+ "value": "basicAuthHeader",
368
313
  "type": "Dropdown",
369
314
  "choices": [
370
315
  {
@@ -375,401 +320,159 @@
375
320
  "name": "Send as Basic Auth header",
376
321
  "value": "basicAuthHeader"
377
322
  }
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",
323
+ ],
386
324
  "binding": {
387
- "name": "authentication.scopes",
388
- "type": "zeebe:property"
325
+ "type": "zeebe:property",
326
+ "name": "authentication.clientAuthentication"
389
327
  },
390
328
  "condition": {
391
- "property": "authentication.type",
392
- "equals": "oauth-client-credentials-flow",
393
- "type": "simple"
394
- },
395
- "type": "String"
329
+ "property": "authenticationType",
330
+ "equals": "oauth-client-credentials-flow"
331
+ }
396
332
  },
397
333
  {
398
- "id": "method",
399
- "label": "Method",
400
- "optional": false,
401
- "value": "GET",
402
- "constraints": {
403
- "notEmpty": true
404
- },
405
- "group": "endpoint",
334
+ "label": "Username",
335
+ "group": "authentication",
336
+ "type": "String",
337
+ "feel": "optional",
406
338
  "binding": {
407
- "name": "method",
408
- "type": "zeebe:property"
339
+ "type": "zeebe:property",
340
+ "name": "authentication.username"
409
341
  },
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
342
  "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"
343
+ "notEmpty": true
475
344
  },
476
- "type": "String"
345
+ "condition": {
346
+ "property": "authenticationType",
347
+ "equals": "basic"
348
+ }
477
349
  },
478
350
  {
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",
351
+ "label": "Password",
352
+ "group": "authentication",
353
+ "type": "String",
354
+ "feel": "optional",
486
355
  "binding": {
487
- "name": "storeResponse",
488
- "type": "zeebe:property"
356
+ "type": "zeebe:property",
357
+ "name": "authentication.password"
489
358
  },
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"
359
+ "constraints": {
360
+ "notEmpty": true
501
361
  },
502
- "type": "Hidden"
362
+ "condition": {
363
+ "property": "authenticationType",
364
+ "equals": "basic"
365
+ }
503
366
  },
504
367
  {
505
- "id": "body",
506
368
  "label": "Request body",
507
369
  "description": "Payload to send with the request",
508
- "optional": true,
370
+ "group": "input",
371
+ "type": "Text",
509
372
  "feel": "optional",
510
- "group": "payload",
511
373
  "binding": {
512
- "name": "body",
513
- "type": "zeebe:property"
374
+ "type": "zeebe:property",
375
+ "name": "body"
514
376
  },
515
377
  "condition": {
516
378
  "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"
379
+ "oneOf": ["post", "put", "patch"]
573
380
  },
574
- "type": "String"
381
+ "optional": true
575
382
  },
576
383
  {
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",
384
+ "label": "Correlation key (process)",
385
+ "type": "String",
582
386
  "group": "activation",
387
+ "feel": "required",
388
+ "description": "Sets up the correlation key from process variables",
583
389
  "binding": {
584
- "name": "activationCondition",
585
- "type": "zeebe:property"
390
+ "type": "bpmn:Message#zeebe:subscription#property",
391
+ "name": "correlationKey"
586
392
  },
587
- "type": "String"
393
+ "constraints": {
394
+ "notEmpty": true
395
+ }
588
396
  },
589
397
  {
590
- "id": "consumeUnmatchedEvents",
591
- "label": "Consume unmatched events",
592
- "value": true,
398
+ "label": "Correlation key (payload)",
399
+ "type": "String",
593
400
  "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
401
  "feel": "required",
609
- "group": "correlation",
610
402
  "binding": {
611
- "name": "correlationKey",
612
- "type": "bpmn:Message#zeebe:subscription#property"
403
+ "type": "zeebe:property",
404
+ "name": "correlationKeyExpression"
613
405
  },
614
- "type": "String"
615
- },
616
- {
617
- "id": "correlationKeyPayload",
618
- "label": "Correlation key (payload)",
619
406
  "description": "Extracts the correlation key from the incoming message payload",
620
407
  "constraints": {
621
408
  "notEmpty": true
622
- },
623
- "feel": "required",
624
- "group": "correlation",
625
- "binding": {
626
- "name": "correlationKeyExpression",
627
- "type": "zeebe:property"
628
- },
629
- "type": "String"
409
+ }
630
410
  },
631
411
  {
632
- "id": "messageIdExpression",
633
- "label": "Message ID expression",
634
- "description": "Expression to extract unique identifier of a message",
635
- "optional": true,
412
+ "label": "Condition",
413
+ "type": "String",
414
+ "group": "activation",
636
415
  "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
416
  "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
417
  "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"
418
+ "type": "zeebe:property",
419
+ "name": "activationCondition"
673
420
  },
674
- "type": "Hidden"
421
+ "description": "Condition under which the connector triggers. Leave empty to catch all events. <a href='https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/#make-your-http-webhook-connector-for-receiving-messages-executable' target='_blank'>See documentation</a>"
675
422
  },
676
423
  {
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",
424
+ "label": "Connection timeout",
425
+ "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
426
+ "group": "endpoint",
427
+ "type": "String",
428
+ "value": "20",
682
429
  "binding": {
683
- "name": "deduplicationModeManualFlag",
684
- "type": "zeebe:property"
430
+ "type": "zeebe:property",
431
+ "name": "connectionTimeoutInSeconds"
685
432
  },
686
- "type": "Boolean"
687
- },
688
- {
689
- "id": "deduplicationId",
690
- "label": "Deduplication ID",
433
+ "optional": true,
434
+ "feel": "optional",
691
435
  "constraints": {
692
- "notEmpty": true,
436
+ "notEmpty": false,
693
437
  "pattern": {
694
- "value": "^[a-zA-Z0-9_-]+$",
695
- "message": "can only contain alphanumeric characters, dashes, and underscores"
438
+ "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
439
+ "message": "must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
696
440
  }
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"
441
+ }
739
442
  },
740
443
  {
741
- "id": "resultVariable",
742
444
  "label": "Result variable",
743
- "description": "Name of variable to store the response in",
744
- "group": "output",
445
+ "type": "String",
446
+ "group": "variable-mapping",
447
+ "optional": true,
745
448
  "binding": {
746
- "name": "resultVariable",
747
- "type": "zeebe:property"
449
+ "type": "zeebe:property",
450
+ "name": "resultVariable"
748
451
  },
749
- "type": "String"
452
+ "description": "Name of variable to store the result of the connector in"
750
453
  },
751
454
  {
752
- "id": "resultExpression",
753
455
  "label": "Result expression",
754
- "description": "Expression to map the response into process variables",
456
+ "type": "String",
457
+ "group": "variable-mapping",
755
458
  "feel": "required",
756
- "group": "output",
459
+ "optional": true,
757
460
  "binding": {
758
- "name": "resultExpression",
759
- "type": "zeebe:property"
461
+ "type": "zeebe:property",
462
+ "name": "resultExpression"
760
463
  },
761
- "type": "Text"
464
+ "description": "Expression to map the inbound payload to process variables"
762
465
  }
763
466
  ],
764
- "icon": {
765
- "contents": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJz8+Cjxzdmcgd2lkdGg9JzE4JyBoZWlnaHQ9JzE4JyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnPgogICAgPGcgY2xhc3M9J2xheWVyJz4KICAgICAgICA8dGl0bGU+TGF5ZXIgMTwvdGl0bGU+CiAgICAgICAgPHBhdGggZD0nbTE3LjAzLDljMCw0LjQ1IC0zLjYsOC4wNSAtOC4wNSw4LjA1Yy00LjQ1LDAgLTguMDUsLTMuNiAtOC4wNSwtOC4wNWMwLC00LjQ1IDMuNiwtOC4wNSA4LjA1LC04LjA1YzQuNDUsMCA4LjA1LDMuNiA4LjA1LDguMDV6JwogICAgICAgICAgICAgIGZpbGw9JyM1MDU1NjInIGlkPSdzdmdfMScvPgogICAgICAgIDxwYXRoIGQ9J200LjkzLDE0LjE2bDEuODUsLTEwLjQ1bDMuMzYsMGMxLjA1LDAgMS44NCwwLjI3IDIuMzcsMC44MWMwLjU0LDAuNTMgMC44LDEuMjEgMC44LDIuMDZjMCwwLjg2IC0wLjI0LDEuNTggLTAuNzMsMi4xM2MtMC40NywwLjU1IC0xLjEyLDAuOTMgLTEuOTUsMS4xNGwtMC40OCwwLjA5bC0wLjUzLDAuMDNsLTAuNiwwLjA1bC0xLjc5LDBsLTAuNzMsNC4xNGwtMS41OCwwem0yLjU3LC01LjU3bDEuNzQsMGMwLjc2LDAgMS4zNSwtMC4xNyAxLjc4LC0wLjVjMC40NCwtMC4zNSAwLjY1LC0wLjgyIDAuNjUsLTEuNDJjMCwtMC40OCAtMC4xNSwtMC44NSAtMC40NCwtMS4xMmMtMC4zLC0wLjI4IC0wLjc3LC0wLjQyIC0xLjQyLC0wLjQybC0xLjcsMGwtMC42MSwzLjQ2eicKICAgICAgICAgICAgICBmaWxsPSd3aGl0ZScgaWQ9J3N2Z18yJy8+CiAgICA8L2c+Cjwvc3ZnPg=="
467
+ "engines": {
468
+ "camunda": "^8.3"
766
469
  }
767
470
  },
768
471
  {
769
472
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
770
473
  "name": "HTTP Polling Intermediate Catch Event Connector",
771
474
  "id": "io.camunda.connectors.http.Polling",
772
- "version": 2,
475
+ "version": 1,
773
476
  "description": "Polls endpoint at regular intervals",
774
477
  "icon": {
775
478
  "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"
@@ -951,7 +654,7 @@
951
654
  "constraints": {
952
655
  "notEmpty": true,
953
656
  "pattern": {
954
- "value": "^P(?=\\d|T\\d)(?:\\d+Y)?(?:\\d+M)?(?:\\d+W)?(?:\\d+D)?(?:T(?:\\d+H)?(?:\\d+M)?(?:\\d+(?:\\.\\d{1,3})?S)?)$",
657
+ "value": "^=|P(?=\\d|T\\d)(?:\\d+Y)?(?:\\d+M)?(?:\\d+W)?(?:\\d+D)?(?:T(?:\\d+H)?(?:\\d+M)?(?:\\d+(?:\\.\\d{1,3})?S)?)$",
955
658
  "message": "value must be defined"
956
659
  }
957
660
  },
@@ -963,7 +666,7 @@
963
666
  "value": "PT5S",
964
667
  "binding": {
965
668
  "type": "zeebe:property",
966
- "name": "processPollingInterval"
669
+ "name": "operatePollingInterval"
967
670
  },
968
671
  "optional": true
969
672
  },
@@ -1238,7 +941,7 @@
1238
941
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1239
942
  "name": "HTTP Polling Intermediate Catch Event Connector",
1240
943
  "id": "io.camunda.connectors.http.Polling",
1241
- "version": 1,
944
+ "version": 2,
1242
945
  "description": "Polls endpoint at regular intervals",
1243
946
  "icon": {
1244
947
  "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"
@@ -1420,7 +1123,7 @@
1420
1123
  "constraints": {
1421
1124
  "notEmpty": true,
1422
1125
  "pattern": {
1423
- "value": "^=|P(?=\\d|T\\d)(?:\\d+Y)?(?:\\d+M)?(?:\\d+W)?(?:\\d+D)?(?:T(?:\\d+H)?(?:\\d+M)?(?:\\d+(?:\\.\\d{1,3})?S)?)$",
1126
+ "value": "^P(?=\\d|T\\d)(?:\\d+Y)?(?:\\d+M)?(?:\\d+W)?(?:\\d+D)?(?:T(?:\\d+H)?(?:\\d+M)?(?:\\d+(?:\\.\\d{1,3})?S)?)$",
1424
1127
  "message": "value must be defined"
1425
1128
  }
1426
1129
  },
@@ -1432,7 +1135,7 @@
1432
1135
  "value": "PT5S",
1433
1136
  "binding": {
1434
1137
  "type": "zeebe:property",
1435
- "name": "operatePollingInterval"
1138
+ "name": "processPollingInterval"
1436
1139
  },
1437
1140
  "optional": true
1438
1141
  },