@camunda/connectors-element-templates 1.0.17 → 1.0.18

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 (125) hide show
  1. package/package.json +2 -2
  2. package/src/connectors.js +12 -2
  3. package/src/element-templates/agenticai-a2a-client-outbound-connector.json +2 -5
  4. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +6 -6
  5. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +6 -6
  6. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +6 -6
  7. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +6 -6
  8. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +10 -13
  9. package/src/element-templates/agenticai-aiagent-job-worker.json +3774 -33
  10. package/src/element-templates/agenticai-aiagent-outbound-connector.json +7968 -4288
  11. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +2 -5
  12. package/src/element-templates/agenticai-mcp-message-start-event.json +122 -0
  13. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2 -5
  14. package/src/element-templates/asana-connector.json +718 -7
  15. package/src/element-templates/automation-anywhere-outbound-connector.json +1175 -1171
  16. package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +431 -0
  17. package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +285 -0
  18. package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +341 -0
  19. package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +316 -0
  20. package/src/element-templates/aws-bedrock-outbound-connector.json +775 -38
  21. package/src/element-templates/aws-comprehend-outbound-connector.json +10 -5
  22. package/src/element-templates/aws-dynamodb-outbound-connector.json +1407 -1407
  23. package/src/element-templates/aws-eventbridge-connector-boundary.json +370 -5
  24. package/src/element-templates/aws-eventbridge-connector-intermediate.json +400 -35
  25. package/src/element-templates/aws-eventbridge-connector-message-start.json +399 -0
  26. package/src/element-templates/aws-eventbridge-connector-receive.json +364 -0
  27. package/src/element-templates/aws-eventbridge-connector-start-event.json +317 -0
  28. package/src/element-templates/aws-eventbridge-outbound-connector.json +300 -295
  29. package/src/element-templates/aws-lambda-outbound-connector.json +472 -468
  30. package/src/element-templates/aws-s3-outbound-connector.json +656 -15
  31. package/src/element-templates/aws-sagemaker-outbound-connector.json +56 -52
  32. package/src/element-templates/aws-sns-inbound-boundary.json +230 -223
  33. package/src/element-templates/aws-sns-inbound-intermediate.json +486 -479
  34. package/src/element-templates/aws-sns-inbound-message-start.json +240 -233
  35. package/src/element-templates/aws-sns-inbound-receive.json +13 -6
  36. package/src/element-templates/aws-sns-inbound-start-event.json +139 -132
  37. package/src/element-templates/aws-sns-outbound-connector.json +390 -386
  38. package/src/element-templates/aws-sqs-boundary-connector.json +472 -468
  39. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +388 -384
  40. package/src/element-templates/aws-sqs-outbound-connector.json +402 -400
  41. package/src/element-templates/aws-sqs-receive-connector.json +15 -11
  42. package/src/element-templates/aws-sqs-start-event-connector.json +571 -563
  43. package/src/element-templates/aws-sqs-start-message.json +866 -862
  44. package/src/element-templates/aws-textract-outbound-connector.json +358 -354
  45. package/src/element-templates/azure-blobstorage-outbound-connector.json +668 -11
  46. package/src/element-templates/azure-open-ai-connector.json +1325 -0
  47. package/src/element-templates/blue-prism-connector.json +595 -50
  48. package/src/element-templates/box-outbound-connector.json +924 -12
  49. package/src/element-templates/csv-outbound-connector.json +39 -31
  50. package/src/element-templates/easy-post-connector.json +1088 -120
  51. package/src/element-templates/email-inbound-connector-boundary.json +16 -8
  52. package/src/element-templates/email-inbound-connector-intermediate.json +16 -8
  53. package/src/element-templates/email-inbound-connector-receive.json +564 -0
  54. package/src/element-templates/email-message-start-event-connector.json +16 -8
  55. package/src/element-templates/email-outbound-connector.json +2114 -241
  56. package/src/element-templates/embeddings-vector-database-outbound-connector.json +513 -516
  57. package/src/element-templates/github-connector.json +12587 -9052
  58. package/src/element-templates/github-webhook-connector-boundary.json +27 -29
  59. package/src/element-templates/github-webhook-connector-intermediate.json +40 -42
  60. package/src/element-templates/github-webhook-connector-message-start.json +19 -21
  61. package/src/element-templates/github-webhook-connector-receive.json +13 -15
  62. package/src/element-templates/github-webhook-connector-start-event.json +11 -13
  63. package/src/element-templates/gitlab-connector.json +4756 -3124
  64. package/src/element-templates/google-cloud-storage-outbound-connector.json +561 -12
  65. package/src/element-templates/google-drive-outbound-connector.json +1285 -665
  66. package/src/element-templates/google-gemini-outbound-connector.json +117 -109
  67. package/src/element-templates/google-maps-platform-connector.json +1055 -26
  68. package/src/element-templates/google-sheets-outbound-connector.json +2413 -1419
  69. package/src/element-templates/graphql-outbound-connector.json +1136 -1127
  70. package/src/element-templates/http-json-connector.json +2779 -2129
  71. package/src/element-templates/http-polling-boundary-catch-event-connector.json +1483 -1472
  72. package/src/element-templates/http-polling-connector.json +746 -735
  73. package/src/element-templates/hubspot-outbound-connector.json +2376 -30
  74. package/src/element-templates/hugging-face-connector.json +249 -18
  75. package/src/element-templates/jdbc-outbound-connector.json +62 -48
  76. package/src/element-templates/kafka-inbound-connector-boundary.json +528 -519
  77. package/src/element-templates/kafka-inbound-connector-intermediate.json +729 -720
  78. package/src/element-templates/kafka-inbound-connector-receive.json +15 -6
  79. package/src/element-templates/kafka-inbound-connector-start-message.json +628 -619
  80. package/src/element-templates/kafka-inbound-connector.json +240 -240
  81. package/src/element-templates/kafka-outbound-connector.json +666 -660
  82. package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +18 -6
  83. package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +18 -6
  84. package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +18 -6
  85. package/src/element-templates/microsoft-office365-mail-connector.json +883 -0
  86. package/src/element-templates/microsoft-teams-outbound-connector.json +4161 -1997
  87. package/src/element-templates/openai-connector.json +579 -116
  88. package/src/element-templates/operate-connector.json +1219 -67
  89. package/src/element-templates/power-automate-connector.json +604 -12
  90. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +863 -854
  91. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +926 -917
  92. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +469 -460
  93. package/src/element-templates/rabbitmq-inbound-connector-receive.json +15 -6
  94. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +601 -592
  95. package/src/element-templates/rabbitmq-outbound-connector.json +634 -628
  96. package/src/element-templates/rpa-connector.json +346 -0
  97. package/src/element-templates/salesforce-connector.json +553 -9
  98. package/src/element-templates/send-message-connector-intermediate-throw-event.json +10 -5
  99. package/src/element-templates/send-message-connector-message-end-event.json +10 -5
  100. package/src/element-templates/send-message-connector-send-task.json +10 -5
  101. package/src/element-templates/sendgrid-outbound-connector.json +1380 -772
  102. package/src/element-templates/servicenow-connector.json +971 -3
  103. package/src/element-templates/servicenow-flow-starter-connector.json +8 -3
  104. package/src/element-templates/servicenow-incident-connector.json +980 -3
  105. package/src/element-templates/slack-inbound-boundary.json +389 -91
  106. package/src/element-templates/slack-inbound-intermediate.json +393 -95
  107. package/src/element-templates/slack-inbound-message-start.json +566 -236
  108. package/src/element-templates/slack-inbound-receive.json +297 -0
  109. package/src/element-templates/slack-inbound-start-event.json +127 -122
  110. package/src/element-templates/slack-outbound-connector.json +2613 -915
  111. package/src/element-templates/soap-outbound-connector.json +812 -2
  112. package/src/element-templates/twilio-connector.json +1514 -34
  113. package/src/element-templates/twilio-webhook-boundary-connector.json +29 -20
  114. package/src/element-templates/twilio-webhook-connector.json +238 -8
  115. package/src/element-templates/twilio-webhook-intermediate-connector.json +39 -30
  116. package/src/element-templates/twilio-webhook-message-start-connector.json +312 -0
  117. package/src/element-templates/twilio-webhook-receive-connector.json +11 -2
  118. package/src/element-templates/uipath-connector.json +607 -15
  119. package/src/element-templates/webhook-connector-boundary.json +1218 -1208
  120. package/src/element-templates/webhook-connector-intermediate.json +1837 -1827
  121. package/src/element-templates/webhook-connector-receive.json +55 -45
  122. package/src/element-templates/webhook-connector-start-event.json +1299 -1292
  123. package/src/element-templates/webhook-connector-start-message.json +711 -701
  124. package/src/element-templates/whatsapp-connector.json +339 -5
  125. package/src/element-templates/http-connector.json.json +0 -654
@@ -4,9 +4,16 @@
4
4
  "name": "HTTP Polling Intermediate Catch Event Connector",
5
5
  "id": "io.camunda.connectors.http.Polling",
6
6
  "description": "Polls endpoint at regular intervals",
7
- "metadata": {
8
- "keywords": []
9
- },
7
+ "keywords": [
8
+ "poll",
9
+ "polling",
10
+ "HTTP",
11
+ "REST",
12
+ "wait for response",
13
+ "check status",
14
+ "periodic request",
15
+ "HTTP callback"
16
+ ],
10
17
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/polling/",
11
18
  "version": 5,
12
19
  "category": {
@@ -626,20 +633,23 @@
626
633
  },
627
634
  {
628
635
  "id": "messageNameUuid",
636
+ "label": "Message name",
629
637
  "generatedValue": {
630
638
  "type": "uuid"
631
639
  },
640
+ "feel": "optional",
632
641
  "group": "correlation",
633
642
  "binding": {
634
643
  "name": "name",
635
644
  "type": "bpmn:Message#property"
636
645
  },
637
- "type": "Hidden"
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"
638
648
  },
639
649
  {
640
650
  "id": "resultVariable",
641
651
  "label": "Result variable",
642
- "description": "Name of variable to store the response in",
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>.",
643
653
  "group": "output",
644
654
  "binding": {
645
655
  "name": "resultVariable",
@@ -650,7 +660,8 @@
650
660
  {
651
661
  "id": "resultExpression",
652
662
  "label": "Result expression",
653
- "description": "Expression to map the response into process variables",
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}",
654
665
  "feel": "required",
655
666
  "group": "output",
656
667
  "binding": {
@@ -668,12 +679,12 @@
668
679
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
669
680
  "name": "HTTP Polling Intermediate Catch Event Connector",
670
681
  "id": "io.camunda.connectors.http.Polling",
671
- "version": 1,
672
682
  "description": "Polls endpoint at regular intervals",
673
- "icon": {
674
- "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"
683
+ "metadata": {
684
+ "keywords": []
675
685
  },
676
686
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/polling/",
687
+ "version": 4,
677
688
  "category": {
678
689
  "id": "connectors",
679
690
  "name": "Connectors"
@@ -683,6 +694,9 @@
683
694
  "value": "bpmn:IntermediateCatchEvent",
684
695
  "eventDefinition": "bpmn:MessageEventDefinition"
685
696
  },
697
+ "engines": {
698
+ "camunda": "^8.8"
699
+ },
686
700
  "groups": [
687
701
  {
688
702
  "id": "authentication",
@@ -693,56 +707,55 @@
693
707
  "label": "HTTP Polling configuration"
694
708
  },
695
709
  {
696
- "id": "input",
710
+ "id": "payload",
697
711
  "label": "Payload"
698
712
  },
699
713
  {
700
- "id": "activation",
701
- "label": "Condition to proceed"
714
+ "id": "interval",
715
+ "label": "HTTP Polling Interval"
702
716
  },
703
717
  {
704
- "id": "timer",
705
- "label": "Timer"
718
+ "id": "timeout",
719
+ "label": "Connection timeout"
706
720
  },
707
721
  {
708
- "id": "timeout",
709
- "label": "Connect timeout"
722
+ "id": "activation",
723
+ "label": "Activation"
710
724
  },
711
725
  {
712
- "id": "variable-mapping",
713
- "label": "Response mapping"
726
+ "id": "correlation",
727
+ "label": "Correlation",
728
+ "tooltip": "Learn more about message correlation in the <a href=\"https://docs.camunda.io/docs/components/concepts/messages/#message-correlation-overview\">documentation</a>."
729
+ },
730
+ {
731
+ "id": "output",
732
+ "label": "Output mapping"
714
733
  }
715
734
  ],
716
735
  "properties": [
717
736
  {
718
- "type": "Hidden",
719
737
  "value": "io.camunda:http-polling:1",
720
738
  "binding": {
721
- "type": "zeebe:property",
722
- "name": "inbound.type"
723
- }
724
- },
725
- {
726
- "type": "Hidden",
727
- "generatedValue": {
728
- "type": "uuid"
739
+ "name": "inbound.type",
740
+ "type": "zeebe:property"
729
741
  },
730
- "binding": {
731
- "type": "bpmn:Message#property",
732
- "name": "name"
733
- }
742
+ "type": "Hidden"
734
743
  },
735
744
  {
745
+ "id": "authentication.type",
736
746
  "label": "Type",
737
- "id": "authenticationType",
738
- "group": "authentication",
739
747
  "description": "Choose the authentication type. Select 'None' if no authentication is necessary",
740
748
  "value": "noAuth",
749
+ "group": "authentication",
750
+ "binding": {
751
+ "name": "authentication.type",
752
+ "type": "zeebe:property"
753
+ },
741
754
  "type": "Dropdown",
742
755
  "choices": [
743
756
  {
744
- "name": "None",
745
- "value": "noAuth"
757
+ "name": "API key",
758
+ "value": "apiKey"
746
759
  },
747
760
  {
748
761
  "name": "Basic",
@@ -752,229 +765,241 @@
752
765
  "name": "Bearer token",
753
766
  "value": "bearer"
754
767
  },
768
+ {
769
+ "name": "None",
770
+ "value": "noAuth"
771
+ },
755
772
  {
756
773
  "name": "OAuth 2.0",
757
774
  "value": "oauth-client-credentials-flow"
758
775
  }
759
- ],
760
- "binding": {
761
- "type": "zeebe:property",
762
- "name": "authentication.type"
763
- }
776
+ ]
764
777
  },
765
778
  {
766
- "id": "method",
767
- "label": "Method",
768
- "group": "endpoint",
779
+ "id": "authentication.apiKeyLocation",
780
+ "label": "Api key location",
781
+ "description": "Choose type: Send API key in header or as query parameter.",
782
+ "optional": false,
783
+ "value": "headers",
784
+ "constraints": {
785
+ "notEmpty": true
786
+ },
787
+ "group": "authentication",
788
+ "binding": {
789
+ "name": "authentication.apiKeyLocation",
790
+ "type": "zeebe:property"
791
+ },
792
+ "condition": {
793
+ "property": "authentication.type",
794
+ "equals": "apiKey",
795
+ "type": "simple"
796
+ },
769
797
  "type": "Dropdown",
770
- "value": "get",
771
798
  "choices": [
772
799
  {
773
- "name": "GET",
774
- "value": "get"
775
- },
776
- {
777
- "name": "POST",
778
- "value": "post"
779
- },
780
- {
781
- "name": "PATCH",
782
- "value": "patch"
783
- },
784
- {
785
- "name": "PUT",
786
- "value": "put"
800
+ "name": "Headers",
801
+ "value": "headers"
787
802
  },
788
803
  {
789
- "name": "DELETE",
790
- "value": "delete"
804
+ "name": "Query parameters",
805
+ "value": "query"
791
806
  }
792
- ],
793
- "binding": {
794
- "type": "zeebe:property",
795
- "name": "method"
796
- }
807
+ ]
797
808
  },
798
809
  {
799
- "label": "URL",
800
- "group": "endpoint",
801
- "type": "String",
802
- "feel": "optional",
803
- "binding": {
804
- "type": "zeebe:property",
805
- "name": "url"
806
- },
810
+ "id": "authentication.name",
811
+ "label": "API key name",
812
+ "optional": false,
807
813
  "constraints": {
808
- "notEmpty": true,
809
- "pattern": {
810
- "value": "^(=|(https?://|secrets\\..+|\\{\\{secrets\\..+\\}\\}).*$)",
811
- "message": "must be a http(s) URL"
812
- }
813
- }
814
- },
815
- {
816
- "label": "Query parameters",
817
- "description": "Map of query parameters to add to the request URL",
818
- "group": "endpoint",
819
- "type": "Text",
820
- "feel": "required",
814
+ "notEmpty": true
815
+ },
816
+ "group": "authentication",
821
817
  "binding": {
822
- "type": "zeebe:property",
823
- "name": "queryParameters"
818
+ "name": "authentication.name",
819
+ "type": "zeebe:property"
824
820
  },
825
- "optional": true
821
+ "condition": {
822
+ "property": "authentication.type",
823
+ "equals": "apiKey",
824
+ "type": "simple"
825
+ },
826
+ "type": "String"
826
827
  },
827
828
  {
828
- "label": "HTTP headers",
829
- "description": "Map of HTTP headers to add to the request",
830
- "group": "endpoint",
831
- "type": "Text",
832
- "feel": "required",
829
+ "id": "authentication.value",
830
+ "label": "API key value",
831
+ "optional": false,
832
+ "constraints": {
833
+ "notEmpty": true
834
+ },
835
+ "group": "authentication",
833
836
  "binding": {
834
- "type": "zeebe:property",
835
- "name": "headers"
837
+ "name": "authentication.value",
838
+ "type": "zeebe:property"
836
839
  },
837
- "optional": true
840
+ "condition": {
841
+ "property": "authentication.type",
842
+ "equals": "apiKey",
843
+ "type": "simple"
844
+ },
845
+ "type": "String"
838
846
  },
839
847
  {
840
- "label": "Interval",
841
- "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>",
842
- "group": "endpoint",
843
- "type": "String",
844
- "feel": "optional",
845
- "value": "PT50S",
848
+ "id": "authentication.username",
849
+ "label": "Username",
850
+ "optional": false,
851
+ "constraints": {
852
+ "notEmpty": true
853
+ },
854
+ "group": "authentication",
846
855
  "binding": {
847
- "type": "zeebe:property",
848
- "name": "httpRequestInterval"
856
+ "name": "authentication.username",
857
+ "type": "zeebe:property"
849
858
  },
850
- "constraints": {
851
- "notEmpty": true,
852
- "pattern": {
853
- "value": "^=|P(?=\\d|T\\d)(?:\\d+Y)?(?:\\d+M)?(?:\\d+W)?(?:\\d+D)?(?:T(?:\\d+H)?(?:\\d+M)?(?:\\d+(?:\\.\\d{1,3})?S)?)$",
854
- "message": "value must be defined"
855
- }
859
+ "condition": {
860
+ "property": "authentication.type",
861
+ "equals": "basic",
862
+ "type": "simple"
856
863
  },
857
- "optional": false
864
+ "type": "String"
858
865
  },
859
866
  {
860
- "group": "endpoint",
861
- "type": "Hidden",
862
- "value": "PT5S",
867
+ "id": "authentication.password",
868
+ "label": "Password",
869
+ "optional": false,
870
+ "constraints": {
871
+ "notEmpty": true
872
+ },
873
+ "group": "authentication",
863
874
  "binding": {
864
- "type": "zeebe:property",
865
- "name": "operatePollingInterval"
875
+ "name": "authentication.password",
876
+ "type": "zeebe:property"
866
877
  },
867
- "optional": true
878
+ "condition": {
879
+ "property": "authentication.type",
880
+ "equals": "basic",
881
+ "type": "simple"
882
+ },
883
+ "type": "String"
868
884
  },
869
885
  {
886
+ "id": "authentication.token",
870
887
  "label": "Bearer token",
871
- "group": "authentication",
872
- "type": "String",
873
- "feel": "optional",
874
- "binding": {
875
- "type": "zeebe:property",
876
- "name": "authentication.token"
877
- },
888
+ "optional": false,
878
889
  "constraints": {
879
890
  "notEmpty": true
880
891
  },
881
- "condition": {
882
- "property": "authenticationType",
883
- "equals": "bearer"
884
- }
885
- },
886
- {
887
- "label": "OAuth token endpoint",
888
- "description": "The OAuth token endpoint",
889
892
  "group": "authentication",
890
- "type": "String",
891
- "feel": "optional",
892
893
  "binding": {
893
- "type": "zeebe:property",
894
- "name": "authentication.oauthTokenEndpoint"
894
+ "name": "authentication.token",
895
+ "type": "zeebe:property"
896
+ },
897
+ "condition": {
898
+ "property": "authentication.type",
899
+ "equals": "bearer",
900
+ "type": "simple"
895
901
  },
902
+ "type": "String"
903
+ },
904
+ {
905
+ "id": "authentication.oauthTokenEndpoint",
906
+ "label": "OAuth 2.0 token endpoint",
907
+ "description": "The OAuth token endpoint",
908
+ "optional": false,
896
909
  "constraints": {
897
- "notEmpty": true
910
+ "notEmpty": true,
911
+ "pattern": {
912
+ "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
913
+ "message": "Must be a http(s) URL"
914
+ }
915
+ },
916
+ "group": "authentication",
917
+ "binding": {
918
+ "name": "authentication.oauthTokenEndpoint",
919
+ "type": "zeebe:property"
898
920
  },
899
921
  "condition": {
900
- "property": "authenticationType",
901
- "equals": "oauth-client-credentials-flow"
902
- }
922
+ "property": "authentication.type",
923
+ "equals": "oauth-client-credentials-flow",
924
+ "type": "simple"
925
+ },
926
+ "type": "String"
903
927
  },
904
928
  {
929
+ "id": "authentication.clientId",
905
930
  "label": "Client ID",
906
931
  "description": "Your application's client ID from the OAuth client",
907
- "group": "authentication",
908
- "type": "String",
909
- "feel": "optional",
910
- "binding": {
911
- "type": "zeebe:property",
912
- "name": "authentication.clientId"
913
- },
932
+ "optional": false,
914
933
  "constraints": {
915
934
  "notEmpty": true
916
935
  },
936
+ "group": "authentication",
937
+ "binding": {
938
+ "name": "authentication.clientId",
939
+ "type": "zeebe:property"
940
+ },
917
941
  "condition": {
918
- "property": "authenticationType",
919
- "equals": "oauth-client-credentials-flow"
920
- }
942
+ "property": "authentication.type",
943
+ "equals": "oauth-client-credentials-flow",
944
+ "type": "simple"
945
+ },
946
+ "type": "String"
921
947
  },
922
948
  {
949
+ "id": "authentication.clientSecret",
923
950
  "label": "Client secret",
924
951
  "description": "Your application's client secret from the OAuth client",
925
- "group": "authentication",
926
- "type": "String",
927
- "feel": "optional",
928
- "binding": {
929
- "type": "zeebe:property",
930
- "name": "authentication.clientSecret"
931
- },
952
+ "optional": false,
932
953
  "constraints": {
933
954
  "notEmpty": true
934
955
  },
935
- "condition": {
936
- "property": "authenticationType",
937
- "equals": "oauth-client-credentials-flow"
938
- }
939
- },
940
- {
941
- "label": "Scopes",
942
- "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
943
956
  "group": "authentication",
944
- "type": "String",
945
- "feel": "optional",
946
- "optional": true,
947
957
  "binding": {
948
- "type": "zeebe:property",
949
- "name": "authentication.scopes"
958
+ "name": "authentication.clientSecret",
959
+ "type": "zeebe:property"
950
960
  },
951
961
  "condition": {
952
- "property": "authenticationType",
953
- "equals": "oauth-client-credentials-flow"
954
- }
962
+ "property": "authentication.type",
963
+ "equals": "oauth-client-credentials-flow",
964
+ "type": "simple"
965
+ },
966
+ "type": "String"
955
967
  },
956
968
  {
969
+ "id": "authentication.audience",
957
970
  "label": "Audience",
958
971
  "description": "The unique identifier of the target API you want to access",
959
- "group": "authentication",
960
- "type": "String",
961
- "feel": "optional",
962
972
  "optional": true,
973
+ "group": "authentication",
963
974
  "binding": {
964
- "type": "zeebe:property",
965
- "name": "authentication.audience"
975
+ "name": "authentication.audience",
976
+ "type": "zeebe:property"
966
977
  },
967
978
  "condition": {
968
- "property": "authenticationType",
969
- "equals": "oauth-client-credentials-flow"
970
- }
979
+ "property": "authentication.type",
980
+ "equals": "oauth-client-credentials-flow",
981
+ "type": "simple"
982
+ },
983
+ "type": "String"
971
984
  },
972
985
  {
973
- "label": "Client authentication",
974
986
  "id": "authentication.clientAuthentication",
975
- "group": "authentication",
987
+ "label": "Client authentication",
976
988
  "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
977
- "value": "basicAuthHeader",
989
+ "optional": false,
990
+ "constraints": {
991
+ "notEmpty": true
992
+ },
993
+ "group": "authentication",
994
+ "binding": {
995
+ "name": "authentication.clientAuthentication",
996
+ "type": "zeebe:property"
997
+ },
998
+ "condition": {
999
+ "property": "authentication.type",
1000
+ "equals": "oauth-client-credentials-flow",
1001
+ "type": "simple"
1002
+ },
978
1003
  "type": "Dropdown",
979
1004
  "choices": [
980
1005
  {
@@ -985,164 +1010,332 @@
985
1010
  "name": "Send as Basic Auth header",
986
1011
  "value": "basicAuthHeader"
987
1012
  }
988
- ],
989
- "binding": {
990
- "type": "zeebe:property",
991
- "name": "authentication.clientAuthentication"
992
- },
993
- "condition": {
994
- "property": "authenticationType",
995
- "equals": "oauth-client-credentials-flow"
996
- }
1013
+ ]
997
1014
  },
998
1015
  {
999
- "label": "Username",
1016
+ "id": "authentication.scopes",
1017
+ "label": "Scopes",
1018
+ "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
1019
+ "optional": true,
1000
1020
  "group": "authentication",
1001
- "type": "String",
1002
- "feel": "optional",
1003
1021
  "binding": {
1004
- "type": "zeebe:property",
1005
- "name": "authentication.username"
1006
- },
1007
- "constraints": {
1008
- "notEmpty": true
1022
+ "name": "authentication.scopes",
1023
+ "type": "zeebe:property"
1009
1024
  },
1010
1025
  "condition": {
1011
- "property": "authenticationType",
1012
- "equals": "basic"
1013
- }
1026
+ "property": "authentication.type",
1027
+ "equals": "oauth-client-credentials-flow",
1028
+ "type": "simple"
1029
+ },
1030
+ "type": "String"
1014
1031
  },
1015
1032
  {
1016
- "label": "Password",
1017
- "group": "authentication",
1018
- "type": "String",
1019
- "feel": "optional",
1020
- "binding": {
1021
- "type": "zeebe:property",
1022
- "name": "authentication.password"
1023
- },
1033
+ "id": "method",
1034
+ "label": "Method",
1035
+ "optional": false,
1036
+ "value": "GET",
1024
1037
  "constraints": {
1025
1038
  "notEmpty": true
1026
1039
  },
1027
- "condition": {
1028
- "property": "authenticationType",
1029
- "equals": "basic"
1030
- }
1040
+ "group": "endpoint",
1041
+ "binding": {
1042
+ "name": "method",
1043
+ "type": "zeebe:property"
1044
+ },
1045
+ "type": "Dropdown",
1046
+ "choices": [
1047
+ {
1048
+ "name": "POST",
1049
+ "value": "POST"
1050
+ },
1051
+ {
1052
+ "name": "GET",
1053
+ "value": "GET"
1054
+ },
1055
+ {
1056
+ "name": "DELETE",
1057
+ "value": "DELETE"
1058
+ },
1059
+ {
1060
+ "name": "PATCH",
1061
+ "value": "PATCH"
1062
+ },
1063
+ {
1064
+ "name": "PUT",
1065
+ "value": "PUT"
1066
+ }
1067
+ ]
1031
1068
  },
1032
1069
  {
1033
- "label": "Request body",
1034
- "description": "Payload to send with the request",
1035
- "group": "input",
1036
- "type": "Text",
1070
+ "id": "url",
1071
+ "label": "URL",
1072
+ "optional": false,
1073
+ "constraints": {
1074
+ "notEmpty": true,
1075
+ "pattern": {
1076
+ "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
1077
+ "message": "Must be a http(s) URL"
1078
+ }
1079
+ },
1037
1080
  "feel": "optional",
1081
+ "group": "endpoint",
1038
1082
  "binding": {
1039
- "type": "zeebe:property",
1040
- "name": "body"
1041
- },
1042
- "condition": {
1043
- "property": "method",
1044
- "oneOf": ["post", "put", "patch"]
1083
+ "name": "url",
1084
+ "type": "zeebe:property"
1045
1085
  },
1046
- "optional": true
1086
+ "type": "String"
1047
1087
  },
1048
1088
  {
1049
- "label": "Correlation key (process)",
1050
- "type": "String",
1051
- "group": "activation",
1089
+ "id": "queryParameters",
1090
+ "label": "Query parameters",
1091
+ "description": "Map of query parameters to add to the request URL",
1092
+ "optional": true,
1052
1093
  "feel": "required",
1053
- "description": "Sets up the correlation key from process variables",
1094
+ "group": "endpoint",
1054
1095
  "binding": {
1055
- "type": "bpmn:Message#zeebe:subscription#property",
1056
- "name": "correlationKey"
1096
+ "name": "queryParameters",
1097
+ "type": "zeebe:property"
1057
1098
  },
1058
- "constraints": {
1059
- "notEmpty": true
1060
- }
1099
+ "type": "String"
1061
1100
  },
1062
1101
  {
1063
- "label": "Correlation key (payload)",
1064
- "type": "String",
1065
- "group": "activation",
1102
+ "id": "headers",
1103
+ "label": "Headers",
1104
+ "description": "Map of HTTP headers to add to the request",
1105
+ "optional": true,
1066
1106
  "feel": "required",
1107
+ "group": "endpoint",
1067
1108
  "binding": {
1068
- "type": "zeebe:property",
1069
- "name": "correlationKeyExpression"
1109
+ "name": "headers",
1110
+ "type": "zeebe:property"
1070
1111
  },
1071
- "description": "Extracts the correlation key from the incoming message payload",
1112
+ "type": "String"
1113
+ },
1114
+ {
1115
+ "id": "skipEncoding",
1116
+ "label": "Skip URL encoding",
1117
+ "description": "Skip the default URL decoding and encoding behavior",
1118
+ "optional": true,
1119
+ "group": "endpoint",
1120
+ "binding": {
1121
+ "name": "skipEncoding",
1122
+ "type": "zeebe:property"
1123
+ },
1124
+ "type": "Hidden"
1125
+ },
1126
+ {
1127
+ "id": "body",
1128
+ "label": "Request body",
1129
+ "description": "Payload to send with the request",
1130
+ "optional": true,
1131
+ "feel": "optional",
1132
+ "group": "payload",
1133
+ "binding": {
1134
+ "name": "body",
1135
+ "type": "zeebe:property"
1136
+ },
1137
+ "condition": {
1138
+ "property": "method",
1139
+ "oneOf": ["POST", "PUT", "PATCH"],
1140
+ "type": "simple"
1141
+ },
1142
+ "type": "Text"
1143
+ },
1144
+ {
1145
+ "id": "httpRequestInterval",
1146
+ "label": "Http request interval",
1147
+ "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>",
1148
+ "optional": false,
1149
+ "value": "PT50S",
1150
+ "feel": "optional",
1151
+ "group": "interval",
1152
+ "binding": {
1153
+ "name": "httpRequestInterval",
1154
+ "type": "zeebe:property"
1155
+ },
1156
+ "type": "String"
1157
+ },
1158
+ {
1159
+ "id": "processPollingInterval",
1160
+ "label": "Process polling interval",
1161
+ "optional": false,
1162
+ "value": "PT5S",
1163
+ "group": "interval",
1164
+ "binding": {
1165
+ "name": "processPollingInterval",
1166
+ "type": "zeebe:property"
1167
+ },
1168
+ "type": "Hidden"
1169
+ },
1170
+ {
1171
+ "id": "connectionTimeoutInSeconds",
1172
+ "label": "Connection timeout in seconds",
1173
+ "description": "Defines the connection timeout in seconds, or 0 for an infinite timeout",
1174
+ "optional": false,
1175
+ "value": "20",
1072
1176
  "constraints": {
1073
- "notEmpty": true
1074
- }
1177
+ "notEmpty": true,
1178
+ "pattern": {
1179
+ "value": "^\\d+$",
1180
+ "message": "Must be a number"
1181
+ }
1182
+ },
1183
+ "feel": "optional",
1184
+ "group": "timeout",
1185
+ "binding": {
1186
+ "name": "connectionTimeoutInSeconds",
1187
+ "type": "zeebe:property"
1188
+ },
1189
+ "tooltip": "Set the timeout in seconds to establish a connection or 0 for an infinite timeout",
1190
+ "type": "String"
1075
1191
  },
1076
1192
  {
1077
- "label": "Condition",
1078
- "type": "String",
1193
+ "id": "readTimeoutInSeconds",
1194
+ "label": "Read timeout in seconds",
1195
+ "description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
1196
+ "optional": false,
1197
+ "value": "20",
1198
+ "constraints": {
1199
+ "notEmpty": true,
1200
+ "pattern": {
1201
+ "value": "^\\d+$",
1202
+ "message": "Must be a number"
1203
+ }
1204
+ },
1205
+ "feel": "optional",
1206
+ "group": "timeout",
1207
+ "binding": {
1208
+ "name": "readTimeoutInSeconds",
1209
+ "type": "zeebe:property"
1210
+ },
1211
+ "type": "String"
1212
+ },
1213
+ {
1214
+ "id": "activationCondition",
1215
+ "label": "Activation condition",
1216
+ "description": "Condition under which the Connector triggers. Leave empty to catch all events",
1217
+ "optional": true,
1218
+ "feel": "required",
1079
1219
  "group": "activation",
1220
+ "binding": {
1221
+ "name": "activationCondition",
1222
+ "type": "zeebe:property"
1223
+ },
1224
+ "type": "String"
1225
+ },
1226
+ {
1227
+ "id": "correlationKeyProcess",
1228
+ "label": "Correlation key (process)",
1229
+ "description": "Sets up the correlation key from process variables",
1230
+ "constraints": {
1231
+ "notEmpty": true
1232
+ },
1080
1233
  "feel": "required",
1081
- "optional": true,
1234
+ "group": "correlation",
1082
1235
  "binding": {
1083
- "type": "zeebe:property",
1084
- "name": "activationCondition"
1236
+ "name": "correlationKey",
1237
+ "type": "bpmn:Message#zeebe:subscription#property"
1085
1238
  },
1086
- "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>"
1239
+ "type": "String"
1087
1240
  },
1088
1241
  {
1089
- "label": "Connection timeout",
1090
- "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
1091
- "group": "endpoint",
1092
- "type": "String",
1093
- "value": "20",
1242
+ "id": "correlationKeyPayload",
1243
+ "label": "Correlation key (payload)",
1244
+ "description": "Extracts the correlation key from the incoming message payload",
1245
+ "constraints": {
1246
+ "notEmpty": true
1247
+ },
1248
+ "feel": "required",
1249
+ "group": "correlation",
1094
1250
  "binding": {
1095
- "type": "zeebe:property",
1096
- "name": "connectionTimeoutInSeconds"
1251
+ "name": "correlationKeyExpression",
1252
+ "type": "zeebe:property"
1097
1253
  },
1254
+ "type": "String"
1255
+ },
1256
+ {
1257
+ "id": "messageIdExpression",
1258
+ "label": "Message ID expression",
1259
+ "description": "Expression to extract unique identifier of a message",
1260
+ "optional": true,
1261
+ "feel": "required",
1262
+ "group": "correlation",
1263
+ "binding": {
1264
+ "name": "messageIdExpression",
1265
+ "type": "zeebe:property"
1266
+ },
1267
+ "type": "String"
1268
+ },
1269
+ {
1270
+ "id": "messageTtl",
1271
+ "label": "Message TTL",
1272
+ "description": "Time-to-live for the message in the broker (ISO-8601 duration)",
1098
1273
  "optional": true,
1099
- "feel": "optional",
1100
1274
  "constraints": {
1101
1275
  "notEmpty": false,
1102
1276
  "pattern": {
1103
- "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
1104
- "message": "must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
1277
+ "value": "^(PT.*|)$",
1278
+ "message": "must be an ISO-8601 duration"
1105
1279
  }
1106
- }
1280
+ },
1281
+ "feel": "optional",
1282
+ "group": "correlation",
1283
+ "binding": {
1284
+ "name": "messageTtl",
1285
+ "type": "zeebe:property"
1286
+ },
1287
+ "type": "String"
1288
+ },
1289
+ {
1290
+ "id": "messageNameUuid",
1291
+ "generatedValue": {
1292
+ "type": "uuid"
1293
+ },
1294
+ "group": "correlation",
1295
+ "binding": {
1296
+ "name": "name",
1297
+ "type": "bpmn:Message#property"
1298
+ },
1299
+ "type": "Hidden"
1107
1300
  },
1108
1301
  {
1302
+ "id": "resultVariable",
1109
1303
  "label": "Result variable",
1110
- "type": "String",
1111
- "group": "variable-mapping",
1112
- "optional": true,
1304
+ "description": "Name of variable to store the response in",
1305
+ "group": "output",
1113
1306
  "binding": {
1114
- "type": "zeebe:property",
1115
- "name": "resultVariable"
1307
+ "name": "resultVariable",
1308
+ "type": "zeebe:property"
1116
1309
  },
1117
- "description": "Name of variable to store the result of the connector in"
1310
+ "type": "String"
1118
1311
  },
1119
1312
  {
1313
+ "id": "resultExpression",
1120
1314
  "label": "Result expression",
1121
- "type": "String",
1122
- "group": "variable-mapping",
1315
+ "description": "Expression to map the response into process variables",
1123
1316
  "feel": "required",
1124
- "optional": true,
1317
+ "group": "output",
1125
1318
  "binding": {
1126
- "type": "zeebe:property",
1127
- "name": "resultExpression"
1319
+ "name": "resultExpression",
1320
+ "type": "zeebe:property"
1128
1321
  },
1129
- "description": "Expression to map the inbound payload to process variables"
1322
+ "type": "Text"
1130
1323
  }
1131
1324
  ],
1132
- "engines": {
1133
- "camunda": "^8.3"
1325
+ "icon": {
1326
+ "contents": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJz8+Cjxzdmcgd2lkdGg9JzE4JyBoZWlnaHQ9JzE4JyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnPgogICAgPGcgY2xhc3M9J2xheWVyJz4KICAgICAgICA8dGl0bGU+TGF5ZXIgMTwvdGl0bGU+CiAgICAgICAgPHBhdGggZD0nbTE3LjAzLDljMCw0LjQ1IC0zLjYsOC4wNSAtOC4wNSw4LjA1Yy00LjQ1LDAgLTguMDUsLTMuNiAtOC4wNSwtOC4wNWMwLC00LjQ1IDMuNiwtOC4wNSA4LjA1LC04LjA1YzQuNDUsMCA4LjA1LDMuNiA4LjA1LDguMDV6JwogICAgICAgICAgICAgIGZpbGw9JyM1MDU1NjInIGlkPSdzdmdfMScvPgogICAgICAgIDxwYXRoIGQ9J200LjkzLDE0LjE2bDEuODUsLTEwLjQ1bDMuMzYsMGMxLjA1LDAgMS44NCwwLjI3IDIuMzcsMC44MWMwLjU0LDAuNTMgMC44LDEuMjEgMC44LDIuMDZjMCwwLjg2IC0wLjI0LDEuNTggLTAuNzMsMi4xM2MtMC40NywwLjU1IC0xLjEyLDAuOTMgLTEuOTUsMS4xNGwtMC40OCwwLjA5bC0wLjUzLDAuMDNsLTAuNiwwLjA1bC0xLjc5LDBsLTAuNzMsNC4xNGwtMS41OCwwem0yLjU3LC01LjU3bDEuNzQsMGMwLjc2LDAgMS4zNSwtMC4xNyAxLjc4LC0wLjVjMC40NCwtMC4zNSAwLjY1LC0wLjgyIDAuNjUsLTEuNDJjMCwtMC40OCAtMC4xNSwtMC44NSAtMC40NCwtMS4xMmMtMC4zLC0wLjI4IC0wLjc3LC0wLjQyIC0xLjQyLC0wLjQybC0xLjcsMGwtMC42MSwzLjQ2eicKICAgICAgICAgICAgICBmaWxsPSd3aGl0ZScgaWQ9J3N2Z18yJy8+CiAgICA8L2c+Cjwvc3ZnPg=="
1134
1327
  }
1135
1328
  },
1136
1329
  {
1137
1330
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1138
1331
  "name": "HTTP Polling Intermediate Catch Event Connector",
1139
1332
  "id": "io.camunda.connectors.http.Polling",
1333
+ "version": 1,
1140
1334
  "description": "Polls endpoint at regular intervals",
1141
- "metadata": {
1142
- "keywords": []
1335
+ "icon": {
1336
+ "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"
1143
1337
  },
1144
1338
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/polling/",
1145
- "version": 4,
1146
1339
  "category": {
1147
1340
  "id": "connectors",
1148
1341
  "name": "Connectors"
@@ -1152,9 +1345,6 @@
1152
1345
  "value": "bpmn:IntermediateCatchEvent",
1153
1346
  "eventDefinition": "bpmn:MessageEventDefinition"
1154
1347
  },
1155
- "engines": {
1156
- "camunda": "^8.8"
1157
- },
1158
1348
  "groups": [
1159
1349
  {
1160
1350
  "id": "authentication",
@@ -1165,55 +1355,56 @@
1165
1355
  "label": "HTTP Polling configuration"
1166
1356
  },
1167
1357
  {
1168
- "id": "payload",
1358
+ "id": "input",
1169
1359
  "label": "Payload"
1170
1360
  },
1171
1361
  {
1172
- "id": "interval",
1173
- "label": "HTTP Polling Interval"
1174
- },
1175
- {
1176
- "id": "timeout",
1177
- "label": "Connection timeout"
1362
+ "id": "activation",
1363
+ "label": "Condition to proceed"
1178
1364
  },
1179
1365
  {
1180
- "id": "activation",
1181
- "label": "Activation"
1366
+ "id": "timer",
1367
+ "label": "Timer"
1182
1368
  },
1183
1369
  {
1184
- "id": "correlation",
1185
- "label": "Correlation",
1186
- "tooltip": "Learn more about message correlation in the <a href=\"https://docs.camunda.io/docs/components/concepts/messages/#message-correlation-overview\">documentation</a>."
1370
+ "id": "timeout",
1371
+ "label": "Connect timeout"
1187
1372
  },
1188
1373
  {
1189
- "id": "output",
1190
- "label": "Output mapping"
1374
+ "id": "variable-mapping",
1375
+ "label": "Response mapping"
1191
1376
  }
1192
1377
  ],
1193
1378
  "properties": [
1194
1379
  {
1380
+ "type": "Hidden",
1195
1381
  "value": "io.camunda:http-polling:1",
1196
1382
  "binding": {
1197
- "name": "inbound.type",
1198
- "type": "zeebe:property"
1199
- },
1200
- "type": "Hidden"
1383
+ "type": "zeebe:property",
1384
+ "name": "inbound.type"
1385
+ }
1386
+ },
1387
+ {
1388
+ "type": "Hidden",
1389
+ "generatedValue": {
1390
+ "type": "uuid"
1391
+ },
1392
+ "binding": {
1393
+ "type": "bpmn:Message#property",
1394
+ "name": "name"
1395
+ }
1201
1396
  },
1202
1397
  {
1203
- "id": "authentication.type",
1204
1398
  "label": "Type",
1399
+ "id": "authenticationType",
1400
+ "group": "authentication",
1205
1401
  "description": "Choose the authentication type. Select 'None' if no authentication is necessary",
1206
1402
  "value": "noAuth",
1207
- "group": "authentication",
1208
- "binding": {
1209
- "name": "authentication.type",
1210
- "type": "zeebe:property"
1211
- },
1212
1403
  "type": "Dropdown",
1213
1404
  "choices": [
1214
1405
  {
1215
- "name": "API key",
1216
- "value": "apiKey"
1406
+ "name": "None",
1407
+ "value": "noAuth"
1217
1408
  },
1218
1409
  {
1219
1410
  "name": "Basic",
@@ -1223,572 +1414,392 @@
1223
1414
  "name": "Bearer token",
1224
1415
  "value": "bearer"
1225
1416
  },
1226
- {
1227
- "name": "None",
1228
- "value": "noAuth"
1229
- },
1230
1417
  {
1231
1418
  "name": "OAuth 2.0",
1232
1419
  "value": "oauth-client-credentials-flow"
1233
1420
  }
1234
- ]
1421
+ ],
1422
+ "binding": {
1423
+ "type": "zeebe:property",
1424
+ "name": "authentication.type"
1425
+ }
1235
1426
  },
1236
1427
  {
1237
- "id": "authentication.apiKeyLocation",
1238
- "label": "Api key location",
1239
- "description": "Choose type: Send API key in header or as query parameter.",
1240
- "optional": false,
1241
- "value": "headers",
1242
- "constraints": {
1243
- "notEmpty": true
1244
- },
1245
- "group": "authentication",
1246
- "binding": {
1247
- "name": "authentication.apiKeyLocation",
1248
- "type": "zeebe:property"
1249
- },
1250
- "condition": {
1251
- "property": "authentication.type",
1252
- "equals": "apiKey",
1253
- "type": "simple"
1254
- },
1428
+ "id": "method",
1429
+ "label": "Method",
1430
+ "group": "endpoint",
1255
1431
  "type": "Dropdown",
1432
+ "value": "get",
1256
1433
  "choices": [
1257
1434
  {
1258
- "name": "Headers",
1259
- "value": "headers"
1435
+ "name": "GET",
1436
+ "value": "get"
1260
1437
  },
1261
1438
  {
1262
- "name": "Query parameters",
1263
- "value": "query"
1439
+ "name": "POST",
1440
+ "value": "post"
1441
+ },
1442
+ {
1443
+ "name": "PATCH",
1444
+ "value": "patch"
1445
+ },
1446
+ {
1447
+ "name": "PUT",
1448
+ "value": "put"
1449
+ },
1450
+ {
1451
+ "name": "DELETE",
1452
+ "value": "delete"
1264
1453
  }
1265
- ]
1266
- },
1267
- {
1268
- "id": "authentication.name",
1269
- "label": "API key name",
1270
- "optional": false,
1271
- "constraints": {
1272
- "notEmpty": true
1273
- },
1274
- "group": "authentication",
1454
+ ],
1275
1455
  "binding": {
1276
- "name": "authentication.name",
1277
- "type": "zeebe:property"
1278
- },
1279
- "condition": {
1280
- "property": "authentication.type",
1281
- "equals": "apiKey",
1282
- "type": "simple"
1283
- },
1284
- "type": "String"
1456
+ "type": "zeebe:property",
1457
+ "name": "method"
1458
+ }
1285
1459
  },
1286
1460
  {
1287
- "id": "authentication.value",
1288
- "label": "API key value",
1289
- "optional": false,
1290
- "constraints": {
1291
- "notEmpty": true
1292
- },
1293
- "group": "authentication",
1461
+ "label": "URL",
1462
+ "group": "endpoint",
1463
+ "type": "String",
1464
+ "feel": "optional",
1294
1465
  "binding": {
1295
- "name": "authentication.value",
1296
- "type": "zeebe:property"
1297
- },
1298
- "condition": {
1299
- "property": "authentication.type",
1300
- "equals": "apiKey",
1301
- "type": "simple"
1466
+ "type": "zeebe:property",
1467
+ "name": "url"
1302
1468
  },
1303
- "type": "String"
1469
+ "constraints": {
1470
+ "notEmpty": true,
1471
+ "pattern": {
1472
+ "value": "^(=|(https?://|secrets\\..+|\\{\\{secrets\\..+\\}\\}).*$)",
1473
+ "message": "must be a http(s) URL"
1474
+ }
1475
+ }
1304
1476
  },
1305
1477
  {
1306
- "id": "authentication.username",
1307
- "label": "Username",
1308
- "optional": false,
1309
- "constraints": {
1310
- "notEmpty": true
1311
- },
1312
- "group": "authentication",
1478
+ "label": "Query parameters",
1479
+ "description": "Map of query parameters to add to the request URL",
1480
+ "group": "endpoint",
1481
+ "type": "Text",
1482
+ "feel": "required",
1313
1483
  "binding": {
1314
- "name": "authentication.username",
1315
- "type": "zeebe:property"
1316
- },
1317
- "condition": {
1318
- "property": "authentication.type",
1319
- "equals": "basic",
1320
- "type": "simple"
1484
+ "type": "zeebe:property",
1485
+ "name": "queryParameters"
1321
1486
  },
1322
- "type": "String"
1487
+ "optional": true
1323
1488
  },
1324
1489
  {
1325
- "id": "authentication.password",
1326
- "label": "Password",
1327
- "optional": false,
1328
- "constraints": {
1329
- "notEmpty": true
1330
- },
1331
- "group": "authentication",
1490
+ "label": "HTTP headers",
1491
+ "description": "Map of HTTP headers to add to the request",
1492
+ "group": "endpoint",
1493
+ "type": "Text",
1494
+ "feel": "required",
1332
1495
  "binding": {
1333
- "name": "authentication.password",
1334
- "type": "zeebe:property"
1335
- },
1336
- "condition": {
1337
- "property": "authentication.type",
1338
- "equals": "basic",
1339
- "type": "simple"
1496
+ "type": "zeebe:property",
1497
+ "name": "headers"
1340
1498
  },
1341
- "type": "String"
1499
+ "optional": true
1342
1500
  },
1343
1501
  {
1344
- "id": "authentication.token",
1345
- "label": "Bearer token",
1346
- "optional": false,
1347
- "constraints": {
1348
- "notEmpty": true
1349
- },
1350
- "group": "authentication",
1502
+ "label": "Interval",
1503
+ "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>",
1504
+ "group": "endpoint",
1505
+ "type": "String",
1506
+ "feel": "optional",
1507
+ "value": "PT50S",
1351
1508
  "binding": {
1352
- "name": "authentication.token",
1353
- "type": "zeebe:property"
1354
- },
1355
- "condition": {
1356
- "property": "authentication.type",
1357
- "equals": "bearer",
1358
- "type": "simple"
1509
+ "type": "zeebe:property",
1510
+ "name": "httpRequestInterval"
1359
1511
  },
1360
- "type": "String"
1361
- },
1362
- {
1363
- "id": "authentication.oauthTokenEndpoint",
1364
- "label": "OAuth 2.0 token endpoint",
1365
- "description": "The OAuth token endpoint",
1366
- "optional": false,
1367
1512
  "constraints": {
1368
1513
  "notEmpty": true,
1369
1514
  "pattern": {
1370
- "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
1371
- "message": "Must be a http(s) URL"
1515
+ "value": "^=|P(?=\\d|T\\d)(?:\\d+Y)?(?:\\d+M)?(?:\\d+W)?(?:\\d+D)?(?:T(?:\\d+H)?(?:\\d+M)?(?:\\d+(?:\\.\\d{1,3})?S)?)$",
1516
+ "message": "value must be defined"
1372
1517
  }
1373
1518
  },
1374
- "group": "authentication",
1519
+ "optional": false
1520
+ },
1521
+ {
1522
+ "group": "endpoint",
1523
+ "type": "Hidden",
1524
+ "value": "PT5S",
1375
1525
  "binding": {
1376
- "name": "authentication.oauthTokenEndpoint",
1377
- "type": "zeebe:property"
1378
- },
1379
- "condition": {
1380
- "property": "authentication.type",
1381
- "equals": "oauth-client-credentials-flow",
1382
- "type": "simple"
1526
+ "type": "zeebe:property",
1527
+ "name": "operatePollingInterval"
1383
1528
  },
1384
- "type": "String"
1529
+ "optional": true
1385
1530
  },
1386
1531
  {
1387
- "id": "authentication.clientId",
1388
- "label": "Client ID",
1389
- "description": "Your application's client ID from the OAuth client",
1390
- "optional": false,
1391
- "constraints": {
1392
- "notEmpty": true
1393
- },
1532
+ "label": "Bearer token",
1394
1533
  "group": "authentication",
1534
+ "type": "String",
1535
+ "feel": "optional",
1395
1536
  "binding": {
1396
- "name": "authentication.clientId",
1397
- "type": "zeebe:property"
1398
- },
1399
- "condition": {
1400
- "property": "authentication.type",
1401
- "equals": "oauth-client-credentials-flow",
1402
- "type": "simple"
1537
+ "type": "zeebe:property",
1538
+ "name": "authentication.token"
1403
1539
  },
1404
- "type": "String"
1405
- },
1406
- {
1407
- "id": "authentication.clientSecret",
1408
- "label": "Client secret",
1409
- "description": "Your application's client secret from the OAuth client",
1410
- "optional": false,
1411
1540
  "constraints": {
1412
1541
  "notEmpty": true
1413
1542
  },
1414
- "group": "authentication",
1415
- "binding": {
1416
- "name": "authentication.clientSecret",
1417
- "type": "zeebe:property"
1418
- },
1419
1543
  "condition": {
1420
- "property": "authentication.type",
1421
- "equals": "oauth-client-credentials-flow",
1422
- "type": "simple"
1423
- },
1424
- "type": "String"
1544
+ "property": "authenticationType",
1545
+ "equals": "bearer"
1546
+ }
1425
1547
  },
1426
1548
  {
1427
- "id": "authentication.audience",
1428
- "label": "Audience",
1429
- "description": "The unique identifier of the target API you want to access",
1430
- "optional": true,
1549
+ "label": "OAuth token endpoint",
1550
+ "description": "The OAuth token endpoint",
1431
1551
  "group": "authentication",
1552
+ "type": "String",
1553
+ "feel": "optional",
1432
1554
  "binding": {
1433
- "name": "authentication.audience",
1434
- "type": "zeebe:property"
1435
- },
1436
- "condition": {
1437
- "property": "authentication.type",
1438
- "equals": "oauth-client-credentials-flow",
1439
- "type": "simple"
1555
+ "type": "zeebe:property",
1556
+ "name": "authentication.oauthTokenEndpoint"
1440
1557
  },
1441
- "type": "String"
1442
- },
1443
- {
1444
- "id": "authentication.clientAuthentication",
1445
- "label": "Client authentication",
1446
- "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
1447
- "optional": false,
1448
1558
  "constraints": {
1449
1559
  "notEmpty": true
1450
1560
  },
1451
- "group": "authentication",
1452
- "binding": {
1453
- "name": "authentication.clientAuthentication",
1454
- "type": "zeebe:property"
1455
- },
1456
1561
  "condition": {
1457
- "property": "authentication.type",
1458
- "equals": "oauth-client-credentials-flow",
1459
- "type": "simple"
1460
- },
1461
- "type": "Dropdown",
1462
- "choices": [
1463
- {
1464
- "name": "Send client credentials in body",
1465
- "value": "credentialsBody"
1466
- },
1467
- {
1468
- "name": "Send as Basic Auth header",
1469
- "value": "basicAuthHeader"
1470
- }
1471
- ]
1562
+ "property": "authenticationType",
1563
+ "equals": "oauth-client-credentials-flow"
1564
+ }
1472
1565
  },
1473
1566
  {
1474
- "id": "authentication.scopes",
1475
- "label": "Scopes",
1476
- "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
1477
- "optional": true,
1567
+ "label": "Client ID",
1568
+ "description": "Your application's client ID from the OAuth client",
1478
1569
  "group": "authentication",
1570
+ "type": "String",
1571
+ "feel": "optional",
1479
1572
  "binding": {
1480
- "name": "authentication.scopes",
1481
- "type": "zeebe:property"
1482
- },
1483
- "condition": {
1484
- "property": "authentication.type",
1485
- "equals": "oauth-client-credentials-flow",
1486
- "type": "simple"
1573
+ "type": "zeebe:property",
1574
+ "name": "authentication.clientId"
1487
1575
  },
1488
- "type": "String"
1489
- },
1490
- {
1491
- "id": "method",
1492
- "label": "Method",
1493
- "optional": false,
1494
- "value": "GET",
1495
1576
  "constraints": {
1496
1577
  "notEmpty": true
1497
1578
  },
1498
- "group": "endpoint",
1499
- "binding": {
1500
- "name": "method",
1501
- "type": "zeebe:property"
1502
- },
1503
- "type": "Dropdown",
1504
- "choices": [
1505
- {
1506
- "name": "POST",
1507
- "value": "POST"
1508
- },
1509
- {
1510
- "name": "GET",
1511
- "value": "GET"
1512
- },
1513
- {
1514
- "name": "DELETE",
1515
- "value": "DELETE"
1516
- },
1517
- {
1518
- "name": "PATCH",
1519
- "value": "PATCH"
1520
- },
1521
- {
1522
- "name": "PUT",
1523
- "value": "PUT"
1524
- }
1525
- ]
1579
+ "condition": {
1580
+ "property": "authenticationType",
1581
+ "equals": "oauth-client-credentials-flow"
1582
+ }
1526
1583
  },
1527
1584
  {
1528
- "id": "url",
1529
- "label": "URL",
1530
- "optional": false,
1531
- "constraints": {
1532
- "notEmpty": true,
1533
- "pattern": {
1534
- "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
1535
- "message": "Must be a http(s) URL"
1536
- }
1537
- },
1585
+ "label": "Client secret",
1586
+ "description": "Your application's client secret from the OAuth client",
1587
+ "group": "authentication",
1588
+ "type": "String",
1538
1589
  "feel": "optional",
1539
- "group": "endpoint",
1540
- "binding": {
1541
- "name": "url",
1542
- "type": "zeebe:property"
1543
- },
1544
- "type": "String"
1545
- },
1546
- {
1547
- "id": "queryParameters",
1548
- "label": "Query parameters",
1549
- "description": "Map of query parameters to add to the request URL",
1550
- "optional": true,
1551
- "feel": "required",
1552
- "group": "endpoint",
1553
- "binding": {
1554
- "name": "queryParameters",
1555
- "type": "zeebe:property"
1556
- },
1557
- "type": "String"
1558
- },
1559
- {
1560
- "id": "headers",
1561
- "label": "Headers",
1562
- "description": "Map of HTTP headers to add to the request",
1563
- "optional": true,
1564
- "feel": "required",
1565
- "group": "endpoint",
1566
1590
  "binding": {
1567
- "name": "headers",
1568
- "type": "zeebe:property"
1591
+ "type": "zeebe:property",
1592
+ "name": "authentication.clientSecret"
1569
1593
  },
1570
- "type": "String"
1571
- },
1572
- {
1573
- "id": "skipEncoding",
1574
- "label": "Skip URL encoding",
1575
- "description": "Skip the default URL decoding and encoding behavior",
1576
- "optional": true,
1577
- "group": "endpoint",
1578
- "binding": {
1579
- "name": "skipEncoding",
1580
- "type": "zeebe:property"
1594
+ "constraints": {
1595
+ "notEmpty": true
1581
1596
  },
1582
- "type": "Hidden"
1597
+ "condition": {
1598
+ "property": "authenticationType",
1599
+ "equals": "oauth-client-credentials-flow"
1600
+ }
1583
1601
  },
1584
1602
  {
1585
- "id": "body",
1586
- "label": "Request body",
1587
- "description": "Payload to send with the request",
1588
- "optional": true,
1603
+ "label": "Scopes",
1604
+ "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
1605
+ "group": "authentication",
1606
+ "type": "String",
1589
1607
  "feel": "optional",
1590
- "group": "payload",
1608
+ "optional": true,
1591
1609
  "binding": {
1592
- "name": "body",
1593
- "type": "zeebe:property"
1610
+ "type": "zeebe:property",
1611
+ "name": "authentication.scopes"
1594
1612
  },
1595
1613
  "condition": {
1596
- "property": "method",
1597
- "oneOf": ["POST", "PUT", "PATCH"],
1598
- "type": "simple"
1599
- },
1600
- "type": "Text"
1614
+ "property": "authenticationType",
1615
+ "equals": "oauth-client-credentials-flow"
1616
+ }
1601
1617
  },
1602
1618
  {
1603
- "id": "httpRequestInterval",
1604
- "label": "Http request interval",
1605
- "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>",
1606
- "optional": false,
1607
- "value": "PT50S",
1619
+ "label": "Audience",
1620
+ "description": "The unique identifier of the target API you want to access",
1621
+ "group": "authentication",
1622
+ "type": "String",
1608
1623
  "feel": "optional",
1609
- "group": "interval",
1624
+ "optional": true,
1610
1625
  "binding": {
1611
- "name": "httpRequestInterval",
1612
- "type": "zeebe:property"
1626
+ "type": "zeebe:property",
1627
+ "name": "authentication.audience"
1613
1628
  },
1614
- "type": "String"
1629
+ "condition": {
1630
+ "property": "authenticationType",
1631
+ "equals": "oauth-client-credentials-flow"
1632
+ }
1615
1633
  },
1616
1634
  {
1617
- "id": "processPollingInterval",
1618
- "label": "Process polling interval",
1619
- "optional": false,
1620
- "value": "PT5S",
1621
- "group": "interval",
1635
+ "label": "Client authentication",
1636
+ "id": "authentication.clientAuthentication",
1637
+ "group": "authentication",
1638
+ "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
1639
+ "value": "basicAuthHeader",
1640
+ "type": "Dropdown",
1641
+ "choices": [
1642
+ {
1643
+ "name": "Send client credentials in body",
1644
+ "value": "credentialsBody"
1645
+ },
1646
+ {
1647
+ "name": "Send as Basic Auth header",
1648
+ "value": "basicAuthHeader"
1649
+ }
1650
+ ],
1622
1651
  "binding": {
1623
- "name": "processPollingInterval",
1624
- "type": "zeebe:property"
1652
+ "type": "zeebe:property",
1653
+ "name": "authentication.clientAuthentication"
1625
1654
  },
1626
- "type": "Hidden"
1655
+ "condition": {
1656
+ "property": "authenticationType",
1657
+ "equals": "oauth-client-credentials-flow"
1658
+ }
1627
1659
  },
1628
1660
  {
1629
- "id": "connectionTimeoutInSeconds",
1630
- "label": "Connection timeout in seconds",
1631
- "description": "Defines the connection timeout in seconds, or 0 for an infinite timeout",
1632
- "optional": false,
1633
- "value": "20",
1634
- "constraints": {
1635
- "notEmpty": true,
1636
- "pattern": {
1637
- "value": "^\\d+$",
1638
- "message": "Must be a number"
1639
- }
1640
- },
1661
+ "label": "Username",
1662
+ "group": "authentication",
1663
+ "type": "String",
1641
1664
  "feel": "optional",
1642
- "group": "timeout",
1643
1665
  "binding": {
1644
- "name": "connectionTimeoutInSeconds",
1645
- "type": "zeebe:property"
1666
+ "type": "zeebe:property",
1667
+ "name": "authentication.username"
1646
1668
  },
1647
- "tooltip": "Set the timeout in seconds to establish a connection or 0 for an infinite timeout",
1648
- "type": "String"
1649
- },
1650
- {
1651
- "id": "readTimeoutInSeconds",
1652
- "label": "Read timeout in seconds",
1653
- "description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
1654
- "optional": false,
1655
- "value": "20",
1656
1669
  "constraints": {
1657
- "notEmpty": true,
1658
- "pattern": {
1659
- "value": "^\\d+$",
1660
- "message": "Must be a number"
1661
- }
1670
+ "notEmpty": true
1662
1671
  },
1672
+ "condition": {
1673
+ "property": "authenticationType",
1674
+ "equals": "basic"
1675
+ }
1676
+ },
1677
+ {
1678
+ "label": "Password",
1679
+ "group": "authentication",
1680
+ "type": "String",
1663
1681
  "feel": "optional",
1664
- "group": "timeout",
1665
1682
  "binding": {
1666
- "name": "readTimeoutInSeconds",
1667
- "type": "zeebe:property"
1683
+ "type": "zeebe:property",
1684
+ "name": "authentication.password"
1668
1685
  },
1669
- "type": "String"
1686
+ "constraints": {
1687
+ "notEmpty": true
1688
+ },
1689
+ "condition": {
1690
+ "property": "authenticationType",
1691
+ "equals": "basic"
1692
+ }
1670
1693
  },
1671
1694
  {
1672
- "id": "activationCondition",
1673
- "label": "Activation condition",
1674
- "description": "Condition under which the Connector triggers. Leave empty to catch all events",
1675
- "optional": true,
1676
- "feel": "required",
1677
- "group": "activation",
1695
+ "label": "Request body",
1696
+ "description": "Payload to send with the request",
1697
+ "group": "input",
1698
+ "type": "Text",
1699
+ "feel": "optional",
1678
1700
  "binding": {
1679
- "name": "activationCondition",
1680
- "type": "zeebe:property"
1701
+ "type": "zeebe:property",
1702
+ "name": "body"
1681
1703
  },
1682
- "type": "String"
1704
+ "condition": {
1705
+ "property": "method",
1706
+ "oneOf": ["post", "put", "patch"]
1707
+ },
1708
+ "optional": true
1683
1709
  },
1684
1710
  {
1685
- "id": "correlationKeyProcess",
1686
1711
  "label": "Correlation key (process)",
1687
- "description": "Sets up the correlation key from process variables",
1688
- "constraints": {
1689
- "notEmpty": true
1690
- },
1712
+ "type": "String",
1713
+ "group": "activation",
1691
1714
  "feel": "required",
1692
- "group": "correlation",
1715
+ "description": "Sets up the correlation key from process variables",
1693
1716
  "binding": {
1694
- "name": "correlationKey",
1695
- "type": "bpmn:Message#zeebe:subscription#property"
1717
+ "type": "bpmn:Message#zeebe:subscription#property",
1718
+ "name": "correlationKey"
1696
1719
  },
1697
- "type": "String"
1720
+ "constraints": {
1721
+ "notEmpty": true
1722
+ }
1698
1723
  },
1699
1724
  {
1700
- "id": "correlationKeyPayload",
1701
1725
  "label": "Correlation key (payload)",
1702
- "description": "Extracts the correlation key from the incoming message payload",
1703
- "constraints": {
1704
- "notEmpty": true
1705
- },
1726
+ "type": "String",
1727
+ "group": "activation",
1706
1728
  "feel": "required",
1707
- "group": "correlation",
1708
1729
  "binding": {
1709
- "name": "correlationKeyExpression",
1710
- "type": "zeebe:property"
1730
+ "type": "zeebe:property",
1731
+ "name": "correlationKeyExpression"
1711
1732
  },
1712
- "type": "String"
1733
+ "description": "Extracts the correlation key from the incoming message payload",
1734
+ "constraints": {
1735
+ "notEmpty": true
1736
+ }
1713
1737
  },
1714
1738
  {
1715
- "id": "messageIdExpression",
1716
- "label": "Message ID expression",
1717
- "description": "Expression to extract unique identifier of a message",
1718
- "optional": true,
1739
+ "label": "Condition",
1740
+ "type": "String",
1741
+ "group": "activation",
1719
1742
  "feel": "required",
1720
- "group": "correlation",
1743
+ "optional": true,
1721
1744
  "binding": {
1722
- "name": "messageIdExpression",
1723
- "type": "zeebe:property"
1745
+ "type": "zeebe:property",
1746
+ "name": "activationCondition"
1724
1747
  },
1725
- "type": "String"
1748
+ "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>"
1726
1749
  },
1727
1750
  {
1728
- "id": "messageTtl",
1729
- "label": "Message TTL",
1730
- "description": "Time-to-live for the message in the broker (ISO-8601 duration)",
1751
+ "label": "Connection timeout",
1752
+ "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
1753
+ "group": "endpoint",
1754
+ "type": "String",
1755
+ "value": "20",
1756
+ "binding": {
1757
+ "type": "zeebe:property",
1758
+ "name": "connectionTimeoutInSeconds"
1759
+ },
1731
1760
  "optional": true,
1761
+ "feel": "optional",
1732
1762
  "constraints": {
1733
1763
  "notEmpty": false,
1734
1764
  "pattern": {
1735
- "value": "^(PT.*|)$",
1736
- "message": "must be an ISO-8601 duration"
1765
+ "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
1766
+ "message": "must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
1737
1767
  }
1738
- },
1739
- "feel": "optional",
1740
- "group": "correlation",
1741
- "binding": {
1742
- "name": "messageTtl",
1743
- "type": "zeebe:property"
1744
- },
1745
- "type": "String"
1746
- },
1747
- {
1748
- "id": "messageNameUuid",
1749
- "generatedValue": {
1750
- "type": "uuid"
1751
- },
1752
- "group": "correlation",
1753
- "binding": {
1754
- "name": "name",
1755
- "type": "bpmn:Message#property"
1756
- },
1757
- "type": "Hidden"
1768
+ }
1758
1769
  },
1759
1770
  {
1760
- "id": "resultVariable",
1761
1771
  "label": "Result variable",
1762
- "description": "Name of variable to store the response in",
1763
- "group": "output",
1772
+ "type": "String",
1773
+ "group": "variable-mapping",
1774
+ "optional": true,
1764
1775
  "binding": {
1765
- "name": "resultVariable",
1766
- "type": "zeebe:property"
1776
+ "type": "zeebe:property",
1777
+ "name": "resultVariable"
1767
1778
  },
1768
- "type": "String"
1779
+ "description": "Name of variable to store the result of the connector in"
1769
1780
  },
1770
1781
  {
1771
- "id": "resultExpression",
1772
1782
  "label": "Result expression",
1773
- "description": "Expression to map the response into process variables",
1783
+ "type": "String",
1784
+ "group": "variable-mapping",
1774
1785
  "feel": "required",
1775
- "group": "output",
1786
+ "optional": true,
1776
1787
  "binding": {
1777
- "name": "resultExpression",
1778
- "type": "zeebe:property"
1788
+ "type": "zeebe:property",
1789
+ "name": "resultExpression"
1779
1790
  },
1780
- "type": "Text"
1791
+ "description": "Expression to map the inbound payload to process variables"
1781
1792
  }
1782
1793
  ],
1783
- "icon": {
1784
- "contents": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJz8+Cjxzdmcgd2lkdGg9JzE4JyBoZWlnaHQ9JzE4JyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnPgogICAgPGcgY2xhc3M9J2xheWVyJz4KICAgICAgICA8dGl0bGU+TGF5ZXIgMTwvdGl0bGU+CiAgICAgICAgPHBhdGggZD0nbTE3LjAzLDljMCw0LjQ1IC0zLjYsOC4wNSAtOC4wNSw4LjA1Yy00LjQ1LDAgLTguMDUsLTMuNiAtOC4wNSwtOC4wNWMwLC00LjQ1IDMuNiwtOC4wNSA4LjA1LC04LjA1YzQuNDUsMCA4LjA1LDMuNiA4LjA1LDguMDV6JwogICAgICAgICAgICAgIGZpbGw9JyM1MDU1NjInIGlkPSdzdmdfMScvPgogICAgICAgIDxwYXRoIGQ9J200LjkzLDE0LjE2bDEuODUsLTEwLjQ1bDMuMzYsMGMxLjA1LDAgMS44NCwwLjI3IDIuMzcsMC44MWMwLjU0LDAuNTMgMC44LDEuMjEgMC44LDIuMDZjMCwwLjg2IC0wLjI0LDEuNTggLTAuNzMsMi4xM2MtMC40NywwLjU1IC0xLjEyLDAuOTMgLTEuOTUsMS4xNGwtMC40OCwwLjA5bC0wLjUzLDAuMDNsLTAuNiwwLjA1bC0xLjc5LDBsLTAuNzMsNC4xNGwtMS41OCwwem0yLjU3LC01LjU3bDEuNzQsMGMwLjc2LDAgMS4zNSwtMC4xNyAxLjc4LC0wLjVjMC40NCwtMC4zNSAwLjY1LC0wLjgyIDAuNjUsLTEuNDJjMCwtMC40OCAtMC4xNSwtMC44NSAtMC40NCwtMS4xMmMtMC4zLC0wLjI4IC0wLjc3LC0wLjQyIC0xLjQyLC0wLjQybC0xLjcsMGwtMC42MSwzLjQ2eicKICAgICAgICAgICAgICBmaWxsPSd3aGl0ZScgaWQ9J3N2Z18yJy8+CiAgICA8L2c+Cjwvc3ZnPg=="
1794
+ "engines": {
1795
+ "camunda": "^8.3"
1785
1796
  }
1786
1797
  },
1787
1798
  {
1788
1799
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1789
1800
  "name": "HTTP Polling Intermediate Catch Event Connector",
1790
1801
  "id": "io.camunda.connectors.http.Polling",
1791
- "version": 3,
1802
+ "version": 2,
1792
1803
  "description": "Polls endpoint at regular intervals",
1793
1804
  "icon": {
1794
1805
  "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"
@@ -2257,7 +2268,7 @@
2257
2268
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2258
2269
  "name": "HTTP Polling Intermediate Catch Event Connector",
2259
2270
  "id": "io.camunda.connectors.http.Polling",
2260
- "version": 2,
2271
+ "version": 3,
2261
2272
  "description": "Polls endpoint at regular intervals",
2262
2273
  "icon": {
2263
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"