@camunda/connectors-element-templates 1.0.18 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/package.json +2 -2
  2. package/src/element-templates/agenticai-a2a-client-outbound-connector.json +3 -3
  3. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +2 -2
  4. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +2 -2
  5. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +2 -2
  6. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +2 -2
  7. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +49 -49
  8. package/src/element-templates/agenticai-aiagent-job-worker.json +389 -389
  9. package/src/element-templates/agenticai-aiagent-outbound-connector.json +3928 -3928
  10. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +551 -551
  11. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +733 -733
  12. package/src/element-templates/asana-connector.json +111 -111
  13. package/src/element-templates/automation-anywhere-outbound-connector.json +1224 -1224
  14. package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +1 -1
  15. package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +1 -1
  16. package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +1 -1
  17. package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +1 -1
  18. package/src/element-templates/aws-bedrock-outbound-connector.json +432 -432
  19. package/src/element-templates/aws-comprehend-outbound-connector.json +1 -1
  20. package/src/element-templates/aws-dynamodb-outbound-connector.json +3518 -2166
  21. package/src/element-templates/aws-eventbridge-connector-boundary.json +38 -38
  22. package/src/element-templates/aws-eventbridge-connector-intermediate.json +80 -80
  23. package/src/element-templates/aws-eventbridge-connector-message-start.json +21 -21
  24. package/src/element-templates/aws-eventbridge-connector-receive.json +6 -6
  25. package/src/element-templates/aws-eventbridge-connector-start-event.json +15 -15
  26. package/src/element-templates/aws-eventbridge-outbound-connector.json +306 -306
  27. package/src/element-templates/aws-lambda-outbound-connector.json +279 -279
  28. package/src/element-templates/aws-s3-outbound-connector.json +721 -48
  29. package/src/element-templates/aws-sagemaker-outbound-connector.json +59 -59
  30. package/src/element-templates/aws-sns-inbound-boundary.json +181 -181
  31. package/src/element-templates/aws-sns-inbound-intermediate.json +325 -325
  32. package/src/element-templates/aws-sns-inbound-message-start.json +350 -350
  33. package/src/element-templates/aws-sns-inbound-start-event.json +140 -140
  34. package/src/element-templates/aws-sns-outbound-connector.json +301 -301
  35. package/src/element-templates/aws-sqs-boundary-connector.json +930 -930
  36. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +628 -628
  37. package/src/element-templates/aws-sqs-outbound-connector.json +366 -366
  38. package/src/element-templates/aws-sqs-start-event-connector.json +717 -717
  39. package/src/element-templates/aws-sqs-start-message.json +488 -488
  40. package/src/element-templates/aws-textract-outbound-connector.json +351 -351
  41. package/src/element-templates/azure-blobstorage-outbound-connector.json +201 -201
  42. package/src/element-templates/azure-open-ai-connector.json +49 -49
  43. package/src/element-templates/blue-prism-connector.json +64 -64
  44. package/src/element-templates/box-outbound-connector.json +49 -49
  45. package/src/element-templates/csv-outbound-connector.json +449 -0
  46. package/src/element-templates/easy-post-connector.json +214 -214
  47. package/src/element-templates/email-inbound-connector-boundary.json +37 -37
  48. package/src/element-templates/email-inbound-connector-intermediate.json +37 -37
  49. package/src/element-templates/email-message-start-event-connector.json +63 -63
  50. package/src/element-templates/email-outbound-connector.json +903 -903
  51. package/src/element-templates/embeddings-vector-database-outbound-connector.json +520 -520
  52. package/src/element-templates/github-connector.json +8446 -8446
  53. package/src/element-templates/github-webhook-connector-intermediate.json +55 -55
  54. package/src/element-templates/github-webhook-connector-message-start.json +19 -19
  55. package/src/element-templates/github-webhook-connector-start-event.json +52 -52
  56. package/src/element-templates/gitlab-connector.json +2344 -2344
  57. package/src/element-templates/google-cloud-storage-outbound-connector.json +201 -201
  58. package/src/element-templates/google-drive-outbound-connector.json +1106 -1106
  59. package/src/element-templates/google-gemini-outbound-connector.json +125 -125
  60. package/src/element-templates/google-maps-platform-connector.json +97 -97
  61. package/src/element-templates/google-sheets-outbound-connector.json +3100 -3100
  62. package/src/element-templates/graphql-outbound-connector.json +738 -631
  63. package/src/element-templates/http-json-connector.json +3249 -1651
  64. package/src/element-templates/http-polling-boundary-catch-event-connector.json +866 -764
  65. package/src/element-templates/http-polling-connector.json +851 -749
  66. package/src/element-templates/hubspot-outbound-connector.json +67 -67
  67. package/src/element-templates/hugging-face-connector.json +79 -79
  68. package/src/element-templates/jdbc-outbound-connector.json +68 -68
  69. package/src/element-templates/kafka-inbound-connector-boundary.json +927 -927
  70. package/src/element-templates/kafka-inbound-connector-intermediate.json +1125 -1125
  71. package/src/element-templates/kafka-inbound-connector-start-message.json +650 -650
  72. package/src/element-templates/kafka-outbound-connector.json +424 -424
  73. package/src/element-templates/microsoft-office365-mail-connector.json +993 -7
  74. package/src/element-templates/microsoft-teams-outbound-connector.json +4145 -4145
  75. package/src/element-templates/openai-connector.json +317 -317
  76. package/src/element-templates/operate-connector.json +142 -142
  77. package/src/element-templates/power-automate-connector.json +44 -44
  78. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +905 -905
  79. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +763 -763
  80. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +470 -470
  81. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +752 -752
  82. package/src/element-templates/rabbitmq-outbound-connector.json +367 -367
  83. package/src/element-templates/rpa-connector.json +5 -5
  84. package/src/element-templates/salesforce-connector.json +112 -112
  85. package/src/element-templates/send-message-connector-intermediate-throw-event.json +1 -1
  86. package/src/element-templates/send-message-connector-message-end-event.json +1 -1
  87. package/src/element-templates/send-message-connector-send-task.json +1 -1
  88. package/src/element-templates/sendgrid-outbound-connector.json +1220 -1220
  89. package/src/element-templates/servicenow-connector.json +7 -7
  90. package/src/element-templates/servicenow-flow-starter-connector.json +1 -1
  91. package/src/element-templates/servicenow-incident-connector.json +7 -7
  92. package/src/element-templates/slack-inbound-boundary.json +463 -463
  93. package/src/element-templates/slack-inbound-intermediate.json +506 -506
  94. package/src/element-templates/slack-inbound-message-start.json +364 -364
  95. package/src/element-templates/slack-inbound-receive.json +23 -23
  96. package/src/element-templates/slack-inbound-start-event.json +334 -334
  97. package/src/element-templates/slack-outbound-connector.json +1803 -1803
  98. package/src/element-templates/soap-outbound-connector.json +1 -1
  99. package/src/element-templates/twilio-connector.json +355 -355
  100. package/src/element-templates/twilio-webhook-boundary-connector.json +35 -35
  101. package/src/element-templates/twilio-webhook-connector.json +53 -53
  102. package/src/element-templates/twilio-webhook-intermediate-connector.json +39 -39
  103. package/src/element-templates/twilio-webhook-message-start-connector.json +26 -26
  104. package/src/element-templates/uipath-connector.json +4 -4
  105. package/src/element-templates/webhook-connector-boundary.json +1205 -1205
  106. package/src/element-templates/webhook-connector-intermediate.json +1550 -1550
  107. package/src/element-templates/webhook-connector-receive.json +61 -61
  108. package/src/element-templates/webhook-connector-start-event.json +1606 -1606
  109. package/src/element-templates/webhook-connector-start-message.json +1300 -1300
  110. package/src/element-templates/whatsapp-connector.json +59 -59
@@ -4,18 +4,11 @@
4
4
  "name": "HTTP Polling Boundary Catch Event Connector",
5
5
  "id": "io.camunda.connectors.http.Polling.Boundary",
6
6
  "description": "Polls endpoint at regular intervals",
7
- "keywords": [
8
- "poll",
9
- "polling",
10
- "HTTP",
11
- "REST",
12
- "wait for response",
13
- "check status",
14
- "periodic request",
15
- "HTTP callback"
16
- ],
7
+ "metadata": {
8
+ "keywords": []
9
+ },
17
10
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/polling/",
18
- "version": 5,
11
+ "version": 4,
19
12
  "category": {
20
13
  "id": "connectors",
21
14
  "name": "Connectors"
@@ -26,7 +19,7 @@
26
19
  "eventDefinition": "bpmn:MessageEventDefinition"
27
20
  },
28
21
  "engines": {
29
- "camunda": "^8.9"
22
+ "camunda": "^8.8"
30
23
  },
31
24
  "groups": [
32
25
  {
@@ -454,20 +447,6 @@
454
447
  },
455
448
  "type": "Hidden"
456
449
  },
457
- {
458
- "id": "followRedirects",
459
- "label": "Follow redirects",
460
- "description": "If enabled, HTTP 3xx redirects will be followed automatically. Disabled by default.",
461
- "optional": true,
462
- "value": false,
463
- "feel": "static",
464
- "group": "endpoint",
465
- "binding": {
466
- "name": "followRedirects",
467
- "type": "zeebe:property"
468
- },
469
- "type": "Boolean"
470
- },
471
450
  {
472
451
  "id": "body",
473
452
  "label": "Request body",
@@ -633,23 +612,20 @@
633
612
  },
634
613
  {
635
614
  "id": "messageNameUuid",
636
- "label": "Message name",
637
615
  "generatedValue": {
638
616
  "type": "uuid"
639
617
  },
640
- "feel": "optional",
641
618
  "group": "correlation",
642
619
  "binding": {
643
620
  "name": "name",
644
621
  "type": "bpmn:Message#property"
645
622
  },
646
- "tooltip": "By default, this is an auto-generated random UUID. We recommend using a unique message name for each connector element in the diagram. Override to set a custom message name. Learn more about <a href=\"https://docs.camunda.io/docs/components/concepts/messages/#message-subscriptions\">message subscriptions</a> that power inbound connectors.",
647
- "type": "String"
623
+ "type": "Hidden"
648
624
  },
649
625
  {
650
626
  "id": "resultVariable",
651
627
  "label": "Result variable",
652
- "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>.",
628
+ "description": "Name of variable to store the response in",
653
629
  "group": "output",
654
630
  "binding": {
655
631
  "name": "resultVariable",
@@ -660,8 +636,7 @@
660
636
  {
661
637
  "id": "resultExpression",
662
638
  "label": "Result expression",
663
- "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>.",
664
- "value": "{\n myResponseBody: response.body\n // Use FEEL to extract values, e.g.,:\n // myUserId: response.body.post.userId\n}",
639
+ "description": "Expression to map the response into process variables",
665
640
  "feel": "required",
666
641
  "group": "output",
667
642
  "binding": {
@@ -679,7 +654,7 @@
679
654
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
680
655
  "name": "HTTP Polling Boundary Catch Event Connector",
681
656
  "id": "io.camunda.connectors.http.Polling.Boundary",
682
- "version": 3,
657
+ "version": 1,
683
658
  "description": "Polls endpoint at regular intervals",
684
659
  "icon": {
685
660
  "contents": "data:image/svg+xml;utf8,%3C%3Fxml version='1.0'%3F%3E%3Csvg width='18' height='18' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpath d='m17.03,9c0,4.45 -3.6,8.05 -8.05,8.05c-4.45,0 -8.05,-3.6 -8.05,-8.05c0,-4.45 3.6,-8.05 8.05,-8.05c4.45,0 8.05,3.6 8.05,8.05z' fill='%23505562' id='svg_1'/%3E%3Cpath d='m4.93,14.16l1.85,-10.45l3.36,0c1.05,0 1.84,0.27 2.37,0.81c0.54,0.53 0.8,1.21 0.8,2.06c0,0.86 -0.24,1.58 -0.73,2.13c-0.47,0.55 -1.12,0.93 -1.95,1.14l-0.48,0.09l-0.53,0.03l-0.6,0.05l-1.79,0l-0.73,4.14l-1.58,0zm2.57,-5.57l1.74,0c0.76,0 1.35,-0.17 1.78,-0.5c0.44,-0.35 0.65,-0.82 0.65,-1.42c0,-0.48 -0.15,-0.85 -0.44,-1.12c-0.3,-0.28 -0.77,-0.42 -1.42,-0.42l-1.7,0l-0.61,3.46z' fill='white' id='svg_2'/%3E%3C/g%3E%3C/svg%3E"
@@ -861,7 +836,7 @@
861
836
  "constraints": {
862
837
  "notEmpty": true,
863
838
  "pattern": {
864
- "value": "^P(?=\\d|T\\d)(?:\\d+Y)?(?:\\d+M)?(?:\\d+W)?(?:\\d+D)?(?:T(?:\\d+H)?(?:\\d+M)?(?:\\d+(?:\\.\\d{1,3})?S)?)$",
839
+ "value": "^=|P(?=\\d|T\\d)(?:\\d+Y)?(?:\\d+M)?(?:\\d+W)?(?:\\d+D)?(?:T(?:\\d+H)?(?:\\d+M)?(?:\\d+(?:\\.\\d{1,3})?S)?)$",
865
840
  "message": "value must be defined"
866
841
  }
867
842
  },
@@ -873,7 +848,7 @@
873
848
  "value": "PT5S",
874
849
  "binding": {
875
850
  "type": "zeebe:property",
876
- "name": "processPollingInterval"
851
+ "name": "operatePollingInterval"
877
852
  },
878
853
  "optional": true
879
854
  },
@@ -1617,12 +1592,12 @@
1617
1592
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1618
1593
  "name": "HTTP Polling Boundary Catch Event Connector",
1619
1594
  "id": "io.camunda.connectors.http.Polling.Boundary",
1595
+ "version": 3,
1620
1596
  "description": "Polls endpoint at regular intervals",
1621
- "metadata": {
1622
- "keywords": []
1597
+ "icon": {
1598
+ "contents": "data:image/svg+xml;utf8,%3C%3Fxml version='1.0'%3F%3E%3Csvg width='18' height='18' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpath d='m17.03,9c0,4.45 -3.6,8.05 -8.05,8.05c-4.45,0 -8.05,-3.6 -8.05,-8.05c0,-4.45 3.6,-8.05 8.05,-8.05c4.45,0 8.05,3.6 8.05,8.05z' fill='%23505562' id='svg_1'/%3E%3Cpath d='m4.93,14.16l1.85,-10.45l3.36,0c1.05,0 1.84,0.27 2.37,0.81c0.54,0.53 0.8,1.21 0.8,2.06c0,0.86 -0.24,1.58 -0.73,2.13c-0.47,0.55 -1.12,0.93 -1.95,1.14l-0.48,0.09l-0.53,0.03l-0.6,0.05l-1.79,0l-0.73,4.14l-1.58,0zm2.57,-5.57l1.74,0c0.76,0 1.35,-0.17 1.78,-0.5c0.44,-0.35 0.65,-0.82 0.65,-1.42c0,-0.48 -0.15,-0.85 -0.44,-1.12c-0.3,-0.28 -0.77,-0.42 -1.42,-0.42l-1.7,0l-0.61,3.46z' fill='white' id='svg_2'/%3E%3C/g%3E%3C/svg%3E"
1623
1599
  },
1624
1600
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/polling/",
1625
- "version": 4,
1626
1601
  "category": {
1627
1602
  "id": "connectors",
1628
1603
  "name": "Connectors"
@@ -1632,9 +1607,6 @@
1632
1607
  "value": "bpmn:BoundaryEvent",
1633
1608
  "eventDefinition": "bpmn:MessageEventDefinition"
1634
1609
  },
1635
- "engines": {
1636
- "camunda": "^8.8"
1637
- },
1638
1610
  "groups": [
1639
1611
  {
1640
1612
  "id": "authentication",
@@ -1645,55 +1617,56 @@
1645
1617
  "label": "HTTP Polling configuration"
1646
1618
  },
1647
1619
  {
1648
- "id": "payload",
1620
+ "id": "input",
1649
1621
  "label": "Payload"
1650
1622
  },
1651
1623
  {
1652
- "id": "interval",
1653
- "label": "HTTP Polling Interval"
1654
- },
1655
- {
1656
- "id": "timeout",
1657
- "label": "Connection timeout"
1624
+ "id": "activation",
1625
+ "label": "Condition to proceed"
1658
1626
  },
1659
1627
  {
1660
- "id": "activation",
1661
- "label": "Activation"
1628
+ "id": "timer",
1629
+ "label": "Timer"
1662
1630
  },
1663
1631
  {
1664
- "id": "correlation",
1665
- "label": "Correlation",
1666
- "tooltip": "Learn more about message correlation in the <a href=\"https://docs.camunda.io/docs/components/concepts/messages/#message-correlation-overview\">documentation</a>."
1632
+ "id": "timeout",
1633
+ "label": "Connect timeout"
1667
1634
  },
1668
1635
  {
1669
- "id": "output",
1670
- "label": "Output mapping"
1636
+ "id": "variable-mapping",
1637
+ "label": "Response mapping"
1671
1638
  }
1672
1639
  ],
1673
1640
  "properties": [
1674
1641
  {
1642
+ "type": "Hidden",
1675
1643
  "value": "io.camunda:http-polling:1",
1676
1644
  "binding": {
1677
- "name": "inbound.type",
1678
- "type": "zeebe:property"
1645
+ "type": "zeebe:property",
1646
+ "name": "inbound.type"
1647
+ }
1648
+ },
1649
+ {
1650
+ "type": "Hidden",
1651
+ "generatedValue": {
1652
+ "type": "uuid"
1679
1653
  },
1680
- "type": "Hidden"
1654
+ "binding": {
1655
+ "type": "bpmn:Message#property",
1656
+ "name": "name"
1657
+ }
1681
1658
  },
1682
1659
  {
1683
- "id": "authentication.type",
1684
1660
  "label": "Type",
1661
+ "id": "authenticationType",
1662
+ "group": "authentication",
1685
1663
  "description": "Choose the authentication type. Select 'None' if no authentication is necessary",
1686
1664
  "value": "noAuth",
1687
- "group": "authentication",
1688
- "binding": {
1689
- "name": "authentication.type",
1690
- "type": "zeebe:property"
1691
- },
1692
1665
  "type": "Dropdown",
1693
1666
  "choices": [
1694
1667
  {
1695
- "name": "API key",
1696
- "value": "apiKey"
1668
+ "name": "None",
1669
+ "value": "noAuth"
1697
1670
  },
1698
1671
  {
1699
1672
  "name": "Basic",
@@ -1703,241 +1676,229 @@
1703
1676
  "name": "Bearer token",
1704
1677
  "value": "bearer"
1705
1678
  },
1706
- {
1707
- "name": "None",
1708
- "value": "noAuth"
1709
- },
1710
1679
  {
1711
1680
  "name": "OAuth 2.0",
1712
1681
  "value": "oauth-client-credentials-flow"
1713
1682
  }
1714
- ]
1683
+ ],
1684
+ "binding": {
1685
+ "type": "zeebe:property",
1686
+ "name": "authentication.type"
1687
+ }
1715
1688
  },
1716
1689
  {
1717
- "id": "authentication.apiKeyLocation",
1718
- "label": "Api key location",
1719
- "description": "Choose type: Send API key in header or as query parameter.",
1720
- "optional": false,
1721
- "value": "headers",
1722
- "constraints": {
1723
- "notEmpty": true
1724
- },
1725
- "group": "authentication",
1726
- "binding": {
1727
- "name": "authentication.apiKeyLocation",
1728
- "type": "zeebe:property"
1729
- },
1730
- "condition": {
1731
- "property": "authentication.type",
1732
- "equals": "apiKey",
1733
- "type": "simple"
1734
- },
1690
+ "id": "method",
1691
+ "label": "Method",
1692
+ "group": "endpoint",
1735
1693
  "type": "Dropdown",
1694
+ "value": "get",
1736
1695
  "choices": [
1737
1696
  {
1738
- "name": "Headers",
1739
- "value": "headers"
1697
+ "name": "GET",
1698
+ "value": "get"
1740
1699
  },
1741
1700
  {
1742
- "name": "Query parameters",
1743
- "value": "query"
1701
+ "name": "POST",
1702
+ "value": "post"
1703
+ },
1704
+ {
1705
+ "name": "PATCH",
1706
+ "value": "patch"
1707
+ },
1708
+ {
1709
+ "name": "PUT",
1710
+ "value": "put"
1711
+ },
1712
+ {
1713
+ "name": "DELETE",
1714
+ "value": "delete"
1744
1715
  }
1745
- ]
1716
+ ],
1717
+ "binding": {
1718
+ "type": "zeebe:property",
1719
+ "name": "method"
1720
+ }
1746
1721
  },
1747
1722
  {
1748
- "id": "authentication.name",
1749
- "label": "API key name",
1750
- "optional": false,
1751
- "constraints": {
1752
- "notEmpty": true
1753
- },
1754
- "group": "authentication",
1723
+ "label": "URL",
1724
+ "group": "endpoint",
1725
+ "type": "String",
1726
+ "feel": "optional",
1755
1727
  "binding": {
1756
- "name": "authentication.name",
1757
- "type": "zeebe:property"
1758
- },
1759
- "condition": {
1760
- "property": "authentication.type",
1761
- "equals": "apiKey",
1762
- "type": "simple"
1728
+ "type": "zeebe:property",
1729
+ "name": "url"
1763
1730
  },
1764
- "type": "String"
1731
+ "constraints": {
1732
+ "notEmpty": true,
1733
+ "pattern": {
1734
+ "value": "^(=|(https?://|secrets\\..+|\\{\\{secrets\\..+\\}\\}).*$)",
1735
+ "message": "must be a http(s) URL"
1736
+ }
1737
+ }
1765
1738
  },
1766
1739
  {
1767
- "id": "authentication.value",
1768
- "label": "API key value",
1769
- "optional": false,
1770
- "constraints": {
1771
- "notEmpty": true
1772
- },
1773
- "group": "authentication",
1740
+ "label": "Query parameters",
1741
+ "description": "Map of query parameters to add to the request URL",
1742
+ "group": "endpoint",
1743
+ "type": "Text",
1744
+ "feel": "required",
1774
1745
  "binding": {
1775
- "name": "authentication.value",
1776
- "type": "zeebe:property"
1777
- },
1778
- "condition": {
1779
- "property": "authentication.type",
1780
- "equals": "apiKey",
1781
- "type": "simple"
1746
+ "type": "zeebe:property",
1747
+ "name": "queryParameters"
1782
1748
  },
1783
- "type": "String"
1749
+ "optional": true
1784
1750
  },
1785
1751
  {
1786
- "id": "authentication.username",
1787
- "label": "Username",
1788
- "optional": false,
1789
- "constraints": {
1790
- "notEmpty": true
1791
- },
1792
- "group": "authentication",
1752
+ "label": "HTTP headers",
1753
+ "description": "Map of HTTP headers to add to the request",
1754
+ "group": "endpoint",
1755
+ "type": "Text",
1756
+ "feel": "required",
1793
1757
  "binding": {
1794
- "name": "authentication.username",
1795
- "type": "zeebe:property"
1796
- },
1797
- "condition": {
1798
- "property": "authentication.type",
1799
- "equals": "basic",
1800
- "type": "simple"
1758
+ "type": "zeebe:property",
1759
+ "name": "headers"
1801
1760
  },
1802
- "type": "String"
1761
+ "optional": true
1803
1762
  },
1804
1763
  {
1805
- "id": "authentication.password",
1806
- "label": "Password",
1807
- "optional": false,
1808
- "constraints": {
1809
- "notEmpty": true
1810
- },
1811
- "group": "authentication",
1764
+ "label": "Interval",
1765
+ "description": "The delay between HTTP requests, defined as ISO 8601 durations format. <a href='https://docs.camunda.io/docs/components/modeler/bpmn/timer-events/#time-duration' target='_blank'>How to configure a time duration</a>",
1766
+ "group": "endpoint",
1767
+ "type": "String",
1768
+ "feel": "optional",
1769
+ "value": "PT50S",
1812
1770
  "binding": {
1813
- "name": "authentication.password",
1814
- "type": "zeebe:property"
1771
+ "type": "zeebe:property",
1772
+ "name": "httpRequestInterval"
1815
1773
  },
1816
- "condition": {
1817
- "property": "authentication.type",
1818
- "equals": "basic",
1819
- "type": "simple"
1774
+ "constraints": {
1775
+ "notEmpty": true,
1776
+ "pattern": {
1777
+ "value": "^P(?=\\d|T\\d)(?:\\d+Y)?(?:\\d+M)?(?:\\d+W)?(?:\\d+D)?(?:T(?:\\d+H)?(?:\\d+M)?(?:\\d+(?:\\.\\d{1,3})?S)?)$",
1778
+ "message": "value must be defined"
1779
+ }
1820
1780
  },
1821
- "type": "String"
1781
+ "optional": false
1822
1782
  },
1823
1783
  {
1824
- "id": "authentication.token",
1825
- "label": "Bearer token",
1826
- "optional": false,
1827
- "constraints": {
1828
- "notEmpty": true
1784
+ "group": "endpoint",
1785
+ "type": "Hidden",
1786
+ "value": "PT5S",
1787
+ "binding": {
1788
+ "type": "zeebe:property",
1789
+ "name": "processPollingInterval"
1829
1790
  },
1791
+ "optional": true
1792
+ },
1793
+ {
1794
+ "label": "Bearer token",
1830
1795
  "group": "authentication",
1796
+ "type": "String",
1797
+ "feel": "optional",
1831
1798
  "binding": {
1832
- "name": "authentication.token",
1833
- "type": "zeebe:property"
1799
+ "type": "zeebe:property",
1800
+ "name": "authentication.token"
1834
1801
  },
1835
- "condition": {
1836
- "property": "authentication.type",
1837
- "equals": "bearer",
1838
- "type": "simple"
1802
+ "constraints": {
1803
+ "notEmpty": true
1839
1804
  },
1840
- "type": "String"
1805
+ "condition": {
1806
+ "property": "authenticationType",
1807
+ "equals": "bearer"
1808
+ }
1841
1809
  },
1842
1810
  {
1843
- "id": "authentication.oauthTokenEndpoint",
1844
- "label": "OAuth 2.0 token endpoint",
1811
+ "label": "OAuth token endpoint",
1845
1812
  "description": "The OAuth token endpoint",
1846
- "optional": false,
1847
- "constraints": {
1848
- "notEmpty": true,
1849
- "pattern": {
1850
- "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
1851
- "message": "Must be a http(s) URL"
1852
- }
1853
- },
1854
1813
  "group": "authentication",
1814
+ "type": "String",
1815
+ "feel": "optional",
1855
1816
  "binding": {
1856
- "name": "authentication.oauthTokenEndpoint",
1857
- "type": "zeebe:property"
1817
+ "type": "zeebe:property",
1818
+ "name": "authentication.oauthTokenEndpoint"
1858
1819
  },
1859
- "condition": {
1860
- "property": "authentication.type",
1861
- "equals": "oauth-client-credentials-flow",
1862
- "type": "simple"
1820
+ "constraints": {
1821
+ "notEmpty": true
1863
1822
  },
1864
- "type": "String"
1823
+ "condition": {
1824
+ "property": "authenticationType",
1825
+ "equals": "oauth-client-credentials-flow"
1826
+ }
1865
1827
  },
1866
1828
  {
1867
- "id": "authentication.clientId",
1868
1829
  "label": "Client ID",
1869
1830
  "description": "Your application's client ID from the OAuth client",
1870
- "optional": false,
1871
- "constraints": {
1872
- "notEmpty": true
1873
- },
1874
1831
  "group": "authentication",
1832
+ "type": "String",
1833
+ "feel": "optional",
1875
1834
  "binding": {
1876
- "name": "authentication.clientId",
1877
- "type": "zeebe:property"
1835
+ "type": "zeebe:property",
1836
+ "name": "authentication.clientId"
1878
1837
  },
1879
- "condition": {
1880
- "property": "authentication.type",
1881
- "equals": "oauth-client-credentials-flow",
1882
- "type": "simple"
1838
+ "constraints": {
1839
+ "notEmpty": true
1883
1840
  },
1884
- "type": "String"
1841
+ "condition": {
1842
+ "property": "authenticationType",
1843
+ "equals": "oauth-client-credentials-flow"
1844
+ }
1885
1845
  },
1886
1846
  {
1887
- "id": "authentication.clientSecret",
1888
1847
  "label": "Client secret",
1889
1848
  "description": "Your application's client secret from the OAuth client",
1890
- "optional": false,
1849
+ "group": "authentication",
1850
+ "type": "String",
1851
+ "feel": "optional",
1852
+ "binding": {
1853
+ "type": "zeebe:property",
1854
+ "name": "authentication.clientSecret"
1855
+ },
1891
1856
  "constraints": {
1892
1857
  "notEmpty": true
1893
1858
  },
1859
+ "condition": {
1860
+ "property": "authenticationType",
1861
+ "equals": "oauth-client-credentials-flow"
1862
+ }
1863
+ },
1864
+ {
1865
+ "label": "Scopes",
1866
+ "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
1894
1867
  "group": "authentication",
1868
+ "type": "String",
1869
+ "feel": "optional",
1870
+ "optional": true,
1895
1871
  "binding": {
1896
- "name": "authentication.clientSecret",
1897
- "type": "zeebe:property"
1872
+ "type": "zeebe:property",
1873
+ "name": "authentication.scopes"
1898
1874
  },
1899
1875
  "condition": {
1900
- "property": "authentication.type",
1901
- "equals": "oauth-client-credentials-flow",
1902
- "type": "simple"
1903
- },
1904
- "type": "String"
1876
+ "property": "authenticationType",
1877
+ "equals": "oauth-client-credentials-flow"
1878
+ }
1905
1879
  },
1906
1880
  {
1907
- "id": "authentication.audience",
1908
1881
  "label": "Audience",
1909
1882
  "description": "The unique identifier of the target API you want to access",
1910
- "optional": true,
1911
1883
  "group": "authentication",
1884
+ "type": "String",
1885
+ "feel": "optional",
1886
+ "optional": true,
1912
1887
  "binding": {
1913
- "name": "authentication.audience",
1914
- "type": "zeebe:property"
1888
+ "type": "zeebe:property",
1889
+ "name": "authentication.audience"
1915
1890
  },
1916
1891
  "condition": {
1917
- "property": "authentication.type",
1918
- "equals": "oauth-client-credentials-flow",
1919
- "type": "simple"
1920
- },
1921
- "type": "String"
1892
+ "property": "authenticationType",
1893
+ "equals": "oauth-client-credentials-flow"
1894
+ }
1922
1895
  },
1923
1896
  {
1924
- "id": "authentication.clientAuthentication",
1925
1897
  "label": "Client authentication",
1926
- "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
1927
- "optional": false,
1928
- "constraints": {
1929
- "notEmpty": true
1930
- },
1898
+ "id": "authentication.clientAuthentication",
1931
1899
  "group": "authentication",
1932
- "binding": {
1933
- "name": "authentication.clientAuthentication",
1934
- "type": "zeebe:property"
1935
- },
1936
- "condition": {
1937
- "property": "authentication.type",
1938
- "equals": "oauth-client-credentials-flow",
1939
- "type": "simple"
1940
- },
1900
+ "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
1901
+ "value": "basicAuthHeader",
1941
1902
  "type": "Dropdown",
1942
1903
  "choices": [
1943
1904
  {
@@ -1948,789 +1909,930 @@
1948
1909
  "name": "Send as Basic Auth header",
1949
1910
  "value": "basicAuthHeader"
1950
1911
  }
1951
- ]
1912
+ ],
1913
+ "binding": {
1914
+ "type": "zeebe:property",
1915
+ "name": "authentication.clientAuthentication"
1916
+ },
1917
+ "condition": {
1918
+ "property": "authenticationType",
1919
+ "equals": "oauth-client-credentials-flow"
1920
+ }
1952
1921
  },
1953
1922
  {
1954
- "id": "authentication.scopes",
1955
- "label": "Scopes",
1956
- "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
1957
- "optional": true,
1923
+ "label": "Username",
1958
1924
  "group": "authentication",
1925
+ "type": "String",
1926
+ "feel": "optional",
1959
1927
  "binding": {
1960
- "name": "authentication.scopes",
1961
- "type": "zeebe:property"
1928
+ "type": "zeebe:property",
1929
+ "name": "authentication.username"
1962
1930
  },
1963
- "condition": {
1964
- "property": "authentication.type",
1965
- "equals": "oauth-client-credentials-flow",
1966
- "type": "simple"
1931
+ "constraints": {
1932
+ "notEmpty": true
1967
1933
  },
1968
- "type": "String"
1934
+ "condition": {
1935
+ "property": "authenticationType",
1936
+ "equals": "basic"
1937
+ }
1969
1938
  },
1970
1939
  {
1971
- "id": "method",
1972
- "label": "Method",
1973
- "optional": false,
1974
- "value": "GET",
1940
+ "label": "Password",
1941
+ "group": "authentication",
1942
+ "type": "String",
1943
+ "feel": "optional",
1944
+ "binding": {
1945
+ "type": "zeebe:property",
1946
+ "name": "authentication.password"
1947
+ },
1975
1948
  "constraints": {
1976
1949
  "notEmpty": true
1977
1950
  },
1978
- "group": "endpoint",
1979
- "binding": {
1980
- "name": "method",
1981
- "type": "zeebe:property"
1982
- },
1983
- "type": "Dropdown",
1984
- "choices": [
1985
- {
1986
- "name": "POST",
1987
- "value": "POST"
1988
- },
1989
- {
1990
- "name": "GET",
1991
- "value": "GET"
1992
- },
1993
- {
1994
- "name": "DELETE",
1995
- "value": "DELETE"
1996
- },
1997
- {
1998
- "name": "PATCH",
1999
- "value": "PATCH"
2000
- },
2001
- {
2002
- "name": "PUT",
2003
- "value": "PUT"
2004
- }
2005
- ]
1951
+ "condition": {
1952
+ "property": "authenticationType",
1953
+ "equals": "basic"
1954
+ }
2006
1955
  },
2007
1956
  {
2008
- "id": "url",
2009
- "label": "URL",
2010
- "optional": false,
2011
- "constraints": {
2012
- "notEmpty": true,
2013
- "pattern": {
2014
- "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
2015
- "message": "Must be a http(s) URL"
2016
- }
2017
- },
1957
+ "label": "Request body",
1958
+ "description": "Payload to send with the request",
1959
+ "group": "input",
1960
+ "type": "Text",
2018
1961
  "feel": "optional",
2019
- "group": "endpoint",
2020
1962
  "binding": {
2021
- "name": "url",
2022
- "type": "zeebe:property"
1963
+ "type": "zeebe:property",
1964
+ "name": "body"
2023
1965
  },
2024
- "type": "String"
1966
+ "condition": {
1967
+ "property": "method",
1968
+ "oneOf": ["post", "put", "patch"]
1969
+ },
1970
+ "optional": true
2025
1971
  },
2026
1972
  {
2027
- "id": "queryParameters",
2028
- "label": "Query parameters",
2029
- "description": "Map of query parameters to add to the request URL",
2030
- "optional": true,
1973
+ "label": "Correlation key (process)",
1974
+ "type": "String",
1975
+ "group": "activation",
1976
+ "feel": "required",
1977
+ "description": "Sets up the correlation key from process variables",
1978
+ "binding": {
1979
+ "type": "bpmn:Message#zeebe:subscription#property",
1980
+ "name": "correlationKey"
1981
+ },
1982
+ "constraints": {
1983
+ "notEmpty": true
1984
+ }
1985
+ },
1986
+ {
1987
+ "label": "Correlation key (payload)",
1988
+ "type": "String",
1989
+ "group": "activation",
2031
1990
  "feel": "required",
1991
+ "binding": {
1992
+ "type": "zeebe:property",
1993
+ "name": "correlationKeyExpression"
1994
+ },
1995
+ "description": "Extracts the correlation key from the incoming message payload",
1996
+ "constraints": {
1997
+ "notEmpty": true
1998
+ }
1999
+ },
2000
+ {
2001
+ "label": "Condition",
2002
+ "type": "String",
2003
+ "group": "activation",
2004
+ "feel": "required",
2005
+ "optional": true,
2006
+ "binding": {
2007
+ "type": "zeebe:property",
2008
+ "name": "activationCondition"
2009
+ },
2010
+ "description": "Condition under which the connector triggers. Leave empty to catch all events. <a href='https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/#make-your-http-webhook-connector-for-receiving-messages-executable' target='_blank'>See documentation</a>"
2011
+ },
2012
+ {
2013
+ "label": "Connection timeout",
2014
+ "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
2032
2015
  "group": "endpoint",
2016
+ "type": "String",
2017
+ "value": "20",
2033
2018
  "binding": {
2034
- "name": "queryParameters",
2035
- "type": "zeebe:property"
2019
+ "type": "zeebe:property",
2020
+ "name": "connectionTimeoutInSeconds"
2036
2021
  },
2037
- "type": "String"
2022
+ "optional": true,
2023
+ "feel": "optional",
2024
+ "constraints": {
2025
+ "notEmpty": false,
2026
+ "pattern": {
2027
+ "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
2028
+ "message": "must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
2029
+ }
2030
+ }
2038
2031
  },
2039
2032
  {
2040
- "id": "headers",
2041
- "label": "Headers",
2042
- "description": "Map of HTTP headers to add to the request",
2033
+ "label": "Result variable",
2034
+ "type": "String",
2035
+ "group": "variable-mapping",
2043
2036
  "optional": true,
2037
+ "binding": {
2038
+ "type": "zeebe:property",
2039
+ "name": "resultVariable"
2040
+ },
2041
+ "description": "Name of variable to store the result of the connector in"
2042
+ },
2043
+ {
2044
+ "label": "Result expression",
2045
+ "type": "String",
2046
+ "group": "variable-mapping",
2044
2047
  "feel": "required",
2045
- "group": "endpoint",
2048
+ "optional": true,
2046
2049
  "binding": {
2047
- "name": "headers",
2050
+ "type": "zeebe:property",
2051
+ "name": "resultExpression"
2052
+ },
2053
+ "description": "Expression to map the inbound payload to process variables"
2054
+ }
2055
+ ],
2056
+ "engines": {
2057
+ "camunda": "^8.3"
2058
+ }
2059
+ },
2060
+ {
2061
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2062
+ "name": "HTTP Polling Boundary Catch Event Connector",
2063
+ "id": "io.camunda.connectors.http.Polling.Boundary",
2064
+ "description": "Polls endpoint at regular intervals",
2065
+ "keywords": [
2066
+ "poll",
2067
+ "polling",
2068
+ "HTTP",
2069
+ "REST",
2070
+ "wait for response",
2071
+ "check status",
2072
+ "periodic request",
2073
+ "HTTP callback"
2074
+ ],
2075
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/polling/",
2076
+ "version": 5,
2077
+ "category": {
2078
+ "id": "connectors",
2079
+ "name": "Connectors"
2080
+ },
2081
+ "appliesTo": ["bpmn:BoundaryEvent"],
2082
+ "elementType": {
2083
+ "value": "bpmn:BoundaryEvent",
2084
+ "eventDefinition": "bpmn:MessageEventDefinition"
2085
+ },
2086
+ "engines": {
2087
+ "camunda": "^8.9"
2088
+ },
2089
+ "groups": [
2090
+ {
2091
+ "id": "authentication",
2092
+ "label": "Authentication"
2093
+ },
2094
+ {
2095
+ "id": "endpoint",
2096
+ "label": "HTTP Polling configuration"
2097
+ },
2098
+ {
2099
+ "id": "payload",
2100
+ "label": "Payload"
2101
+ },
2102
+ {
2103
+ "id": "interval",
2104
+ "label": "HTTP Polling Interval"
2105
+ },
2106
+ {
2107
+ "id": "timeout",
2108
+ "label": "Connection timeout"
2109
+ },
2110
+ {
2111
+ "id": "activation",
2112
+ "label": "Activation"
2113
+ },
2114
+ {
2115
+ "id": "correlation",
2116
+ "label": "Correlation",
2117
+ "tooltip": "Learn more about message correlation in the <a href=\"https://docs.camunda.io/docs/components/concepts/messages/#message-correlation-overview\">documentation</a>."
2118
+ },
2119
+ {
2120
+ "id": "output",
2121
+ "label": "Output mapping"
2122
+ }
2123
+ ],
2124
+ "properties": [
2125
+ {
2126
+ "value": "io.camunda:http-polling:1",
2127
+ "binding": {
2128
+ "name": "inbound.type",
2129
+ "type": "zeebe:property"
2130
+ },
2131
+ "type": "Hidden"
2132
+ },
2133
+ {
2134
+ "id": "authentication.type",
2135
+ "label": "Type",
2136
+ "description": "Choose the authentication type. Select 'None' if no authentication is necessary",
2137
+ "value": "noAuth",
2138
+ "group": "authentication",
2139
+ "binding": {
2140
+ "name": "authentication.type",
2141
+ "type": "zeebe:property"
2142
+ },
2143
+ "type": "Dropdown",
2144
+ "choices": [
2145
+ {
2146
+ "name": "API key",
2147
+ "value": "apiKey"
2148
+ },
2149
+ {
2150
+ "name": "Basic",
2151
+ "value": "basic"
2152
+ },
2153
+ {
2154
+ "name": "Bearer token",
2155
+ "value": "bearer"
2156
+ },
2157
+ {
2158
+ "name": "None",
2159
+ "value": "noAuth"
2160
+ },
2161
+ {
2162
+ "name": "OAuth 2.0",
2163
+ "value": "oauth-client-credentials-flow"
2164
+ },
2165
+ {
2166
+ "name": "OAuth 2.0 Refresh Token",
2167
+ "value": "oauth-refresh-token"
2168
+ }
2169
+ ]
2170
+ },
2171
+ {
2172
+ "id": "authentication.apiKeyLocation",
2173
+ "label": "Api key location",
2174
+ "description": "Choose type: Send API key in header or as query parameter.",
2175
+ "optional": false,
2176
+ "value": "headers",
2177
+ "constraints": {
2178
+ "notEmpty": true
2179
+ },
2180
+ "group": "authentication",
2181
+ "binding": {
2182
+ "name": "authentication.apiKeyLocation",
2183
+ "type": "zeebe:property"
2184
+ },
2185
+ "condition": {
2186
+ "property": "authentication.type",
2187
+ "equals": "apiKey",
2188
+ "type": "simple"
2189
+ },
2190
+ "type": "Dropdown",
2191
+ "choices": [
2192
+ {
2193
+ "name": "Headers",
2194
+ "value": "headers"
2195
+ },
2196
+ {
2197
+ "name": "Query parameters",
2198
+ "value": "query"
2199
+ }
2200
+ ]
2201
+ },
2202
+ {
2203
+ "id": "authentication.name",
2204
+ "label": "API key name",
2205
+ "optional": false,
2206
+ "constraints": {
2207
+ "notEmpty": true
2208
+ },
2209
+ "group": "authentication",
2210
+ "binding": {
2211
+ "name": "authentication.name",
2048
2212
  "type": "zeebe:property"
2049
2213
  },
2214
+ "condition": {
2215
+ "property": "authentication.type",
2216
+ "equals": "apiKey",
2217
+ "type": "simple"
2218
+ },
2050
2219
  "type": "String"
2051
2220
  },
2052
2221
  {
2053
- "id": "skipEncoding",
2054
- "label": "Skip URL encoding",
2055
- "description": "Skip the default URL decoding and encoding behavior",
2056
- "optional": true,
2057
- "group": "endpoint",
2222
+ "id": "authentication.value",
2223
+ "label": "API key value",
2224
+ "optional": false,
2225
+ "constraints": {
2226
+ "notEmpty": true
2227
+ },
2228
+ "group": "authentication",
2058
2229
  "binding": {
2059
- "name": "skipEncoding",
2230
+ "name": "authentication.value",
2060
2231
  "type": "zeebe:property"
2061
2232
  },
2062
- "type": "Hidden"
2233
+ "condition": {
2234
+ "property": "authentication.type",
2235
+ "equals": "apiKey",
2236
+ "type": "simple"
2237
+ },
2238
+ "type": "String"
2063
2239
  },
2064
2240
  {
2065
- "id": "body",
2066
- "label": "Request body",
2067
- "description": "Payload to send with the request",
2068
- "optional": true,
2069
- "feel": "optional",
2070
- "group": "payload",
2241
+ "id": "authentication.username",
2242
+ "label": "Username",
2243
+ "optional": false,
2244
+ "constraints": {
2245
+ "notEmpty": true
2246
+ },
2247
+ "group": "authentication",
2071
2248
  "binding": {
2072
- "name": "body",
2249
+ "name": "authentication.username",
2073
2250
  "type": "zeebe:property"
2074
2251
  },
2075
2252
  "condition": {
2076
- "property": "method",
2077
- "oneOf": ["POST", "PUT", "PATCH"],
2253
+ "property": "authentication.type",
2254
+ "equals": "basic",
2078
2255
  "type": "simple"
2079
2256
  },
2080
- "type": "Text"
2257
+ "type": "String"
2081
2258
  },
2082
2259
  {
2083
- "id": "httpRequestInterval",
2084
- "label": "Http request interval",
2085
- "description": "The delay between HTTP requests, defined as ISO 8601 durations format. <a href='https://docs.camunda.io/docs/components/modeler/bpmn/timer-events/#time-duration' target='_blank'>How to configure a time duration</a>",
2260
+ "id": "authentication.password",
2261
+ "label": "Password",
2086
2262
  "optional": false,
2087
- "value": "PT50S",
2088
- "feel": "optional",
2089
- "group": "interval",
2263
+ "constraints": {
2264
+ "notEmpty": true
2265
+ },
2266
+ "group": "authentication",
2090
2267
  "binding": {
2091
- "name": "httpRequestInterval",
2268
+ "name": "authentication.password",
2092
2269
  "type": "zeebe:property"
2093
2270
  },
2271
+ "condition": {
2272
+ "property": "authentication.type",
2273
+ "equals": "basic",
2274
+ "type": "simple"
2275
+ },
2094
2276
  "type": "String"
2095
2277
  },
2096
2278
  {
2097
- "id": "processPollingInterval",
2098
- "label": "Process polling interval",
2279
+ "id": "authentication.token",
2280
+ "label": "Bearer token",
2099
2281
  "optional": false,
2100
- "value": "PT5S",
2101
- "group": "interval",
2282
+ "constraints": {
2283
+ "notEmpty": true
2284
+ },
2285
+ "group": "authentication",
2102
2286
  "binding": {
2103
- "name": "processPollingInterval",
2287
+ "name": "authentication.token",
2104
2288
  "type": "zeebe:property"
2105
2289
  },
2106
- "type": "Hidden"
2290
+ "condition": {
2291
+ "property": "authentication.type",
2292
+ "equals": "bearer",
2293
+ "type": "simple"
2294
+ },
2295
+ "type": "String"
2107
2296
  },
2108
2297
  {
2109
- "id": "connectionTimeoutInSeconds",
2110
- "label": "Connection timeout in seconds",
2111
- "description": "Defines the connection timeout in seconds, or 0 for an infinite timeout",
2298
+ "id": "authentication.oauthTokenEndpoint",
2299
+ "label": "OAuth 2.0 token endpoint",
2300
+ "description": "The OAuth token endpoint",
2112
2301
  "optional": false,
2113
- "value": "20",
2114
2302
  "constraints": {
2115
2303
  "notEmpty": true,
2116
2304
  "pattern": {
2117
- "value": "^\\d+$",
2118
- "message": "Must be a number"
2305
+ "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
2306
+ "message": "Must be a http(s) URL"
2119
2307
  }
2120
2308
  },
2121
- "feel": "optional",
2122
- "group": "timeout",
2309
+ "group": "authentication",
2123
2310
  "binding": {
2124
- "name": "connectionTimeoutInSeconds",
2311
+ "name": "authentication.oauthTokenEndpoint",
2125
2312
  "type": "zeebe:property"
2126
2313
  },
2127
- "tooltip": "Set the timeout in seconds to establish a connection or 0 for an infinite timeout",
2314
+ "condition": {
2315
+ "property": "authentication.type",
2316
+ "equals": "oauth-client-credentials-flow",
2317
+ "type": "simple"
2318
+ },
2128
2319
  "type": "String"
2129
2320
  },
2130
2321
  {
2131
- "id": "readTimeoutInSeconds",
2132
- "label": "Read timeout in seconds",
2133
- "description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
2322
+ "id": "authentication.clientId",
2323
+ "label": "Client ID",
2324
+ "description": "Your application's client ID from the OAuth client",
2134
2325
  "optional": false,
2135
- "value": "20",
2136
2326
  "constraints": {
2137
- "notEmpty": true,
2138
- "pattern": {
2139
- "value": "^\\d+$",
2140
- "message": "Must be a number"
2141
- }
2327
+ "notEmpty": true
2142
2328
  },
2143
- "feel": "optional",
2144
- "group": "timeout",
2329
+ "group": "authentication",
2145
2330
  "binding": {
2146
- "name": "readTimeoutInSeconds",
2331
+ "name": "authentication.clientId",
2147
2332
  "type": "zeebe:property"
2148
2333
  },
2334
+ "condition": {
2335
+ "property": "authentication.type",
2336
+ "equals": "oauth-client-credentials-flow",
2337
+ "type": "simple"
2338
+ },
2149
2339
  "type": "String"
2150
2340
  },
2151
2341
  {
2152
- "id": "activationCondition",
2153
- "label": "Activation condition",
2154
- "description": "Condition under which the Connector triggers. Leave empty to catch all events",
2155
- "optional": true,
2156
- "feel": "required",
2157
- "group": "activation",
2342
+ "id": "authentication.clientSecret",
2343
+ "label": "Client secret",
2344
+ "description": "Your application's client secret from the OAuth client",
2345
+ "optional": false,
2346
+ "constraints": {
2347
+ "notEmpty": true
2348
+ },
2349
+ "group": "authentication",
2158
2350
  "binding": {
2159
- "name": "activationCondition",
2351
+ "name": "authentication.clientSecret",
2160
2352
  "type": "zeebe:property"
2161
2353
  },
2354
+ "condition": {
2355
+ "property": "authentication.type",
2356
+ "equals": "oauth-client-credentials-flow",
2357
+ "type": "simple"
2358
+ },
2162
2359
  "type": "String"
2163
2360
  },
2164
2361
  {
2165
- "id": "correlationKeyProcess",
2166
- "label": "Correlation key (process)",
2167
- "description": "Sets up the correlation key from process variables",
2168
- "constraints": {
2169
- "notEmpty": true
2170
- },
2171
- "feel": "required",
2172
- "group": "correlation",
2362
+ "id": "authentication.audience",
2363
+ "label": "Audience",
2364
+ "description": "The unique identifier of the target API you want to access",
2365
+ "optional": true,
2366
+ "group": "authentication",
2173
2367
  "binding": {
2174
- "name": "correlationKey",
2175
- "type": "bpmn:Message#zeebe:subscription#property"
2368
+ "name": "authentication.audience",
2369
+ "type": "zeebe:property"
2370
+ },
2371
+ "condition": {
2372
+ "property": "authentication.type",
2373
+ "equals": "oauth-client-credentials-flow",
2374
+ "type": "simple"
2176
2375
  },
2177
2376
  "type": "String"
2178
2377
  },
2179
2378
  {
2180
- "id": "correlationKeyPayload",
2181
- "label": "Correlation key (payload)",
2182
- "description": "Extracts the correlation key from the incoming message payload",
2379
+ "id": "authentication.clientAuthentication",
2380
+ "label": "Client authentication",
2381
+ "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
2382
+ "optional": false,
2183
2383
  "constraints": {
2184
2384
  "notEmpty": true
2185
2385
  },
2186
- "feel": "required",
2187
- "group": "correlation",
2386
+ "group": "authentication",
2188
2387
  "binding": {
2189
- "name": "correlationKeyExpression",
2388
+ "name": "authentication.clientAuthentication",
2190
2389
  "type": "zeebe:property"
2191
2390
  },
2192
- "type": "String"
2391
+ "condition": {
2392
+ "property": "authentication.type",
2393
+ "equals": "oauth-client-credentials-flow",
2394
+ "type": "simple"
2395
+ },
2396
+ "type": "Dropdown",
2397
+ "choices": [
2398
+ {
2399
+ "name": "Send client credentials in body",
2400
+ "value": "credentialsBody"
2401
+ },
2402
+ {
2403
+ "name": "Send as Basic Auth header",
2404
+ "value": "basicAuthHeader"
2405
+ }
2406
+ ]
2193
2407
  },
2194
2408
  {
2195
- "id": "messageIdExpression",
2196
- "label": "Message ID expression",
2197
- "description": "Expression to extract unique identifier of a message",
2409
+ "id": "authentication.scopes",
2410
+ "label": "Scopes",
2411
+ "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
2198
2412
  "optional": true,
2199
- "feel": "required",
2200
- "group": "correlation",
2413
+ "group": "authentication",
2201
2414
  "binding": {
2202
- "name": "messageIdExpression",
2415
+ "name": "authentication.scopes",
2203
2416
  "type": "zeebe:property"
2204
2417
  },
2418
+ "condition": {
2419
+ "property": "authentication.type",
2420
+ "equals": "oauth-client-credentials-flow",
2421
+ "type": "simple"
2422
+ },
2205
2423
  "type": "String"
2206
2424
  },
2207
2425
  {
2208
- "id": "messageTtl",
2209
- "label": "Message TTL",
2210
- "description": "Time-to-live for the message in the broker (ISO-8601 duration)",
2211
- "optional": true,
2426
+ "id": "authentication.oauthRefreshToken.oauthTokenEndpoint",
2427
+ "label": "OAuth 2.0 token endpoint",
2428
+ "description": "The OAuth token endpoint",
2429
+ "optional": false,
2212
2430
  "constraints": {
2213
- "notEmpty": false,
2431
+ "notEmpty": true,
2214
2432
  "pattern": {
2215
- "value": "^(PT.*|)$",
2216
- "message": "must be an ISO-8601 duration"
2433
+ "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
2434
+ "message": "Must be a http(s) URL"
2217
2435
  }
2218
2436
  },
2219
- "feel": "optional",
2220
- "group": "correlation",
2437
+ "group": "authentication",
2221
2438
  "binding": {
2222
- "name": "messageTtl",
2439
+ "name": "authentication.oauthTokenEndpoint",
2223
2440
  "type": "zeebe:property"
2224
2441
  },
2442
+ "condition": {
2443
+ "property": "authentication.type",
2444
+ "equals": "oauth-refresh-token",
2445
+ "type": "simple"
2446
+ },
2225
2447
  "type": "String"
2226
2448
  },
2227
2449
  {
2228
- "id": "messageNameUuid",
2229
- "generatedValue": {
2230
- "type": "uuid"
2231
- },
2232
- "group": "correlation",
2233
- "binding": {
2234
- "name": "name",
2235
- "type": "bpmn:Message#property"
2450
+ "id": "authentication.oauthRefreshToken.clientId",
2451
+ "label": "Client ID",
2452
+ "description": "Your application's client ID from the OAuth client",
2453
+ "optional": false,
2454
+ "constraints": {
2455
+ "notEmpty": true
2236
2456
  },
2237
- "type": "Hidden"
2238
- },
2239
- {
2240
- "id": "resultVariable",
2241
- "label": "Result variable",
2242
- "description": "Name of variable to store the response in",
2243
- "group": "output",
2457
+ "group": "authentication",
2244
2458
  "binding": {
2245
- "name": "resultVariable",
2459
+ "name": "authentication.clientId",
2246
2460
  "type": "zeebe:property"
2247
2461
  },
2462
+ "condition": {
2463
+ "property": "authentication.type",
2464
+ "equals": "oauth-refresh-token",
2465
+ "type": "simple"
2466
+ },
2248
2467
  "type": "String"
2249
2468
  },
2250
2469
  {
2251
- "id": "resultExpression",
2252
- "label": "Result expression",
2253
- "description": "Expression to map the response into process variables",
2254
- "feel": "required",
2255
- "group": "output",
2470
+ "id": "authentication.oauthRefreshToken.clientSecret",
2471
+ "label": "Client secret",
2472
+ "description": "Your application's client secret from the OAuth client",
2473
+ "optional": true,
2474
+ "group": "authentication",
2256
2475
  "binding": {
2257
- "name": "resultExpression",
2476
+ "name": "authentication.clientSecret",
2258
2477
  "type": "zeebe:property"
2259
2478
  },
2260
- "type": "Text"
2261
- }
2262
- ],
2263
- "icon": {
2264
- "contents": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJz8+Cjxzdmcgd2lkdGg9JzE4JyBoZWlnaHQ9JzE4JyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnPgogICAgPGcgY2xhc3M9J2xheWVyJz4KICAgICAgICA8dGl0bGU+TGF5ZXIgMTwvdGl0bGU+CiAgICAgICAgPHBhdGggZD0nbTE3LjAzLDljMCw0LjQ1IC0zLjYsOC4wNSAtOC4wNSw4LjA1Yy00LjQ1LDAgLTguMDUsLTMuNiAtOC4wNSwtOC4wNWMwLC00LjQ1IDMuNiwtOC4wNSA4LjA1LC04LjA1YzQuNDUsMCA4LjA1LDMuNiA4LjA1LDguMDV6JwogICAgICAgICAgICAgIGZpbGw9JyM1MDU1NjInIGlkPSdzdmdfMScvPgogICAgICAgIDxwYXRoIGQ9J200LjkzLDE0LjE2bDEuODUsLTEwLjQ1bDMuMzYsMGMxLjA1LDAgMS44NCwwLjI3IDIuMzcsMC44MWMwLjU0LDAuNTMgMC44LDEuMjEgMC44LDIuMDZjMCwwLjg2IC0wLjI0LDEuNTggLTAuNzMsMi4xM2MtMC40NywwLjU1IC0xLjEyLDAuOTMgLTEuOTUsMS4xNGwtMC40OCwwLjA5bC0wLjUzLDAuMDNsLTAuNiwwLjA1bC0xLjc5LDBsLTAuNzMsNC4xNGwtMS41OCwwem0yLjU3LC01LjU3bDEuNzQsMGMwLjc2LDAgMS4zNSwtMC4xNyAxLjc4LC0wLjVjMC40NCwtMC4zNSAwLjY1LC0wLjgyIDAuNjUsLTEuNDJjMCwtMC40OCAtMC4xNSwtMC44NSAtMC40NCwtMS4xMmMtMC4zLC0wLjI4IC0wLjc3LC0wLjQyIC0xLjQyLC0wLjQybC0xLjcsMGwtMC42MSwzLjQ2eicKICAgICAgICAgICAgICBmaWxsPSd3aGl0ZScgaWQ9J3N2Z18yJy8+CiAgICA8L2c+Cjwvc3ZnPg=="
2265
- }
2266
- },
2267
- {
2268
- "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2269
- "name": "HTTP Polling Boundary Catch Event Connector",
2270
- "id": "io.camunda.connectors.http.Polling.Boundary",
2271
- "version": 1,
2272
- "description": "Polls endpoint at regular intervals",
2273
- "icon": {
2274
- "contents": "data:image/svg+xml;utf8,%3C%3Fxml version='1.0'%3F%3E%3Csvg width='18' height='18' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpath d='m17.03,9c0,4.45 -3.6,8.05 -8.05,8.05c-4.45,0 -8.05,-3.6 -8.05,-8.05c0,-4.45 3.6,-8.05 8.05,-8.05c4.45,0 8.05,3.6 8.05,8.05z' fill='%23505562' id='svg_1'/%3E%3Cpath d='m4.93,14.16l1.85,-10.45l3.36,0c1.05,0 1.84,0.27 2.37,0.81c0.54,0.53 0.8,1.21 0.8,2.06c0,0.86 -0.24,1.58 -0.73,2.13c-0.47,0.55 -1.12,0.93 -1.95,1.14l-0.48,0.09l-0.53,0.03l-0.6,0.05l-1.79,0l-0.73,4.14l-1.58,0zm2.57,-5.57l1.74,0c0.76,0 1.35,-0.17 1.78,-0.5c0.44,-0.35 0.65,-0.82 0.65,-1.42c0,-0.48 -0.15,-0.85 -0.44,-1.12c-0.3,-0.28 -0.77,-0.42 -1.42,-0.42l-1.7,0l-0.61,3.46z' fill='white' id='svg_2'/%3E%3C/g%3E%3C/svg%3E"
2275
- },
2276
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/polling/",
2277
- "category": {
2278
- "id": "connectors",
2279
- "name": "Connectors"
2280
- },
2281
- "appliesTo": ["bpmn:BoundaryEvent"],
2282
- "elementType": {
2283
- "value": "bpmn:BoundaryEvent",
2284
- "eventDefinition": "bpmn:MessageEventDefinition"
2285
- },
2286
- "groups": [
2287
- {
2288
- "id": "authentication",
2289
- "label": "Authentication"
2290
- },
2291
- {
2292
- "id": "endpoint",
2293
- "label": "HTTP Polling configuration"
2294
- },
2295
- {
2296
- "id": "input",
2297
- "label": "Payload"
2298
- },
2299
- {
2300
- "id": "activation",
2301
- "label": "Condition to proceed"
2302
- },
2303
- {
2304
- "id": "timer",
2305
- "label": "Timer"
2306
- },
2307
- {
2308
- "id": "timeout",
2309
- "label": "Connect timeout"
2310
- },
2311
- {
2312
- "id": "variable-mapping",
2313
- "label": "Response mapping"
2314
- }
2315
- ],
2316
- "properties": [
2317
- {
2318
- "type": "Hidden",
2319
- "value": "io.camunda:http-polling:1",
2320
- "binding": {
2321
- "type": "zeebe:property",
2322
- "name": "inbound.type"
2323
- }
2479
+ "condition": {
2480
+ "property": "authentication.type",
2481
+ "equals": "oauth-refresh-token",
2482
+ "type": "simple"
2483
+ },
2484
+ "type": "String"
2324
2485
  },
2325
2486
  {
2326
- "type": "Hidden",
2327
- "generatedValue": {
2328
- "type": "uuid"
2487
+ "id": "authentication.oauthRefreshToken.refreshToken",
2488
+ "label": "Refresh token",
2489
+ "description": "The refresh token used to obtain a new access token",
2490
+ "optional": false,
2491
+ "constraints": {
2492
+ "notEmpty": true
2329
2493
  },
2494
+ "group": "authentication",
2330
2495
  "binding": {
2331
- "type": "bpmn:Message#property",
2332
- "name": "name"
2333
- }
2496
+ "name": "authentication.refreshToken",
2497
+ "type": "zeebe:property"
2498
+ },
2499
+ "condition": {
2500
+ "property": "authentication.type",
2501
+ "equals": "oauth-refresh-token",
2502
+ "type": "simple"
2503
+ },
2504
+ "type": "String"
2334
2505
  },
2335
2506
  {
2336
- "label": "Type",
2337
- "id": "authenticationType",
2507
+ "id": "authentication.oauthRefreshToken.scopes",
2508
+ "label": "Scopes",
2509
+ "description": "The scopes to request authorization for (space-separated)",
2510
+ "optional": true,
2338
2511
  "group": "authentication",
2339
- "description": "Choose the authentication type. Select 'None' if no authentication is necessary",
2340
- "value": "noAuth",
2341
- "type": "Dropdown",
2342
- "choices": [
2343
- {
2344
- "name": "None",
2345
- "value": "noAuth"
2346
- },
2347
- {
2348
- "name": "Basic",
2349
- "value": "basic"
2350
- },
2351
- {
2352
- "name": "Bearer token",
2353
- "value": "bearer"
2354
- },
2355
- {
2356
- "name": "OAuth 2.0",
2357
- "value": "oauth-client-credentials-flow"
2358
- }
2359
- ],
2360
2512
  "binding": {
2361
- "type": "zeebe:property",
2362
- "name": "authentication.type"
2363
- }
2513
+ "name": "authentication.scopes",
2514
+ "type": "zeebe:property"
2515
+ },
2516
+ "condition": {
2517
+ "property": "authentication.type",
2518
+ "equals": "oauth-refresh-token",
2519
+ "type": "simple"
2520
+ },
2521
+ "type": "String"
2364
2522
  },
2365
2523
  {
2366
2524
  "id": "method",
2367
2525
  "label": "Method",
2526
+ "optional": false,
2527
+ "value": "GET",
2528
+ "constraints": {
2529
+ "notEmpty": true
2530
+ },
2368
2531
  "group": "endpoint",
2532
+ "binding": {
2533
+ "name": "method",
2534
+ "type": "zeebe:property"
2535
+ },
2369
2536
  "type": "Dropdown",
2370
- "value": "get",
2371
2537
  "choices": [
2538
+ {
2539
+ "name": "POST",
2540
+ "value": "POST"
2541
+ },
2372
2542
  {
2373
2543
  "name": "GET",
2374
- "value": "get"
2544
+ "value": "GET"
2375
2545
  },
2376
2546
  {
2377
- "name": "POST",
2378
- "value": "post"
2547
+ "name": "DELETE",
2548
+ "value": "DELETE"
2379
2549
  },
2380
2550
  {
2381
2551
  "name": "PATCH",
2382
- "value": "patch"
2552
+ "value": "PATCH"
2383
2553
  },
2384
2554
  {
2385
2555
  "name": "PUT",
2386
- "value": "put"
2387
- },
2388
- {
2389
- "name": "DELETE",
2390
- "value": "delete"
2556
+ "value": "PUT"
2391
2557
  }
2392
- ],
2393
- "binding": {
2394
- "type": "zeebe:property",
2395
- "name": "method"
2396
- }
2558
+ ]
2397
2559
  },
2398
2560
  {
2561
+ "id": "url",
2399
2562
  "label": "URL",
2400
- "group": "endpoint",
2401
- "type": "String",
2402
- "feel": "optional",
2403
- "binding": {
2404
- "type": "zeebe:property",
2405
- "name": "url"
2406
- },
2563
+ "optional": false,
2407
2564
  "constraints": {
2408
2565
  "notEmpty": true,
2409
2566
  "pattern": {
2410
- "value": "^(=|(https?://|secrets\\..+|\\{\\{secrets\\..+\\}\\}).*$)",
2411
- "message": "must be a http(s) URL"
2567
+ "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
2568
+ "message": "Must be a http(s) URL"
2412
2569
  }
2413
- }
2570
+ },
2571
+ "feel": "optional",
2572
+ "group": "endpoint",
2573
+ "binding": {
2574
+ "name": "url",
2575
+ "type": "zeebe:property"
2576
+ },
2577
+ "type": "String"
2414
2578
  },
2415
2579
  {
2580
+ "id": "queryParameters",
2416
2581
  "label": "Query parameters",
2417
2582
  "description": "Map of query parameters to add to the request URL",
2418
- "group": "endpoint",
2419
- "type": "Text",
2583
+ "optional": true,
2420
2584
  "feel": "required",
2585
+ "group": "endpoint",
2421
2586
  "binding": {
2422
- "type": "zeebe:property",
2423
- "name": "queryParameters"
2587
+ "name": "queryParameters",
2588
+ "type": "zeebe:property"
2424
2589
  },
2425
- "optional": true
2590
+ "type": "String"
2426
2591
  },
2427
2592
  {
2428
- "label": "HTTP headers",
2593
+ "id": "headers",
2594
+ "label": "Headers",
2429
2595
  "description": "Map of HTTP headers to add to the request",
2430
- "group": "endpoint",
2431
- "type": "Text",
2596
+ "optional": true,
2432
2597
  "feel": "required",
2433
- "binding": {
2434
- "type": "zeebe:property",
2435
- "name": "headers"
2436
- },
2437
- "optional": true
2438
- },
2439
- {
2440
- "label": "Interval",
2441
- "description": "The delay between HTTP requests, defined as ISO 8601 durations format. <a href='https://docs.camunda.io/docs/components/modeler/bpmn/timer-events/#time-duration' target='_blank'>How to configure a time duration</a>",
2442
2598
  "group": "endpoint",
2443
- "type": "String",
2444
- "feel": "optional",
2445
- "value": "PT50S",
2446
2599
  "binding": {
2447
- "type": "zeebe:property",
2448
- "name": "httpRequestInterval"
2449
- },
2450
- "constraints": {
2451
- "notEmpty": true,
2452
- "pattern": {
2453
- "value": "^=|P(?=\\d|T\\d)(?:\\d+Y)?(?:\\d+M)?(?:\\d+W)?(?:\\d+D)?(?:T(?:\\d+H)?(?:\\d+M)?(?:\\d+(?:\\.\\d{1,3})?S)?)$",
2454
- "message": "value must be defined"
2455
- }
2600
+ "name": "headers",
2601
+ "type": "zeebe:property"
2456
2602
  },
2457
- "optional": false
2603
+ "type": "String"
2458
2604
  },
2459
2605
  {
2606
+ "id": "skipEncoding",
2607
+ "label": "Skip URL encoding",
2608
+ "description": "Skip the default URL decoding and encoding behavior",
2609
+ "optional": true,
2460
2610
  "group": "endpoint",
2461
- "type": "Hidden",
2462
- "value": "PT5S",
2463
- "binding": {
2464
- "type": "zeebe:property",
2465
- "name": "operatePollingInterval"
2466
- },
2467
- "optional": true
2468
- },
2469
- {
2470
- "label": "Bearer token",
2471
- "group": "authentication",
2472
- "type": "String",
2473
- "feel": "optional",
2474
- "binding": {
2475
- "type": "zeebe:property",
2476
- "name": "authentication.token"
2477
- },
2478
- "constraints": {
2479
- "notEmpty": true
2480
- },
2481
- "condition": {
2482
- "property": "authenticationType",
2483
- "equals": "bearer"
2484
- }
2485
- },
2486
- {
2487
- "label": "OAuth token endpoint",
2488
- "description": "The OAuth token endpoint",
2489
- "group": "authentication",
2490
- "type": "String",
2491
- "feel": "optional",
2492
- "binding": {
2493
- "type": "zeebe:property",
2494
- "name": "authentication.oauthTokenEndpoint"
2495
- },
2496
- "constraints": {
2497
- "notEmpty": true
2498
- },
2499
- "condition": {
2500
- "property": "authenticationType",
2501
- "equals": "oauth-client-credentials-flow"
2502
- }
2503
- },
2504
- {
2505
- "label": "Client ID",
2506
- "description": "Your application's client ID from the OAuth client",
2507
- "group": "authentication",
2508
- "type": "String",
2509
- "feel": "optional",
2510
2611
  "binding": {
2511
- "type": "zeebe:property",
2512
- "name": "authentication.clientId"
2513
- },
2514
- "constraints": {
2515
- "notEmpty": true
2612
+ "name": "skipEncoding",
2613
+ "type": "zeebe:property"
2516
2614
  },
2517
- "condition": {
2518
- "property": "authenticationType",
2519
- "equals": "oauth-client-credentials-flow"
2520
- }
2615
+ "type": "Hidden"
2521
2616
  },
2522
2617
  {
2523
- "label": "Client secret",
2524
- "description": "Your application's client secret from the OAuth client",
2525
- "group": "authentication",
2526
- "type": "String",
2527
- "feel": "optional",
2618
+ "id": "followRedirects",
2619
+ "label": "Follow redirects",
2620
+ "description": "If enabled, HTTP 3xx redirects will be followed automatically. Disabled by default.",
2621
+ "optional": true,
2622
+ "value": false,
2623
+ "feel": "static",
2624
+ "group": "endpoint",
2528
2625
  "binding": {
2529
- "type": "zeebe:property",
2530
- "name": "authentication.clientSecret"
2531
- },
2532
- "constraints": {
2533
- "notEmpty": true
2626
+ "name": "followRedirects",
2627
+ "type": "zeebe:property"
2534
2628
  },
2535
- "condition": {
2536
- "property": "authenticationType",
2537
- "equals": "oauth-client-credentials-flow"
2538
- }
2629
+ "type": "Boolean"
2539
2630
  },
2540
2631
  {
2541
- "label": "Scopes",
2542
- "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
2543
- "group": "authentication",
2544
- "type": "String",
2545
- "feel": "optional",
2632
+ "id": "body",
2633
+ "label": "Request body",
2634
+ "description": "Payload to send with the request",
2546
2635
  "optional": true,
2636
+ "feel": "optional",
2637
+ "group": "payload",
2547
2638
  "binding": {
2548
- "type": "zeebe:property",
2549
- "name": "authentication.scopes"
2639
+ "name": "body",
2640
+ "type": "zeebe:property"
2550
2641
  },
2551
2642
  "condition": {
2552
- "property": "authenticationType",
2553
- "equals": "oauth-client-credentials-flow"
2554
- }
2643
+ "property": "method",
2644
+ "oneOf": ["POST", "PUT", "PATCH"],
2645
+ "type": "simple"
2646
+ },
2647
+ "type": "Text"
2555
2648
  },
2556
2649
  {
2557
- "label": "Audience",
2558
- "description": "The unique identifier of the target API you want to access",
2559
- "group": "authentication",
2560
- "type": "String",
2650
+ "id": "httpRequestInterval",
2651
+ "label": "Http request interval",
2652
+ "description": "The delay between HTTP requests, defined as ISO 8601 durations format. <a href='https://docs.camunda.io/docs/components/modeler/bpmn/timer-events/#time-duration' target='_blank'>How to configure a time duration</a>",
2653
+ "optional": false,
2654
+ "value": "PT50S",
2561
2655
  "feel": "optional",
2562
- "optional": true,
2656
+ "group": "interval",
2563
2657
  "binding": {
2564
- "type": "zeebe:property",
2565
- "name": "authentication.audience"
2658
+ "name": "httpRequestInterval",
2659
+ "type": "zeebe:property"
2566
2660
  },
2567
- "condition": {
2568
- "property": "authenticationType",
2569
- "equals": "oauth-client-credentials-flow"
2570
- }
2661
+ "type": "String"
2571
2662
  },
2572
2663
  {
2573
- "label": "Client authentication",
2574
- "id": "authentication.clientAuthentication",
2575
- "group": "authentication",
2576
- "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
2577
- "value": "basicAuthHeader",
2578
- "type": "Dropdown",
2579
- "choices": [
2580
- {
2581
- "name": "Send client credentials in body",
2582
- "value": "credentialsBody"
2583
- },
2584
- {
2585
- "name": "Send as Basic Auth header",
2586
- "value": "basicAuthHeader"
2587
- }
2588
- ],
2664
+ "id": "processPollingInterval",
2665
+ "label": "Process polling interval",
2666
+ "optional": false,
2667
+ "value": "PT5S",
2668
+ "group": "interval",
2589
2669
  "binding": {
2590
- "type": "zeebe:property",
2591
- "name": "authentication.clientAuthentication"
2670
+ "name": "processPollingInterval",
2671
+ "type": "zeebe:property"
2592
2672
  },
2593
- "condition": {
2594
- "property": "authenticationType",
2595
- "equals": "oauth-client-credentials-flow"
2596
- }
2673
+ "type": "Hidden"
2597
2674
  },
2598
2675
  {
2599
- "label": "Username",
2600
- "group": "authentication",
2601
- "type": "String",
2676
+ "id": "connectionTimeoutInSeconds",
2677
+ "label": "Connection timeout in seconds",
2678
+ "description": "Defines the connection timeout in seconds, or 0 for an infinite timeout",
2679
+ "optional": false,
2680
+ "value": "20",
2681
+ "constraints": {
2682
+ "notEmpty": true,
2683
+ "pattern": {
2684
+ "value": "^\\d+$",
2685
+ "message": "Must be a number"
2686
+ }
2687
+ },
2602
2688
  "feel": "optional",
2689
+ "group": "timeout",
2603
2690
  "binding": {
2604
- "type": "zeebe:property",
2605
- "name": "authentication.username"
2606
- },
2607
- "constraints": {
2608
- "notEmpty": true
2691
+ "name": "connectionTimeoutInSeconds",
2692
+ "type": "zeebe:property"
2609
2693
  },
2610
- "condition": {
2611
- "property": "authenticationType",
2612
- "equals": "basic"
2613
- }
2694
+ "tooltip": "Set the timeout in seconds to establish a connection or 0 for an infinite timeout",
2695
+ "type": "String"
2614
2696
  },
2615
2697
  {
2616
- "label": "Password",
2617
- "group": "authentication",
2618
- "type": "String",
2698
+ "id": "readTimeoutInSeconds",
2699
+ "label": "Read timeout in seconds",
2700
+ "description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
2701
+ "optional": false,
2702
+ "value": "20",
2703
+ "constraints": {
2704
+ "notEmpty": true,
2705
+ "pattern": {
2706
+ "value": "^\\d+$",
2707
+ "message": "Must be a number"
2708
+ }
2709
+ },
2619
2710
  "feel": "optional",
2711
+ "group": "timeout",
2620
2712
  "binding": {
2621
- "type": "zeebe:property",
2622
- "name": "authentication.password"
2623
- },
2624
- "constraints": {
2625
- "notEmpty": true
2713
+ "name": "readTimeoutInSeconds",
2714
+ "type": "zeebe:property"
2626
2715
  },
2627
- "condition": {
2628
- "property": "authenticationType",
2629
- "equals": "basic"
2630
- }
2716
+ "type": "String"
2631
2717
  },
2632
2718
  {
2633
- "label": "Request body",
2634
- "description": "Payload to send with the request",
2635
- "group": "input",
2636
- "type": "Text",
2637
- "feel": "optional",
2719
+ "id": "activationCondition",
2720
+ "label": "Activation condition",
2721
+ "description": "Condition under which the Connector triggers. Leave empty to catch all events",
2722
+ "optional": true,
2723
+ "feel": "required",
2724
+ "group": "activation",
2638
2725
  "binding": {
2639
- "type": "zeebe:property",
2640
- "name": "body"
2641
- },
2642
- "condition": {
2643
- "property": "method",
2644
- "oneOf": ["post", "put", "patch"]
2726
+ "name": "activationCondition",
2727
+ "type": "zeebe:property"
2645
2728
  },
2646
- "optional": true
2729
+ "type": "String"
2647
2730
  },
2648
2731
  {
2732
+ "id": "correlationKeyProcess",
2649
2733
  "label": "Correlation key (process)",
2650
- "type": "String",
2651
- "group": "activation",
2652
- "feel": "required",
2653
2734
  "description": "Sets up the correlation key from process variables",
2654
- "binding": {
2655
- "type": "bpmn:Message#zeebe:subscription#property",
2656
- "name": "correlationKey"
2657
- },
2658
2735
  "constraints": {
2659
2736
  "notEmpty": true
2660
- }
2661
- },
2662
- {
2663
- "label": "Correlation key (payload)",
2664
- "type": "String",
2665
- "group": "activation",
2737
+ },
2666
2738
  "feel": "required",
2739
+ "group": "correlation",
2667
2740
  "binding": {
2668
- "type": "zeebe:property",
2669
- "name": "correlationKeyExpression"
2741
+ "name": "correlationKey",
2742
+ "type": "bpmn:Message#zeebe:subscription#property"
2670
2743
  },
2744
+ "type": "String"
2745
+ },
2746
+ {
2747
+ "id": "correlationKeyPayload",
2748
+ "label": "Correlation key (payload)",
2671
2749
  "description": "Extracts the correlation key from the incoming message payload",
2672
2750
  "constraints": {
2673
2751
  "notEmpty": true
2674
- }
2675
- },
2676
- {
2677
- "label": "Condition",
2678
- "type": "String",
2679
- "group": "activation",
2752
+ },
2680
2753
  "feel": "required",
2681
- "optional": true,
2754
+ "group": "correlation",
2682
2755
  "binding": {
2683
- "type": "zeebe:property",
2684
- "name": "activationCondition"
2756
+ "name": "correlationKeyExpression",
2757
+ "type": "zeebe:property"
2685
2758
  },
2686
- "description": "Condition under which the connector triggers. Leave empty to catch all events. <a href='https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/#make-your-http-webhook-connector-for-receiving-messages-executable' target='_blank'>See documentation</a>"
2759
+ "type": "String"
2687
2760
  },
2688
2761
  {
2689
- "label": "Connection timeout",
2690
- "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
2691
- "group": "endpoint",
2692
- "type": "String",
2693
- "value": "20",
2762
+ "id": "messageIdExpression",
2763
+ "label": "Message ID expression",
2764
+ "description": "Expression to extract unique identifier of a message",
2765
+ "optional": true,
2766
+ "feel": "required",
2767
+ "group": "correlation",
2694
2768
  "binding": {
2695
- "type": "zeebe:property",
2696
- "name": "connectionTimeoutInSeconds"
2769
+ "name": "messageIdExpression",
2770
+ "type": "zeebe:property"
2697
2771
  },
2772
+ "type": "String"
2773
+ },
2774
+ {
2775
+ "id": "messageTtl",
2776
+ "label": "Message TTL",
2777
+ "description": "Time-to-live for the message in the broker (ISO-8601 duration)",
2698
2778
  "optional": true,
2699
- "feel": "optional",
2700
2779
  "constraints": {
2701
2780
  "notEmpty": false,
2702
2781
  "pattern": {
2703
- "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
2704
- "message": "must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
2782
+ "value": "^(PT.*|)$",
2783
+ "message": "must be an ISO-8601 duration"
2705
2784
  }
2706
- }
2785
+ },
2786
+ "feel": "optional",
2787
+ "group": "correlation",
2788
+ "binding": {
2789
+ "name": "messageTtl",
2790
+ "type": "zeebe:property"
2791
+ },
2792
+ "type": "String"
2793
+ },
2794
+ {
2795
+ "id": "messageNameUuid",
2796
+ "label": "Message name",
2797
+ "generatedValue": {
2798
+ "type": "uuid"
2799
+ },
2800
+ "feel": "optional",
2801
+ "group": "correlation",
2802
+ "binding": {
2803
+ "name": "name",
2804
+ "type": "bpmn:Message#property"
2805
+ },
2806
+ "tooltip": "By default, this is an auto-generated random UUID. We recommend using a unique message name for each connector element in the diagram. Override to set a custom message name. Learn more about <a href=\"https://docs.camunda.io/docs/components/concepts/messages/#message-subscriptions\">message subscriptions</a> that power inbound connectors.",
2807
+ "type": "String"
2707
2808
  },
2708
2809
  {
2810
+ "id": "resultVariable",
2709
2811
  "label": "Result variable",
2710
- "type": "String",
2711
- "group": "variable-mapping",
2712
- "optional": true,
2812
+ "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>.",
2813
+ "group": "output",
2713
2814
  "binding": {
2714
- "type": "zeebe:property",
2715
- "name": "resultVariable"
2815
+ "name": "resultVariable",
2816
+ "type": "zeebe:property"
2716
2817
  },
2717
- "description": "Name of variable to store the result of the connector in"
2818
+ "type": "String"
2718
2819
  },
2719
2820
  {
2821
+ "id": "resultExpression",
2720
2822
  "label": "Result expression",
2721
- "type": "String",
2722
- "group": "variable-mapping",
2823
+ "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>.",
2824
+ "value": "{\n myResponseBody: response.body\n // Use FEEL to extract values, e.g.,:\n // myUserId: response.body.post.userId\n}",
2723
2825
  "feel": "required",
2724
- "optional": true,
2826
+ "group": "output",
2725
2827
  "binding": {
2726
- "type": "zeebe:property",
2727
- "name": "resultExpression"
2828
+ "name": "resultExpression",
2829
+ "type": "zeebe:property"
2728
2830
  },
2729
- "description": "Expression to map the inbound payload to process variables"
2831
+ "type": "Text"
2730
2832
  }
2731
2833
  ],
2732
- "engines": {
2733
- "camunda": "^8.3"
2834
+ "icon": {
2835
+ "contents": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJz8+Cjxzdmcgd2lkdGg9JzE4JyBoZWlnaHQ9JzE4JyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnPgogICAgPGcgY2xhc3M9J2xheWVyJz4KICAgICAgICA8dGl0bGU+TGF5ZXIgMTwvdGl0bGU+CiAgICAgICAgPHBhdGggZD0nbTE3LjAzLDljMCw0LjQ1IC0zLjYsOC4wNSAtOC4wNSw4LjA1Yy00LjQ1LDAgLTguMDUsLTMuNiAtOC4wNSwtOC4wNWMwLC00LjQ1IDMuNiwtOC4wNSA4LjA1LC04LjA1YzQuNDUsMCA4LjA1LDMuNiA4LjA1LDguMDV6JwogICAgICAgICAgICAgIGZpbGw9JyM1MDU1NjInIGlkPSdzdmdfMScvPgogICAgICAgIDxwYXRoIGQ9J200LjkzLDE0LjE2bDEuODUsLTEwLjQ1bDMuMzYsMGMxLjA1LDAgMS44NCwwLjI3IDIuMzcsMC44MWMwLjU0LDAuNTMgMC44LDEuMjEgMC44LDIuMDZjMCwwLjg2IC0wLjI0LDEuNTggLTAuNzMsMi4xM2MtMC40NywwLjU1IC0xLjEyLDAuOTMgLTEuOTUsMS4xNGwtMC40OCwwLjA5bC0wLjUzLDAuMDNsLTAuNiwwLjA1bC0xLjc5LDBsLTAuNzMsNC4xNGwtMS41OCwwem0yLjU3LC01LjU3bDEuNzQsMGMwLjc2LDAgMS4zNSwtMC4xNyAxLjc4LC0wLjVjMC40NCwtMC4zNSAwLjY1LC0wLjgyIDAuNjUsLTEuNDJjMCwtMC40OCAtMC4xNSwtMC44NSAtMC40NCwtMS4xMmMtMC4zLC0wLjI4IC0wLjc3LC0wLjQyIC0xLjQyLC0wLjQybC0xLjcsMGwtMC42MSwzLjQ2eicKICAgICAgICAgICAgICBmaWxsPSd3aGl0ZScgaWQ9J3N2Z18yJy8+CiAgICA8L2c+Cjwvc3ZnPg=="
2734
2836
  }
2735
2837
  }
2736
2838
  ]