@camunda/connectors-element-templates 1.0.16 → 1.0.17
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 -0
- package/src/element-templates/agenticai-a2a-client-outbound-connector.json +1 -0
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +3 -2
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +3 -2
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +3 -2
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +3 -2
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +30 -30
- package/src/element-templates/agenticai-aiagent-job-worker.json +163 -163
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +2144 -2144
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +467 -466
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +482 -481
- package/src/element-templates/automation-anywhere-outbound-connector.json +613 -613
- package/src/element-templates/aws-bedrock-outbound-connector.json +74 -74
- package/src/element-templates/aws-dynamodb-outbound-connector.json +80 -80
- package/src/element-templates/aws-eventbridge-connector-boundary.json +26 -26
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +22 -22
- package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
- package/src/element-templates/aws-eventbridge-connector-start-event.json +26 -26
- package/src/element-templates/aws-eventbridge-outbound-connector.json +188 -188
- package/src/element-templates/aws-lambda-outbound-connector.json +238 -238
- package/src/element-templates/aws-sns-inbound-boundary.json +193 -193
- package/src/element-templates/aws-sns-inbound-intermediate.json +332 -332
- package/src/element-templates/aws-sns-inbound-message-start.json +110 -110
- package/src/element-templates/aws-sns-outbound-connector.json +741 -741
- package/src/element-templates/aws-sqs-boundary-connector.json +232 -232
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +493 -493
- package/src/element-templates/aws-sqs-outbound-connector.json +753 -753
- package/src/element-templates/aws-sqs-start-event-connector.json +483 -483
- package/src/element-templates/aws-sqs-start-message.json +438 -438
- package/src/element-templates/aws-textract-outbound-connector.json +123 -123
- package/src/element-templates/azure-open-ai-connector.json +32 -32
- package/src/element-templates/blue-prism-connector.json +6 -6
- package/src/element-templates/easy-post-connector.json +114 -114
- package/src/element-templates/email-inbound-connector-boundary.json +19 -19
- package/src/element-templates/email-inbound-connector-intermediate.json +19 -19
- package/src/element-templates/email-message-start-event-connector.json +32 -32
- package/src/element-templates/email-outbound-connector.json +233 -233
- package/src/element-templates/github-connector.json +11435 -7908
- package/src/element-templates/github-webhook-connector-boundary.json +16 -16
- package/src/element-templates/github-webhook-connector-intermediate.json +25 -25
- package/src/element-templates/github-webhook-connector-start-event.json +64 -64
- package/src/element-templates/gitlab-connector.json +3394 -3394
- package/src/element-templates/google-drive-outbound-connector.json +420 -420
- package/src/element-templates/google-maps-platform-connector.json +14 -14
- package/src/element-templates/google-sheets-outbound-connector.json +1055 -1055
- package/src/element-templates/graphql-outbound-connector.json +1341 -763
- package/src/element-templates/http-connector.json.json +654 -0
- package/src/element-templates/http-json-connector.json +1489 -1475
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +801 -136
- package/src/element-templates/http-polling-connector.json +1604 -939
- package/src/element-templates/hugging-face-connector.json +196 -0
- package/src/element-templates/kafka-inbound-connector-boundary.json +483 -483
- package/src/element-templates/kafka-inbound-connector-intermediate.json +466 -466
- package/src/element-templates/kafka-inbound-connector-start-message.json +529 -529
- package/src/element-templates/kafka-outbound-connector.json +360 -360
- package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +147 -7
- package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +147 -7
- package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +160 -20
- package/src/element-templates/microsoft-teams-outbound-connector.json +1892 -47
- package/src/element-templates/openai-connector.json +83 -83
- package/src/element-templates/operate-connector.json +21 -21
- package/src/element-templates/power-automate-connector.json +4 -4
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +422 -422
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +338 -338
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +463 -463
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +360 -360
- package/src/element-templates/rabbitmq-outbound-connector.json +354 -354
- package/src/element-templates/salesforce-connector.json +38 -38
- package/src/element-templates/sendgrid-outbound-connector.json +354 -354
- package/src/element-templates/slack-inbound-boundary.json +253 -253
- package/src/element-templates/slack-inbound-message-start.json +321 -321
- package/src/element-templates/slack-inbound-start-event.json +327 -327
- package/src/element-templates/slack-outbound-connector.json +1203 -507
- package/src/element-templates/twilio-connector.json +65 -65
- package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
- package/src/element-templates/twilio-webhook-intermediate-connector.json +25 -25
- package/src/element-templates/uipath-connector.json +10 -10
- package/src/element-templates/webhook-connector-boundary.json +1192 -547
- package/src/element-templates/webhook-connector-intermediate.json +1258 -613
- package/src/element-templates/webhook-connector-receive.json +644 -0
- package/src/element-templates/webhook-connector-start-event.json +1690 -1136
- package/src/element-templates/webhook-connector-start-message.json +1601 -924
|
@@ -178,11 +178,11 @@
|
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
181
|
-
"name": "REST
|
|
181
|
+
"name": "REST Connector",
|
|
182
182
|
"id": "io.camunda.connectors.HttpJson.v2",
|
|
183
183
|
"description": "Invoke REST API",
|
|
184
184
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
|
|
185
|
-
"version":
|
|
185
|
+
"version": 3,
|
|
186
186
|
"category": {
|
|
187
187
|
"id": "connectors",
|
|
188
188
|
"name": "Connectors"
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
},
|
|
199
199
|
{
|
|
200
200
|
"id": "endpoint",
|
|
201
|
-
"label": "HTTP
|
|
201
|
+
"label": "HTTP Endpoint"
|
|
202
202
|
},
|
|
203
203
|
{
|
|
204
204
|
"id": "timeout",
|
|
@@ -225,8 +225,8 @@
|
|
|
225
225
|
{
|
|
226
226
|
"value": "io.camunda:http-json:1",
|
|
227
227
|
"binding": {
|
|
228
|
-
"
|
|
229
|
-
"
|
|
228
|
+
"type": "zeebe:taskDefinition",
|
|
229
|
+
"property": "type"
|
|
230
230
|
},
|
|
231
231
|
"type": "Hidden"
|
|
232
232
|
},
|
|
@@ -242,10 +242,6 @@
|
|
|
242
242
|
},
|
|
243
243
|
"type": "Dropdown",
|
|
244
244
|
"choices": [
|
|
245
|
-
{
|
|
246
|
-
"name": "API key",
|
|
247
|
-
"value": "apiKey"
|
|
248
|
-
},
|
|
249
245
|
{
|
|
250
246
|
"name": "Basic",
|
|
251
247
|
"value": "basic"
|
|
@@ -264,77 +260,6 @@
|
|
|
264
260
|
}
|
|
265
261
|
]
|
|
266
262
|
},
|
|
267
|
-
{
|
|
268
|
-
"id": "authentication.apiKeyLocation",
|
|
269
|
-
"label": "Api key location",
|
|
270
|
-
"description": "Choose type: Send API key in header or as query parameter.",
|
|
271
|
-
"optional": false,
|
|
272
|
-
"value": "headers",
|
|
273
|
-
"constraints": {
|
|
274
|
-
"notEmpty": true
|
|
275
|
-
},
|
|
276
|
-
"group": "authentication",
|
|
277
|
-
"binding": {
|
|
278
|
-
"name": "authentication.apiKeyLocation",
|
|
279
|
-
"type": "zeebe:input"
|
|
280
|
-
},
|
|
281
|
-
"condition": {
|
|
282
|
-
"property": "authentication.type",
|
|
283
|
-
"equals": "apiKey",
|
|
284
|
-
"type": "simple"
|
|
285
|
-
},
|
|
286
|
-
"type": "Dropdown",
|
|
287
|
-
"choices": [
|
|
288
|
-
{
|
|
289
|
-
"name": "Headers",
|
|
290
|
-
"value": "headers"
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
"name": "Query parameters",
|
|
294
|
-
"value": "query"
|
|
295
|
-
}
|
|
296
|
-
]
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
"id": "authentication.name",
|
|
300
|
-
"label": "API key name",
|
|
301
|
-
"optional": false,
|
|
302
|
-
"constraints": {
|
|
303
|
-
"notEmpty": true
|
|
304
|
-
},
|
|
305
|
-
"feel": "optional",
|
|
306
|
-
"group": "authentication",
|
|
307
|
-
"binding": {
|
|
308
|
-
"name": "authentication.name",
|
|
309
|
-
"type": "zeebe:input"
|
|
310
|
-
},
|
|
311
|
-
"condition": {
|
|
312
|
-
"property": "authentication.type",
|
|
313
|
-
"equals": "apiKey",
|
|
314
|
-
"type": "simple"
|
|
315
|
-
},
|
|
316
|
-
"type": "String"
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
"id": "authentication.value",
|
|
320
|
-
"label": "API key value",
|
|
321
|
-
"optional": false,
|
|
322
|
-
"constraints": {
|
|
323
|
-
"notEmpty": true
|
|
324
|
-
},
|
|
325
|
-
"feel": "optional",
|
|
326
|
-
"group": "authentication",
|
|
327
|
-
"binding": {
|
|
328
|
-
"name": "authentication.value",
|
|
329
|
-
"type": "zeebe:input"
|
|
330
|
-
},
|
|
331
|
-
"condition": {
|
|
332
|
-
"property": "authentication.type",
|
|
333
|
-
"equals": "apiKey",
|
|
334
|
-
"type": "simple"
|
|
335
|
-
},
|
|
336
|
-
"type": "String"
|
|
337
|
-
},
|
|
338
263
|
{
|
|
339
264
|
"id": "authentication.username",
|
|
340
265
|
"label": "Username",
|
|
@@ -350,8 +275,7 @@
|
|
|
350
275
|
},
|
|
351
276
|
"condition": {
|
|
352
277
|
"property": "authentication.type",
|
|
353
|
-
"equals": "basic"
|
|
354
|
-
"type": "simple"
|
|
278
|
+
"equals": "basic"
|
|
355
279
|
},
|
|
356
280
|
"type": "String"
|
|
357
281
|
},
|
|
@@ -370,8 +294,7 @@
|
|
|
370
294
|
},
|
|
371
295
|
"condition": {
|
|
372
296
|
"property": "authentication.type",
|
|
373
|
-
"equals": "basic"
|
|
374
|
-
"type": "simple"
|
|
297
|
+
"equals": "basic"
|
|
375
298
|
},
|
|
376
299
|
"type": "String"
|
|
377
300
|
},
|
|
@@ -390,22 +313,17 @@
|
|
|
390
313
|
},
|
|
391
314
|
"condition": {
|
|
392
315
|
"property": "authentication.type",
|
|
393
|
-
"equals": "bearer"
|
|
394
|
-
"type": "simple"
|
|
316
|
+
"equals": "bearer"
|
|
395
317
|
},
|
|
396
318
|
"type": "String"
|
|
397
319
|
},
|
|
398
320
|
{
|
|
399
321
|
"id": "authentication.oauthTokenEndpoint",
|
|
400
|
-
"label": "
|
|
322
|
+
"label": "Oauth token endpoint",
|
|
401
323
|
"description": "The OAuth token endpoint",
|
|
402
324
|
"optional": false,
|
|
403
325
|
"constraints": {
|
|
404
|
-
"notEmpty": true
|
|
405
|
-
"pattern": {
|
|
406
|
-
"value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
|
|
407
|
-
"message": "Must be a http(s) URL"
|
|
408
|
-
}
|
|
326
|
+
"notEmpty": true
|
|
409
327
|
},
|
|
410
328
|
"feel": "optional",
|
|
411
329
|
"group": "authentication",
|
|
@@ -415,14 +333,13 @@
|
|
|
415
333
|
},
|
|
416
334
|
"condition": {
|
|
417
335
|
"property": "authentication.type",
|
|
418
|
-
"equals": "oauth-client-credentials-flow"
|
|
419
|
-
"type": "simple"
|
|
336
|
+
"equals": "oauth-client-credentials-flow"
|
|
420
337
|
},
|
|
421
338
|
"type": "String"
|
|
422
339
|
},
|
|
423
340
|
{
|
|
424
341
|
"id": "authentication.clientId",
|
|
425
|
-
"label": "Client
|
|
342
|
+
"label": "Client id",
|
|
426
343
|
"description": "Your application's client ID from the OAuth client",
|
|
427
344
|
"optional": false,
|
|
428
345
|
"constraints": {
|
|
@@ -436,8 +353,7 @@
|
|
|
436
353
|
},
|
|
437
354
|
"condition": {
|
|
438
355
|
"property": "authentication.type",
|
|
439
|
-
"equals": "oauth-client-credentials-flow"
|
|
440
|
-
"type": "simple"
|
|
356
|
+
"equals": "oauth-client-credentials-flow"
|
|
441
357
|
},
|
|
442
358
|
"type": "String"
|
|
443
359
|
},
|
|
@@ -457,8 +373,7 @@
|
|
|
457
373
|
},
|
|
458
374
|
"condition": {
|
|
459
375
|
"property": "authentication.type",
|
|
460
|
-
"equals": "oauth-client-credentials-flow"
|
|
461
|
-
"type": "simple"
|
|
376
|
+
"equals": "oauth-client-credentials-flow"
|
|
462
377
|
},
|
|
463
378
|
"type": "String"
|
|
464
379
|
},
|
|
@@ -475,8 +390,7 @@
|
|
|
475
390
|
},
|
|
476
391
|
"condition": {
|
|
477
392
|
"property": "authentication.type",
|
|
478
|
-
"equals": "oauth-client-credentials-flow"
|
|
479
|
-
"type": "simple"
|
|
393
|
+
"equals": "oauth-client-credentials-flow"
|
|
480
394
|
},
|
|
481
395
|
"type": "String"
|
|
482
396
|
},
|
|
@@ -495,8 +409,7 @@
|
|
|
495
409
|
},
|
|
496
410
|
"condition": {
|
|
497
411
|
"property": "authentication.type",
|
|
498
|
-
"equals": "oauth-client-credentials-flow"
|
|
499
|
-
"type": "simple"
|
|
412
|
+
"equals": "oauth-client-credentials-flow"
|
|
500
413
|
},
|
|
501
414
|
"type": "Dropdown",
|
|
502
415
|
"choices": [
|
|
@@ -523,8 +436,7 @@
|
|
|
523
436
|
},
|
|
524
437
|
"condition": {
|
|
525
438
|
"property": "authentication.type",
|
|
526
|
-
"equals": "oauth-client-credentials-flow"
|
|
527
|
-
"type": "simple"
|
|
439
|
+
"equals": "oauth-client-credentials-flow"
|
|
528
440
|
},
|
|
529
441
|
"type": "String"
|
|
530
442
|
},
|
|
@@ -613,16 +525,9 @@
|
|
|
613
525
|
{
|
|
614
526
|
"id": "connectionTimeoutInSeconds",
|
|
615
527
|
"label": "Connection timeout in seconds",
|
|
616
|
-
"description": "
|
|
617
|
-
"optional":
|
|
528
|
+
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
529
|
+
"optional": true,
|
|
618
530
|
"value": "20",
|
|
619
|
-
"constraints": {
|
|
620
|
-
"notEmpty": true,
|
|
621
|
-
"pattern": {
|
|
622
|
-
"value": "^\\d+$",
|
|
623
|
-
"message": "Must be a number"
|
|
624
|
-
}
|
|
625
|
-
},
|
|
626
531
|
"feel": "optional",
|
|
627
532
|
"group": "timeout",
|
|
628
533
|
"binding": {
|
|
@@ -631,27 +536,6 @@
|
|
|
631
536
|
},
|
|
632
537
|
"type": "String"
|
|
633
538
|
},
|
|
634
|
-
{
|
|
635
|
-
"id": "readTimeoutInSeconds",
|
|
636
|
-
"label": "Read timeout in seconds",
|
|
637
|
-
"description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
|
|
638
|
-
"optional": false,
|
|
639
|
-
"value": "20",
|
|
640
|
-
"constraints": {
|
|
641
|
-
"notEmpty": true,
|
|
642
|
-
"pattern": {
|
|
643
|
-
"value": "^\\d+$",
|
|
644
|
-
"message": "Must be a number"
|
|
645
|
-
}
|
|
646
|
-
},
|
|
647
|
-
"feel": "optional",
|
|
648
|
-
"group": "timeout",
|
|
649
|
-
"binding": {
|
|
650
|
-
"name": "readTimeoutInSeconds",
|
|
651
|
-
"type": "zeebe:input"
|
|
652
|
-
},
|
|
653
|
-
"type": "String"
|
|
654
|
-
},
|
|
655
539
|
{
|
|
656
540
|
"id": "body",
|
|
657
541
|
"label": "Request body",
|
|
@@ -665,8 +549,7 @@
|
|
|
665
549
|
},
|
|
666
550
|
"condition": {
|
|
667
551
|
"property": "method",
|
|
668
|
-
"oneOf": ["POST", "PUT", "PATCH"]
|
|
669
|
-
"type": "simple"
|
|
552
|
+
"oneOf": ["POST", "PUT", "PATCH"]
|
|
670
553
|
},
|
|
671
554
|
"type": "Text"
|
|
672
555
|
},
|
|
@@ -705,38 +588,24 @@
|
|
|
705
588
|
},
|
|
706
589
|
"type": "Text"
|
|
707
590
|
},
|
|
708
|
-
{
|
|
709
|
-
"id": "retryCount",
|
|
710
|
-
"label": "Retries",
|
|
711
|
-
"description": "Number of retries",
|
|
712
|
-
"value": "3",
|
|
713
|
-
"feel": "optional",
|
|
714
|
-
"group": "retries",
|
|
715
|
-
"binding": {
|
|
716
|
-
"property": "retries",
|
|
717
|
-
"type": "zeebe:taskDefinition"
|
|
718
|
-
},
|
|
719
|
-
"type": "String"
|
|
720
|
-
},
|
|
721
591
|
{
|
|
722
592
|
"id": "retryBackoff",
|
|
723
593
|
"label": "Retry backoff",
|
|
724
594
|
"description": "ISO-8601 duration to wait between retries",
|
|
725
595
|
"value": "PT0S",
|
|
726
|
-
"feel": "optional",
|
|
727
596
|
"group": "retries",
|
|
728
597
|
"binding": {
|
|
729
598
|
"key": "retryBackoff",
|
|
730
599
|
"type": "zeebe:taskHeader"
|
|
731
600
|
},
|
|
732
|
-
"type": "
|
|
601
|
+
"type": "Hidden"
|
|
733
602
|
}
|
|
734
603
|
],
|
|
735
604
|
"icon": {
|
|
736
605
|
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
|
|
737
606
|
},
|
|
738
607
|
"engines": {
|
|
739
|
-
"camunda": "^8.
|
|
608
|
+
"camunda": "^8.2"
|
|
740
609
|
}
|
|
741
610
|
},
|
|
742
611
|
{
|
|
@@ -1177,7 +1046,7 @@
|
|
|
1177
1046
|
"id": "io.camunda.connectors.HttpJson.v2",
|
|
1178
1047
|
"description": "Invoke REST API",
|
|
1179
1048
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
|
|
1180
|
-
"version":
|
|
1049
|
+
"version": 7,
|
|
1181
1050
|
"category": {
|
|
1182
1051
|
"id": "connectors",
|
|
1183
1052
|
"name": "Connectors"
|
|
@@ -1193,7 +1062,7 @@
|
|
|
1193
1062
|
},
|
|
1194
1063
|
{
|
|
1195
1064
|
"id": "endpoint",
|
|
1196
|
-
"label": "HTTP
|
|
1065
|
+
"label": "HTTP endpoint"
|
|
1197
1066
|
},
|
|
1198
1067
|
{
|
|
1199
1068
|
"id": "timeout",
|
|
@@ -1220,8 +1089,8 @@
|
|
|
1220
1089
|
{
|
|
1221
1090
|
"value": "io.camunda:http-json:1",
|
|
1222
1091
|
"binding": {
|
|
1223
|
-
"
|
|
1224
|
-
"
|
|
1092
|
+
"property": "type",
|
|
1093
|
+
"type": "zeebe:taskDefinition"
|
|
1225
1094
|
},
|
|
1226
1095
|
"type": "Hidden"
|
|
1227
1096
|
},
|
|
@@ -1261,7 +1130,7 @@
|
|
|
1261
1130
|
},
|
|
1262
1131
|
{
|
|
1263
1132
|
"id": "authentication.apiKeyLocation",
|
|
1264
|
-
"label": "
|
|
1133
|
+
"label": "Api key location",
|
|
1265
1134
|
"description": "Choose type: Send API key in header or as query parameter.",
|
|
1266
1135
|
"optional": false,
|
|
1267
1136
|
"value": "headers",
|
|
@@ -1392,11 +1261,15 @@
|
|
|
1392
1261
|
},
|
|
1393
1262
|
{
|
|
1394
1263
|
"id": "authentication.oauthTokenEndpoint",
|
|
1395
|
-
"label": "OAuth token endpoint",
|
|
1264
|
+
"label": "OAuth 2.0 token endpoint",
|
|
1396
1265
|
"description": "The OAuth token endpoint",
|
|
1397
1266
|
"optional": false,
|
|
1398
1267
|
"constraints": {
|
|
1399
|
-
"notEmpty": true
|
|
1268
|
+
"notEmpty": true,
|
|
1269
|
+
"pattern": {
|
|
1270
|
+
"value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
|
|
1271
|
+
"message": "Must be a http(s) URL"
|
|
1272
|
+
}
|
|
1400
1273
|
},
|
|
1401
1274
|
"feel": "optional",
|
|
1402
1275
|
"group": "authentication",
|
|
@@ -1604,9 +1477,12 @@
|
|
|
1604
1477
|
{
|
|
1605
1478
|
"id": "connectionTimeoutInSeconds",
|
|
1606
1479
|
"label": "Connection timeout in seconds",
|
|
1607
|
-
"description": "
|
|
1608
|
-
"optional":
|
|
1480
|
+
"description": "Defines the connection timeout in seconds, or 0 for an infinite timeout",
|
|
1481
|
+
"optional": false,
|
|
1609
1482
|
"value": "20",
|
|
1483
|
+
"constraints": {
|
|
1484
|
+
"notEmpty": true
|
|
1485
|
+
},
|
|
1610
1486
|
"feel": "optional",
|
|
1611
1487
|
"group": "timeout",
|
|
1612
1488
|
"binding": {
|
|
@@ -1615,6 +1491,45 @@
|
|
|
1615
1491
|
},
|
|
1616
1492
|
"type": "String"
|
|
1617
1493
|
},
|
|
1494
|
+
{
|
|
1495
|
+
"id": "readTimeoutInSeconds",
|
|
1496
|
+
"label": "Read timeout in seconds",
|
|
1497
|
+
"description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
|
|
1498
|
+
"optional": false,
|
|
1499
|
+
"value": "20",
|
|
1500
|
+
"constraints": {
|
|
1501
|
+
"notEmpty": true
|
|
1502
|
+
},
|
|
1503
|
+
"feel": "optional",
|
|
1504
|
+
"group": "timeout",
|
|
1505
|
+
"binding": {
|
|
1506
|
+
"name": "readTimeoutInSeconds",
|
|
1507
|
+
"type": "zeebe:input"
|
|
1508
|
+
},
|
|
1509
|
+
"type": "String"
|
|
1510
|
+
},
|
|
1511
|
+
{
|
|
1512
|
+
"id": "writeTimeoutInSeconds",
|
|
1513
|
+
"label": "Write timeout in seconds",
|
|
1514
|
+
"description": "Timeout in seconds to set data or 0 for an infinite timeout",
|
|
1515
|
+
"optional": false,
|
|
1516
|
+
"value": "0",
|
|
1517
|
+
"constraints": {
|
|
1518
|
+
"notEmpty": true
|
|
1519
|
+
},
|
|
1520
|
+
"feel": "optional",
|
|
1521
|
+
"group": "timeout",
|
|
1522
|
+
"binding": {
|
|
1523
|
+
"name": "writeTimeoutInSeconds",
|
|
1524
|
+
"type": "zeebe:input"
|
|
1525
|
+
},
|
|
1526
|
+
"condition": {
|
|
1527
|
+
"property": "method",
|
|
1528
|
+
"oneOf": ["POST", "PUT", "PATCH"],
|
|
1529
|
+
"type": "simple"
|
|
1530
|
+
},
|
|
1531
|
+
"type": "String"
|
|
1532
|
+
},
|
|
1618
1533
|
{
|
|
1619
1534
|
"id": "body",
|
|
1620
1535
|
"label": "Request body",
|
|
@@ -1668,39 +1583,53 @@
|
|
|
1668
1583
|
},
|
|
1669
1584
|
"type": "Text"
|
|
1670
1585
|
},
|
|
1586
|
+
{
|
|
1587
|
+
"id": "retryCount",
|
|
1588
|
+
"label": "Retries",
|
|
1589
|
+
"description": "Number of retries",
|
|
1590
|
+
"value": "3",
|
|
1591
|
+
"feel": "optional",
|
|
1592
|
+
"group": "retries",
|
|
1593
|
+
"binding": {
|
|
1594
|
+
"property": "retries",
|
|
1595
|
+
"type": "zeebe:taskDefinition"
|
|
1596
|
+
},
|
|
1597
|
+
"type": "String"
|
|
1598
|
+
},
|
|
1671
1599
|
{
|
|
1672
1600
|
"id": "retryBackoff",
|
|
1673
1601
|
"label": "Retry backoff",
|
|
1674
1602
|
"description": "ISO-8601 duration to wait between retries",
|
|
1675
1603
|
"value": "PT0S",
|
|
1604
|
+
"feel": "optional",
|
|
1676
1605
|
"group": "retries",
|
|
1677
1606
|
"binding": {
|
|
1678
1607
|
"key": "retryBackoff",
|
|
1679
1608
|
"type": "zeebe:taskHeader"
|
|
1680
1609
|
},
|
|
1681
|
-
"type": "
|
|
1610
|
+
"type": "String"
|
|
1682
1611
|
}
|
|
1683
1612
|
],
|
|
1684
1613
|
"icon": {
|
|
1685
1614
|
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
|
|
1686
1615
|
},
|
|
1687
1616
|
"engines": {
|
|
1688
|
-
"camunda": "^8.
|
|
1617
|
+
"camunda": "^8.5"
|
|
1689
1618
|
}
|
|
1690
1619
|
},
|
|
1691
1620
|
{
|
|
1692
1621
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1693
|
-
"name": "REST
|
|
1694
|
-
"id": "io.camunda.connectors.HttpJson.
|
|
1622
|
+
"name": "REST Connector (Basic Auth)",
|
|
1623
|
+
"id": "io.camunda.connectors.HttpJson.v1.basicAuth",
|
|
1624
|
+
"description": "[Deprecated] Replace with 'REST Connector' template.",
|
|
1625
|
+
"documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/protocol/rest/",
|
|
1695
1626
|
"deprecated": {
|
|
1696
1627
|
"message": "Replace with 'REST Connector' template.",
|
|
1697
1628
|
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
1698
1629
|
},
|
|
1699
|
-
"description": "Invoke REST API",
|
|
1700
1630
|
"icon": {
|
|
1701
|
-
"contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20viewBox%3D%
|
|
1631
|
+
"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"
|
|
1702
1632
|
},
|
|
1703
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/rest/",
|
|
1704
1633
|
"category": {
|
|
1705
1634
|
"id": "connectors",
|
|
1706
1635
|
"name": "Connectors"
|
|
@@ -1710,29 +1639,21 @@
|
|
|
1710
1639
|
"value": "bpmn:ServiceTask"
|
|
1711
1640
|
},
|
|
1712
1641
|
"groups": [
|
|
1713
|
-
{
|
|
1714
|
-
"id": "authentication",
|
|
1715
|
-
"label": "Authentication"
|
|
1716
|
-
},
|
|
1717
1642
|
{
|
|
1718
1643
|
"id": "endpoint",
|
|
1719
|
-
"label": "HTTP
|
|
1644
|
+
"label": "HTTP Endpoint"
|
|
1720
1645
|
},
|
|
1721
1646
|
{
|
|
1722
1647
|
"id": "input",
|
|
1723
1648
|
"label": "Payload"
|
|
1724
1649
|
},
|
|
1725
1650
|
{
|
|
1726
|
-
"id": "
|
|
1727
|
-
"label": "
|
|
1651
|
+
"id": "authentication",
|
|
1652
|
+
"label": "Authentication"
|
|
1728
1653
|
},
|
|
1729
1654
|
{
|
|
1730
1655
|
"id": "output",
|
|
1731
|
-
"label": "Response
|
|
1732
|
-
},
|
|
1733
|
-
{
|
|
1734
|
-
"id": "errors",
|
|
1735
|
-
"label": "Error handling"
|
|
1656
|
+
"label": "Response Mapping"
|
|
1736
1657
|
}
|
|
1737
1658
|
],
|
|
1738
1659
|
"properties": [
|
|
@@ -1745,37 +1666,6 @@
|
|
|
1745
1666
|
}
|
|
1746
1667
|
},
|
|
1747
1668
|
{
|
|
1748
|
-
"label": "Type",
|
|
1749
|
-
"id": "authenticationType",
|
|
1750
|
-
"group": "authentication",
|
|
1751
|
-
"description": "Choose the authentication type. Select 'None' if no authentication is necessary",
|
|
1752
|
-
"value": "noAuth",
|
|
1753
|
-
"type": "Dropdown",
|
|
1754
|
-
"choices": [
|
|
1755
|
-
{
|
|
1756
|
-
"name": "None",
|
|
1757
|
-
"value": "noAuth"
|
|
1758
|
-
},
|
|
1759
|
-
{
|
|
1760
|
-
"name": "Basic",
|
|
1761
|
-
"value": "basic"
|
|
1762
|
-
},
|
|
1763
|
-
{
|
|
1764
|
-
"name": "Bearer token",
|
|
1765
|
-
"value": "bearer"
|
|
1766
|
-
},
|
|
1767
|
-
{
|
|
1768
|
-
"name": "OAuth 2.0",
|
|
1769
|
-
"value": "oauth-client-credentials-flow"
|
|
1770
|
-
}
|
|
1771
|
-
],
|
|
1772
|
-
"binding": {
|
|
1773
|
-
"type": "zeebe:input",
|
|
1774
|
-
"name": "authentication.type"
|
|
1775
|
-
}
|
|
1776
|
-
},
|
|
1777
|
-
{
|
|
1778
|
-
"id": "method",
|
|
1779
1669
|
"label": "Method",
|
|
1780
1670
|
"group": "endpoint",
|
|
1781
1671
|
"type": "Dropdown",
|
|
@@ -1819,13 +1709,13 @@
|
|
|
1819
1709
|
"constraints": {
|
|
1820
1710
|
"notEmpty": true,
|
|
1821
1711
|
"pattern": {
|
|
1822
|
-
"value": "^(=|
|
|
1712
|
+
"value": "^(=|https?://).*",
|
|
1823
1713
|
"message": "Must be a http(s) URL."
|
|
1824
1714
|
}
|
|
1825
1715
|
}
|
|
1826
1716
|
},
|
|
1827
1717
|
{
|
|
1828
|
-
"label": "Query
|
|
1718
|
+
"label": "Query Parameters",
|
|
1829
1719
|
"description": "Map of query parameters to add to the request URL",
|
|
1830
1720
|
"group": "endpoint",
|
|
1831
1721
|
"type": "Text",
|
|
@@ -1837,7 +1727,7 @@
|
|
|
1837
1727
|
"optional": true
|
|
1838
1728
|
},
|
|
1839
1729
|
{
|
|
1840
|
-
"label": "HTTP
|
|
1730
|
+
"label": "HTTP Headers",
|
|
1841
1731
|
"description": "Map of HTTP headers to add to the request",
|
|
1842
1732
|
"group": "endpoint",
|
|
1843
1733
|
"type": "Text",
|
|
@@ -1849,132 +1739,11 @@
|
|
|
1849
1739
|
"optional": true
|
|
1850
1740
|
},
|
|
1851
1741
|
{
|
|
1852
|
-
"
|
|
1853
|
-
"
|
|
1854
|
-
"type": "String",
|
|
1855
|
-
"feel": "optional",
|
|
1856
|
-
"binding": {
|
|
1857
|
-
"type": "zeebe:input",
|
|
1858
|
-
"name": "authentication.token"
|
|
1859
|
-
},
|
|
1860
|
-
"constraints": {
|
|
1861
|
-
"notEmpty": true
|
|
1862
|
-
},
|
|
1863
|
-
"condition": {
|
|
1864
|
-
"property": "authenticationType",
|
|
1865
|
-
"equals": "bearer"
|
|
1866
|
-
}
|
|
1867
|
-
},
|
|
1868
|
-
{
|
|
1869
|
-
"label": "OAuth token endpoint",
|
|
1870
|
-
"description": "The OAuth token endpoint",
|
|
1871
|
-
"group": "authentication",
|
|
1872
|
-
"type": "String",
|
|
1873
|
-
"feel": "optional",
|
|
1874
|
-
"binding": {
|
|
1875
|
-
"type": "zeebe:input",
|
|
1876
|
-
"name": "authentication.oauthTokenEndpoint"
|
|
1877
|
-
},
|
|
1878
|
-
"constraints": {
|
|
1879
|
-
"notEmpty": true
|
|
1880
|
-
},
|
|
1881
|
-
"condition": {
|
|
1882
|
-
"property": "authenticationType",
|
|
1883
|
-
"equals": "oauth-client-credentials-flow"
|
|
1884
|
-
}
|
|
1885
|
-
},
|
|
1886
|
-
{
|
|
1887
|
-
"label": "Client ID",
|
|
1888
|
-
"description": "Your application's client ID from the OAuth client",
|
|
1889
|
-
"group": "authentication",
|
|
1890
|
-
"type": "String",
|
|
1891
|
-
"feel": "optional",
|
|
1892
|
-
"binding": {
|
|
1893
|
-
"type": "zeebe:input",
|
|
1894
|
-
"name": "authentication.clientId"
|
|
1895
|
-
},
|
|
1896
|
-
"constraints": {
|
|
1897
|
-
"notEmpty": true
|
|
1898
|
-
},
|
|
1899
|
-
"condition": {
|
|
1900
|
-
"property": "authenticationType",
|
|
1901
|
-
"equals": "oauth-client-credentials-flow"
|
|
1902
|
-
}
|
|
1903
|
-
},
|
|
1904
|
-
{
|
|
1905
|
-
"label": "Client secret",
|
|
1906
|
-
"description": "Your application's client secret from the OAuth client",
|
|
1907
|
-
"group": "authentication",
|
|
1908
|
-
"type": "String",
|
|
1909
|
-
"feel": "optional",
|
|
1910
|
-
"binding": {
|
|
1911
|
-
"type": "zeebe:input",
|
|
1912
|
-
"name": "authentication.clientSecret"
|
|
1913
|
-
},
|
|
1914
|
-
"constraints": {
|
|
1915
|
-
"notEmpty": true
|
|
1916
|
-
},
|
|
1917
|
-
"condition": {
|
|
1918
|
-
"property": "authenticationType",
|
|
1919
|
-
"equals": "oauth-client-credentials-flow"
|
|
1920
|
-
}
|
|
1921
|
-
},
|
|
1922
|
-
{
|
|
1923
|
-
"label": "Scopes",
|
|
1924
|
-
"description": "The scopes which you want to request authorization for (e.g.read:contacts)",
|
|
1925
|
-
"group": "authentication",
|
|
1926
|
-
"type": "String",
|
|
1927
|
-
"feel": "optional",
|
|
1928
|
-
"optional": true,
|
|
1929
|
-
"binding": {
|
|
1930
|
-
"type": "zeebe:input",
|
|
1931
|
-
"name": "authentication.scopes"
|
|
1932
|
-
},
|
|
1933
|
-
"condition": {
|
|
1934
|
-
"property": "authenticationType",
|
|
1935
|
-
"equals": "oauth-client-credentials-flow"
|
|
1936
|
-
}
|
|
1937
|
-
},
|
|
1938
|
-
{
|
|
1939
|
-
"label": "Audience",
|
|
1940
|
-
"description": "The unique identifier of the target API you want to access",
|
|
1941
|
-
"group": "authentication",
|
|
1942
|
-
"type": "String",
|
|
1943
|
-
"feel": "optional",
|
|
1944
|
-
"optional": true,
|
|
1945
|
-
"binding": {
|
|
1946
|
-
"type": "zeebe:input",
|
|
1947
|
-
"name": "authentication.audience"
|
|
1948
|
-
},
|
|
1949
|
-
"condition": {
|
|
1950
|
-
"property": "authenticationType",
|
|
1951
|
-
"equals": "oauth-client-credentials-flow"
|
|
1952
|
-
}
|
|
1953
|
-
},
|
|
1954
|
-
{
|
|
1955
|
-
"label": "Client authentication",
|
|
1956
|
-
"id": "authentication.clientAuthentication",
|
|
1957
|
-
"group": "authentication",
|
|
1958
|
-
"description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
|
|
1959
|
-
"value": "basicAuthHeader",
|
|
1960
|
-
"type": "Dropdown",
|
|
1961
|
-
"choices": [
|
|
1962
|
-
{
|
|
1963
|
-
"name": "Send client credentials in body",
|
|
1964
|
-
"value": "credentialsBody"
|
|
1965
|
-
},
|
|
1966
|
-
{
|
|
1967
|
-
"name": "Send as Basic Auth header",
|
|
1968
|
-
"value": "basicAuthHeader"
|
|
1969
|
-
}
|
|
1970
|
-
],
|
|
1742
|
+
"type": "Hidden",
|
|
1743
|
+
"value": "basic",
|
|
1971
1744
|
"binding": {
|
|
1972
1745
|
"type": "zeebe:input",
|
|
1973
|
-
"name": "authentication.
|
|
1974
|
-
},
|
|
1975
|
-
"condition": {
|
|
1976
|
-
"property": "authenticationType",
|
|
1977
|
-
"equals": "oauth-client-credentials-flow"
|
|
1746
|
+
"name": "authentication.type"
|
|
1978
1747
|
}
|
|
1979
1748
|
},
|
|
1980
1749
|
{
|
|
@@ -1988,10 +1757,6 @@
|
|
|
1988
1757
|
},
|
|
1989
1758
|
"constraints": {
|
|
1990
1759
|
"notEmpty": true
|
|
1991
|
-
},
|
|
1992
|
-
"condition": {
|
|
1993
|
-
"property": "authenticationType",
|
|
1994
|
-
"equals": "basic"
|
|
1995
1760
|
}
|
|
1996
1761
|
},
|
|
1997
1762
|
{
|
|
@@ -2005,51 +1770,23 @@
|
|
|
2005
1770
|
},
|
|
2006
1771
|
"constraints": {
|
|
2007
1772
|
"notEmpty": true
|
|
2008
|
-
},
|
|
2009
|
-
"condition": {
|
|
2010
|
-
"property": "authenticationType",
|
|
2011
|
-
"equals": "basic"
|
|
2012
|
-
}
|
|
2013
|
-
},
|
|
2014
|
-
{
|
|
2015
|
-
"label": "Connection timeout",
|
|
2016
|
-
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
2017
|
-
"group": "timeout",
|
|
2018
|
-
"type": "String",
|
|
2019
|
-
"value": "20",
|
|
2020
|
-
"binding": {
|
|
2021
|
-
"type": "zeebe:input",
|
|
2022
|
-
"name": "connectionTimeoutInSeconds"
|
|
2023
|
-
},
|
|
2024
|
-
"optional": true,
|
|
2025
|
-
"feel": "optional",
|
|
2026
|
-
"constraints": {
|
|
2027
|
-
"notEmpty": false,
|
|
2028
|
-
"pattern": {
|
|
2029
|
-
"value": "^(=|([0-9]+|secrets\\..+)$)",
|
|
2030
|
-
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
2031
|
-
}
|
|
2032
1773
|
}
|
|
2033
1774
|
},
|
|
2034
1775
|
{
|
|
2035
|
-
"label": "Request
|
|
2036
|
-
"description": "
|
|
1776
|
+
"label": "Request Body",
|
|
1777
|
+
"description": "JSON payload to send with the request",
|
|
2037
1778
|
"group": "input",
|
|
2038
1779
|
"type": "Text",
|
|
2039
|
-
"feel": "
|
|
1780
|
+
"feel": "required",
|
|
2040
1781
|
"binding": {
|
|
2041
1782
|
"type": "zeebe:input",
|
|
2042
1783
|
"name": "body"
|
|
2043
1784
|
},
|
|
2044
|
-
"condition": {
|
|
2045
|
-
"property": "method",
|
|
2046
|
-
"oneOf": ["post", "put", "patch", "delete"]
|
|
2047
|
-
},
|
|
2048
1785
|
"optional": true
|
|
2049
1786
|
},
|
|
2050
1787
|
{
|
|
2051
|
-
"label": "Result
|
|
2052
|
-
"description": "Name of variable to store the response in
|
|
1788
|
+
"label": "Result Variable",
|
|
1789
|
+
"description": "Name of variable to store the response in",
|
|
2053
1790
|
"group": "output",
|
|
2054
1791
|
"type": "String",
|
|
2055
1792
|
"binding": {
|
|
@@ -2058,8 +1795,8 @@
|
|
|
2058
1795
|
}
|
|
2059
1796
|
},
|
|
2060
1797
|
{
|
|
2061
|
-
"label": "Result
|
|
2062
|
-
"description": "Expression to map the response into process variables
|
|
1798
|
+
"label": "Result Expression",
|
|
1799
|
+
"description": "Expression to map the response into process variables",
|
|
2063
1800
|
"group": "output",
|
|
2064
1801
|
"type": "Text",
|
|
2065
1802
|
"feel": "required",
|
|
@@ -2067,33 +1804,19 @@
|
|
|
2067
1804
|
"type": "zeebe:taskHeader",
|
|
2068
1805
|
"key": "resultExpression"
|
|
2069
1806
|
}
|
|
2070
|
-
},
|
|
2071
|
-
{
|
|
2072
|
-
"label": "Error expression",
|
|
2073
|
-
"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>",
|
|
2074
|
-
"group": "errors",
|
|
2075
|
-
"type": "Text",
|
|
2076
|
-
"feel": "required",
|
|
2077
|
-
"binding": {
|
|
2078
|
-
"type": "zeebe:taskHeader",
|
|
2079
|
-
"key": "errorExpression"
|
|
2080
|
-
}
|
|
2081
1807
|
}
|
|
2082
1808
|
]
|
|
2083
1809
|
},
|
|
2084
1810
|
{
|
|
2085
1811
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
2086
|
-
"name": "REST Connector
|
|
2087
|
-
"id": "io.camunda.connectors.HttpJson.
|
|
2088
|
-
"description": "
|
|
2089
|
-
"
|
|
2090
|
-
|
|
2091
|
-
"message": "Replace with 'REST Connector' template.",
|
|
2092
|
-
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
2093
|
-
},
|
|
2094
|
-
"icon": {
|
|
2095
|
-
"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"
|
|
1812
|
+
"name": "REST Outbound Connector",
|
|
1813
|
+
"id": "io.camunda.connectors.HttpJson.v2",
|
|
1814
|
+
"description": "Invoke REST API",
|
|
1815
|
+
"metadata": {
|
|
1816
|
+
"keywords": []
|
|
2096
1817
|
},
|
|
1818
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
|
|
1819
|
+
"version": 10,
|
|
2097
1820
|
"category": {
|
|
2098
1821
|
"id": "connectors",
|
|
2099
1822
|
"name": "Connectors"
|
|
@@ -2102,566 +1825,577 @@
|
|
|
2102
1825
|
"elementType": {
|
|
2103
1826
|
"value": "bpmn:ServiceTask"
|
|
2104
1827
|
},
|
|
1828
|
+
"engines": {
|
|
1829
|
+
"camunda": "^8.3"
|
|
1830
|
+
},
|
|
2105
1831
|
"groups": [
|
|
1832
|
+
{
|
|
1833
|
+
"id": "authentication",
|
|
1834
|
+
"label": "Authentication"
|
|
1835
|
+
},
|
|
2106
1836
|
{
|
|
2107
1837
|
"id": "endpoint",
|
|
2108
|
-
"label": "HTTP
|
|
1838
|
+
"label": "HTTP endpoint"
|
|
2109
1839
|
},
|
|
2110
1840
|
{
|
|
2111
|
-
"id": "
|
|
2112
|
-
"label": "
|
|
1841
|
+
"id": "timeout",
|
|
1842
|
+
"label": "Connection timeout"
|
|
2113
1843
|
},
|
|
2114
1844
|
{
|
|
2115
|
-
"id": "
|
|
2116
|
-
"label": "
|
|
1845
|
+
"id": "payload",
|
|
1846
|
+
"label": "Payload"
|
|
2117
1847
|
},
|
|
2118
1848
|
{
|
|
2119
1849
|
"id": "output",
|
|
2120
|
-
"label": "
|
|
1850
|
+
"label": "Output mapping"
|
|
1851
|
+
},
|
|
1852
|
+
{
|
|
1853
|
+
"id": "error",
|
|
1854
|
+
"label": "Error handling"
|
|
1855
|
+
},
|
|
1856
|
+
{
|
|
1857
|
+
"id": "retries",
|
|
1858
|
+
"label": "Retries"
|
|
2121
1859
|
}
|
|
2122
1860
|
],
|
|
2123
1861
|
"properties": [
|
|
2124
1862
|
{
|
|
2125
|
-
"type": "Hidden",
|
|
2126
1863
|
"value": "io.camunda:http-json:1",
|
|
2127
1864
|
"binding": {
|
|
2128
|
-
"
|
|
2129
|
-
"
|
|
2130
|
-
}
|
|
1865
|
+
"property": "type",
|
|
1866
|
+
"type": "zeebe:taskDefinition"
|
|
1867
|
+
},
|
|
1868
|
+
"type": "Hidden"
|
|
2131
1869
|
},
|
|
2132
1870
|
{
|
|
2133
|
-
"
|
|
2134
|
-
"
|
|
1871
|
+
"id": "authentication.type",
|
|
1872
|
+
"label": "Type",
|
|
1873
|
+
"description": "Choose the authentication type. Select 'None' if no authentication is necessary",
|
|
1874
|
+
"value": "noAuth",
|
|
1875
|
+
"group": "authentication",
|
|
1876
|
+
"binding": {
|
|
1877
|
+
"name": "authentication.type",
|
|
1878
|
+
"type": "zeebe:input"
|
|
1879
|
+
},
|
|
2135
1880
|
"type": "Dropdown",
|
|
2136
|
-
"value": "get",
|
|
2137
1881
|
"choices": [
|
|
2138
1882
|
{
|
|
2139
|
-
"name": "
|
|
2140
|
-
"value": "
|
|
1883
|
+
"name": "API key",
|
|
1884
|
+
"value": "apiKey"
|
|
2141
1885
|
},
|
|
2142
1886
|
{
|
|
2143
|
-
"name": "
|
|
2144
|
-
"value": "
|
|
1887
|
+
"name": "Basic",
|
|
1888
|
+
"value": "basic"
|
|
2145
1889
|
},
|
|
2146
1890
|
{
|
|
2147
|
-
"name": "
|
|
2148
|
-
"value": "
|
|
1891
|
+
"name": "Bearer token",
|
|
1892
|
+
"value": "bearer"
|
|
2149
1893
|
},
|
|
2150
1894
|
{
|
|
2151
|
-
"name": "
|
|
2152
|
-
"value": "
|
|
1895
|
+
"name": "None",
|
|
1896
|
+
"value": "noAuth"
|
|
2153
1897
|
},
|
|
2154
1898
|
{
|
|
2155
|
-
"name": "
|
|
2156
|
-
"value": "
|
|
1899
|
+
"name": "OAuth 2.0",
|
|
1900
|
+
"value": "oauth-client-credentials-flow"
|
|
2157
1901
|
}
|
|
2158
|
-
]
|
|
2159
|
-
"binding": {
|
|
2160
|
-
"type": "zeebe:input",
|
|
2161
|
-
"name": "method"
|
|
2162
|
-
}
|
|
1902
|
+
]
|
|
2163
1903
|
},
|
|
2164
1904
|
{
|
|
2165
|
-
"
|
|
2166
|
-
"
|
|
2167
|
-
"
|
|
2168
|
-
"
|
|
1905
|
+
"id": "authentication.apiKeyLocation",
|
|
1906
|
+
"label": "Api key location",
|
|
1907
|
+
"description": "Choose type: Send API key in header or as query parameter.",
|
|
1908
|
+
"optional": false,
|
|
1909
|
+
"value": "headers",
|
|
1910
|
+
"constraints": {
|
|
1911
|
+
"notEmpty": true
|
|
1912
|
+
},
|
|
1913
|
+
"group": "authentication",
|
|
2169
1914
|
"binding": {
|
|
2170
|
-
"
|
|
2171
|
-
"
|
|
1915
|
+
"name": "authentication.apiKeyLocation",
|
|
1916
|
+
"type": "zeebe:input"
|
|
2172
1917
|
},
|
|
2173
|
-
"
|
|
2174
|
-
"
|
|
2175
|
-
"
|
|
2176
|
-
|
|
2177
|
-
|
|
1918
|
+
"condition": {
|
|
1919
|
+
"property": "authentication.type",
|
|
1920
|
+
"equals": "apiKey",
|
|
1921
|
+
"type": "simple"
|
|
1922
|
+
},
|
|
1923
|
+
"type": "Dropdown",
|
|
1924
|
+
"choices": [
|
|
1925
|
+
{
|
|
1926
|
+
"name": "Headers",
|
|
1927
|
+
"value": "headers"
|
|
1928
|
+
},
|
|
1929
|
+
{
|
|
1930
|
+
"name": "Query parameters",
|
|
1931
|
+
"value": "query"
|
|
2178
1932
|
}
|
|
2179
|
-
|
|
1933
|
+
]
|
|
2180
1934
|
},
|
|
2181
1935
|
{
|
|
2182
|
-
"
|
|
2183
|
-
"
|
|
2184
|
-
"
|
|
2185
|
-
"
|
|
2186
|
-
|
|
2187
|
-
"binding": {
|
|
2188
|
-
"type": "zeebe:input",
|
|
2189
|
-
"name": "queryParameters"
|
|
1936
|
+
"id": "authentication.name",
|
|
1937
|
+
"label": "API key name",
|
|
1938
|
+
"optional": false,
|
|
1939
|
+
"constraints": {
|
|
1940
|
+
"notEmpty": true
|
|
2190
1941
|
},
|
|
2191
|
-
"
|
|
2192
|
-
|
|
2193
|
-
{
|
|
2194
|
-
"label": "HTTP Headers",
|
|
2195
|
-
"description": "Map of HTTP headers to add to the request",
|
|
2196
|
-
"group": "endpoint",
|
|
2197
|
-
"type": "Text",
|
|
2198
|
-
"feel": "required",
|
|
1942
|
+
"feel": "optional",
|
|
1943
|
+
"group": "authentication",
|
|
2199
1944
|
"binding": {
|
|
2200
|
-
"
|
|
2201
|
-
"
|
|
1945
|
+
"name": "authentication.name",
|
|
1946
|
+
"type": "zeebe:input"
|
|
2202
1947
|
},
|
|
2203
|
-
"
|
|
1948
|
+
"condition": {
|
|
1949
|
+
"property": "authentication.type",
|
|
1950
|
+
"equals": "apiKey",
|
|
1951
|
+
"type": "simple"
|
|
1952
|
+
},
|
|
1953
|
+
"type": "String"
|
|
2204
1954
|
},
|
|
2205
1955
|
{
|
|
2206
|
-
"
|
|
2207
|
-
"
|
|
1956
|
+
"id": "authentication.value",
|
|
1957
|
+
"label": "API key value",
|
|
1958
|
+
"optional": false,
|
|
1959
|
+
"constraints": {
|
|
1960
|
+
"notEmpty": true
|
|
1961
|
+
},
|
|
1962
|
+
"feel": "optional",
|
|
1963
|
+
"group": "authentication",
|
|
2208
1964
|
"binding": {
|
|
2209
|
-
"
|
|
2210
|
-
"
|
|
2211
|
-
}
|
|
1965
|
+
"name": "authentication.value",
|
|
1966
|
+
"type": "zeebe:input"
|
|
1967
|
+
},
|
|
1968
|
+
"condition": {
|
|
1969
|
+
"property": "authentication.type",
|
|
1970
|
+
"equals": "apiKey",
|
|
1971
|
+
"type": "simple"
|
|
1972
|
+
},
|
|
1973
|
+
"type": "String"
|
|
2212
1974
|
},
|
|
2213
1975
|
{
|
|
1976
|
+
"id": "authentication.username",
|
|
2214
1977
|
"label": "Username",
|
|
2215
|
-
"
|
|
2216
|
-
"
|
|
1978
|
+
"optional": false,
|
|
1979
|
+
"constraints": {
|
|
1980
|
+
"notEmpty": true
|
|
1981
|
+
},
|
|
2217
1982
|
"feel": "optional",
|
|
1983
|
+
"group": "authentication",
|
|
2218
1984
|
"binding": {
|
|
2219
|
-
"
|
|
2220
|
-
"
|
|
1985
|
+
"name": "authentication.username",
|
|
1986
|
+
"type": "zeebe:input"
|
|
2221
1987
|
},
|
|
2222
|
-
"
|
|
2223
|
-
"
|
|
2224
|
-
|
|
1988
|
+
"condition": {
|
|
1989
|
+
"property": "authentication.type",
|
|
1990
|
+
"equals": "basic",
|
|
1991
|
+
"type": "simple"
|
|
1992
|
+
},
|
|
1993
|
+
"type": "String"
|
|
2225
1994
|
},
|
|
2226
1995
|
{
|
|
1996
|
+
"id": "authentication.password",
|
|
2227
1997
|
"label": "Password",
|
|
2228
|
-
"
|
|
2229
|
-
"type": "String",
|
|
2230
|
-
"feel": "optional",
|
|
2231
|
-
"binding": {
|
|
2232
|
-
"type": "zeebe:input",
|
|
2233
|
-
"name": "authentication.password"
|
|
2234
|
-
},
|
|
1998
|
+
"optional": false,
|
|
2235
1999
|
"constraints": {
|
|
2236
2000
|
"notEmpty": true
|
|
2237
|
-
}
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
"label": "Request Body",
|
|
2241
|
-
"description": "JSON payload to send with the request",
|
|
2242
|
-
"group": "input",
|
|
2243
|
-
"type": "Text",
|
|
2244
|
-
"feel": "required",
|
|
2001
|
+
},
|
|
2002
|
+
"feel": "optional",
|
|
2003
|
+
"group": "authentication",
|
|
2245
2004
|
"binding": {
|
|
2246
|
-
"
|
|
2247
|
-
"
|
|
2005
|
+
"name": "authentication.password",
|
|
2006
|
+
"type": "zeebe:input"
|
|
2248
2007
|
},
|
|
2249
|
-
"
|
|
2008
|
+
"condition": {
|
|
2009
|
+
"property": "authentication.type",
|
|
2010
|
+
"equals": "basic",
|
|
2011
|
+
"type": "simple"
|
|
2012
|
+
},
|
|
2013
|
+
"type": "String"
|
|
2250
2014
|
},
|
|
2251
2015
|
{
|
|
2252
|
-
"
|
|
2253
|
-
"
|
|
2254
|
-
"
|
|
2255
|
-
"
|
|
2016
|
+
"id": "authentication.token",
|
|
2017
|
+
"label": "Bearer token",
|
|
2018
|
+
"optional": false,
|
|
2019
|
+
"constraints": {
|
|
2020
|
+
"notEmpty": true
|
|
2021
|
+
},
|
|
2022
|
+
"feel": "optional",
|
|
2023
|
+
"group": "authentication",
|
|
2256
2024
|
"binding": {
|
|
2257
|
-
"
|
|
2258
|
-
"
|
|
2259
|
-
}
|
|
2025
|
+
"name": "authentication.token",
|
|
2026
|
+
"type": "zeebe:input"
|
|
2027
|
+
},
|
|
2028
|
+
"condition": {
|
|
2029
|
+
"property": "authentication.type",
|
|
2030
|
+
"equals": "bearer",
|
|
2031
|
+
"type": "simple"
|
|
2032
|
+
},
|
|
2033
|
+
"type": "String"
|
|
2260
2034
|
},
|
|
2261
2035
|
{
|
|
2262
|
-
"
|
|
2263
|
-
"
|
|
2264
|
-
"
|
|
2265
|
-
"
|
|
2266
|
-
"
|
|
2036
|
+
"id": "authentication.oauthTokenEndpoint",
|
|
2037
|
+
"label": "OAuth 2.0 token endpoint",
|
|
2038
|
+
"description": "The OAuth token endpoint",
|
|
2039
|
+
"optional": false,
|
|
2040
|
+
"constraints": {
|
|
2041
|
+
"notEmpty": true,
|
|
2042
|
+
"pattern": {
|
|
2043
|
+
"value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
|
|
2044
|
+
"message": "Must be a http(s) URL"
|
|
2045
|
+
}
|
|
2046
|
+
},
|
|
2047
|
+
"feel": "optional",
|
|
2048
|
+
"group": "authentication",
|
|
2267
2049
|
"binding": {
|
|
2268
|
-
"
|
|
2269
|
-
"
|
|
2270
|
-
}
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
"id": "io.camunda.connectors.HttpJson.v2",
|
|
2278
|
-
"version": 2,
|
|
2279
|
-
"description": "Invoke REST API",
|
|
2280
|
-
"icon": {
|
|
2281
|
-
"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"
|
|
2282
|
-
},
|
|
2283
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/rest/",
|
|
2284
|
-
"category": {
|
|
2285
|
-
"id": "connectors",
|
|
2286
|
-
"name": "Connectors"
|
|
2287
|
-
},
|
|
2288
|
-
"appliesTo": ["bpmn:Task"],
|
|
2289
|
-
"elementType": {
|
|
2290
|
-
"value": "bpmn:ServiceTask"
|
|
2291
|
-
},
|
|
2292
|
-
"groups": [
|
|
2293
|
-
{
|
|
2294
|
-
"id": "authentication",
|
|
2295
|
-
"label": "Authentication"
|
|
2296
|
-
},
|
|
2297
|
-
{
|
|
2298
|
-
"id": "endpoint",
|
|
2299
|
-
"label": "HTTP endpoint"
|
|
2300
|
-
},
|
|
2301
|
-
{
|
|
2302
|
-
"id": "input",
|
|
2303
|
-
"label": "Payload"
|
|
2050
|
+
"name": "authentication.oauthTokenEndpoint",
|
|
2051
|
+
"type": "zeebe:input"
|
|
2052
|
+
},
|
|
2053
|
+
"condition": {
|
|
2054
|
+
"property": "authentication.type",
|
|
2055
|
+
"equals": "oauth-client-credentials-flow",
|
|
2056
|
+
"type": "simple"
|
|
2057
|
+
},
|
|
2058
|
+
"type": "String"
|
|
2304
2059
|
},
|
|
2305
2060
|
{
|
|
2306
|
-
"id": "
|
|
2307
|
-
"label": "
|
|
2061
|
+
"id": "authentication.clientId",
|
|
2062
|
+
"label": "Client ID",
|
|
2063
|
+
"description": "Your application's client ID from the OAuth client",
|
|
2064
|
+
"optional": false,
|
|
2065
|
+
"constraints": {
|
|
2066
|
+
"notEmpty": true
|
|
2067
|
+
},
|
|
2068
|
+
"feel": "optional",
|
|
2069
|
+
"group": "authentication",
|
|
2070
|
+
"binding": {
|
|
2071
|
+
"name": "authentication.clientId",
|
|
2072
|
+
"type": "zeebe:input"
|
|
2073
|
+
},
|
|
2074
|
+
"condition": {
|
|
2075
|
+
"property": "authentication.type",
|
|
2076
|
+
"equals": "oauth-client-credentials-flow",
|
|
2077
|
+
"type": "simple"
|
|
2078
|
+
},
|
|
2079
|
+
"type": "String"
|
|
2308
2080
|
},
|
|
2309
2081
|
{
|
|
2310
|
-
"id": "
|
|
2311
|
-
"label": "
|
|
2082
|
+
"id": "authentication.clientSecret",
|
|
2083
|
+
"label": "Client secret",
|
|
2084
|
+
"description": "Your application's client secret from the OAuth client",
|
|
2085
|
+
"optional": false,
|
|
2086
|
+
"constraints": {
|
|
2087
|
+
"notEmpty": true
|
|
2088
|
+
},
|
|
2089
|
+
"feel": "optional",
|
|
2090
|
+
"group": "authentication",
|
|
2091
|
+
"binding": {
|
|
2092
|
+
"name": "authentication.clientSecret",
|
|
2093
|
+
"type": "zeebe:input"
|
|
2094
|
+
},
|
|
2095
|
+
"condition": {
|
|
2096
|
+
"property": "authentication.type",
|
|
2097
|
+
"equals": "oauth-client-credentials-flow",
|
|
2098
|
+
"type": "simple"
|
|
2099
|
+
},
|
|
2100
|
+
"type": "String"
|
|
2312
2101
|
},
|
|
2313
2102
|
{
|
|
2314
|
-
"id": "
|
|
2315
|
-
"label": "
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
"type": "Hidden",
|
|
2321
|
-
"value": "io.camunda:http-json:1",
|
|
2103
|
+
"id": "authentication.audience",
|
|
2104
|
+
"label": "Audience",
|
|
2105
|
+
"description": "The unique identifier of the target API you want to access",
|
|
2106
|
+
"optional": true,
|
|
2107
|
+
"feel": "optional",
|
|
2108
|
+
"group": "authentication",
|
|
2322
2109
|
"binding": {
|
|
2323
|
-
"
|
|
2324
|
-
"
|
|
2325
|
-
}
|
|
2110
|
+
"name": "authentication.audience",
|
|
2111
|
+
"type": "zeebe:input"
|
|
2112
|
+
},
|
|
2113
|
+
"condition": {
|
|
2114
|
+
"property": "authentication.type",
|
|
2115
|
+
"equals": "oauth-client-credentials-flow",
|
|
2116
|
+
"type": "simple"
|
|
2117
|
+
},
|
|
2118
|
+
"type": "String"
|
|
2326
2119
|
},
|
|
2327
2120
|
{
|
|
2328
|
-
"
|
|
2329
|
-
"
|
|
2121
|
+
"id": "authentication.clientAuthentication",
|
|
2122
|
+
"label": "Client authentication",
|
|
2123
|
+
"description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
|
|
2124
|
+
"optional": false,
|
|
2125
|
+
"constraints": {
|
|
2126
|
+
"notEmpty": true
|
|
2127
|
+
},
|
|
2330
2128
|
"group": "authentication",
|
|
2331
|
-
"
|
|
2332
|
-
|
|
2129
|
+
"binding": {
|
|
2130
|
+
"name": "authentication.clientAuthentication",
|
|
2131
|
+
"type": "zeebe:input"
|
|
2132
|
+
},
|
|
2133
|
+
"condition": {
|
|
2134
|
+
"property": "authentication.type",
|
|
2135
|
+
"equals": "oauth-client-credentials-flow",
|
|
2136
|
+
"type": "simple"
|
|
2137
|
+
},
|
|
2333
2138
|
"type": "Dropdown",
|
|
2334
2139
|
"choices": [
|
|
2335
2140
|
{
|
|
2336
|
-
"name": "
|
|
2337
|
-
"value": "
|
|
2338
|
-
},
|
|
2339
|
-
{
|
|
2340
|
-
"name": "Basic",
|
|
2341
|
-
"value": "basic"
|
|
2342
|
-
},
|
|
2343
|
-
{
|
|
2344
|
-
"name": "Bearer token",
|
|
2345
|
-
"value": "bearer"
|
|
2141
|
+
"name": "Send client credentials in body",
|
|
2142
|
+
"value": "credentialsBody"
|
|
2346
2143
|
},
|
|
2347
2144
|
{
|
|
2348
|
-
"name": "
|
|
2349
|
-
"value": "
|
|
2145
|
+
"name": "Send as Basic Auth header",
|
|
2146
|
+
"value": "basicAuthHeader"
|
|
2350
2147
|
}
|
|
2351
|
-
]
|
|
2148
|
+
]
|
|
2149
|
+
},
|
|
2150
|
+
{
|
|
2151
|
+
"id": "authentication.scopes",
|
|
2152
|
+
"label": "Scopes",
|
|
2153
|
+
"description": "The scopes which you want to request authorization for (e.g.read:contacts)",
|
|
2154
|
+
"optional": true,
|
|
2155
|
+
"feel": "optional",
|
|
2156
|
+
"group": "authentication",
|
|
2352
2157
|
"binding": {
|
|
2353
|
-
"
|
|
2354
|
-
"
|
|
2355
|
-
}
|
|
2158
|
+
"name": "authentication.scopes",
|
|
2159
|
+
"type": "zeebe:input"
|
|
2160
|
+
},
|
|
2161
|
+
"condition": {
|
|
2162
|
+
"property": "authentication.type",
|
|
2163
|
+
"equals": "oauth-client-credentials-flow",
|
|
2164
|
+
"type": "simple"
|
|
2165
|
+
},
|
|
2166
|
+
"type": "String"
|
|
2356
2167
|
},
|
|
2357
2168
|
{
|
|
2358
2169
|
"id": "method",
|
|
2359
2170
|
"label": "Method",
|
|
2171
|
+
"optional": false,
|
|
2172
|
+
"value": "GET",
|
|
2173
|
+
"constraints": {
|
|
2174
|
+
"notEmpty": true
|
|
2175
|
+
},
|
|
2360
2176
|
"group": "endpoint",
|
|
2177
|
+
"binding": {
|
|
2178
|
+
"name": "method",
|
|
2179
|
+
"type": "zeebe:input"
|
|
2180
|
+
},
|
|
2361
2181
|
"type": "Dropdown",
|
|
2362
|
-
"value": "get",
|
|
2363
2182
|
"choices": [
|
|
2183
|
+
{
|
|
2184
|
+
"name": "POST",
|
|
2185
|
+
"value": "POST"
|
|
2186
|
+
},
|
|
2364
2187
|
{
|
|
2365
2188
|
"name": "GET",
|
|
2366
|
-
"value": "
|
|
2189
|
+
"value": "GET"
|
|
2367
2190
|
},
|
|
2368
2191
|
{
|
|
2369
|
-
"name": "
|
|
2370
|
-
"value": "
|
|
2192
|
+
"name": "DELETE",
|
|
2193
|
+
"value": "DELETE"
|
|
2371
2194
|
},
|
|
2372
2195
|
{
|
|
2373
2196
|
"name": "PATCH",
|
|
2374
|
-
"value": "
|
|
2197
|
+
"value": "PATCH"
|
|
2375
2198
|
},
|
|
2376
2199
|
{
|
|
2377
2200
|
"name": "PUT",
|
|
2378
|
-
"value": "
|
|
2379
|
-
},
|
|
2380
|
-
{
|
|
2381
|
-
"name": "DELETE",
|
|
2382
|
-
"value": "delete"
|
|
2201
|
+
"value": "PUT"
|
|
2383
2202
|
}
|
|
2384
|
-
]
|
|
2385
|
-
"binding": {
|
|
2386
|
-
"type": "zeebe:input",
|
|
2387
|
-
"name": "method"
|
|
2388
|
-
}
|
|
2203
|
+
]
|
|
2389
2204
|
},
|
|
2390
2205
|
{
|
|
2206
|
+
"id": "url",
|
|
2391
2207
|
"label": "URL",
|
|
2392
|
-
"
|
|
2393
|
-
"type": "String",
|
|
2394
|
-
"feel": "optional",
|
|
2395
|
-
"binding": {
|
|
2396
|
-
"type": "zeebe:input",
|
|
2397
|
-
"name": "url"
|
|
2398
|
-
},
|
|
2208
|
+
"optional": false,
|
|
2399
2209
|
"constraints": {
|
|
2400
2210
|
"notEmpty": true,
|
|
2401
2211
|
"pattern": {
|
|
2402
|
-
"value": "^(=|(https
|
|
2212
|
+
"value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
|
|
2403
2213
|
"message": "Must be a http(s) URL"
|
|
2404
2214
|
}
|
|
2405
|
-
}
|
|
2406
|
-
|
|
2407
|
-
{
|
|
2408
|
-
"label": "Query parameters",
|
|
2409
|
-
"description": "Map of query parameters to add to the request URL",
|
|
2215
|
+
},
|
|
2216
|
+
"feel": "optional",
|
|
2410
2217
|
"group": "endpoint",
|
|
2411
|
-
"type": "Text",
|
|
2412
|
-
"feel": "required",
|
|
2413
2218
|
"binding": {
|
|
2414
|
-
"
|
|
2415
|
-
"
|
|
2219
|
+
"name": "url",
|
|
2220
|
+
"type": "zeebe:input"
|
|
2416
2221
|
},
|
|
2417
|
-
"
|
|
2222
|
+
"type": "String"
|
|
2418
2223
|
},
|
|
2419
2224
|
{
|
|
2420
|
-
"
|
|
2225
|
+
"id": "headers",
|
|
2226
|
+
"label": "Headers",
|
|
2421
2227
|
"description": "Map of HTTP headers to add to the request",
|
|
2422
|
-
"
|
|
2423
|
-
"type": "Text",
|
|
2228
|
+
"optional": true,
|
|
2424
2229
|
"feel": "required",
|
|
2230
|
+
"group": "endpoint",
|
|
2425
2231
|
"binding": {
|
|
2426
|
-
"
|
|
2427
|
-
"
|
|
2232
|
+
"name": "headers",
|
|
2233
|
+
"type": "zeebe:input"
|
|
2428
2234
|
},
|
|
2429
|
-
"
|
|
2430
|
-
},
|
|
2431
|
-
{
|
|
2432
|
-
"label": "Bearer token",
|
|
2433
|
-
"group": "authentication",
|
|
2434
|
-
"type": "String",
|
|
2435
|
-
"feel": "optional",
|
|
2436
|
-
"binding": {
|
|
2437
|
-
"type": "zeebe:input",
|
|
2438
|
-
"name": "authentication.token"
|
|
2439
|
-
},
|
|
2440
|
-
"constraints": {
|
|
2441
|
-
"notEmpty": true
|
|
2442
|
-
},
|
|
2443
|
-
"condition": {
|
|
2444
|
-
"property": "authenticationType",
|
|
2445
|
-
"equals": "bearer"
|
|
2446
|
-
}
|
|
2447
|
-
},
|
|
2448
|
-
{
|
|
2449
|
-
"label": "OAuth token endpoint",
|
|
2450
|
-
"description": "The OAuth token endpoint",
|
|
2451
|
-
"group": "authentication",
|
|
2452
|
-
"type": "String",
|
|
2453
|
-
"feel": "optional",
|
|
2454
|
-
"binding": {
|
|
2455
|
-
"type": "zeebe:input",
|
|
2456
|
-
"name": "authentication.oauthTokenEndpoint"
|
|
2457
|
-
},
|
|
2458
|
-
"constraints": {
|
|
2459
|
-
"notEmpty": true
|
|
2460
|
-
},
|
|
2461
|
-
"condition": {
|
|
2462
|
-
"property": "authenticationType",
|
|
2463
|
-
"equals": "oauth-client-credentials-flow"
|
|
2464
|
-
}
|
|
2465
|
-
},
|
|
2466
|
-
{
|
|
2467
|
-
"label": "Client ID",
|
|
2468
|
-
"description": "Your application's client ID from the OAuth client",
|
|
2469
|
-
"group": "authentication",
|
|
2470
|
-
"type": "String",
|
|
2471
|
-
"feel": "optional",
|
|
2472
|
-
"binding": {
|
|
2473
|
-
"type": "zeebe:input",
|
|
2474
|
-
"name": "authentication.clientId"
|
|
2475
|
-
},
|
|
2476
|
-
"constraints": {
|
|
2477
|
-
"notEmpty": true
|
|
2478
|
-
},
|
|
2479
|
-
"condition": {
|
|
2480
|
-
"property": "authenticationType",
|
|
2481
|
-
"equals": "oauth-client-credentials-flow"
|
|
2482
|
-
}
|
|
2235
|
+
"type": "String"
|
|
2483
2236
|
},
|
|
2484
2237
|
{
|
|
2485
|
-
"
|
|
2486
|
-
"
|
|
2487
|
-
"
|
|
2488
|
-
"
|
|
2489
|
-
"feel": "
|
|
2238
|
+
"id": "queryParameters",
|
|
2239
|
+
"label": "Query parameters",
|
|
2240
|
+
"description": "Map of query parameters to add to the request URL",
|
|
2241
|
+
"optional": true,
|
|
2242
|
+
"feel": "required",
|
|
2243
|
+
"group": "endpoint",
|
|
2490
2244
|
"binding": {
|
|
2491
|
-
"
|
|
2492
|
-
"
|
|
2493
|
-
},
|
|
2494
|
-
"constraints": {
|
|
2495
|
-
"notEmpty": true
|
|
2245
|
+
"name": "queryParameters",
|
|
2246
|
+
"type": "zeebe:input"
|
|
2496
2247
|
},
|
|
2497
|
-
"
|
|
2498
|
-
"property": "authenticationType",
|
|
2499
|
-
"equals": "oauth-client-credentials-flow"
|
|
2500
|
-
}
|
|
2248
|
+
"type": "String"
|
|
2501
2249
|
},
|
|
2502
2250
|
{
|
|
2503
|
-
"
|
|
2504
|
-
"
|
|
2505
|
-
"
|
|
2506
|
-
"
|
|
2507
|
-
"
|
|
2508
|
-
"
|
|
2251
|
+
"id": "storeResponse",
|
|
2252
|
+
"label": "Store response",
|
|
2253
|
+
"description": "Store the response as a document in the document store",
|
|
2254
|
+
"optional": false,
|
|
2255
|
+
"value": false,
|
|
2256
|
+
"feel": "static",
|
|
2257
|
+
"group": "endpoint",
|
|
2509
2258
|
"binding": {
|
|
2510
|
-
"
|
|
2511
|
-
"
|
|
2259
|
+
"name": "storeResponse",
|
|
2260
|
+
"type": "zeebe:input"
|
|
2512
2261
|
},
|
|
2513
|
-
"
|
|
2514
|
-
"property": "authenticationType",
|
|
2515
|
-
"equals": "oauth-client-credentials-flow"
|
|
2516
|
-
}
|
|
2262
|
+
"type": "Boolean"
|
|
2517
2263
|
},
|
|
2518
2264
|
{
|
|
2519
|
-
"
|
|
2520
|
-
"
|
|
2521
|
-
"
|
|
2522
|
-
"type": "String",
|
|
2523
|
-
"feel": "optional",
|
|
2265
|
+
"id": "skipEncoding",
|
|
2266
|
+
"label": "Skip URL encoding",
|
|
2267
|
+
"description": "Skip the default URL decoding and encoding behavior",
|
|
2524
2268
|
"optional": true,
|
|
2269
|
+
"group": "endpoint",
|
|
2525
2270
|
"binding": {
|
|
2526
|
-
"
|
|
2527
|
-
"
|
|
2271
|
+
"name": "skipEncoding",
|
|
2272
|
+
"type": "zeebe:input"
|
|
2528
2273
|
},
|
|
2529
|
-
"
|
|
2530
|
-
"property": "authenticationType",
|
|
2531
|
-
"equals": "oauth-client-credentials-flow"
|
|
2532
|
-
}
|
|
2274
|
+
"type": "Hidden"
|
|
2533
2275
|
},
|
|
2534
2276
|
{
|
|
2535
|
-
"
|
|
2536
|
-
"
|
|
2537
|
-
"
|
|
2538
|
-
"
|
|
2539
|
-
"value":
|
|
2540
|
-
"
|
|
2541
|
-
|
|
2542
|
-
{
|
|
2543
|
-
"
|
|
2544
|
-
"
|
|
2545
|
-
},
|
|
2546
|
-
{
|
|
2547
|
-
"name": "Send as Basic Auth header",
|
|
2548
|
-
"value": "basicAuthHeader"
|
|
2277
|
+
"id": "connectionTimeoutInSeconds",
|
|
2278
|
+
"label": "Connection timeout in seconds",
|
|
2279
|
+
"description": "Defines the connection timeout in seconds, or 0 for an infinite timeout",
|
|
2280
|
+
"optional": false,
|
|
2281
|
+
"value": 20,
|
|
2282
|
+
"constraints": {
|
|
2283
|
+
"notEmpty": true,
|
|
2284
|
+
"pattern": {
|
|
2285
|
+
"value": "^\\d+$",
|
|
2286
|
+
"message": "Must be a number"
|
|
2549
2287
|
}
|
|
2550
|
-
],
|
|
2551
|
-
"binding": {
|
|
2552
|
-
"type": "zeebe:input",
|
|
2553
|
-
"name": "authentication.clientAuthentication"
|
|
2554
2288
|
},
|
|
2555
|
-
"
|
|
2556
|
-
|
|
2557
|
-
"equals": "oauth-client-credentials-flow"
|
|
2558
|
-
}
|
|
2559
|
-
},
|
|
2560
|
-
{
|
|
2561
|
-
"label": "Username",
|
|
2562
|
-
"group": "authentication",
|
|
2563
|
-
"type": "String",
|
|
2564
|
-
"feel": "optional",
|
|
2289
|
+
"feel": "static",
|
|
2290
|
+
"group": "timeout",
|
|
2565
2291
|
"binding": {
|
|
2566
|
-
"
|
|
2567
|
-
"
|
|
2568
|
-
},
|
|
2569
|
-
"constraints": {
|
|
2570
|
-
"notEmpty": true
|
|
2292
|
+
"name": "connectionTimeoutInSeconds",
|
|
2293
|
+
"type": "zeebe:input"
|
|
2571
2294
|
},
|
|
2572
|
-
"
|
|
2573
|
-
"property": "authenticationType",
|
|
2574
|
-
"equals": "basic"
|
|
2575
|
-
}
|
|
2295
|
+
"type": "Number"
|
|
2576
2296
|
},
|
|
2577
2297
|
{
|
|
2578
|
-
"
|
|
2579
|
-
"
|
|
2580
|
-
"
|
|
2581
|
-
"
|
|
2582
|
-
"
|
|
2583
|
-
"type": "zeebe:input",
|
|
2584
|
-
"name": "authentication.password"
|
|
2585
|
-
},
|
|
2298
|
+
"id": "readTimeoutInSeconds",
|
|
2299
|
+
"label": "Read timeout in seconds",
|
|
2300
|
+
"description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
|
|
2301
|
+
"optional": false,
|
|
2302
|
+
"value": 20,
|
|
2586
2303
|
"constraints": {
|
|
2587
|
-
"notEmpty": true
|
|
2304
|
+
"notEmpty": true,
|
|
2305
|
+
"pattern": {
|
|
2306
|
+
"value": "^\\d+$",
|
|
2307
|
+
"message": "Must be a number"
|
|
2308
|
+
}
|
|
2588
2309
|
},
|
|
2589
|
-
"
|
|
2590
|
-
"property": "authenticationType",
|
|
2591
|
-
"equals": "basic"
|
|
2592
|
-
}
|
|
2593
|
-
},
|
|
2594
|
-
{
|
|
2595
|
-
"label": "Connection timeout",
|
|
2596
|
-
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
2310
|
+
"feel": "static",
|
|
2597
2311
|
"group": "timeout",
|
|
2598
|
-
"type": "String",
|
|
2599
|
-
"value": "20",
|
|
2600
2312
|
"binding": {
|
|
2601
|
-
"
|
|
2602
|
-
"
|
|
2313
|
+
"name": "readTimeoutInSeconds",
|
|
2314
|
+
"type": "zeebe:input"
|
|
2603
2315
|
},
|
|
2604
|
-
"
|
|
2605
|
-
"feel": "optional",
|
|
2606
|
-
"constraints": {
|
|
2607
|
-
"notEmpty": false,
|
|
2608
|
-
"pattern": {
|
|
2609
|
-
"value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
|
|
2610
|
-
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
2611
|
-
}
|
|
2612
|
-
}
|
|
2316
|
+
"type": "Number"
|
|
2613
2317
|
},
|
|
2614
2318
|
{
|
|
2319
|
+
"id": "body",
|
|
2615
2320
|
"label": "Request body",
|
|
2616
2321
|
"description": "Payload to send with the request",
|
|
2617
|
-
"
|
|
2618
|
-
"type": "Text",
|
|
2322
|
+
"optional": true,
|
|
2619
2323
|
"feel": "optional",
|
|
2324
|
+
"group": "payload",
|
|
2620
2325
|
"binding": {
|
|
2621
|
-
"
|
|
2622
|
-
"
|
|
2326
|
+
"name": "body",
|
|
2327
|
+
"type": "zeebe:input"
|
|
2623
2328
|
},
|
|
2624
2329
|
"condition": {
|
|
2625
2330
|
"property": "method",
|
|
2626
|
-
"oneOf": ["
|
|
2331
|
+
"oneOf": ["POST", "PUT", "PATCH"],
|
|
2332
|
+
"type": "simple"
|
|
2627
2333
|
},
|
|
2628
|
-
"
|
|
2334
|
+
"type": "Text"
|
|
2629
2335
|
},
|
|
2630
2336
|
{
|
|
2337
|
+
"id": "resultVariable",
|
|
2631
2338
|
"label": "Result variable",
|
|
2632
|
-
"description": "Name of variable to store the response in
|
|
2339
|
+
"description": "Name of variable to store the response in",
|
|
2633
2340
|
"group": "output",
|
|
2634
|
-
"type": "String",
|
|
2635
2341
|
"binding": {
|
|
2636
|
-
"
|
|
2637
|
-
"
|
|
2638
|
-
}
|
|
2342
|
+
"key": "resultVariable",
|
|
2343
|
+
"type": "zeebe:taskHeader"
|
|
2344
|
+
},
|
|
2345
|
+
"type": "String"
|
|
2639
2346
|
},
|
|
2640
2347
|
{
|
|
2348
|
+
"id": "resultExpression",
|
|
2641
2349
|
"label": "Result expression",
|
|
2642
|
-
"description": "Expression to map the response into process variables
|
|
2643
|
-
"group": "output",
|
|
2644
|
-
"type": "Text",
|
|
2350
|
+
"description": "Expression to map the response into process variables",
|
|
2645
2351
|
"feel": "required",
|
|
2352
|
+
"group": "output",
|
|
2646
2353
|
"binding": {
|
|
2647
|
-
"
|
|
2648
|
-
"
|
|
2649
|
-
}
|
|
2354
|
+
"key": "resultExpression",
|
|
2355
|
+
"type": "zeebe:taskHeader"
|
|
2356
|
+
},
|
|
2357
|
+
"type": "Text"
|
|
2650
2358
|
},
|
|
2651
2359
|
{
|
|
2360
|
+
"id": "errorExpression",
|
|
2652
2361
|
"label": "Error expression",
|
|
2653
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
2654
|
-
"group": "errors",
|
|
2655
|
-
"type": "Text",
|
|
2362
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
2656
2363
|
"feel": "required",
|
|
2364
|
+
"group": "error",
|
|
2657
2365
|
"binding": {
|
|
2658
|
-
"
|
|
2659
|
-
"
|
|
2660
|
-
}
|
|
2366
|
+
"key": "errorExpression",
|
|
2367
|
+
"type": "zeebe:taskHeader"
|
|
2368
|
+
},
|
|
2369
|
+
"type": "Text"
|
|
2370
|
+
},
|
|
2371
|
+
{
|
|
2372
|
+
"id": "retryCount",
|
|
2373
|
+
"label": "Retries",
|
|
2374
|
+
"description": "Number of retries",
|
|
2375
|
+
"value": "3",
|
|
2376
|
+
"feel": "optional",
|
|
2377
|
+
"group": "retries",
|
|
2378
|
+
"binding": {
|
|
2379
|
+
"property": "retries",
|
|
2380
|
+
"type": "zeebe:taskDefinition"
|
|
2381
|
+
},
|
|
2382
|
+
"type": "String"
|
|
2383
|
+
},
|
|
2384
|
+
{
|
|
2385
|
+
"id": "retryBackoff",
|
|
2386
|
+
"label": "Retry backoff",
|
|
2387
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
2388
|
+
"value": "PT0S",
|
|
2389
|
+
"group": "retries",
|
|
2390
|
+
"binding": {
|
|
2391
|
+
"key": "retryBackoff",
|
|
2392
|
+
"type": "zeebe:taskHeader"
|
|
2393
|
+
},
|
|
2394
|
+
"type": "String"
|
|
2661
2395
|
}
|
|
2662
2396
|
],
|
|
2663
|
-
"
|
|
2664
|
-
"
|
|
2397
|
+
"icon": {
|
|
2398
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
|
|
2665
2399
|
}
|
|
2666
2400
|
},
|
|
2667
2401
|
{
|
|
@@ -2670,7 +2404,7 @@
|
|
|
2670
2404
|
"id": "io.camunda.connectors.HttpJson.v2",
|
|
2671
2405
|
"description": "Invoke REST API",
|
|
2672
2406
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
|
|
2673
|
-
"version":
|
|
2407
|
+
"version": 6,
|
|
2674
2408
|
"category": {
|
|
2675
2409
|
"id": "connectors",
|
|
2676
2410
|
"name": "Connectors"
|
|
@@ -2686,7 +2420,7 @@
|
|
|
2686
2420
|
},
|
|
2687
2421
|
{
|
|
2688
2422
|
"id": "endpoint",
|
|
2689
|
-
"label": "HTTP
|
|
2423
|
+
"label": "HTTP Endpoint"
|
|
2690
2424
|
},
|
|
2691
2425
|
{
|
|
2692
2426
|
"id": "timeout",
|
|
@@ -2885,15 +2619,11 @@
|
|
|
2885
2619
|
},
|
|
2886
2620
|
{
|
|
2887
2621
|
"id": "authentication.oauthTokenEndpoint",
|
|
2888
|
-
"label": "
|
|
2622
|
+
"label": "Oauth token endpoint",
|
|
2889
2623
|
"description": "The OAuth token endpoint",
|
|
2890
2624
|
"optional": false,
|
|
2891
2625
|
"constraints": {
|
|
2892
|
-
"notEmpty": true
|
|
2893
|
-
"pattern": {
|
|
2894
|
-
"value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
|
|
2895
|
-
"message": "Must be a http(s) URL"
|
|
2896
|
-
}
|
|
2626
|
+
"notEmpty": true
|
|
2897
2627
|
},
|
|
2898
2628
|
"feel": "optional",
|
|
2899
2629
|
"group": "authentication",
|
|
@@ -2910,7 +2640,7 @@
|
|
|
2910
2640
|
},
|
|
2911
2641
|
{
|
|
2912
2642
|
"id": "authentication.clientId",
|
|
2913
|
-
"label": "Client
|
|
2643
|
+
"label": "Client id",
|
|
2914
2644
|
"description": "Your application's client ID from the OAuth client",
|
|
2915
2645
|
"optional": false,
|
|
2916
2646
|
"constraints": {
|
|
@@ -3065,181 +2795,532 @@
|
|
|
3065
2795
|
}
|
|
3066
2796
|
},
|
|
3067
2797
|
"feel": "optional",
|
|
3068
|
-
"group": "endpoint",
|
|
2798
|
+
"group": "endpoint",
|
|
2799
|
+
"binding": {
|
|
2800
|
+
"name": "url",
|
|
2801
|
+
"type": "zeebe:input"
|
|
2802
|
+
},
|
|
2803
|
+
"type": "String"
|
|
2804
|
+
},
|
|
2805
|
+
{
|
|
2806
|
+
"id": "headers",
|
|
2807
|
+
"label": "Headers",
|
|
2808
|
+
"description": "Map of HTTP headers to add to the request",
|
|
2809
|
+
"optional": true,
|
|
2810
|
+
"feel": "required",
|
|
2811
|
+
"group": "endpoint",
|
|
2812
|
+
"binding": {
|
|
2813
|
+
"name": "headers",
|
|
2814
|
+
"type": "zeebe:input"
|
|
2815
|
+
},
|
|
2816
|
+
"type": "String"
|
|
2817
|
+
},
|
|
2818
|
+
{
|
|
2819
|
+
"id": "queryParameters",
|
|
2820
|
+
"label": "Query parameters",
|
|
2821
|
+
"description": "Map of query parameters to add to the request URL",
|
|
2822
|
+
"optional": true,
|
|
2823
|
+
"feel": "required",
|
|
2824
|
+
"group": "endpoint",
|
|
2825
|
+
"binding": {
|
|
2826
|
+
"name": "queryParameters",
|
|
2827
|
+
"type": "zeebe:input"
|
|
2828
|
+
},
|
|
2829
|
+
"type": "String"
|
|
2830
|
+
},
|
|
2831
|
+
{
|
|
2832
|
+
"id": "connectionTimeoutInSeconds",
|
|
2833
|
+
"label": "Connection timeout in seconds",
|
|
2834
|
+
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
2835
|
+
"optional": true,
|
|
2836
|
+
"value": "20",
|
|
2837
|
+
"feel": "optional",
|
|
2838
|
+
"group": "timeout",
|
|
2839
|
+
"binding": {
|
|
2840
|
+
"name": "connectionTimeoutInSeconds",
|
|
2841
|
+
"type": "zeebe:input"
|
|
2842
|
+
},
|
|
2843
|
+
"type": "String"
|
|
2844
|
+
},
|
|
2845
|
+
{
|
|
2846
|
+
"id": "body",
|
|
2847
|
+
"label": "Request body",
|
|
2848
|
+
"description": "Payload to send with the request",
|
|
2849
|
+
"optional": true,
|
|
2850
|
+
"feel": "optional",
|
|
2851
|
+
"group": "payload",
|
|
2852
|
+
"binding": {
|
|
2853
|
+
"name": "body",
|
|
2854
|
+
"type": "zeebe:input"
|
|
2855
|
+
},
|
|
2856
|
+
"condition": {
|
|
2857
|
+
"property": "method",
|
|
2858
|
+
"oneOf": ["POST", "PUT", "PATCH"],
|
|
2859
|
+
"type": "simple"
|
|
2860
|
+
},
|
|
2861
|
+
"type": "Text"
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
"id": "resultVariable",
|
|
2865
|
+
"label": "Result variable",
|
|
2866
|
+
"description": "Name of variable to store the response in",
|
|
2867
|
+
"group": "output",
|
|
2868
|
+
"binding": {
|
|
2869
|
+
"key": "resultVariable",
|
|
2870
|
+
"type": "zeebe:taskHeader"
|
|
2871
|
+
},
|
|
2872
|
+
"type": "String"
|
|
2873
|
+
},
|
|
2874
|
+
{
|
|
2875
|
+
"id": "resultExpression",
|
|
2876
|
+
"label": "Result expression",
|
|
2877
|
+
"description": "Expression to map the response into process variables",
|
|
2878
|
+
"feel": "required",
|
|
2879
|
+
"group": "output",
|
|
2880
|
+
"binding": {
|
|
2881
|
+
"key": "resultExpression",
|
|
2882
|
+
"type": "zeebe:taskHeader"
|
|
2883
|
+
},
|
|
2884
|
+
"type": "Text"
|
|
2885
|
+
},
|
|
2886
|
+
{
|
|
2887
|
+
"id": "errorExpression",
|
|
2888
|
+
"label": "Error expression",
|
|
2889
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
2890
|
+
"feel": "required",
|
|
2891
|
+
"group": "error",
|
|
2892
|
+
"binding": {
|
|
2893
|
+
"key": "errorExpression",
|
|
2894
|
+
"type": "zeebe:taskHeader"
|
|
2895
|
+
},
|
|
2896
|
+
"type": "Text"
|
|
2897
|
+
},
|
|
2898
|
+
{
|
|
2899
|
+
"id": "retryCount",
|
|
2900
|
+
"label": "Retries",
|
|
2901
|
+
"description": "Number of retries",
|
|
2902
|
+
"value": "3",
|
|
2903
|
+
"feel": "optional",
|
|
2904
|
+
"group": "retries",
|
|
2905
|
+
"binding": {
|
|
2906
|
+
"property": "retries",
|
|
2907
|
+
"type": "zeebe:taskDefinition"
|
|
2908
|
+
},
|
|
2909
|
+
"type": "String"
|
|
2910
|
+
},
|
|
2911
|
+
{
|
|
2912
|
+
"id": "retryBackoff",
|
|
2913
|
+
"label": "Retry backoff",
|
|
2914
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
2915
|
+
"value": "PT0S",
|
|
2916
|
+
"feel": "optional",
|
|
2917
|
+
"group": "retries",
|
|
2918
|
+
"binding": {
|
|
2919
|
+
"key": "retryBackoff",
|
|
2920
|
+
"type": "zeebe:taskHeader"
|
|
2921
|
+
},
|
|
2922
|
+
"type": "String"
|
|
2923
|
+
}
|
|
2924
|
+
],
|
|
2925
|
+
"icon": {
|
|
2926
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
|
|
2927
|
+
},
|
|
2928
|
+
"engines": {
|
|
2929
|
+
"camunda": "^8.5"
|
|
2930
|
+
}
|
|
2931
|
+
},
|
|
2932
|
+
{
|
|
2933
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
2934
|
+
"name": "REST connector",
|
|
2935
|
+
"id": "io.camunda.connectors.HttpJson.v2",
|
|
2936
|
+
"deprecated": {
|
|
2937
|
+
"message": "Replace with 'REST Connector' template.",
|
|
2938
|
+
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
2939
|
+
},
|
|
2940
|
+
"description": "Invoke REST API",
|
|
2941
|
+
"icon": {
|
|
2942
|
+
"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"
|
|
2943
|
+
},
|
|
2944
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/rest/",
|
|
2945
|
+
"category": {
|
|
2946
|
+
"id": "connectors",
|
|
2947
|
+
"name": "Connectors"
|
|
2948
|
+
},
|
|
2949
|
+
"appliesTo": ["bpmn:Task"],
|
|
2950
|
+
"elementType": {
|
|
2951
|
+
"value": "bpmn:ServiceTask"
|
|
2952
|
+
},
|
|
2953
|
+
"groups": [
|
|
2954
|
+
{
|
|
2955
|
+
"id": "authentication",
|
|
2956
|
+
"label": "Authentication"
|
|
2957
|
+
},
|
|
2958
|
+
{
|
|
2959
|
+
"id": "endpoint",
|
|
2960
|
+
"label": "HTTP endpoint"
|
|
2961
|
+
},
|
|
2962
|
+
{
|
|
2963
|
+
"id": "input",
|
|
2964
|
+
"label": "Payload"
|
|
2965
|
+
},
|
|
2966
|
+
{
|
|
2967
|
+
"id": "timeout",
|
|
2968
|
+
"label": "Connect timeout"
|
|
2969
|
+
},
|
|
2970
|
+
{
|
|
2971
|
+
"id": "output",
|
|
2972
|
+
"label": "Response mapping"
|
|
2973
|
+
},
|
|
2974
|
+
{
|
|
2975
|
+
"id": "errors",
|
|
2976
|
+
"label": "Error handling"
|
|
2977
|
+
}
|
|
2978
|
+
],
|
|
2979
|
+
"properties": [
|
|
2980
|
+
{
|
|
2981
|
+
"type": "Hidden",
|
|
2982
|
+
"value": "io.camunda:http-json:1",
|
|
2983
|
+
"binding": {
|
|
2984
|
+
"type": "zeebe:taskDefinition",
|
|
2985
|
+
"property": "type"
|
|
2986
|
+
}
|
|
2987
|
+
},
|
|
2988
|
+
{
|
|
2989
|
+
"label": "Type",
|
|
2990
|
+
"id": "authenticationType",
|
|
2991
|
+
"group": "authentication",
|
|
2992
|
+
"description": "Choose the authentication type. Select 'None' if no authentication is necessary",
|
|
2993
|
+
"value": "noAuth",
|
|
2994
|
+
"type": "Dropdown",
|
|
2995
|
+
"choices": [
|
|
2996
|
+
{
|
|
2997
|
+
"name": "None",
|
|
2998
|
+
"value": "noAuth"
|
|
2999
|
+
},
|
|
3000
|
+
{
|
|
3001
|
+
"name": "Basic",
|
|
3002
|
+
"value": "basic"
|
|
3003
|
+
},
|
|
3004
|
+
{
|
|
3005
|
+
"name": "Bearer token",
|
|
3006
|
+
"value": "bearer"
|
|
3007
|
+
},
|
|
3008
|
+
{
|
|
3009
|
+
"name": "OAuth 2.0",
|
|
3010
|
+
"value": "oauth-client-credentials-flow"
|
|
3011
|
+
}
|
|
3012
|
+
],
|
|
3013
|
+
"binding": {
|
|
3014
|
+
"type": "zeebe:input",
|
|
3015
|
+
"name": "authentication.type"
|
|
3016
|
+
}
|
|
3017
|
+
},
|
|
3018
|
+
{
|
|
3019
|
+
"id": "method",
|
|
3020
|
+
"label": "Method",
|
|
3021
|
+
"group": "endpoint",
|
|
3022
|
+
"type": "Dropdown",
|
|
3023
|
+
"value": "get",
|
|
3024
|
+
"choices": [
|
|
3025
|
+
{
|
|
3026
|
+
"name": "GET",
|
|
3027
|
+
"value": "get"
|
|
3028
|
+
},
|
|
3029
|
+
{
|
|
3030
|
+
"name": "POST",
|
|
3031
|
+
"value": "post"
|
|
3032
|
+
},
|
|
3033
|
+
{
|
|
3034
|
+
"name": "PATCH",
|
|
3035
|
+
"value": "patch"
|
|
3036
|
+
},
|
|
3037
|
+
{
|
|
3038
|
+
"name": "PUT",
|
|
3039
|
+
"value": "put"
|
|
3040
|
+
},
|
|
3041
|
+
{
|
|
3042
|
+
"name": "DELETE",
|
|
3043
|
+
"value": "delete"
|
|
3044
|
+
}
|
|
3045
|
+
],
|
|
3046
|
+
"binding": {
|
|
3047
|
+
"type": "zeebe:input",
|
|
3048
|
+
"name": "method"
|
|
3049
|
+
}
|
|
3050
|
+
},
|
|
3051
|
+
{
|
|
3052
|
+
"label": "URL",
|
|
3053
|
+
"group": "endpoint",
|
|
3054
|
+
"type": "String",
|
|
3055
|
+
"feel": "optional",
|
|
3056
|
+
"binding": {
|
|
3057
|
+
"type": "zeebe:input",
|
|
3058
|
+
"name": "url"
|
|
3059
|
+
},
|
|
3060
|
+
"constraints": {
|
|
3061
|
+
"notEmpty": true,
|
|
3062
|
+
"pattern": {
|
|
3063
|
+
"value": "^(=|(http://|https://|secrets).*$)",
|
|
3064
|
+
"message": "Must be a http(s) URL."
|
|
3065
|
+
}
|
|
3066
|
+
}
|
|
3067
|
+
},
|
|
3068
|
+
{
|
|
3069
|
+
"label": "Query parameters",
|
|
3070
|
+
"description": "Map of query parameters to add to the request URL",
|
|
3071
|
+
"group": "endpoint",
|
|
3072
|
+
"type": "Text",
|
|
3073
|
+
"feel": "required",
|
|
3074
|
+
"binding": {
|
|
3075
|
+
"type": "zeebe:input",
|
|
3076
|
+
"name": "queryParameters"
|
|
3077
|
+
},
|
|
3078
|
+
"optional": true
|
|
3079
|
+
},
|
|
3080
|
+
{
|
|
3081
|
+
"label": "HTTP headers",
|
|
3082
|
+
"description": "Map of HTTP headers to add to the request",
|
|
3083
|
+
"group": "endpoint",
|
|
3084
|
+
"type": "Text",
|
|
3085
|
+
"feel": "required",
|
|
3086
|
+
"binding": {
|
|
3087
|
+
"type": "zeebe:input",
|
|
3088
|
+
"name": "headers"
|
|
3089
|
+
},
|
|
3090
|
+
"optional": true
|
|
3091
|
+
},
|
|
3092
|
+
{
|
|
3093
|
+
"label": "Bearer token",
|
|
3094
|
+
"group": "authentication",
|
|
3095
|
+
"type": "String",
|
|
3096
|
+
"feel": "optional",
|
|
3097
|
+
"binding": {
|
|
3098
|
+
"type": "zeebe:input",
|
|
3099
|
+
"name": "authentication.token"
|
|
3100
|
+
},
|
|
3101
|
+
"constraints": {
|
|
3102
|
+
"notEmpty": true
|
|
3103
|
+
},
|
|
3104
|
+
"condition": {
|
|
3105
|
+
"property": "authenticationType",
|
|
3106
|
+
"equals": "bearer"
|
|
3107
|
+
}
|
|
3108
|
+
},
|
|
3109
|
+
{
|
|
3110
|
+
"label": "OAuth token endpoint",
|
|
3111
|
+
"description": "The OAuth token endpoint",
|
|
3112
|
+
"group": "authentication",
|
|
3113
|
+
"type": "String",
|
|
3114
|
+
"feel": "optional",
|
|
3115
|
+
"binding": {
|
|
3116
|
+
"type": "zeebe:input",
|
|
3117
|
+
"name": "authentication.oauthTokenEndpoint"
|
|
3118
|
+
},
|
|
3119
|
+
"constraints": {
|
|
3120
|
+
"notEmpty": true
|
|
3121
|
+
},
|
|
3122
|
+
"condition": {
|
|
3123
|
+
"property": "authenticationType",
|
|
3124
|
+
"equals": "oauth-client-credentials-flow"
|
|
3125
|
+
}
|
|
3126
|
+
},
|
|
3127
|
+
{
|
|
3128
|
+
"label": "Client ID",
|
|
3129
|
+
"description": "Your application's client ID from the OAuth client",
|
|
3130
|
+
"group": "authentication",
|
|
3131
|
+
"type": "String",
|
|
3132
|
+
"feel": "optional",
|
|
3133
|
+
"binding": {
|
|
3134
|
+
"type": "zeebe:input",
|
|
3135
|
+
"name": "authentication.clientId"
|
|
3136
|
+
},
|
|
3137
|
+
"constraints": {
|
|
3138
|
+
"notEmpty": true
|
|
3139
|
+
},
|
|
3140
|
+
"condition": {
|
|
3141
|
+
"property": "authenticationType",
|
|
3142
|
+
"equals": "oauth-client-credentials-flow"
|
|
3143
|
+
}
|
|
3144
|
+
},
|
|
3145
|
+
{
|
|
3146
|
+
"label": "Client secret",
|
|
3147
|
+
"description": "Your application's client secret from the OAuth client",
|
|
3148
|
+
"group": "authentication",
|
|
3149
|
+
"type": "String",
|
|
3150
|
+
"feel": "optional",
|
|
3069
3151
|
"binding": {
|
|
3070
|
-
"
|
|
3071
|
-
"
|
|
3152
|
+
"type": "zeebe:input",
|
|
3153
|
+
"name": "authentication.clientSecret"
|
|
3072
3154
|
},
|
|
3073
|
-
"
|
|
3155
|
+
"constraints": {
|
|
3156
|
+
"notEmpty": true
|
|
3157
|
+
},
|
|
3158
|
+
"condition": {
|
|
3159
|
+
"property": "authenticationType",
|
|
3160
|
+
"equals": "oauth-client-credentials-flow"
|
|
3161
|
+
}
|
|
3074
3162
|
},
|
|
3075
3163
|
{
|
|
3076
|
-
"
|
|
3077
|
-
"
|
|
3078
|
-
"
|
|
3164
|
+
"label": "Scopes",
|
|
3165
|
+
"description": "The scopes which you want to request authorization for (e.g.read:contacts)",
|
|
3166
|
+
"group": "authentication",
|
|
3167
|
+
"type": "String",
|
|
3168
|
+
"feel": "optional",
|
|
3079
3169
|
"optional": true,
|
|
3080
|
-
"feel": "required",
|
|
3081
|
-
"group": "endpoint",
|
|
3082
3170
|
"binding": {
|
|
3083
|
-
"
|
|
3084
|
-
"
|
|
3171
|
+
"type": "zeebe:input",
|
|
3172
|
+
"name": "authentication.scopes"
|
|
3085
3173
|
},
|
|
3086
|
-
"
|
|
3174
|
+
"condition": {
|
|
3175
|
+
"property": "authenticationType",
|
|
3176
|
+
"equals": "oauth-client-credentials-flow"
|
|
3177
|
+
}
|
|
3087
3178
|
},
|
|
3088
3179
|
{
|
|
3089
|
-
"
|
|
3090
|
-
"
|
|
3091
|
-
"
|
|
3180
|
+
"label": "Audience",
|
|
3181
|
+
"description": "The unique identifier of the target API you want to access",
|
|
3182
|
+
"group": "authentication",
|
|
3183
|
+
"type": "String",
|
|
3184
|
+
"feel": "optional",
|
|
3092
3185
|
"optional": true,
|
|
3093
|
-
"feel": "required",
|
|
3094
|
-
"group": "endpoint",
|
|
3095
3186
|
"binding": {
|
|
3096
|
-
"
|
|
3097
|
-
"
|
|
3187
|
+
"type": "zeebe:input",
|
|
3188
|
+
"name": "authentication.audience"
|
|
3098
3189
|
},
|
|
3099
|
-
"
|
|
3190
|
+
"condition": {
|
|
3191
|
+
"property": "authenticationType",
|
|
3192
|
+
"equals": "oauth-client-credentials-flow"
|
|
3193
|
+
}
|
|
3100
3194
|
},
|
|
3101
3195
|
{
|
|
3102
|
-
"
|
|
3103
|
-
"
|
|
3104
|
-
"
|
|
3105
|
-
"
|
|
3106
|
-
"value": "
|
|
3107
|
-
"
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3196
|
+
"label": "Client authentication",
|
|
3197
|
+
"id": "authentication.clientAuthentication",
|
|
3198
|
+
"group": "authentication",
|
|
3199
|
+
"description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
|
|
3200
|
+
"value": "basicAuthHeader",
|
|
3201
|
+
"type": "Dropdown",
|
|
3202
|
+
"choices": [
|
|
3203
|
+
{
|
|
3204
|
+
"name": "Send client credentials in body",
|
|
3205
|
+
"value": "credentialsBody"
|
|
3206
|
+
},
|
|
3207
|
+
{
|
|
3208
|
+
"name": "Send as Basic Auth header",
|
|
3209
|
+
"value": "basicAuthHeader"
|
|
3210
|
+
}
|
|
3211
|
+
],
|
|
3112
3212
|
"binding": {
|
|
3113
|
-
"
|
|
3114
|
-
"
|
|
3213
|
+
"type": "zeebe:input",
|
|
3214
|
+
"name": "authentication.clientAuthentication"
|
|
3115
3215
|
},
|
|
3116
|
-
"
|
|
3216
|
+
"condition": {
|
|
3217
|
+
"property": "authenticationType",
|
|
3218
|
+
"equals": "oauth-client-credentials-flow"
|
|
3219
|
+
}
|
|
3117
3220
|
},
|
|
3118
3221
|
{
|
|
3119
|
-
"
|
|
3120
|
-
"
|
|
3121
|
-
"
|
|
3122
|
-
"
|
|
3123
|
-
"
|
|
3222
|
+
"label": "Username",
|
|
3223
|
+
"group": "authentication",
|
|
3224
|
+
"type": "String",
|
|
3225
|
+
"feel": "optional",
|
|
3226
|
+
"binding": {
|
|
3227
|
+
"type": "zeebe:input",
|
|
3228
|
+
"name": "authentication.username"
|
|
3229
|
+
},
|
|
3124
3230
|
"constraints": {
|
|
3125
3231
|
"notEmpty": true
|
|
3126
3232
|
},
|
|
3233
|
+
"condition": {
|
|
3234
|
+
"property": "authenticationType",
|
|
3235
|
+
"equals": "basic"
|
|
3236
|
+
}
|
|
3237
|
+
},
|
|
3238
|
+
{
|
|
3239
|
+
"label": "Password",
|
|
3240
|
+
"group": "authentication",
|
|
3241
|
+
"type": "String",
|
|
3127
3242
|
"feel": "optional",
|
|
3128
|
-
"group": "timeout",
|
|
3129
3243
|
"binding": {
|
|
3130
|
-
"
|
|
3131
|
-
"
|
|
3244
|
+
"type": "zeebe:input",
|
|
3245
|
+
"name": "authentication.password"
|
|
3132
3246
|
},
|
|
3133
|
-
"type": "String"
|
|
3134
|
-
},
|
|
3135
|
-
{
|
|
3136
|
-
"id": "writeTimeoutInSeconds",
|
|
3137
|
-
"label": "Write timeout in seconds",
|
|
3138
|
-
"description": "Timeout in seconds to set data or 0 for an infinite timeout",
|
|
3139
|
-
"optional": false,
|
|
3140
|
-
"value": "0",
|
|
3141
3247
|
"constraints": {
|
|
3142
3248
|
"notEmpty": true
|
|
3143
3249
|
},
|
|
3144
|
-
"
|
|
3250
|
+
"condition": {
|
|
3251
|
+
"property": "authenticationType",
|
|
3252
|
+
"equals": "basic"
|
|
3253
|
+
}
|
|
3254
|
+
},
|
|
3255
|
+
{
|
|
3256
|
+
"label": "Connection timeout",
|
|
3257
|
+
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
3145
3258
|
"group": "timeout",
|
|
3259
|
+
"type": "String",
|
|
3260
|
+
"value": "20",
|
|
3146
3261
|
"binding": {
|
|
3147
|
-
"
|
|
3148
|
-
"
|
|
3149
|
-
},
|
|
3150
|
-
"condition": {
|
|
3151
|
-
"property": "method",
|
|
3152
|
-
"oneOf": ["POST", "PUT", "PATCH"],
|
|
3153
|
-
"type": "simple"
|
|
3262
|
+
"type": "zeebe:input",
|
|
3263
|
+
"name": "connectionTimeoutInSeconds"
|
|
3154
3264
|
},
|
|
3155
|
-
"
|
|
3265
|
+
"optional": true,
|
|
3266
|
+
"feel": "optional",
|
|
3267
|
+
"constraints": {
|
|
3268
|
+
"notEmpty": false,
|
|
3269
|
+
"pattern": {
|
|
3270
|
+
"value": "^(=|([0-9]+|secrets\\..+)$)",
|
|
3271
|
+
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
3272
|
+
}
|
|
3273
|
+
}
|
|
3156
3274
|
},
|
|
3157
3275
|
{
|
|
3158
|
-
"id": "body",
|
|
3159
3276
|
"label": "Request body",
|
|
3160
3277
|
"description": "Payload to send with the request",
|
|
3161
|
-
"
|
|
3278
|
+
"group": "input",
|
|
3279
|
+
"type": "Text",
|
|
3162
3280
|
"feel": "optional",
|
|
3163
|
-
"group": "payload",
|
|
3164
3281
|
"binding": {
|
|
3165
|
-
"
|
|
3166
|
-
"
|
|
3282
|
+
"type": "zeebe:input",
|
|
3283
|
+
"name": "body"
|
|
3167
3284
|
},
|
|
3168
3285
|
"condition": {
|
|
3169
3286
|
"property": "method",
|
|
3170
|
-
"oneOf": ["
|
|
3171
|
-
"type": "simple"
|
|
3287
|
+
"oneOf": ["post", "put", "patch", "delete"]
|
|
3172
3288
|
},
|
|
3173
|
-
"
|
|
3289
|
+
"optional": true
|
|
3174
3290
|
},
|
|
3175
3291
|
{
|
|
3176
|
-
"id": "resultVariable",
|
|
3177
3292
|
"label": "Result variable",
|
|
3178
|
-
"description": "Name of variable to store the response in",
|
|
3293
|
+
"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>",
|
|
3179
3294
|
"group": "output",
|
|
3295
|
+
"type": "String",
|
|
3180
3296
|
"binding": {
|
|
3181
|
-
"
|
|
3182
|
-
"
|
|
3183
|
-
}
|
|
3184
|
-
"type": "String"
|
|
3297
|
+
"type": "zeebe:taskHeader",
|
|
3298
|
+
"key": "resultVariable"
|
|
3299
|
+
}
|
|
3185
3300
|
},
|
|
3186
3301
|
{
|
|
3187
|
-
"id": "resultExpression",
|
|
3188
3302
|
"label": "Result expression",
|
|
3189
|
-
"description": "Expression to map the response into process variables",
|
|
3190
|
-
"feel": "required",
|
|
3303
|
+
"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>",
|
|
3191
3304
|
"group": "output",
|
|
3305
|
+
"type": "Text",
|
|
3306
|
+
"feel": "required",
|
|
3192
3307
|
"binding": {
|
|
3193
|
-
"
|
|
3194
|
-
"
|
|
3195
|
-
}
|
|
3196
|
-
"type": "Text"
|
|
3308
|
+
"type": "zeebe:taskHeader",
|
|
3309
|
+
"key": "resultExpression"
|
|
3310
|
+
}
|
|
3197
3311
|
},
|
|
3198
3312
|
{
|
|
3199
|
-
"id": "errorExpression",
|
|
3200
3313
|
"label": "Error expression",
|
|
3201
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
3314
|
+
"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>",
|
|
3315
|
+
"group": "errors",
|
|
3316
|
+
"type": "Text",
|
|
3202
3317
|
"feel": "required",
|
|
3203
|
-
"group": "error",
|
|
3204
|
-
"binding": {
|
|
3205
|
-
"key": "errorExpression",
|
|
3206
|
-
"type": "zeebe:taskHeader"
|
|
3207
|
-
},
|
|
3208
|
-
"type": "Text"
|
|
3209
|
-
},
|
|
3210
|
-
{
|
|
3211
|
-
"id": "retryCount",
|
|
3212
|
-
"label": "Retries",
|
|
3213
|
-
"description": "Number of retries",
|
|
3214
|
-
"value": "3",
|
|
3215
|
-
"feel": "optional",
|
|
3216
|
-
"group": "retries",
|
|
3217
|
-
"binding": {
|
|
3218
|
-
"property": "retries",
|
|
3219
|
-
"type": "zeebe:taskDefinition"
|
|
3220
|
-
},
|
|
3221
|
-
"type": "String"
|
|
3222
|
-
},
|
|
3223
|
-
{
|
|
3224
|
-
"id": "retryBackoff",
|
|
3225
|
-
"label": "Retry backoff",
|
|
3226
|
-
"description": "ISO-8601 duration to wait between retries",
|
|
3227
|
-
"value": "PT0S",
|
|
3228
|
-
"feel": "optional",
|
|
3229
|
-
"group": "retries",
|
|
3230
3318
|
"binding": {
|
|
3231
|
-
"
|
|
3232
|
-
"
|
|
3233
|
-
}
|
|
3234
|
-
"type": "String"
|
|
3319
|
+
"type": "zeebe:taskHeader",
|
|
3320
|
+
"key": "errorExpression"
|
|
3321
|
+
}
|
|
3235
3322
|
}
|
|
3236
|
-
]
|
|
3237
|
-
"icon": {
|
|
3238
|
-
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
|
|
3239
|
-
},
|
|
3240
|
-
"engines": {
|
|
3241
|
-
"camunda": "^8.5"
|
|
3242
|
-
}
|
|
3323
|
+
]
|
|
3243
3324
|
},
|
|
3244
3325
|
{
|
|
3245
3326
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
@@ -3247,7 +3328,7 @@
|
|
|
3247
3328
|
"id": "io.camunda.connectors.HttpJson.v2",
|
|
3248
3329
|
"description": "Invoke REST API",
|
|
3249
3330
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
|
|
3250
|
-
"version":
|
|
3331
|
+
"version": 8,
|
|
3251
3332
|
"category": {
|
|
3252
3333
|
"id": "connectors",
|
|
3253
3334
|
"name": "Connectors"
|
|
@@ -3263,7 +3344,7 @@
|
|
|
3263
3344
|
},
|
|
3264
3345
|
{
|
|
3265
3346
|
"id": "endpoint",
|
|
3266
|
-
"label": "HTTP
|
|
3347
|
+
"label": "HTTP endpoint"
|
|
3267
3348
|
},
|
|
3268
3349
|
{
|
|
3269
3350
|
"id": "timeout",
|
|
@@ -3462,11 +3543,15 @@
|
|
|
3462
3543
|
},
|
|
3463
3544
|
{
|
|
3464
3545
|
"id": "authentication.oauthTokenEndpoint",
|
|
3465
|
-
"label": "
|
|
3546
|
+
"label": "OAuth 2.0 token endpoint",
|
|
3466
3547
|
"description": "The OAuth token endpoint",
|
|
3467
3548
|
"optional": false,
|
|
3468
3549
|
"constraints": {
|
|
3469
|
-
"notEmpty": true
|
|
3550
|
+
"notEmpty": true,
|
|
3551
|
+
"pattern": {
|
|
3552
|
+
"value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
|
|
3553
|
+
"message": "Must be a http(s) URL"
|
|
3554
|
+
}
|
|
3470
3555
|
},
|
|
3471
3556
|
"feel": "optional",
|
|
3472
3557
|
"group": "authentication",
|
|
@@ -3483,7 +3568,7 @@
|
|
|
3483
3568
|
},
|
|
3484
3569
|
{
|
|
3485
3570
|
"id": "authentication.clientId",
|
|
3486
|
-
"label": "Client
|
|
3571
|
+
"label": "Client ID",
|
|
3487
3572
|
"description": "Your application's client ID from the OAuth client",
|
|
3488
3573
|
"optional": false,
|
|
3489
3574
|
"constraints": {
|
|
@@ -3674,9 +3759,16 @@
|
|
|
3674
3759
|
{
|
|
3675
3760
|
"id": "connectionTimeoutInSeconds",
|
|
3676
3761
|
"label": "Connection timeout in seconds",
|
|
3677
|
-
"description": "
|
|
3678
|
-
"optional":
|
|
3762
|
+
"description": "Defines the connection timeout in seconds, or 0 for an infinite timeout",
|
|
3763
|
+
"optional": false,
|
|
3679
3764
|
"value": "20",
|
|
3765
|
+
"constraints": {
|
|
3766
|
+
"notEmpty": true,
|
|
3767
|
+
"pattern": {
|
|
3768
|
+
"value": "^\\d+$",
|
|
3769
|
+
"message": "Must be a number"
|
|
3770
|
+
}
|
|
3771
|
+
},
|
|
3680
3772
|
"feel": "optional",
|
|
3681
3773
|
"group": "timeout",
|
|
3682
3774
|
"binding": {
|
|
@@ -3685,6 +3777,27 @@
|
|
|
3685
3777
|
},
|
|
3686
3778
|
"type": "String"
|
|
3687
3779
|
},
|
|
3780
|
+
{
|
|
3781
|
+
"id": "readTimeoutInSeconds",
|
|
3782
|
+
"label": "Read timeout in seconds",
|
|
3783
|
+
"description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
|
|
3784
|
+
"optional": false,
|
|
3785
|
+
"value": "20",
|
|
3786
|
+
"constraints": {
|
|
3787
|
+
"notEmpty": true,
|
|
3788
|
+
"pattern": {
|
|
3789
|
+
"value": "^\\d+$",
|
|
3790
|
+
"message": "Must be a number"
|
|
3791
|
+
}
|
|
3792
|
+
},
|
|
3793
|
+
"feel": "optional",
|
|
3794
|
+
"group": "timeout",
|
|
3795
|
+
"binding": {
|
|
3796
|
+
"name": "readTimeoutInSeconds",
|
|
3797
|
+
"type": "zeebe:input"
|
|
3798
|
+
},
|
|
3799
|
+
"type": "String"
|
|
3800
|
+
},
|
|
3688
3801
|
{
|
|
3689
3802
|
"id": "body",
|
|
3690
3803
|
"label": "Request body",
|
|
@@ -3769,16 +3882,19 @@
|
|
|
3769
3882
|
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
|
|
3770
3883
|
},
|
|
3771
3884
|
"engines": {
|
|
3772
|
-
"camunda": "^8.
|
|
3885
|
+
"camunda": "^8.6"
|
|
3773
3886
|
}
|
|
3774
3887
|
},
|
|
3775
3888
|
{
|
|
3776
3889
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
3777
|
-
"name": "REST
|
|
3890
|
+
"name": "REST connector",
|
|
3778
3891
|
"id": "io.camunda.connectors.HttpJson.v2",
|
|
3892
|
+
"version": 1,
|
|
3779
3893
|
"description": "Invoke REST API",
|
|
3780
|
-
"
|
|
3781
|
-
|
|
3894
|
+
"icon": {
|
|
3895
|
+
"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"
|
|
3896
|
+
},
|
|
3897
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/rest/",
|
|
3782
3898
|
"category": {
|
|
3783
3899
|
"id": "connectors",
|
|
3784
3900
|
"name": "Connectors"
|
|
@@ -3794,50 +3910,46 @@
|
|
|
3794
3910
|
},
|
|
3795
3911
|
{
|
|
3796
3912
|
"id": "endpoint",
|
|
3797
|
-
"label": "HTTP
|
|
3913
|
+
"label": "HTTP endpoint"
|
|
3798
3914
|
},
|
|
3799
3915
|
{
|
|
3800
|
-
"id": "
|
|
3801
|
-
"label": "
|
|
3916
|
+
"id": "input",
|
|
3917
|
+
"label": "Payload"
|
|
3802
3918
|
},
|
|
3803
3919
|
{
|
|
3804
|
-
"id": "
|
|
3805
|
-
"label": "
|
|
3920
|
+
"id": "timeout",
|
|
3921
|
+
"label": "Connect timeout"
|
|
3806
3922
|
},
|
|
3807
3923
|
{
|
|
3808
3924
|
"id": "output",
|
|
3809
|
-
"label": "
|
|
3925
|
+
"label": "Response mapping"
|
|
3810
3926
|
},
|
|
3811
3927
|
{
|
|
3812
|
-
"id": "
|
|
3928
|
+
"id": "errors",
|
|
3813
3929
|
"label": "Error handling"
|
|
3814
|
-
},
|
|
3815
|
-
{
|
|
3816
|
-
"id": "retries",
|
|
3817
|
-
"label": "Retries"
|
|
3818
3930
|
}
|
|
3819
3931
|
],
|
|
3820
3932
|
"properties": [
|
|
3821
3933
|
{
|
|
3934
|
+
"type": "Hidden",
|
|
3822
3935
|
"value": "io.camunda:http-json:1",
|
|
3823
3936
|
"binding": {
|
|
3824
3937
|
"type": "zeebe:taskDefinition",
|
|
3825
3938
|
"property": "type"
|
|
3826
|
-
}
|
|
3827
|
-
"type": "Hidden"
|
|
3939
|
+
}
|
|
3828
3940
|
},
|
|
3829
3941
|
{
|
|
3830
|
-
"id": "authentication.type",
|
|
3831
3942
|
"label": "Type",
|
|
3943
|
+
"id": "authenticationType",
|
|
3944
|
+
"group": "authentication",
|
|
3832
3945
|
"description": "Choose the authentication type. Select 'None' if no authentication is necessary",
|
|
3833
3946
|
"value": "noAuth",
|
|
3834
|
-
"group": "authentication",
|
|
3835
|
-
"binding": {
|
|
3836
|
-
"name": "authentication.type",
|
|
3837
|
-
"type": "zeebe:input"
|
|
3838
|
-
},
|
|
3839
3947
|
"type": "Dropdown",
|
|
3840
3948
|
"choices": [
|
|
3949
|
+
{
|
|
3950
|
+
"name": "None",
|
|
3951
|
+
"value": "noAuth"
|
|
3952
|
+
},
|
|
3841
3953
|
{
|
|
3842
3954
|
"name": "Basic",
|
|
3843
3955
|
"value": "basic"
|
|
@@ -3846,167 +3958,199 @@
|
|
|
3846
3958
|
"name": "Bearer token",
|
|
3847
3959
|
"value": "bearer"
|
|
3848
3960
|
},
|
|
3849
|
-
{
|
|
3850
|
-
"name": "None",
|
|
3851
|
-
"value": "noAuth"
|
|
3852
|
-
},
|
|
3853
3961
|
{
|
|
3854
3962
|
"name": "OAuth 2.0",
|
|
3855
3963
|
"value": "oauth-client-credentials-flow"
|
|
3856
3964
|
}
|
|
3857
|
-
]
|
|
3965
|
+
],
|
|
3966
|
+
"binding": {
|
|
3967
|
+
"type": "zeebe:input",
|
|
3968
|
+
"name": "authentication.type"
|
|
3969
|
+
}
|
|
3858
3970
|
},
|
|
3859
3971
|
{
|
|
3860
|
-
"id": "
|
|
3861
|
-
"label": "
|
|
3862
|
-
"
|
|
3863
|
-
"
|
|
3864
|
-
|
|
3865
|
-
|
|
3972
|
+
"id": "method",
|
|
3973
|
+
"label": "Method",
|
|
3974
|
+
"group": "endpoint",
|
|
3975
|
+
"type": "Dropdown",
|
|
3976
|
+
"value": "get",
|
|
3977
|
+
"choices": [
|
|
3978
|
+
{
|
|
3979
|
+
"name": "GET",
|
|
3980
|
+
"value": "get"
|
|
3981
|
+
},
|
|
3982
|
+
{
|
|
3983
|
+
"name": "POST",
|
|
3984
|
+
"value": "post"
|
|
3985
|
+
},
|
|
3986
|
+
{
|
|
3987
|
+
"name": "PATCH",
|
|
3988
|
+
"value": "patch"
|
|
3989
|
+
},
|
|
3990
|
+
{
|
|
3991
|
+
"name": "PUT",
|
|
3992
|
+
"value": "put"
|
|
3993
|
+
},
|
|
3994
|
+
{
|
|
3995
|
+
"name": "DELETE",
|
|
3996
|
+
"value": "delete"
|
|
3997
|
+
}
|
|
3998
|
+
],
|
|
3999
|
+
"binding": {
|
|
4000
|
+
"type": "zeebe:input",
|
|
4001
|
+
"name": "method"
|
|
4002
|
+
}
|
|
4003
|
+
},
|
|
4004
|
+
{
|
|
4005
|
+
"label": "URL",
|
|
4006
|
+
"group": "endpoint",
|
|
4007
|
+
"type": "String",
|
|
3866
4008
|
"feel": "optional",
|
|
3867
|
-
"group": "authentication",
|
|
3868
4009
|
"binding": {
|
|
3869
|
-
"
|
|
3870
|
-
"
|
|
3871
|
-
},
|
|
3872
|
-
"condition": {
|
|
3873
|
-
"property": "authentication.type",
|
|
3874
|
-
"equals": "basic"
|
|
4010
|
+
"type": "zeebe:input",
|
|
4011
|
+
"name": "url"
|
|
3875
4012
|
},
|
|
3876
|
-
"
|
|
4013
|
+
"constraints": {
|
|
4014
|
+
"notEmpty": true,
|
|
4015
|
+
"pattern": {
|
|
4016
|
+
"value": "^(=|(http://|https://|secrets).*$)",
|
|
4017
|
+
"message": "Must be a http(s) URL."
|
|
4018
|
+
}
|
|
4019
|
+
}
|
|
3877
4020
|
},
|
|
3878
4021
|
{
|
|
3879
|
-
"
|
|
3880
|
-
"
|
|
3881
|
-
"
|
|
3882
|
-
"
|
|
3883
|
-
|
|
3884
|
-
},
|
|
3885
|
-
"feel": "optional",
|
|
3886
|
-
"group": "authentication",
|
|
4022
|
+
"label": "Query parameters",
|
|
4023
|
+
"description": "Map of query parameters to add to the request URL",
|
|
4024
|
+
"group": "endpoint",
|
|
4025
|
+
"type": "Text",
|
|
4026
|
+
"feel": "required",
|
|
3887
4027
|
"binding": {
|
|
3888
|
-
"
|
|
3889
|
-
"
|
|
4028
|
+
"type": "zeebe:input",
|
|
4029
|
+
"name": "queryParameters"
|
|
3890
4030
|
},
|
|
3891
|
-
"
|
|
3892
|
-
|
|
3893
|
-
|
|
4031
|
+
"optional": true
|
|
4032
|
+
},
|
|
4033
|
+
{
|
|
4034
|
+
"label": "HTTP headers",
|
|
4035
|
+
"description": "Map of HTTP headers to add to the request",
|
|
4036
|
+
"group": "endpoint",
|
|
4037
|
+
"type": "Text",
|
|
4038
|
+
"feel": "required",
|
|
4039
|
+
"binding": {
|
|
4040
|
+
"type": "zeebe:input",
|
|
4041
|
+
"name": "headers"
|
|
3894
4042
|
},
|
|
3895
|
-
"
|
|
4043
|
+
"optional": true
|
|
3896
4044
|
},
|
|
3897
4045
|
{
|
|
3898
|
-
"id": "authentication.token",
|
|
3899
4046
|
"label": "Bearer token",
|
|
3900
|
-
"optional": false,
|
|
3901
|
-
"constraints": {
|
|
3902
|
-
"notEmpty": true
|
|
3903
|
-
},
|
|
3904
|
-
"feel": "optional",
|
|
3905
4047
|
"group": "authentication",
|
|
4048
|
+
"type": "String",
|
|
4049
|
+
"feel": "optional",
|
|
3906
4050
|
"binding": {
|
|
3907
|
-
"
|
|
3908
|
-
"
|
|
4051
|
+
"type": "zeebe:input",
|
|
4052
|
+
"name": "authentication.token"
|
|
4053
|
+
},
|
|
4054
|
+
"constraints": {
|
|
4055
|
+
"notEmpty": true
|
|
3909
4056
|
},
|
|
3910
4057
|
"condition": {
|
|
3911
|
-
"property": "
|
|
4058
|
+
"property": "authenticationType",
|
|
3912
4059
|
"equals": "bearer"
|
|
3913
|
-
}
|
|
3914
|
-
"type": "String"
|
|
4060
|
+
}
|
|
3915
4061
|
},
|
|
3916
4062
|
{
|
|
3917
|
-
"
|
|
3918
|
-
"label": "Oauth token endpoint",
|
|
4063
|
+
"label": "OAuth token endpoint",
|
|
3919
4064
|
"description": "The OAuth token endpoint",
|
|
3920
|
-
"optional": false,
|
|
3921
|
-
"constraints": {
|
|
3922
|
-
"notEmpty": true
|
|
3923
|
-
},
|
|
3924
|
-
"feel": "optional",
|
|
3925
4065
|
"group": "authentication",
|
|
4066
|
+
"type": "String",
|
|
4067
|
+
"feel": "optional",
|
|
3926
4068
|
"binding": {
|
|
3927
|
-
"
|
|
3928
|
-
"
|
|
4069
|
+
"type": "zeebe:input",
|
|
4070
|
+
"name": "authentication.oauthTokenEndpoint"
|
|
4071
|
+
},
|
|
4072
|
+
"constraints": {
|
|
4073
|
+
"notEmpty": true
|
|
3929
4074
|
},
|
|
3930
4075
|
"condition": {
|
|
3931
|
-
"property": "
|
|
4076
|
+
"property": "authenticationType",
|
|
3932
4077
|
"equals": "oauth-client-credentials-flow"
|
|
3933
|
-
}
|
|
3934
|
-
"type": "String"
|
|
4078
|
+
}
|
|
3935
4079
|
},
|
|
3936
4080
|
{
|
|
3937
|
-
"
|
|
3938
|
-
"label": "Client id",
|
|
4081
|
+
"label": "Client ID",
|
|
3939
4082
|
"description": "Your application's client ID from the OAuth client",
|
|
3940
|
-
"optional": false,
|
|
3941
|
-
"constraints": {
|
|
3942
|
-
"notEmpty": true
|
|
3943
|
-
},
|
|
3944
|
-
"feel": "optional",
|
|
3945
4083
|
"group": "authentication",
|
|
4084
|
+
"type": "String",
|
|
4085
|
+
"feel": "optional",
|
|
3946
4086
|
"binding": {
|
|
3947
|
-
"
|
|
3948
|
-
"
|
|
4087
|
+
"type": "zeebe:input",
|
|
4088
|
+
"name": "authentication.clientId"
|
|
4089
|
+
},
|
|
4090
|
+
"constraints": {
|
|
4091
|
+
"notEmpty": true
|
|
3949
4092
|
},
|
|
3950
4093
|
"condition": {
|
|
3951
|
-
"property": "
|
|
4094
|
+
"property": "authenticationType",
|
|
3952
4095
|
"equals": "oauth-client-credentials-flow"
|
|
3953
|
-
}
|
|
3954
|
-
"type": "String"
|
|
4096
|
+
}
|
|
3955
4097
|
},
|
|
3956
4098
|
{
|
|
3957
|
-
"id": "authentication.clientSecret",
|
|
3958
4099
|
"label": "Client secret",
|
|
3959
4100
|
"description": "Your application's client secret from the OAuth client",
|
|
3960
|
-
"
|
|
4101
|
+
"group": "authentication",
|
|
4102
|
+
"type": "String",
|
|
4103
|
+
"feel": "optional",
|
|
4104
|
+
"binding": {
|
|
4105
|
+
"type": "zeebe:input",
|
|
4106
|
+
"name": "authentication.clientSecret"
|
|
4107
|
+
},
|
|
3961
4108
|
"constraints": {
|
|
3962
4109
|
"notEmpty": true
|
|
3963
4110
|
},
|
|
3964
|
-
"
|
|
4111
|
+
"condition": {
|
|
4112
|
+
"property": "authenticationType",
|
|
4113
|
+
"equals": "oauth-client-credentials-flow"
|
|
4114
|
+
}
|
|
4115
|
+
},
|
|
4116
|
+
{
|
|
4117
|
+
"label": "Scopes",
|
|
4118
|
+
"description": "The scopes which you want to request authorization for (e.g.read:contacts)",
|
|
3965
4119
|
"group": "authentication",
|
|
4120
|
+
"type": "String",
|
|
4121
|
+
"feel": "optional",
|
|
4122
|
+
"optional": true,
|
|
3966
4123
|
"binding": {
|
|
3967
|
-
"
|
|
3968
|
-
"
|
|
4124
|
+
"type": "zeebe:input",
|
|
4125
|
+
"name": "authentication.scopes"
|
|
3969
4126
|
},
|
|
3970
4127
|
"condition": {
|
|
3971
|
-
"property": "
|
|
4128
|
+
"property": "authenticationType",
|
|
3972
4129
|
"equals": "oauth-client-credentials-flow"
|
|
3973
|
-
}
|
|
3974
|
-
"type": "String"
|
|
4130
|
+
}
|
|
3975
4131
|
},
|
|
3976
4132
|
{
|
|
3977
|
-
"id": "authentication.audience",
|
|
3978
4133
|
"label": "Audience",
|
|
3979
4134
|
"description": "The unique identifier of the target API you want to access",
|
|
3980
|
-
"optional": true,
|
|
3981
|
-
"feel": "optional",
|
|
3982
4135
|
"group": "authentication",
|
|
4136
|
+
"type": "String",
|
|
4137
|
+
"feel": "optional",
|
|
4138
|
+
"optional": true,
|
|
3983
4139
|
"binding": {
|
|
3984
|
-
"
|
|
3985
|
-
"
|
|
4140
|
+
"type": "zeebe:input",
|
|
4141
|
+
"name": "authentication.audience"
|
|
3986
4142
|
},
|
|
3987
4143
|
"condition": {
|
|
3988
|
-
"property": "
|
|
4144
|
+
"property": "authenticationType",
|
|
3989
4145
|
"equals": "oauth-client-credentials-flow"
|
|
3990
|
-
}
|
|
3991
|
-
"type": "String"
|
|
4146
|
+
}
|
|
3992
4147
|
},
|
|
3993
4148
|
{
|
|
3994
|
-
"id": "authentication.clientAuthentication",
|
|
3995
4149
|
"label": "Client authentication",
|
|
3996
|
-
"
|
|
3997
|
-
"optional": false,
|
|
3998
|
-
"constraints": {
|
|
3999
|
-
"notEmpty": true
|
|
4000
|
-
},
|
|
4150
|
+
"id": "authentication.clientAuthentication",
|
|
4001
4151
|
"group": "authentication",
|
|
4002
|
-
"
|
|
4003
|
-
|
|
4004
|
-
"type": "zeebe:input"
|
|
4005
|
-
},
|
|
4006
|
-
"condition": {
|
|
4007
|
-
"property": "authentication.type",
|
|
4008
|
-
"equals": "oauth-client-credentials-flow"
|
|
4009
|
-
},
|
|
4152
|
+
"description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
|
|
4153
|
+
"value": "basicAuthHeader",
|
|
4010
4154
|
"type": "Dropdown",
|
|
4011
4155
|
"choices": [
|
|
4012
4156
|
{
|
|
@@ -4017,189 +4161,119 @@
|
|
|
4017
4161
|
"name": "Send as Basic Auth header",
|
|
4018
4162
|
"value": "basicAuthHeader"
|
|
4019
4163
|
}
|
|
4020
|
-
]
|
|
4021
|
-
},
|
|
4022
|
-
{
|
|
4023
|
-
"id": "authentication.scopes",
|
|
4024
|
-
"label": "Scopes",
|
|
4025
|
-
"description": "The scopes which you want to request authorization for (e.g.read:contacts)",
|
|
4026
|
-
"optional": true,
|
|
4027
|
-
"feel": "optional",
|
|
4028
|
-
"group": "authentication",
|
|
4164
|
+
],
|
|
4029
4165
|
"binding": {
|
|
4030
|
-
"
|
|
4031
|
-
"
|
|
4166
|
+
"type": "zeebe:input",
|
|
4167
|
+
"name": "authentication.clientAuthentication"
|
|
4032
4168
|
},
|
|
4033
4169
|
"condition": {
|
|
4034
|
-
"property": "
|
|
4170
|
+
"property": "authenticationType",
|
|
4035
4171
|
"equals": "oauth-client-credentials-flow"
|
|
4036
|
-
}
|
|
4037
|
-
"type": "String"
|
|
4172
|
+
}
|
|
4038
4173
|
},
|
|
4039
4174
|
{
|
|
4040
|
-
"
|
|
4041
|
-
"
|
|
4042
|
-
"
|
|
4043
|
-
"
|
|
4044
|
-
"constraints": {
|
|
4045
|
-
"notEmpty": true
|
|
4046
|
-
},
|
|
4047
|
-
"group": "endpoint",
|
|
4175
|
+
"label": "Username",
|
|
4176
|
+
"group": "authentication",
|
|
4177
|
+
"type": "String",
|
|
4178
|
+
"feel": "optional",
|
|
4048
4179
|
"binding": {
|
|
4049
|
-
"
|
|
4050
|
-
"
|
|
4180
|
+
"type": "zeebe:input",
|
|
4181
|
+
"name": "authentication.username"
|
|
4051
4182
|
},
|
|
4052
|
-
"type": "Dropdown",
|
|
4053
|
-
"choices": [
|
|
4054
|
-
{
|
|
4055
|
-
"name": "DELETE",
|
|
4056
|
-
"value": "DELETE"
|
|
4057
|
-
},
|
|
4058
|
-
{
|
|
4059
|
-
"name": "POST",
|
|
4060
|
-
"value": "POST"
|
|
4061
|
-
},
|
|
4062
|
-
{
|
|
4063
|
-
"name": "GET",
|
|
4064
|
-
"value": "GET"
|
|
4065
|
-
},
|
|
4066
|
-
{
|
|
4067
|
-
"name": "PATCH",
|
|
4068
|
-
"value": "PATCH"
|
|
4069
|
-
},
|
|
4070
|
-
{
|
|
4071
|
-
"name": "PUT",
|
|
4072
|
-
"value": "PUT"
|
|
4073
|
-
}
|
|
4074
|
-
]
|
|
4075
|
-
},
|
|
4076
|
-
{
|
|
4077
|
-
"id": "url",
|
|
4078
|
-
"label": "URL",
|
|
4079
|
-
"optional": false,
|
|
4080
4183
|
"constraints": {
|
|
4081
|
-
"notEmpty": true
|
|
4082
|
-
"pattern": {
|
|
4083
|
-
"value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
|
|
4084
|
-
"message": "Must be a http(s) URL"
|
|
4085
|
-
}
|
|
4086
|
-
},
|
|
4087
|
-
"feel": "optional",
|
|
4088
|
-
"group": "endpoint",
|
|
4089
|
-
"binding": {
|
|
4090
|
-
"name": "url",
|
|
4091
|
-
"type": "zeebe:input"
|
|
4184
|
+
"notEmpty": true
|
|
4092
4185
|
},
|
|
4093
|
-
"
|
|
4186
|
+
"condition": {
|
|
4187
|
+
"property": "authenticationType",
|
|
4188
|
+
"equals": "basic"
|
|
4189
|
+
}
|
|
4094
4190
|
},
|
|
4095
4191
|
{
|
|
4096
|
-
"
|
|
4097
|
-
"
|
|
4098
|
-
"
|
|
4099
|
-
"
|
|
4100
|
-
"feel": "required",
|
|
4101
|
-
"group": "endpoint",
|
|
4192
|
+
"label": "Password",
|
|
4193
|
+
"group": "authentication",
|
|
4194
|
+
"type": "String",
|
|
4195
|
+
"feel": "optional",
|
|
4102
4196
|
"binding": {
|
|
4103
|
-
"
|
|
4104
|
-
"
|
|
4197
|
+
"type": "zeebe:input",
|
|
4198
|
+
"name": "authentication.password"
|
|
4105
4199
|
},
|
|
4106
|
-
"
|
|
4107
|
-
|
|
4108
|
-
{
|
|
4109
|
-
"id": "queryParameters",
|
|
4110
|
-
"label": "Query parameters",
|
|
4111
|
-
"description": "Map of query parameters to add to the request URL",
|
|
4112
|
-
"optional": true,
|
|
4113
|
-
"feel": "required",
|
|
4114
|
-
"group": "endpoint",
|
|
4115
|
-
"binding": {
|
|
4116
|
-
"name": "queryParameters",
|
|
4117
|
-
"type": "zeebe:input"
|
|
4200
|
+
"constraints": {
|
|
4201
|
+
"notEmpty": true
|
|
4118
4202
|
},
|
|
4119
|
-
"
|
|
4203
|
+
"condition": {
|
|
4204
|
+
"property": "authenticationType",
|
|
4205
|
+
"equals": "basic"
|
|
4206
|
+
}
|
|
4120
4207
|
},
|
|
4121
4208
|
{
|
|
4122
|
-
"
|
|
4123
|
-
"label": "Connection timeout in seconds",
|
|
4209
|
+
"label": "Connection timeout",
|
|
4124
4210
|
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
4125
|
-
"optional": true,
|
|
4126
|
-
"value": "20",
|
|
4127
|
-
"feel": "optional",
|
|
4128
4211
|
"group": "timeout",
|
|
4212
|
+
"type": "String",
|
|
4213
|
+
"value": "20",
|
|
4129
4214
|
"binding": {
|
|
4130
|
-
"
|
|
4131
|
-
"
|
|
4215
|
+
"type": "zeebe:input",
|
|
4216
|
+
"name": "connectionTimeoutInSeconds"
|
|
4132
4217
|
},
|
|
4133
|
-
"
|
|
4218
|
+
"optional": true,
|
|
4219
|
+
"feel": "optional",
|
|
4220
|
+
"constraints": {
|
|
4221
|
+
"notEmpty": false,
|
|
4222
|
+
"pattern": {
|
|
4223
|
+
"value": "^(=|([0-9]+|secrets\\..+)$)",
|
|
4224
|
+
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
4225
|
+
}
|
|
4226
|
+
}
|
|
4134
4227
|
},
|
|
4135
4228
|
{
|
|
4136
|
-
"id": "body",
|
|
4137
4229
|
"label": "Request body",
|
|
4138
4230
|
"description": "Payload to send with the request",
|
|
4139
|
-
"
|
|
4231
|
+
"group": "input",
|
|
4232
|
+
"type": "Text",
|
|
4140
4233
|
"feel": "optional",
|
|
4141
|
-
"group": "payload",
|
|
4142
4234
|
"binding": {
|
|
4143
|
-
"
|
|
4144
|
-
"
|
|
4235
|
+
"type": "zeebe:input",
|
|
4236
|
+
"name": "body"
|
|
4145
4237
|
},
|
|
4146
4238
|
"condition": {
|
|
4147
4239
|
"property": "method",
|
|
4148
|
-
"oneOf": ["
|
|
4240
|
+
"oneOf": ["post", "put", "patch", "delete"]
|
|
4149
4241
|
},
|
|
4150
|
-
"
|
|
4242
|
+
"optional": true
|
|
4151
4243
|
},
|
|
4152
4244
|
{
|
|
4153
|
-
"id": "resultVariable",
|
|
4154
4245
|
"label": "Result variable",
|
|
4155
|
-
"description": "Name of variable to store the response in",
|
|
4246
|
+
"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>",
|
|
4156
4247
|
"group": "output",
|
|
4248
|
+
"type": "String",
|
|
4157
4249
|
"binding": {
|
|
4158
|
-
"
|
|
4159
|
-
"
|
|
4160
|
-
}
|
|
4161
|
-
"type": "String"
|
|
4250
|
+
"type": "zeebe:taskHeader",
|
|
4251
|
+
"key": "resultVariable"
|
|
4252
|
+
}
|
|
4162
4253
|
},
|
|
4163
4254
|
{
|
|
4164
|
-
"id": "resultExpression",
|
|
4165
4255
|
"label": "Result expression",
|
|
4166
|
-
"description": "Expression to map the response into process variables",
|
|
4167
|
-
"feel": "required",
|
|
4256
|
+
"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>",
|
|
4168
4257
|
"group": "output",
|
|
4258
|
+
"type": "Text",
|
|
4259
|
+
"feel": "required",
|
|
4169
4260
|
"binding": {
|
|
4170
|
-
"
|
|
4171
|
-
"
|
|
4172
|
-
}
|
|
4173
|
-
"type": "Text"
|
|
4261
|
+
"type": "zeebe:taskHeader",
|
|
4262
|
+
"key": "resultExpression"
|
|
4263
|
+
}
|
|
4174
4264
|
},
|
|
4175
4265
|
{
|
|
4176
|
-
"id": "errorExpression",
|
|
4177
4266
|
"label": "Error expression",
|
|
4178
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
4267
|
+
"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>",
|
|
4268
|
+
"group": "errors",
|
|
4269
|
+
"type": "Text",
|
|
4179
4270
|
"feel": "required",
|
|
4180
|
-
"group": "error",
|
|
4181
|
-
"binding": {
|
|
4182
|
-
"key": "errorExpression",
|
|
4183
|
-
"type": "zeebe:taskHeader"
|
|
4184
|
-
},
|
|
4185
|
-
"type": "Text"
|
|
4186
|
-
},
|
|
4187
|
-
{
|
|
4188
|
-
"id": "retryBackoff",
|
|
4189
|
-
"label": "Retry backoff",
|
|
4190
|
-
"description": "ISO-8601 duration to wait between retries",
|
|
4191
|
-
"value": "PT0S",
|
|
4192
|
-
"group": "retries",
|
|
4193
4271
|
"binding": {
|
|
4194
|
-
"
|
|
4195
|
-
"
|
|
4196
|
-
}
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
],
|
|
4200
|
-
"icon": {
|
|
4201
|
-
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
|
|
4202
|
-
},
|
|
4272
|
+
"type": "zeebe:taskHeader",
|
|
4273
|
+
"key": "errorExpression"
|
|
4274
|
+
}
|
|
4275
|
+
}
|
|
4276
|
+
],
|
|
4203
4277
|
"engines": {
|
|
4204
4278
|
"camunda": "^8.2"
|
|
4205
4279
|
}
|
|
@@ -4213,7 +4287,7 @@
|
|
|
4213
4287
|
"keywords": []
|
|
4214
4288
|
},
|
|
4215
4289
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
|
|
4216
|
-
"version":
|
|
4290
|
+
"version": 11,
|
|
4217
4291
|
"category": {
|
|
4218
4292
|
"id": "connectors",
|
|
4219
4293
|
"name": "Connectors"
|
|
@@ -4242,6 +4316,10 @@
|
|
|
4242
4316
|
"id": "payload",
|
|
4243
4317
|
"label": "Payload"
|
|
4244
4318
|
},
|
|
4319
|
+
{
|
|
4320
|
+
"id": "connector",
|
|
4321
|
+
"label": "Connector"
|
|
4322
|
+
},
|
|
4245
4323
|
{
|
|
4246
4324
|
"id": "output",
|
|
4247
4325
|
"label": "Output mapping"
|
|
@@ -4730,6 +4808,30 @@
|
|
|
4730
4808
|
},
|
|
4731
4809
|
"type": "Text"
|
|
4732
4810
|
},
|
|
4811
|
+
{
|
|
4812
|
+
"id": "version",
|
|
4813
|
+
"label": "Version",
|
|
4814
|
+
"description": "Version of the element template",
|
|
4815
|
+
"value": "11",
|
|
4816
|
+
"group": "connector",
|
|
4817
|
+
"binding": {
|
|
4818
|
+
"key": "elementTemplateVersion",
|
|
4819
|
+
"type": "zeebe:taskHeader"
|
|
4820
|
+
},
|
|
4821
|
+
"type": "Hidden"
|
|
4822
|
+
},
|
|
4823
|
+
{
|
|
4824
|
+
"id": "id",
|
|
4825
|
+
"label": "ID",
|
|
4826
|
+
"description": "ID of the element template",
|
|
4827
|
+
"value": "io.camunda.connectors.HttpJson.v2",
|
|
4828
|
+
"group": "connector",
|
|
4829
|
+
"binding": {
|
|
4830
|
+
"key": "elementTemplateId",
|
|
4831
|
+
"type": "zeebe:taskHeader"
|
|
4832
|
+
},
|
|
4833
|
+
"type": "Hidden"
|
|
4834
|
+
},
|
|
4733
4835
|
{
|
|
4734
4836
|
"id": "resultVariable",
|
|
4735
4837
|
"label": "Result variable",
|
|
@@ -4795,11 +4897,163 @@
|
|
|
4795
4897
|
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
|
|
4796
4898
|
}
|
|
4797
4899
|
},
|
|
4900
|
+
{
|
|
4901
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
4902
|
+
"name": "REST Connector (No Auth)",
|
|
4903
|
+
"id": "io.camunda.connectors.HttpJson.v1.noAuth",
|
|
4904
|
+
"description": "[Deprecated] Replace with 'REST Connector' template.",
|
|
4905
|
+
"documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/protocol/rest/",
|
|
4906
|
+
"deprecated": {
|
|
4907
|
+
"message": "Replace with 'REST Connector' template.",
|
|
4908
|
+
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
4909
|
+
},
|
|
4910
|
+
"icon": {
|
|
4911
|
+
"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"
|
|
4912
|
+
},
|
|
4913
|
+
"category": {
|
|
4914
|
+
"id": "connectors",
|
|
4915
|
+
"name": "Connectors"
|
|
4916
|
+
},
|
|
4917
|
+
"appliesTo": ["bpmn:Task"],
|
|
4918
|
+
"elementType": {
|
|
4919
|
+
"value": "bpmn:ServiceTask"
|
|
4920
|
+
},
|
|
4921
|
+
"groups": [
|
|
4922
|
+
{
|
|
4923
|
+
"id": "endpoint",
|
|
4924
|
+
"label": "HTTP Endpoint"
|
|
4925
|
+
},
|
|
4926
|
+
{
|
|
4927
|
+
"id": "input",
|
|
4928
|
+
"label": "Payload"
|
|
4929
|
+
},
|
|
4930
|
+
{
|
|
4931
|
+
"id": "output",
|
|
4932
|
+
"label": "Response Mapping"
|
|
4933
|
+
}
|
|
4934
|
+
],
|
|
4935
|
+
"properties": [
|
|
4936
|
+
{
|
|
4937
|
+
"type": "Hidden",
|
|
4938
|
+
"value": "io.camunda:http-json:1",
|
|
4939
|
+
"binding": {
|
|
4940
|
+
"type": "zeebe:taskDefinition",
|
|
4941
|
+
"property": "type"
|
|
4942
|
+
}
|
|
4943
|
+
},
|
|
4944
|
+
{
|
|
4945
|
+
"label": "Method",
|
|
4946
|
+
"group": "endpoint",
|
|
4947
|
+
"type": "Dropdown",
|
|
4948
|
+
"value": "get",
|
|
4949
|
+
"choices": [
|
|
4950
|
+
{
|
|
4951
|
+
"name": "GET",
|
|
4952
|
+
"value": "get"
|
|
4953
|
+
},
|
|
4954
|
+
{
|
|
4955
|
+
"name": "POST",
|
|
4956
|
+
"value": "post"
|
|
4957
|
+
},
|
|
4958
|
+
{
|
|
4959
|
+
"name": "PATCH",
|
|
4960
|
+
"value": "patch"
|
|
4961
|
+
},
|
|
4962
|
+
{
|
|
4963
|
+
"name": "PUT",
|
|
4964
|
+
"value": "put"
|
|
4965
|
+
},
|
|
4966
|
+
{
|
|
4967
|
+
"name": "DELETE",
|
|
4968
|
+
"value": "delete"
|
|
4969
|
+
}
|
|
4970
|
+
],
|
|
4971
|
+
"binding": {
|
|
4972
|
+
"type": "zeebe:input",
|
|
4973
|
+
"name": "method"
|
|
4974
|
+
}
|
|
4975
|
+
},
|
|
4976
|
+
{
|
|
4977
|
+
"label": "URL",
|
|
4978
|
+
"group": "endpoint",
|
|
4979
|
+
"type": "String",
|
|
4980
|
+
"feel": "optional",
|
|
4981
|
+
"binding": {
|
|
4982
|
+
"type": "zeebe:input",
|
|
4983
|
+
"name": "url"
|
|
4984
|
+
},
|
|
4985
|
+
"constraints": {
|
|
4986
|
+
"notEmpty": true,
|
|
4987
|
+
"pattern": {
|
|
4988
|
+
"value": "^(=|https?://).*",
|
|
4989
|
+
"message": "Must be a http(s) URL."
|
|
4990
|
+
}
|
|
4991
|
+
}
|
|
4992
|
+
},
|
|
4993
|
+
{
|
|
4994
|
+
"label": "Query Parameters",
|
|
4995
|
+
"description": "Map of query parameters to add to the request URL",
|
|
4996
|
+
"group": "endpoint",
|
|
4997
|
+
"type": "Text",
|
|
4998
|
+
"feel": "required",
|
|
4999
|
+
"binding": {
|
|
5000
|
+
"type": "zeebe:input",
|
|
5001
|
+
"name": "queryParameters"
|
|
5002
|
+
},
|
|
5003
|
+
"optional": true
|
|
5004
|
+
},
|
|
5005
|
+
{
|
|
5006
|
+
"label": "HTTP Headers",
|
|
5007
|
+
"description": "Map of HTTP headers to add to the request",
|
|
5008
|
+
"group": "endpoint",
|
|
5009
|
+
"type": "Text",
|
|
5010
|
+
"feel": "required",
|
|
5011
|
+
"binding": {
|
|
5012
|
+
"type": "zeebe:input",
|
|
5013
|
+
"name": "headers"
|
|
5014
|
+
},
|
|
5015
|
+
"optional": true
|
|
5016
|
+
},
|
|
5017
|
+
{
|
|
5018
|
+
"label": "Request Body",
|
|
5019
|
+
"description": "JSON payload to send with the request",
|
|
5020
|
+
"group": "input",
|
|
5021
|
+
"type": "Text",
|
|
5022
|
+
"feel": "optional",
|
|
5023
|
+
"binding": {
|
|
5024
|
+
"type": "zeebe:input",
|
|
5025
|
+
"name": "body"
|
|
5026
|
+
},
|
|
5027
|
+
"optional": true
|
|
5028
|
+
},
|
|
5029
|
+
{
|
|
5030
|
+
"label": "Result Variable",
|
|
5031
|
+
"description": "Name of variable to store the response in",
|
|
5032
|
+
"group": "output",
|
|
5033
|
+
"type": "String",
|
|
5034
|
+
"binding": {
|
|
5035
|
+
"type": "zeebe:taskHeader",
|
|
5036
|
+
"key": "resultVariable"
|
|
5037
|
+
}
|
|
5038
|
+
},
|
|
5039
|
+
{
|
|
5040
|
+
"label": "Result Expression",
|
|
5041
|
+
"description": "Expression to map the response into process variables",
|
|
5042
|
+
"group": "output",
|
|
5043
|
+
"type": "Text",
|
|
5044
|
+
"feel": "required",
|
|
5045
|
+
"binding": {
|
|
5046
|
+
"type": "zeebe:taskHeader",
|
|
5047
|
+
"key": "resultExpression"
|
|
5048
|
+
}
|
|
5049
|
+
}
|
|
5050
|
+
]
|
|
5051
|
+
},
|
|
4798
5052
|
{
|
|
4799
5053
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
4800
5054
|
"name": "REST connector",
|
|
4801
5055
|
"id": "io.camunda.connectors.HttpJson.v2",
|
|
4802
|
-
"version":
|
|
5056
|
+
"version": 2,
|
|
4803
5057
|
"description": "Invoke REST API",
|
|
4804
5058
|
"icon": {
|
|
4805
5059
|
"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"
|
|
@@ -4923,8 +5177,8 @@
|
|
|
4923
5177
|
"constraints": {
|
|
4924
5178
|
"notEmpty": true,
|
|
4925
5179
|
"pattern": {
|
|
4926
|
-
"value": "^(=|(
|
|
4927
|
-
"message": "Must be a http(s) URL
|
|
5180
|
+
"value": "^(=|(https?://|secrets\\..+|\\{\\{secrets\\..+\\}\\}).*$)",
|
|
5181
|
+
"message": "Must be a http(s) URL"
|
|
4928
5182
|
}
|
|
4929
5183
|
}
|
|
4930
5184
|
},
|
|
@@ -5130,7 +5384,7 @@
|
|
|
5130
5384
|
"constraints": {
|
|
5131
5385
|
"notEmpty": false,
|
|
5132
5386
|
"pattern": {
|
|
5133
|
-
"value": "^(=|([0-9]+|secrets
|
|
5387
|
+
"value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
|
|
5134
5388
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
5135
5389
|
}
|
|
5136
5390
|
}
|
|
@@ -5193,11 +5447,8 @@
|
|
|
5193
5447
|
"name": "REST Outbound Connector",
|
|
5194
5448
|
"id": "io.camunda.connectors.HttpJson.v2",
|
|
5195
5449
|
"description": "Invoke REST API",
|
|
5196
|
-
"metadata": {
|
|
5197
|
-
"keywords": []
|
|
5198
|
-
},
|
|
5199
5450
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
|
|
5200
|
-
"version":
|
|
5451
|
+
"version": 5,
|
|
5201
5452
|
"category": {
|
|
5202
5453
|
"id": "connectors",
|
|
5203
5454
|
"name": "Connectors"
|
|
@@ -5206,9 +5457,6 @@
|
|
|
5206
5457
|
"elementType": {
|
|
5207
5458
|
"value": "bpmn:ServiceTask"
|
|
5208
5459
|
},
|
|
5209
|
-
"engines": {
|
|
5210
|
-
"camunda": "^8.3"
|
|
5211
|
-
},
|
|
5212
5460
|
"groups": [
|
|
5213
5461
|
{
|
|
5214
5462
|
"id": "authentication",
|
|
@@ -5216,7 +5464,7 @@
|
|
|
5216
5464
|
},
|
|
5217
5465
|
{
|
|
5218
5466
|
"id": "endpoint",
|
|
5219
|
-
"label": "HTTP
|
|
5467
|
+
"label": "HTTP Endpoint"
|
|
5220
5468
|
},
|
|
5221
5469
|
{
|
|
5222
5470
|
"id": "timeout",
|
|
@@ -5226,10 +5474,6 @@
|
|
|
5226
5474
|
"id": "payload",
|
|
5227
5475
|
"label": "Payload"
|
|
5228
5476
|
},
|
|
5229
|
-
{
|
|
5230
|
-
"id": "connector",
|
|
5231
|
-
"label": "Connector"
|
|
5232
|
-
},
|
|
5233
5477
|
{
|
|
5234
5478
|
"id": "output",
|
|
5235
5479
|
"label": "Output mapping"
|
|
@@ -5247,8 +5491,8 @@
|
|
|
5247
5491
|
{
|
|
5248
5492
|
"value": "io.camunda:http-json:1",
|
|
5249
5493
|
"binding": {
|
|
5250
|
-
"
|
|
5251
|
-
"
|
|
5494
|
+
"type": "zeebe:taskDefinition",
|
|
5495
|
+
"property": "type"
|
|
5252
5496
|
},
|
|
5253
5497
|
"type": "Hidden"
|
|
5254
5498
|
},
|
|
@@ -5288,7 +5532,7 @@
|
|
|
5288
5532
|
},
|
|
5289
5533
|
{
|
|
5290
5534
|
"id": "authentication.apiKeyLocation",
|
|
5291
|
-
"label": "
|
|
5535
|
+
"label": "API key location",
|
|
5292
5536
|
"description": "Choose type: Send API key in header or as query parameter.",
|
|
5293
5537
|
"optional": false,
|
|
5294
5538
|
"value": "headers",
|
|
@@ -5419,15 +5663,11 @@
|
|
|
5419
5663
|
},
|
|
5420
5664
|
{
|
|
5421
5665
|
"id": "authentication.oauthTokenEndpoint",
|
|
5422
|
-
"label": "OAuth
|
|
5666
|
+
"label": "OAuth token endpoint",
|
|
5423
5667
|
"description": "The OAuth token endpoint",
|
|
5424
5668
|
"optional": false,
|
|
5425
5669
|
"constraints": {
|
|
5426
|
-
"notEmpty": true
|
|
5427
|
-
"pattern": {
|
|
5428
|
-
"value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
|
|
5429
|
-
"message": "Must be a http(s) URL"
|
|
5430
|
-
}
|
|
5670
|
+
"notEmpty": true
|
|
5431
5671
|
},
|
|
5432
5672
|
"feel": "optional",
|
|
5433
5673
|
"group": "authentication",
|
|
@@ -5565,6 +5805,10 @@
|
|
|
5565
5805
|
},
|
|
5566
5806
|
"type": "Dropdown",
|
|
5567
5807
|
"choices": [
|
|
5808
|
+
{
|
|
5809
|
+
"name": "DELETE",
|
|
5810
|
+
"value": "DELETE"
|
|
5811
|
+
},
|
|
5568
5812
|
{
|
|
5569
5813
|
"name": "POST",
|
|
5570
5814
|
"value": "POST"
|
|
@@ -5573,10 +5817,6 @@
|
|
|
5573
5817
|
"name": "GET",
|
|
5574
5818
|
"value": "GET"
|
|
5575
5819
|
},
|
|
5576
|
-
{
|
|
5577
|
-
"name": "DELETE",
|
|
5578
|
-
"value": "DELETE"
|
|
5579
|
-
},
|
|
5580
5820
|
{
|
|
5581
5821
|
"name": "PATCH",
|
|
5582
5822
|
"value": "PATCH"
|
|
@@ -5617,88 +5857,34 @@
|
|
|
5617
5857
|
"name": "headers",
|
|
5618
5858
|
"type": "zeebe:input"
|
|
5619
5859
|
},
|
|
5620
|
-
"type": "String"
|
|
5621
|
-
},
|
|
5622
|
-
{
|
|
5623
|
-
"id": "queryParameters",
|
|
5624
|
-
"label": "Query parameters",
|
|
5625
|
-
"description": "Map of query parameters to add to the request URL",
|
|
5626
|
-
"optional": true,
|
|
5627
|
-
"feel": "required",
|
|
5628
|
-
"group": "endpoint",
|
|
5629
|
-
"binding": {
|
|
5630
|
-
"name": "queryParameters",
|
|
5631
|
-
"type": "zeebe:input"
|
|
5632
|
-
},
|
|
5633
|
-
"type": "String"
|
|
5634
|
-
},
|
|
5635
|
-
{
|
|
5636
|
-
"id": "storeResponse",
|
|
5637
|
-
"label": "Store response",
|
|
5638
|
-
"description": "Store the response as a document in the document store",
|
|
5639
|
-
"optional": false,
|
|
5640
|
-
"value": false,
|
|
5641
|
-
"feel": "static",
|
|
5642
|
-
"group": "endpoint",
|
|
5643
|
-
"binding": {
|
|
5644
|
-
"name": "storeResponse",
|
|
5645
|
-
"type": "zeebe:input"
|
|
5646
|
-
},
|
|
5647
|
-
"type": "Boolean"
|
|
5860
|
+
"type": "String"
|
|
5648
5861
|
},
|
|
5649
5862
|
{
|
|
5650
|
-
"id": "
|
|
5651
|
-
"label": "
|
|
5652
|
-
"description": "
|
|
5863
|
+
"id": "queryParameters",
|
|
5864
|
+
"label": "Query parameters",
|
|
5865
|
+
"description": "Map of query parameters to add to the request URL",
|
|
5653
5866
|
"optional": true,
|
|
5867
|
+
"feel": "required",
|
|
5654
5868
|
"group": "endpoint",
|
|
5655
5869
|
"binding": {
|
|
5656
|
-
"name": "
|
|
5870
|
+
"name": "queryParameters",
|
|
5657
5871
|
"type": "zeebe:input"
|
|
5658
5872
|
},
|
|
5659
|
-
"type": "
|
|
5873
|
+
"type": "String"
|
|
5660
5874
|
},
|
|
5661
5875
|
{
|
|
5662
5876
|
"id": "connectionTimeoutInSeconds",
|
|
5663
5877
|
"label": "Connection timeout in seconds",
|
|
5664
|
-
"description": "
|
|
5665
|
-
"optional":
|
|
5666
|
-
"value": 20,
|
|
5667
|
-
"
|
|
5668
|
-
"notEmpty": true,
|
|
5669
|
-
"pattern": {
|
|
5670
|
-
"value": "^\\d+$",
|
|
5671
|
-
"message": "Must be a number"
|
|
5672
|
-
}
|
|
5673
|
-
},
|
|
5674
|
-
"feel": "static",
|
|
5878
|
+
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
5879
|
+
"optional": true,
|
|
5880
|
+
"value": "20",
|
|
5881
|
+
"feel": "optional",
|
|
5675
5882
|
"group": "timeout",
|
|
5676
5883
|
"binding": {
|
|
5677
5884
|
"name": "connectionTimeoutInSeconds",
|
|
5678
5885
|
"type": "zeebe:input"
|
|
5679
5886
|
},
|
|
5680
|
-
"type": "
|
|
5681
|
-
},
|
|
5682
|
-
{
|
|
5683
|
-
"id": "readTimeoutInSeconds",
|
|
5684
|
-
"label": "Read timeout in seconds",
|
|
5685
|
-
"description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
|
|
5686
|
-
"optional": false,
|
|
5687
|
-
"value": 20,
|
|
5688
|
-
"constraints": {
|
|
5689
|
-
"notEmpty": true,
|
|
5690
|
-
"pattern": {
|
|
5691
|
-
"value": "^\\d+$",
|
|
5692
|
-
"message": "Must be a number"
|
|
5693
|
-
}
|
|
5694
|
-
},
|
|
5695
|
-
"feel": "static",
|
|
5696
|
-
"group": "timeout",
|
|
5697
|
-
"binding": {
|
|
5698
|
-
"name": "readTimeoutInSeconds",
|
|
5699
|
-
"type": "zeebe:input"
|
|
5700
|
-
},
|
|
5701
|
-
"type": "Number"
|
|
5887
|
+
"type": "String"
|
|
5702
5888
|
},
|
|
5703
5889
|
{
|
|
5704
5890
|
"id": "body",
|
|
@@ -5718,30 +5904,6 @@
|
|
|
5718
5904
|
},
|
|
5719
5905
|
"type": "Text"
|
|
5720
5906
|
},
|
|
5721
|
-
{
|
|
5722
|
-
"id": "version",
|
|
5723
|
-
"label": "Version",
|
|
5724
|
-
"description": "Version of the element template",
|
|
5725
|
-
"value": "11",
|
|
5726
|
-
"group": "connector",
|
|
5727
|
-
"binding": {
|
|
5728
|
-
"key": "elementTemplateVersion",
|
|
5729
|
-
"type": "zeebe:taskHeader"
|
|
5730
|
-
},
|
|
5731
|
-
"type": "Hidden"
|
|
5732
|
-
},
|
|
5733
|
-
{
|
|
5734
|
-
"id": "id",
|
|
5735
|
-
"label": "ID",
|
|
5736
|
-
"description": "ID of the element template",
|
|
5737
|
-
"value": "io.camunda.connectors.HttpJson.v2",
|
|
5738
|
-
"group": "connector",
|
|
5739
|
-
"binding": {
|
|
5740
|
-
"key": "elementTemplateId",
|
|
5741
|
-
"type": "zeebe:taskHeader"
|
|
5742
|
-
},
|
|
5743
|
-
"type": "Hidden"
|
|
5744
|
-
},
|
|
5745
5907
|
{
|
|
5746
5908
|
"id": "resultVariable",
|
|
5747
5909
|
"label": "Result variable",
|
|
@@ -5777,19 +5939,6 @@
|
|
|
5777
5939
|
},
|
|
5778
5940
|
"type": "Text"
|
|
5779
5941
|
},
|
|
5780
|
-
{
|
|
5781
|
-
"id": "retryCount",
|
|
5782
|
-
"label": "Retries",
|
|
5783
|
-
"description": "Number of retries",
|
|
5784
|
-
"value": "3",
|
|
5785
|
-
"feel": "optional",
|
|
5786
|
-
"group": "retries",
|
|
5787
|
-
"binding": {
|
|
5788
|
-
"property": "retries",
|
|
5789
|
-
"type": "zeebe:taskDefinition"
|
|
5790
|
-
},
|
|
5791
|
-
"type": "String"
|
|
5792
|
-
},
|
|
5793
5942
|
{
|
|
5794
5943
|
"id": "retryBackoff",
|
|
5795
5944
|
"label": "Retry backoff",
|
|
@@ -5800,164 +5949,15 @@
|
|
|
5800
5949
|
"key": "retryBackoff",
|
|
5801
5950
|
"type": "zeebe:taskHeader"
|
|
5802
5951
|
},
|
|
5803
|
-
"type": "
|
|
5952
|
+
"type": "Hidden"
|
|
5804
5953
|
}
|
|
5805
5954
|
],
|
|
5806
5955
|
"icon": {
|
|
5807
5956
|
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
|
|
5808
|
-
}
|
|
5809
|
-
},
|
|
5810
|
-
{
|
|
5811
|
-
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
5812
|
-
"name": "REST Connector (No Auth)",
|
|
5813
|
-
"id": "io.camunda.connectors.HttpJson.v1.noAuth",
|
|
5814
|
-
"description": "[Deprecated] Replace with 'REST Connector' template.",
|
|
5815
|
-
"documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/protocol/rest/",
|
|
5816
|
-
"deprecated": {
|
|
5817
|
-
"message": "Replace with 'REST Connector' template.",
|
|
5818
|
-
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
5819
|
-
},
|
|
5820
|
-
"icon": {
|
|
5821
|
-
"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"
|
|
5822
|
-
},
|
|
5823
|
-
"category": {
|
|
5824
|
-
"id": "connectors",
|
|
5825
|
-
"name": "Connectors"
|
|
5826
|
-
},
|
|
5827
|
-
"appliesTo": ["bpmn:Task"],
|
|
5828
|
-
"elementType": {
|
|
5829
|
-
"value": "bpmn:ServiceTask"
|
|
5830
5957
|
},
|
|
5831
|
-
"
|
|
5832
|
-
|
|
5833
|
-
|
|
5834
|
-
"label": "HTTP Endpoint"
|
|
5835
|
-
},
|
|
5836
|
-
{
|
|
5837
|
-
"id": "input",
|
|
5838
|
-
"label": "Payload"
|
|
5839
|
-
},
|
|
5840
|
-
{
|
|
5841
|
-
"id": "output",
|
|
5842
|
-
"label": "Response Mapping"
|
|
5843
|
-
}
|
|
5844
|
-
],
|
|
5845
|
-
"properties": [
|
|
5846
|
-
{
|
|
5847
|
-
"type": "Hidden",
|
|
5848
|
-
"value": "io.camunda:http-json:1",
|
|
5849
|
-
"binding": {
|
|
5850
|
-
"type": "zeebe:taskDefinition",
|
|
5851
|
-
"property": "type"
|
|
5852
|
-
}
|
|
5853
|
-
},
|
|
5854
|
-
{
|
|
5855
|
-
"label": "Method",
|
|
5856
|
-
"group": "endpoint",
|
|
5857
|
-
"type": "Dropdown",
|
|
5858
|
-
"value": "get",
|
|
5859
|
-
"choices": [
|
|
5860
|
-
{
|
|
5861
|
-
"name": "GET",
|
|
5862
|
-
"value": "get"
|
|
5863
|
-
},
|
|
5864
|
-
{
|
|
5865
|
-
"name": "POST",
|
|
5866
|
-
"value": "post"
|
|
5867
|
-
},
|
|
5868
|
-
{
|
|
5869
|
-
"name": "PATCH",
|
|
5870
|
-
"value": "patch"
|
|
5871
|
-
},
|
|
5872
|
-
{
|
|
5873
|
-
"name": "PUT",
|
|
5874
|
-
"value": "put"
|
|
5875
|
-
},
|
|
5876
|
-
{
|
|
5877
|
-
"name": "DELETE",
|
|
5878
|
-
"value": "delete"
|
|
5879
|
-
}
|
|
5880
|
-
],
|
|
5881
|
-
"binding": {
|
|
5882
|
-
"type": "zeebe:input",
|
|
5883
|
-
"name": "method"
|
|
5884
|
-
}
|
|
5885
|
-
},
|
|
5886
|
-
{
|
|
5887
|
-
"label": "URL",
|
|
5888
|
-
"group": "endpoint",
|
|
5889
|
-
"type": "String",
|
|
5890
|
-
"feel": "optional",
|
|
5891
|
-
"binding": {
|
|
5892
|
-
"type": "zeebe:input",
|
|
5893
|
-
"name": "url"
|
|
5894
|
-
},
|
|
5895
|
-
"constraints": {
|
|
5896
|
-
"notEmpty": true,
|
|
5897
|
-
"pattern": {
|
|
5898
|
-
"value": "^(=|https?://).*",
|
|
5899
|
-
"message": "Must be a http(s) URL."
|
|
5900
|
-
}
|
|
5901
|
-
}
|
|
5902
|
-
},
|
|
5903
|
-
{
|
|
5904
|
-
"label": "Query Parameters",
|
|
5905
|
-
"description": "Map of query parameters to add to the request URL",
|
|
5906
|
-
"group": "endpoint",
|
|
5907
|
-
"type": "Text",
|
|
5908
|
-
"feel": "required",
|
|
5909
|
-
"binding": {
|
|
5910
|
-
"type": "zeebe:input",
|
|
5911
|
-
"name": "queryParameters"
|
|
5912
|
-
},
|
|
5913
|
-
"optional": true
|
|
5914
|
-
},
|
|
5915
|
-
{
|
|
5916
|
-
"label": "HTTP Headers",
|
|
5917
|
-
"description": "Map of HTTP headers to add to the request",
|
|
5918
|
-
"group": "endpoint",
|
|
5919
|
-
"type": "Text",
|
|
5920
|
-
"feel": "required",
|
|
5921
|
-
"binding": {
|
|
5922
|
-
"type": "zeebe:input",
|
|
5923
|
-
"name": "headers"
|
|
5924
|
-
},
|
|
5925
|
-
"optional": true
|
|
5926
|
-
},
|
|
5927
|
-
{
|
|
5928
|
-
"label": "Request Body",
|
|
5929
|
-
"description": "JSON payload to send with the request",
|
|
5930
|
-
"group": "input",
|
|
5931
|
-
"type": "Text",
|
|
5932
|
-
"feel": "optional",
|
|
5933
|
-
"binding": {
|
|
5934
|
-
"type": "zeebe:input",
|
|
5935
|
-
"name": "body"
|
|
5936
|
-
},
|
|
5937
|
-
"optional": true
|
|
5938
|
-
},
|
|
5939
|
-
{
|
|
5940
|
-
"label": "Result Variable",
|
|
5941
|
-
"description": "Name of variable to store the response in",
|
|
5942
|
-
"group": "output",
|
|
5943
|
-
"type": "String",
|
|
5944
|
-
"binding": {
|
|
5945
|
-
"type": "zeebe:taskHeader",
|
|
5946
|
-
"key": "resultVariable"
|
|
5947
|
-
}
|
|
5948
|
-
},
|
|
5949
|
-
{
|
|
5950
|
-
"label": "Result Expression",
|
|
5951
|
-
"description": "Expression to map the response into process variables",
|
|
5952
|
-
"group": "output",
|
|
5953
|
-
"type": "Text",
|
|
5954
|
-
"feel": "required",
|
|
5955
|
-
"binding": {
|
|
5956
|
-
"type": "zeebe:taskHeader",
|
|
5957
|
-
"key": "resultExpression"
|
|
5958
|
-
}
|
|
5959
|
-
}
|
|
5960
|
-
]
|
|
5958
|
+
"engines": {
|
|
5959
|
+
"camunda": "^8.4"
|
|
5960
|
+
}
|
|
5961
5961
|
},
|
|
5962
5962
|
{
|
|
5963
5963
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
@@ -5968,7 +5968,7 @@
|
|
|
5968
5968
|
"keywords": []
|
|
5969
5969
|
},
|
|
5970
5970
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
|
|
5971
|
-
"version":
|
|
5971
|
+
"version": 13,
|
|
5972
5972
|
"category": {
|
|
5973
5973
|
"id": "connectors",
|
|
5974
5974
|
"name": "Connectors"
|
|
@@ -5978,7 +5978,7 @@
|
|
|
5978
5978
|
"value": "bpmn:ServiceTask"
|
|
5979
5979
|
},
|
|
5980
5980
|
"engines": {
|
|
5981
|
-
"camunda": "^8.
|
|
5981
|
+
"camunda": "^8.9"
|
|
5982
5982
|
},
|
|
5983
5983
|
"groups": [
|
|
5984
5984
|
{
|
|
@@ -6429,6 +6429,20 @@
|
|
|
6429
6429
|
},
|
|
6430
6430
|
"type": "Hidden"
|
|
6431
6431
|
},
|
|
6432
|
+
{
|
|
6433
|
+
"id": "followRedirects",
|
|
6434
|
+
"label": "Follow redirects",
|
|
6435
|
+
"description": "If enabled, HTTP 3xx redirects will be followed automatically. Disabled by default.",
|
|
6436
|
+
"optional": false,
|
|
6437
|
+
"value": false,
|
|
6438
|
+
"feel": "static",
|
|
6439
|
+
"group": "endpoint",
|
|
6440
|
+
"binding": {
|
|
6441
|
+
"name": "followRedirects",
|
|
6442
|
+
"type": "zeebe:input"
|
|
6443
|
+
},
|
|
6444
|
+
"type": "Boolean"
|
|
6445
|
+
},
|
|
6432
6446
|
{
|
|
6433
6447
|
"id": "connectionTimeoutInSeconds",
|
|
6434
6448
|
"label": "Connection timeout in seconds",
|
|
@@ -6512,7 +6526,7 @@
|
|
|
6512
6526
|
"id": "version",
|
|
6513
6527
|
"label": "Version",
|
|
6514
6528
|
"description": "Version of the element template",
|
|
6515
|
-
"value": "
|
|
6529
|
+
"value": "13",
|
|
6516
6530
|
"group": "connector",
|
|
6517
6531
|
"binding": {
|
|
6518
6532
|
"key": "elementTemplateVersion",
|
|
@@ -6594,7 +6608,7 @@
|
|
|
6594
6608
|
}
|
|
6595
6609
|
],
|
|
6596
6610
|
"icon": {
|
|
6597
|
-
"contents": "data:image/svg+xml;base64,
|
|
6611
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGQ9Ik0xNy4wMzM1IDguOTk5OTdDMTcuMDMzNSAxMy40NDc1IDEzLjQyODEgMTcuMDUyOSA4Ljk4MDY1IDE3LjA1MjlDNC41MzMxNiAxNy4wNTI5IDAuOTI3NzY1IDEzLjQ0NzUgMC45Mjc3NjUgOC45OTk5N0MwLjkyNzc2NSA0LjU1MjQ4IDQuNTMzMTYgMC45NDcwODMgOC45ODA2NSAwLjk0NzA4M0MxMy40MjgxIDAuOTQ3MDgzIDE3LjAzMzUgNC41NTI0OCAxNy4wMzM1IDguOTk5OTdaIiBmaWxsPSIjNTA1NTYyIi8+DQo8cGF0aCBkPSJNNC45MzEyNiAxNC4xNTcxTDYuNzgxMDYgMy43MTQ3MUgxMC4xMzc1QzExLjE5MTcgMy43MTQ3MSAxMS45ODI0IDMuOTgzMjMgMTIuNTA5NSA0LjUyMDI3QzEzLjA0NjUgNS4wNDczNiAxMy4zMTUgNS43MzM1OCAxMy4zMTUgNi41Nzg5MkMxMy4zMTUgNy40NDQxNCAxMy4wNzE0IDguMTU1MjIgMTIuNTg0MSA4LjcxMjE1QzEyLjEwNjcgOS4yNTkxMyAxMS40NTUzIDkuNjM3MDUgMTAuNjI5OCA5Ljg0NTlMMTIuMDYxOSAxNC4xNTcxSDEwLjMzMTVMOS4wMzM2NCAxMC4wMjQ5SDcuMjQzNTFMNi41MTI1NCAxNC4xNTcxSDQuOTMxMjZaTTcuNDk3MTEgOC41OTI4MUg5LjI0MjQ4QzkuOTk4MzIgOC41OTI4MSAxMC41OTAxIDguNDIzNzQgMTEuMDE3NyA4LjA4NTYxQzExLjQ1NTMgNy43Mzc1MyAxMS42NzQxIDcuMjY1MTMgMTEuNjc0MSA2LjY2ODQyQzExLjY3NDEgNi4xOTEwNiAxMS41MjQ5IDUuODE4MTEgMTEuMjI2NSA1LjU0OTU5QzEwLjkyODIgNS4yNzExMyAxMC40NTU4IDUuMTMxOSA5LjgwOTM2IDUuMTMxOUg4LjEwODc0TDcuNDk3MTEgOC41OTI4MVoiIGZpbGw9IndoaXRlIi8+DQo8L3N2Zz4NCg=="
|
|
6598
6612
|
}
|
|
6599
6613
|
}
|
|
6600
6614
|
]
|