@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,18 @@
4
4
  "name": "GraphQL Outbound Connector",
5
5
  "id": "io.camunda.connectors.GraphQL.v1",
6
6
  "description": "Execute GraphQL query",
7
- "metadata": {
8
- "keywords": []
9
- },
7
+ "keywords": [
8
+ "API",
9
+ "query",
10
+ "mutation",
11
+ "HTTP",
12
+ "web request",
13
+ "GraphQL",
14
+ "fetch data",
15
+ "data query",
16
+ "execute query",
17
+ "API call"
18
+ ],
10
19
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/graphql/",
11
20
  "version": 9,
12
21
  "category": {
@@ -515,7 +524,7 @@
515
524
  {
516
525
  "id": "resultVariable",
517
526
  "label": "Result variable",
518
- "description": "Name of variable to store the response in",
527
+ "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>.",
519
528
  "group": "output",
520
529
  "binding": {
521
530
  "key": "resultVariable",
@@ -526,7 +535,7 @@
526
535
  {
527
536
  "id": "resultExpression",
528
537
  "label": "Result expression",
529
- "description": "Expression to map the response into process variables",
538
+ "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>.",
530
539
  "feel": "required",
531
540
  "group": "output",
532
541
  "binding": {
@@ -582,11 +591,11 @@
582
591
  "name": "GraphQL Outbound Connector",
583
592
  "id": "io.camunda.connectors.GraphQL.v1",
584
593
  "description": "Execute GraphQL query",
585
- "version": 3,
586
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/",
587
- "icon": {
588
- "contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='GraphQL_Logo' x='0px' y='0px' viewBox='0 0 400 400' enable-background='new 0 0 400 400' xml:space='preserve'%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Crect x='122' y='-0.4' transform='matrix(-0.866 -0.5 0.5 -0.866 163.3196 363.3136)' fill='%23E535AB' width='16.6' height='320.3'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='39.8' y='272.2' fill='%23E535AB' width='320.3' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='37.9' y='312.2' transform='matrix(-0.866 -0.5 0.5 -0.866 83.0693 663.3409)' fill='%23E535AB' width='185' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='177.1' y='71.1' transform='matrix(-0.866 -0.5 0.5 -0.866 463.3409 283.0693)' fill='%23E535AB' width='185' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='122.1' y='-13' transform='matrix(-0.5 -0.866 0.866 -0.5 126.7903 232.1221)' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='109.6' y='151.6' transform='matrix(-0.5 -0.866 0.866 -0.5 266.0828 473.3766)' fill='%23E535AB' width='320.3' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='52.5' y='107.5' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='330.9' y='107.5' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='262.4' y='240.1' transform='matrix(-0.5 -0.866 0.866 -0.5 126.7953 714.2875)' fill='%23E535AB' width='14.5' height='160.9'/%3E%3C/g%3E%3C/g%3E%3Cpath fill='%23E535AB' d='M369.5,297.9c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 C373.5,259.9,379.2,281.2,369.5,297.9'/%3E%3Cpath fill='%23E535AB' d='M90.9,137c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 C94.8,99,100.5,120.3,90.9,137'/%3E%3Cpath fill='%23E535AB' d='M30.5,297.9c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 C61.4,320.3,40.1,314.6,30.5,297.9'/%3E%3Cpath fill='%23E535AB' d='M309.1,137c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 C340.1,159.4,318.7,153.7,309.1,137'/%3E%3Cpath fill='%23E535AB' d='M200,395.8c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 C234.9,380.1,219.3,395.8,200,395.8'/%3E%3Cpath fill='%23E535AB' d='M200,74c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 C234.9,58.4,219.3,74,200,74'/%3E%3C/g%3E%3C/svg%3E"
594
+ "metadata": {
595
+ "keywords": []
589
596
  },
597
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/graphql/",
598
+ "version": 7,
590
599
  "category": {
591
600
  "id": "connectors",
592
601
  "name": "Connectors"
@@ -595,6 +604,9 @@
595
604
  "elementType": {
596
605
  "value": "bpmn:ServiceTask"
597
606
  },
607
+ "engines": {
608
+ "camunda": "^8.3"
609
+ },
598
610
  "groups": [
599
611
  {
600
612
  "id": "authentication",
@@ -602,7 +614,7 @@
602
614
  },
603
615
  {
604
616
  "id": "endpoint",
605
- "label": "HTTP endpoint"
617
+ "label": "HTTP Endpoint"
606
618
  },
607
619
  {
608
620
  "id": "graphql",
@@ -610,37 +622,45 @@
610
622
  },
611
623
  {
612
624
  "id": "timeout",
613
- "label": "Connect timeout"
625
+ "label": "Connection timeout"
614
626
  },
615
627
  {
616
628
  "id": "output",
617
- "label": "Response mapping"
629
+ "label": "Output mapping"
618
630
  },
619
631
  {
620
- "id": "errors",
632
+ "id": "error",
621
633
  "label": "Error handling"
634
+ },
635
+ {
636
+ "id": "retries",
637
+ "label": "Retries"
622
638
  }
623
639
  ],
624
640
  "properties": [
625
641
  {
626
- "type": "Hidden",
627
642
  "value": "io.camunda:connector-graphql:1",
628
643
  "binding": {
629
- "type": "zeebe:taskDefinition",
630
- "property": "type"
631
- }
644
+ "property": "type",
645
+ "type": "zeebe:taskDefinition"
646
+ },
647
+ "type": "Hidden"
632
648
  },
633
649
  {
650
+ "id": "authentication.type",
634
651
  "label": "Type",
635
- "id": "authenticationType",
636
- "group": "authentication",
637
652
  "description": "Choose the authentication type. Select 'None' if no authentication is necessary",
638
653
  "value": "noAuth",
654
+ "group": "authentication",
655
+ "binding": {
656
+ "name": "authentication.type",
657
+ "type": "zeebe:input"
658
+ },
639
659
  "type": "Dropdown",
640
660
  "choices": [
641
661
  {
642
- "name": "None",
643
- "value": "noAuth"
662
+ "name": "API key",
663
+ "value": "apiKey"
644
664
  },
645
665
  {
646
666
  "name": "Basic",
@@ -650,202 +670,250 @@
650
670
  "name": "Bearer token",
651
671
  "value": "bearer"
652
672
  },
673
+ {
674
+ "name": "None",
675
+ "value": "noAuth"
676
+ },
653
677
  {
654
678
  "name": "OAuth 2.0",
655
679
  "value": "oauth-client-credentials-flow"
656
680
  }
657
- ],
658
- "binding": {
659
- "type": "zeebe:input",
660
- "name": "authentication.type"
661
- }
681
+ ]
662
682
  },
663
683
  {
664
- "label": "URL",
665
- "group": "endpoint",
666
- "type": "String",
667
- "feel": "optional",
684
+ "id": "authentication.apiKeyLocation",
685
+ "label": "Api key location",
686
+ "description": "Choose type: Send API key in header or as query parameter.",
687
+ "optional": false,
688
+ "value": "headers",
689
+ "constraints": {
690
+ "notEmpty": true
691
+ },
692
+ "group": "authentication",
668
693
  "binding": {
669
- "type": "zeebe:input",
670
- "name": "graphql.url"
694
+ "name": "authentication.apiKeyLocation",
695
+ "type": "zeebe:input"
696
+ },
697
+ "condition": {
698
+ "property": "authentication.type",
699
+ "equals": "apiKey",
700
+ "type": "simple"
671
701
  },
672
- "constraints": {
673
- "notEmpty": true,
674
- "pattern": {
675
- "value": "^(=|(https?://|\\{\\{secrets\\..+\\}\\}).*$)",
676
- "message": "Must be a http(s) URL."
677
- }
678
- }
679
- },
680
- {
681
- "id": "method",
682
- "label": "Method",
683
- "group": "endpoint",
684
702
  "type": "Dropdown",
685
- "value": "post",
686
703
  "choices": [
687
704
  {
688
- "name": "POST",
689
- "value": "post"
705
+ "name": "Headers",
706
+ "value": "headers"
690
707
  },
691
708
  {
692
- "name": "GET",
693
- "value": "get"
709
+ "name": "Query parameters",
710
+ "value": "query"
694
711
  }
695
- ],
696
- "binding": {
697
- "type": "zeebe:input",
698
- "name": "graphql.method"
699
- }
700
- },
701
- {
702
- "id": "headers",
703
- "label": "Headers",
704
- "group": "endpoint",
705
- "type": "Text",
706
- "feel": "required",
707
- "optional": true,
708
- "binding": {
709
- "type": "zeebe:input",
710
- "name": "graphql.headers"
711
- }
712
+ ]
712
713
  },
713
714
  {
714
- "label": "Query/Mutation",
715
- "description": "See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/#querymutation\" target=\"_blank\">documentation</a>",
716
- "group": "graphql",
717
- "type": "Text",
718
- "language": "graphql",
719
- "binding": {
720
- "type": "zeebe:input",
721
- "name": "graphql.query"
722
- },
715
+ "id": "authentication.name",
716
+ "label": "API key name",
723
717
  "optional": false,
724
718
  "constraints": {
725
719
  "notEmpty": true
726
- }
727
- },
728
- {
729
- "label": "Variables",
730
- "description": "Learn how to <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/#variables\" target=\"_blank\">define variables</a>",
731
- "group": "graphql",
732
- "type": "Text",
733
- "feel": "required",
734
- "binding": {
735
- "type": "zeebe:input",
736
- "name": "graphql.variables"
737
720
  },
738
- "optional": true
739
- },
740
- {
741
- "label": "Bearer token",
742
- "group": "authentication",
743
- "type": "String",
744
721
  "feel": "optional",
722
+ "group": "authentication",
745
723
  "binding": {
746
- "type": "zeebe:input",
747
- "name": "graphql.authentication.token"
748
- },
749
- "constraints": {
750
- "notEmpty": true
724
+ "name": "authentication.name",
725
+ "type": "zeebe:input"
751
726
  },
752
727
  "condition": {
753
- "property": "authenticationType",
754
- "equals": "bearer"
755
- }
728
+ "property": "authentication.type",
729
+ "equals": "apiKey",
730
+ "type": "simple"
731
+ },
732
+ "type": "String"
756
733
  },
757
734
  {
758
- "label": "OAuth token endpoint",
759
- "description": "The OAuth token endpoint",
760
- "group": "authentication",
761
- "type": "String",
762
- "feel": "optional",
763
- "binding": {
764
- "type": "zeebe:input",
765
- "name": "authentication.oauthTokenEndpoint"
766
- },
735
+ "id": "authentication.value",
736
+ "label": "API key value",
737
+ "optional": false,
767
738
  "constraints": {
768
739
  "notEmpty": true
769
740
  },
770
- "condition": {
771
- "property": "authenticationType",
772
- "equals": "oauth-client-credentials-flow"
773
- }
774
- },
775
- {
776
- "label": "Client ID",
777
- "description": "Your application's client ID from the OAuth client",
778
- "group": "authentication",
779
- "type": "String",
780
741
  "feel": "optional",
742
+ "group": "authentication",
781
743
  "binding": {
782
- "type": "zeebe:input",
783
- "name": "authentication.clientId"
784
- },
785
- "constraints": {
786
- "notEmpty": true
744
+ "name": "authentication.value",
745
+ "type": "zeebe:input"
787
746
  },
788
747
  "condition": {
789
- "property": "authenticationType",
790
- "equals": "oauth-client-credentials-flow"
791
- }
748
+ "property": "authentication.type",
749
+ "equals": "apiKey",
750
+ "type": "simple"
751
+ },
752
+ "type": "String"
792
753
  },
793
754
  {
794
- "label": "Client secret",
795
- "description": "Your application's client secret from the OAuth client",
796
- "group": "authentication",
797
- "type": "String",
798
- "feel": "optional",
799
- "binding": {
800
- "type": "zeebe:input",
801
- "name": "authentication.clientSecret"
802
- },
755
+ "id": "authentication.username",
756
+ "label": "Username",
757
+ "optional": false,
803
758
  "constraints": {
804
759
  "notEmpty": true
805
760
  },
806
- "condition": {
807
- "property": "authenticationType",
808
- "equals": "oauth-client-credentials-flow"
809
- }
810
- },
811
- {
812
- "label": "Scopes",
813
- "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
814
- "group": "authentication",
815
- "type": "String",
816
761
  "feel": "optional",
817
- "optional": true,
762
+ "group": "authentication",
818
763
  "binding": {
819
- "type": "zeebe:input",
820
- "name": "authentication.scopes"
764
+ "name": "authentication.username",
765
+ "type": "zeebe:input"
821
766
  },
822
767
  "condition": {
823
- "property": "authenticationType",
824
- "equals": "oauth-client-credentials-flow"
825
- }
768
+ "property": "authentication.type",
769
+ "equals": "basic",
770
+ "type": "simple"
771
+ },
772
+ "type": "String"
826
773
  },
827
774
  {
828
- "label": "Audience",
829
- "description": "The unique identifier of the target API you want to access",
830
- "group": "authentication",
831
- "type": "String",
775
+ "id": "authentication.password",
776
+ "label": "Password",
777
+ "optional": false,
778
+ "constraints": {
779
+ "notEmpty": true
780
+ },
832
781
  "feel": "optional",
833
- "optional": true,
782
+ "group": "authentication",
834
783
  "binding": {
835
- "type": "zeebe:input",
836
- "name": "authentication.audience"
784
+ "name": "authentication.password",
785
+ "type": "zeebe:input"
837
786
  },
838
787
  "condition": {
839
- "property": "authenticationType",
840
- "equals": "oauth-client-credentials-flow"
841
- }
788
+ "property": "authentication.type",
789
+ "equals": "basic",
790
+ "type": "simple"
791
+ },
792
+ "type": "String"
793
+ },
794
+ {
795
+ "id": "authentication.token",
796
+ "label": "Bearer token",
797
+ "optional": false,
798
+ "constraints": {
799
+ "notEmpty": true
800
+ },
801
+ "feel": "optional",
802
+ "group": "authentication",
803
+ "binding": {
804
+ "name": "authentication.token",
805
+ "type": "zeebe:input"
806
+ },
807
+ "condition": {
808
+ "property": "authentication.type",
809
+ "equals": "bearer",
810
+ "type": "simple"
811
+ },
812
+ "type": "String"
813
+ },
814
+ {
815
+ "id": "authentication.oauthTokenEndpoint",
816
+ "label": "OAuth 2.0 token endpoint",
817
+ "description": "The OAuth token endpoint",
818
+ "optional": false,
819
+ "constraints": {
820
+ "notEmpty": true,
821
+ "pattern": {
822
+ "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
823
+ "message": "Must be a http(s) URL"
824
+ }
825
+ },
826
+ "feel": "optional",
827
+ "group": "authentication",
828
+ "binding": {
829
+ "name": "authentication.oauthTokenEndpoint",
830
+ "type": "zeebe:input"
831
+ },
832
+ "condition": {
833
+ "property": "authentication.type",
834
+ "equals": "oauth-client-credentials-flow",
835
+ "type": "simple"
836
+ },
837
+ "type": "String"
838
+ },
839
+ {
840
+ "id": "authentication.clientId",
841
+ "label": "Client ID",
842
+ "description": "Your application's client ID from the OAuth client",
843
+ "optional": false,
844
+ "constraints": {
845
+ "notEmpty": true
846
+ },
847
+ "feel": "optional",
848
+ "group": "authentication",
849
+ "binding": {
850
+ "name": "authentication.clientId",
851
+ "type": "zeebe:input"
852
+ },
853
+ "condition": {
854
+ "property": "authentication.type",
855
+ "equals": "oauth-client-credentials-flow",
856
+ "type": "simple"
857
+ },
858
+ "type": "String"
859
+ },
860
+ {
861
+ "id": "authentication.clientSecret",
862
+ "label": "Client secret",
863
+ "description": "Your application's client secret from the OAuth client",
864
+ "optional": false,
865
+ "constraints": {
866
+ "notEmpty": true
867
+ },
868
+ "feel": "optional",
869
+ "group": "authentication",
870
+ "binding": {
871
+ "name": "authentication.clientSecret",
872
+ "type": "zeebe:input"
873
+ },
874
+ "condition": {
875
+ "property": "authentication.type",
876
+ "equals": "oauth-client-credentials-flow",
877
+ "type": "simple"
878
+ },
879
+ "type": "String"
880
+ },
881
+ {
882
+ "id": "authentication.audience",
883
+ "label": "Audience",
884
+ "description": "The unique identifier of the target API you want to access",
885
+ "optional": true,
886
+ "feel": "optional",
887
+ "group": "authentication",
888
+ "binding": {
889
+ "name": "authentication.audience",
890
+ "type": "zeebe:input"
891
+ },
892
+ "condition": {
893
+ "property": "authentication.type",
894
+ "equals": "oauth-client-credentials-flow",
895
+ "type": "simple"
896
+ },
897
+ "type": "String"
842
898
  },
843
899
  {
844
- "label": "Client authentication",
845
900
  "id": "authentication.clientAuthentication",
901
+ "label": "Client authentication",
902
+ "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
903
+ "optional": false,
904
+ "constraints": {
905
+ "notEmpty": true
906
+ },
846
907
  "group": "authentication",
847
- "description": "Send client id and client secret as Basic Auth request in the header, or as client credentials in the request body",
848
- "value": "basicAuthHeader",
908
+ "binding": {
909
+ "name": "authentication.clientAuthentication",
910
+ "type": "zeebe:input"
911
+ },
912
+ "condition": {
913
+ "property": "authentication.type",
914
+ "equals": "oauth-client-credentials-flow",
915
+ "type": "simple"
916
+ },
849
917
  "type": "Dropdown",
850
918
  "choices": [
851
919
  {
@@ -856,114 +924,214 @@
856
924
  "name": "Send as Basic Auth header",
857
925
  "value": "basicAuthHeader"
858
926
  }
859
- ],
860
- "binding": {
861
- "type": "zeebe:input",
862
- "name": "authentication.clientAuthentication"
863
- },
864
- "condition": {
865
- "property": "authenticationType",
866
- "equals": "oauth-client-credentials-flow"
867
- }
927
+ ]
868
928
  },
869
929
  {
870
- "label": "Username",
871
- "group": "authentication",
872
- "type": "String",
930
+ "id": "authentication.scopes",
931
+ "label": "Scopes",
932
+ "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
933
+ "optional": true,
873
934
  "feel": "optional",
935
+ "group": "authentication",
874
936
  "binding": {
875
- "type": "zeebe:input",
876
- "name": "authentication.username"
937
+ "name": "authentication.scopes",
938
+ "type": "zeebe:input"
877
939
  },
940
+ "condition": {
941
+ "property": "authentication.type",
942
+ "equals": "oauth-client-credentials-flow",
943
+ "type": "simple"
944
+ },
945
+ "type": "String"
946
+ },
947
+ {
948
+ "id": "graphql.method",
949
+ "label": "Method",
950
+ "optional": false,
951
+ "value": "get",
878
952
  "constraints": {
879
953
  "notEmpty": true
880
954
  },
881
- "condition": {
882
- "property": "authenticationType",
883
- "equals": "basic"
884
- }
955
+ "group": "endpoint",
956
+ "binding": {
957
+ "name": "graphql.method",
958
+ "type": "zeebe:input"
959
+ },
960
+ "type": "Dropdown",
961
+ "choices": [
962
+ {
963
+ "name": "GET",
964
+ "value": "get"
965
+ },
966
+ {
967
+ "name": "POST",
968
+ "value": "post"
969
+ }
970
+ ]
885
971
  },
886
972
  {
887
- "label": "Password",
888
- "group": "authentication",
889
- "type": "String",
973
+ "id": "graphql.url",
974
+ "label": "URL",
975
+ "optional": false,
976
+ "constraints": {
977
+ "notEmpty": true,
978
+ "pattern": {
979
+ "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
980
+ "message": "Must be a http(s) URL"
981
+ }
982
+ },
890
983
  "feel": "optional",
984
+ "group": "endpoint",
891
985
  "binding": {
892
- "type": "zeebe:input",
893
- "name": "authentication.password"
986
+ "name": "graphql.url",
987
+ "type": "zeebe:input"
894
988
  },
989
+ "type": "String"
990
+ },
991
+ {
992
+ "id": "graphql.headers",
993
+ "label": "Headers",
994
+ "description": "Map of HTTP headers to add to the request",
995
+ "optional": true,
996
+ "feel": "required",
997
+ "group": "endpoint",
998
+ "binding": {
999
+ "name": "graphql.headers",
1000
+ "type": "zeebe:input"
1001
+ },
1002
+ "type": "String"
1003
+ },
1004
+ {
1005
+ "id": "graphql.storeResponse",
1006
+ "label": "Store response",
1007
+ "description": "Store the response as a document in the document store",
1008
+ "optional": false,
1009
+ "value": false,
1010
+ "feel": "static",
1011
+ "group": "endpoint",
1012
+ "binding": {
1013
+ "name": "graphql.storeResponse",
1014
+ "type": "zeebe:input"
1015
+ },
1016
+ "type": "Boolean"
1017
+ },
1018
+ {
1019
+ "id": "graphql.query",
1020
+ "label": "Query/Mutation",
1021
+ "description": "See <a href=\"https://docs.camunda.io/docs/components/connectors/protocol/graphql/#querymutation\" target=\"_blank\">documentation</a>",
1022
+ "optional": false,
895
1023
  "constraints": {
896
1024
  "notEmpty": true
897
1025
  },
898
- "condition": {
899
- "property": "authenticationType",
900
- "equals": "basic"
901
- }
1026
+ "feel": "optional",
1027
+ "group": "graphql",
1028
+ "binding": {
1029
+ "name": "graphql.query",
1030
+ "type": "zeebe:input"
1031
+ },
1032
+ "type": "Text"
902
1033
  },
903
1034
  {
904
- "label": "Connection timeout",
1035
+ "id": "graphql.variables",
1036
+ "label": "Variables",
1037
+ "optional": true,
1038
+ "feel": "required",
1039
+ "group": "graphql",
1040
+ "binding": {
1041
+ "name": "graphql.variables",
1042
+ "type": "zeebe:input"
1043
+ },
1044
+ "type": "String"
1045
+ },
1046
+ {
1047
+ "id": "graphql.connectionTimeoutInSeconds",
1048
+ "label": "Connection timeout in seconds",
905
1049
  "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
1050
+ "optional": true,
1051
+ "value": 20,
1052
+ "feel": "static",
906
1053
  "group": "timeout",
907
- "type": "String",
908
- "value": "20",
909
1054
  "binding": {
910
- "type": "zeebe:input",
911
- "name": "graphql.connectionTimeoutInSeconds"
1055
+ "name": "graphql.connectionTimeoutInSeconds",
1056
+ "type": "zeebe:input"
912
1057
  },
913
- "feel": "optional",
914
- "optional": true,
915
- "constraints": {
916
- "notEmpty": false,
917
- "pattern": {
918
- "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
919
- "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
920
- }
921
- }
1058
+ "type": "Number"
922
1059
  },
923
1060
  {
1061
+ "id": "resultVariable",
924
1062
  "label": "Result variable",
925
1063
  "description": "Name of variable to store the response in",
926
1064
  "group": "output",
927
- "type": "String",
928
1065
  "binding": {
929
- "type": "zeebe:taskHeader",
930
- "key": "resultVariable"
931
- }
1066
+ "key": "resultVariable",
1067
+ "type": "zeebe:taskHeader"
1068
+ },
1069
+ "type": "String"
932
1070
  },
933
1071
  {
1072
+ "id": "resultExpression",
934
1073
  "label": "Result expression",
935
1074
  "description": "Expression to map the response into process variables",
936
- "group": "output",
937
- "type": "Text",
938
1075
  "feel": "required",
1076
+ "group": "output",
939
1077
  "binding": {
940
- "type": "zeebe:taskHeader",
941
- "key": "resultExpression"
942
- }
1078
+ "key": "resultExpression",
1079
+ "type": "zeebe:taskHeader"
1080
+ },
1081
+ "type": "Text"
943
1082
  },
944
1083
  {
1084
+ "id": "errorExpression",
945
1085
  "label": "Error expression",
946
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
947
- "group": "errors",
948
- "type": "Text",
1086
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
949
1087
  "feel": "required",
1088
+ "group": "error",
950
1089
  "binding": {
951
- "type": "zeebe:taskHeader",
952
- "key": "errorExpression"
953
- }
1090
+ "key": "errorExpression",
1091
+ "type": "zeebe:taskHeader"
1092
+ },
1093
+ "type": "Text"
1094
+ },
1095
+ {
1096
+ "id": "retryCount",
1097
+ "label": "Retries",
1098
+ "description": "Number of retries",
1099
+ "value": "3",
1100
+ "feel": "optional",
1101
+ "group": "retries",
1102
+ "binding": {
1103
+ "property": "retries",
1104
+ "type": "zeebe:taskDefinition"
1105
+ },
1106
+ "type": "String"
1107
+ },
1108
+ {
1109
+ "id": "retryBackoff",
1110
+ "label": "Retry backoff",
1111
+ "description": "ISO-8601 duration to wait between retries",
1112
+ "value": "PT0S",
1113
+ "group": "retries",
1114
+ "binding": {
1115
+ "key": "retryBackoff",
1116
+ "type": "zeebe:taskHeader"
1117
+ },
1118
+ "type": "String"
954
1119
  }
955
1120
  ],
956
- "engines": {
957
- "camunda": "^8.2"
1121
+ "icon": {
1122
+ "contents": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3Ln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0U1MzVBQicKICAgICAgICBkPSdNMzAuNSwyOTcuOWMtOS42LTE2LjctMy45LTM4LDEyLjgtNDcuN2MxNi43LTkuNiwzOC0zLjksNDcuNywxMi44YzkuNiwxNi43LDMuOSwzOC0xMi44LDQ3LjcgQzYxLjQsMzIwLjMsNDAuMSwzMTQuNiwzMC41LDI5Ny45Jy8+PHBhdGgKICAgICAgICBmaWxsPScjRTUzNUFCJwogICAgICAgIGQ9J00zMDkuMSwxMzdjLTkuNi0xNi43LTMuOS0zOCwxMi44LTQ3LjdjMTYuNy05LjYsMzgtMy45LDQ3LjcsMTIuOGM5LjYsMTYuNywzLjksMzgtMTIuOCw0Ny43IEMzNDAuMSwxNTkuNCwzMTguNywxNTMuNywzMDkuMSwxMzcnLz48cGF0aAogICAgICAgIGZpbGw9JyNFNTM1QUInCiAgICAgICAgZD0nTTIwMCwzOTUuOGMtMTkuMywwLTM0LjktMTUuNi0zNC45LTM0LjljMC0xOS4zLDE1LjYtMzQuOSwzNC45LTM0LjljMTkuMywwLDM0LjksMTUuNiwzNC45LDM0LjkgQzIzNC45LDM4MC4xLDIxOS4zLDM5NS44LDIwMCwzOTUuOCcvPjxwYXRoCiAgICAgICAgZmlsbD0nI0U1MzVBQicKICAgICAgICBkPSdNMjAwLDc0Yy0xOS4zLDAtMzQuOS0xNS42LTM0LjktMzQuOWMwLTE5LjMsMTUuNi0zNC45LDM0LjktMzQuOWMxOS4zLDAsMzQuOSwxNS42LDM0LjksMzQuOSBDMjM0LjksNTguNCwyMTkuMyw3NCwyMDAsNzQnLz48L2c+PC9zdmc+"
958
1123
  }
959
1124
  },
960
1125
  {
961
1126
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
962
- "name": "GraphQL Outbound Connector",
1127
+ "name": "GraphQL connector",
963
1128
  "id": "io.camunda.connectors.GraphQL.v1",
964
1129
  "description": "Execute GraphQL query",
965
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/graphql/",
966
- "version": 6,
1130
+ "version": 2,
1131
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/",
1132
+ "icon": {
1133
+ "contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='GraphQL_Logo' x='0px' y='0px' viewBox='0 0 400 400' enable-background='new 0 0 400 400' xml:space='preserve'%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Crect x='122' y='-0.4' transform='matrix(-0.866 -0.5 0.5 -0.866 163.3196 363.3136)' fill='%23E535AB' width='16.6' height='320.3'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='39.8' y='272.2' fill='%23E535AB' width='320.3' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='37.9' y='312.2' transform='matrix(-0.866 -0.5 0.5 -0.866 83.0693 663.3409)' fill='%23E535AB' width='185' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='177.1' y='71.1' transform='matrix(-0.866 -0.5 0.5 -0.866 463.3409 283.0693)' fill='%23E535AB' width='185' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='122.1' y='-13' transform='matrix(-0.5 -0.866 0.866 -0.5 126.7903 232.1221)' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='109.6' y='151.6' transform='matrix(-0.5 -0.866 0.866 -0.5 266.0828 473.3766)' fill='%23E535AB' width='320.3' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='52.5' y='107.5' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='330.9' y='107.5' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='262.4' y='240.1' transform='matrix(-0.5 -0.866 0.866 -0.5 126.7953 714.2875)' fill='%23E535AB' width='14.5' height='160.9'/%3E%3C/g%3E%3C/g%3E%3Cpath fill='%23E535AB' d='M369.5,297.9c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 C373.5,259.9,379.2,281.2,369.5,297.9'/%3E%3Cpath fill='%23E535AB' d='M90.9,137c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 C94.8,99,100.5,120.3,90.9,137'/%3E%3Cpath fill='%23E535AB' d='M30.5,297.9c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 C61.4,320.3,40.1,314.6,30.5,297.9'/%3E%3Cpath fill='%23E535AB' d='M309.1,137c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 C340.1,159.4,318.7,153.7,309.1,137'/%3E%3Cpath fill='%23E535AB' d='M200,395.8c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 C234.9,380.1,219.3,395.8,200,395.8'/%3E%3Cpath fill='%23E535AB' d='M200,74c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 C234.9,58.4,219.3,74,200,74'/%3E%3C/g%3E%3C/svg%3E"
1134
+ },
967
1135
  "category": {
968
1136
  "id": "connectors",
969
1137
  "name": "Connectors"
@@ -979,7 +1147,7 @@
979
1147
  },
980
1148
  {
981
1149
  "id": "endpoint",
982
- "label": "HTTP Endpoint"
1150
+ "label": "HTTP endpoint"
983
1151
  },
984
1152
  {
985
1153
  "id": "graphql",
@@ -987,45 +1155,37 @@
987
1155
  },
988
1156
  {
989
1157
  "id": "timeout",
990
- "label": "Connection timeout"
1158
+ "label": "Connect timeout"
991
1159
  },
992
1160
  {
993
1161
  "id": "output",
994
- "label": "Output mapping"
1162
+ "label": "Response mapping"
995
1163
  },
996
1164
  {
997
- "id": "error",
1165
+ "id": "errors",
998
1166
  "label": "Error handling"
999
- },
1000
- {
1001
- "id": "retries",
1002
- "label": "Retries"
1003
1167
  }
1004
1168
  ],
1005
1169
  "properties": [
1006
1170
  {
1171
+ "type": "Hidden",
1007
1172
  "value": "io.camunda:connector-graphql:1",
1008
1173
  "binding": {
1009
- "property": "type",
1010
- "type": "zeebe:taskDefinition"
1011
- },
1012
- "type": "Hidden"
1174
+ "type": "zeebe:taskDefinition",
1175
+ "property": "type"
1176
+ }
1013
1177
  },
1014
1178
  {
1015
- "id": "authentication.type",
1016
1179
  "label": "Type",
1180
+ "id": "authenticationType",
1181
+ "group": "authentication",
1017
1182
  "description": "Choose the authentication type. Select 'None' if no authentication is necessary",
1018
1183
  "value": "noAuth",
1019
- "group": "authentication",
1020
- "binding": {
1021
- "name": "authentication.type",
1022
- "type": "zeebe:input"
1023
- },
1024
1184
  "type": "Dropdown",
1025
1185
  "choices": [
1026
1186
  {
1027
- "name": "API key",
1028
- "value": "apiKey"
1187
+ "name": "None",
1188
+ "value": "noAuth"
1029
1189
  },
1030
1190
  {
1031
1191
  "name": "Basic",
@@ -1035,458 +1195,320 @@
1035
1195
  "name": "Bearer token",
1036
1196
  "value": "bearer"
1037
1197
  },
1038
- {
1039
- "name": "None",
1040
- "value": "noAuth"
1041
- },
1042
1198
  {
1043
1199
  "name": "OAuth 2.0",
1044
1200
  "value": "oauth-client-credentials-flow"
1045
1201
  }
1046
- ]
1202
+ ],
1203
+ "binding": {
1204
+ "type": "zeebe:input",
1205
+ "name": "authentication.type"
1206
+ }
1047
1207
  },
1048
1208
  {
1049
- "id": "authentication.apiKeyLocation",
1050
- "label": "Api key location",
1051
- "description": "Choose type: Send API key in header or as query parameter.",
1052
- "optional": false,
1053
- "value": "headers",
1054
- "constraints": {
1055
- "notEmpty": true
1056
- },
1057
- "group": "authentication",
1209
+ "label": "URL",
1210
+ "group": "endpoint",
1211
+ "type": "String",
1212
+ "feel": "optional",
1058
1213
  "binding": {
1059
- "name": "authentication.apiKeyLocation",
1060
- "type": "zeebe:input"
1061
- },
1062
- "condition": {
1063
- "property": "authentication.type",
1064
- "equals": "apiKey",
1065
- "type": "simple"
1214
+ "type": "zeebe:input",
1215
+ "name": "graphql.url"
1066
1216
  },
1217
+ "constraints": {
1218
+ "notEmpty": true,
1219
+ "pattern": {
1220
+ "value": "^(=|(https?://|secrets\\..+|\\{\\{secrets\\..+\\}\\}).*$)",
1221
+ "message": "Must be a http(s) URL."
1222
+ }
1223
+ }
1224
+ },
1225
+ {
1226
+ "id": "method",
1227
+ "label": "Method",
1228
+ "group": "endpoint",
1067
1229
  "type": "Dropdown",
1230
+ "value": "post",
1068
1231
  "choices": [
1069
1232
  {
1070
- "name": "Headers",
1071
- "value": "headers"
1233
+ "name": "POST",
1234
+ "value": "post"
1072
1235
  },
1073
1236
  {
1074
- "name": "Query parameters",
1075
- "value": "query"
1237
+ "name": "GET",
1238
+ "value": "get"
1076
1239
  }
1077
- ]
1078
- },
1079
- {
1080
- "id": "authentication.name",
1081
- "label": "API key name",
1082
- "optional": false,
1083
- "constraints": {
1084
- "notEmpty": true
1085
- },
1086
- "feel": "optional",
1087
- "group": "authentication",
1088
- "binding": {
1089
- "name": "authentication.name",
1090
- "type": "zeebe:input"
1091
- },
1092
- "condition": {
1093
- "property": "authentication.type",
1094
- "equals": "apiKey",
1095
- "type": "simple"
1096
- },
1097
- "type": "String"
1240
+ ],
1241
+ "binding": {
1242
+ "type": "zeebe:input",
1243
+ "name": "graphql.method"
1244
+ }
1098
1245
  },
1099
1246
  {
1100
- "id": "authentication.value",
1101
- "label": "API key value",
1102
- "optional": false,
1103
- "constraints": {
1104
- "notEmpty": true
1105
- },
1106
- "feel": "optional",
1107
- "group": "authentication",
1247
+ "id": "headers",
1248
+ "label": "Headers",
1249
+ "group": "endpoint",
1250
+ "type": "Text",
1251
+ "feel": "required",
1252
+ "optional": true,
1108
1253
  "binding": {
1109
- "name": "authentication.value",
1110
- "type": "zeebe:input"
1111
- },
1112
- "condition": {
1113
- "property": "authentication.type",
1114
- "equals": "apiKey",
1115
- "type": "simple"
1116
- },
1117
- "type": "String"
1254
+ "type": "zeebe:input",
1255
+ "name": "graphql.headers"
1256
+ }
1118
1257
  },
1119
1258
  {
1120
- "id": "authentication.username",
1121
- "label": "Username",
1122
- "optional": false,
1123
- "constraints": {
1124
- "notEmpty": true
1125
- },
1126
- "feel": "optional",
1127
- "group": "authentication",
1259
+ "label": "Query/Mutation",
1260
+ "description": "See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/#querymutation\" target=\"_blank\">documentation</a>",
1261
+ "group": "graphql",
1262
+ "type": "Text",
1263
+ "language": "graphql",
1128
1264
  "binding": {
1129
- "name": "authentication.username",
1130
- "type": "zeebe:input"
1131
- },
1132
- "condition": {
1133
- "property": "authentication.type",
1134
- "equals": "basic",
1135
- "type": "simple"
1265
+ "type": "zeebe:input",
1266
+ "name": "graphql.query"
1136
1267
  },
1137
- "type": "String"
1138
- },
1139
- {
1140
- "id": "authentication.password",
1141
- "label": "Password",
1142
1268
  "optional": false,
1143
1269
  "constraints": {
1144
1270
  "notEmpty": true
1145
- },
1146
- "feel": "optional",
1147
- "group": "authentication",
1271
+ }
1272
+ },
1273
+ {
1274
+ "label": "Variables",
1275
+ "description": "Learn how to <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/#variables\" target=\"_blank\">define variables</a>",
1276
+ "group": "graphql",
1277
+ "type": "Text",
1278
+ "feel": "required",
1148
1279
  "binding": {
1149
- "name": "authentication.password",
1150
- "type": "zeebe:input"
1151
- },
1152
- "condition": {
1153
- "property": "authentication.type",
1154
- "equals": "basic",
1155
- "type": "simple"
1280
+ "type": "zeebe:input",
1281
+ "name": "graphql.variables"
1156
1282
  },
1157
- "type": "String"
1283
+ "optional": true
1158
1284
  },
1159
1285
  {
1160
- "id": "authentication.token",
1161
1286
  "label": "Bearer token",
1162
- "optional": false,
1163
- "constraints": {
1164
- "notEmpty": true
1165
- },
1166
- "feel": "optional",
1167
1287
  "group": "authentication",
1288
+ "type": "String",
1289
+ "feel": "optional",
1168
1290
  "binding": {
1169
- "name": "authentication.token",
1170
- "type": "zeebe:input"
1291
+ "type": "zeebe:input",
1292
+ "name": "graphql.authentication.token"
1171
1293
  },
1172
- "condition": {
1173
- "property": "authentication.type",
1174
- "equals": "bearer",
1175
- "type": "simple"
1294
+ "constraints": {
1295
+ "notEmpty": true
1176
1296
  },
1177
- "type": "String"
1297
+ "condition": {
1298
+ "property": "authenticationType",
1299
+ "equals": "bearer"
1300
+ }
1178
1301
  },
1179
1302
  {
1180
- "id": "authentication.oauthTokenEndpoint",
1181
- "label": "OAuth 2.0 token endpoint",
1303
+ "label": "OAuth token endpoint",
1182
1304
  "description": "The OAuth token endpoint",
1183
- "optional": false,
1184
- "constraints": {
1185
- "notEmpty": true,
1186
- "pattern": {
1187
- "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
1188
- "message": "Must be a http(s) URL"
1189
- }
1190
- },
1191
- "feel": "optional",
1192
1305
  "group": "authentication",
1306
+ "type": "String",
1307
+ "feel": "optional",
1193
1308
  "binding": {
1194
- "name": "authentication.oauthTokenEndpoint",
1195
- "type": "zeebe:input"
1309
+ "type": "zeebe:input",
1310
+ "name": "authentication.oauthTokenEndpoint"
1196
1311
  },
1197
- "condition": {
1198
- "property": "authentication.type",
1199
- "equals": "oauth-client-credentials-flow",
1200
- "type": "simple"
1312
+ "constraints": {
1313
+ "notEmpty": true
1201
1314
  },
1202
- "type": "String"
1315
+ "condition": {
1316
+ "property": "authenticationType",
1317
+ "equals": "oauth-client-credentials-flow"
1318
+ }
1203
1319
  },
1204
1320
  {
1205
- "id": "authentication.clientId",
1206
1321
  "label": "Client ID",
1207
1322
  "description": "Your application's client ID from the OAuth client",
1208
- "optional": false,
1209
- "constraints": {
1210
- "notEmpty": true
1211
- },
1212
- "feel": "optional",
1213
1323
  "group": "authentication",
1324
+ "type": "String",
1325
+ "feel": "optional",
1214
1326
  "binding": {
1215
- "name": "authentication.clientId",
1216
- "type": "zeebe:input"
1217
- },
1218
- "condition": {
1219
- "property": "authentication.type",
1220
- "equals": "oauth-client-credentials-flow",
1221
- "type": "simple"
1327
+ "type": "zeebe:input",
1328
+ "name": "authentication.clientId"
1222
1329
  },
1223
- "type": "String"
1224
- },
1225
- {
1226
- "id": "authentication.clientSecret",
1227
- "label": "Client secret",
1228
- "description": "Your application's client secret from the OAuth client",
1229
- "optional": false,
1230
1330
  "constraints": {
1231
1331
  "notEmpty": true
1232
1332
  },
1233
- "feel": "optional",
1234
- "group": "authentication",
1235
- "binding": {
1236
- "name": "authentication.clientSecret",
1237
- "type": "zeebe:input"
1238
- },
1239
1333
  "condition": {
1240
- "property": "authentication.type",
1241
- "equals": "oauth-client-credentials-flow",
1242
- "type": "simple"
1243
- },
1244
- "type": "String"
1334
+ "property": "authenticationType",
1335
+ "equals": "oauth-client-credentials-flow"
1336
+ }
1245
1337
  },
1246
1338
  {
1247
- "id": "authentication.audience",
1248
- "label": "Audience",
1249
- "description": "The unique identifier of the target API you want to access",
1250
- "optional": true,
1251
- "feel": "optional",
1339
+ "label": "Client secret",
1340
+ "description": "Your application's client secret from the OAuth client",
1252
1341
  "group": "authentication",
1342
+ "type": "String",
1343
+ "feel": "optional",
1253
1344
  "binding": {
1254
- "name": "authentication.audience",
1255
- "type": "zeebe:input"
1256
- },
1257
- "condition": {
1258
- "property": "authentication.type",
1259
- "equals": "oauth-client-credentials-flow",
1260
- "type": "simple"
1345
+ "type": "zeebe:input",
1346
+ "name": "authentication.clientSecret"
1261
1347
  },
1262
- "type": "String"
1263
- },
1264
- {
1265
- "id": "authentication.clientAuthentication",
1266
- "label": "Client authentication",
1267
- "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
1268
- "optional": false,
1269
1348
  "constraints": {
1270
1349
  "notEmpty": true
1271
1350
  },
1272
- "group": "authentication",
1273
- "binding": {
1274
- "name": "authentication.clientAuthentication",
1275
- "type": "zeebe:input"
1276
- },
1277
1351
  "condition": {
1278
- "property": "authentication.type",
1279
- "equals": "oauth-client-credentials-flow",
1280
- "type": "simple"
1281
- },
1282
- "type": "Dropdown",
1283
- "choices": [
1284
- {
1285
- "name": "Send client credentials in body",
1286
- "value": "credentialsBody"
1287
- },
1288
- {
1289
- "name": "Send as Basic Auth header",
1290
- "value": "basicAuthHeader"
1291
- }
1292
- ]
1352
+ "property": "authenticationType",
1353
+ "equals": "oauth-client-credentials-flow"
1354
+ }
1293
1355
  },
1294
1356
  {
1295
- "id": "authentication.scopes",
1296
1357
  "label": "Scopes",
1297
1358
  "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
1298
- "optional": true,
1299
- "feel": "optional",
1300
1359
  "group": "authentication",
1360
+ "type": "String",
1361
+ "feel": "optional",
1362
+ "optional": true,
1301
1363
  "binding": {
1302
- "name": "authentication.scopes",
1303
- "type": "zeebe:input"
1364
+ "type": "zeebe:input",
1365
+ "name": "authentication.scopes"
1304
1366
  },
1305
1367
  "condition": {
1306
- "property": "authentication.type",
1307
- "equals": "oauth-client-credentials-flow",
1308
- "type": "simple"
1309
- },
1310
- "type": "String"
1368
+ "property": "authenticationType",
1369
+ "equals": "oauth-client-credentials-flow"
1370
+ }
1311
1371
  },
1312
1372
  {
1313
- "id": "graphql.method",
1314
- "label": "Method",
1315
- "optional": false,
1316
- "value": "get",
1317
- "constraints": {
1318
- "notEmpty": true
1319
- },
1320
- "group": "endpoint",
1373
+ "label": "Audience",
1374
+ "description": "The unique identifier of the target API you want to access",
1375
+ "group": "authentication",
1376
+ "type": "String",
1377
+ "feel": "optional",
1378
+ "optional": true,
1321
1379
  "binding": {
1322
- "name": "graphql.method",
1323
- "type": "zeebe:input"
1380
+ "type": "zeebe:input",
1381
+ "name": "authentication.audience"
1324
1382
  },
1383
+ "condition": {
1384
+ "property": "authenticationType",
1385
+ "equals": "oauth-client-credentials-flow"
1386
+ }
1387
+ },
1388
+ {
1389
+ "label": "Client authentication",
1390
+ "id": "authentication.clientAuthentication",
1391
+ "group": "authentication",
1392
+ "description": "Send client id and client secret as Basic Auth request in the header, or as client credentials in the request body",
1393
+ "value": "basicAuthHeader",
1325
1394
  "type": "Dropdown",
1326
1395
  "choices": [
1327
1396
  {
1328
- "name": "GET",
1329
- "value": "get"
1397
+ "name": "Send client credentials in body",
1398
+ "value": "credentialsBody"
1330
1399
  },
1331
1400
  {
1332
- "name": "POST",
1333
- "value": "post"
1334
- }
1335
- ]
1336
- },
1337
- {
1338
- "id": "graphql.url",
1339
- "label": "URL",
1340
- "optional": false,
1341
- "constraints": {
1342
- "notEmpty": true,
1343
- "pattern": {
1344
- "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
1345
- "message": "Must be a http(s) URL"
1401
+ "name": "Send as Basic Auth header",
1402
+ "value": "basicAuthHeader"
1346
1403
  }
1347
- },
1348
- "feel": "optional",
1349
- "group": "endpoint",
1404
+ ],
1350
1405
  "binding": {
1351
- "name": "graphql.url",
1352
- "type": "zeebe:input"
1406
+ "type": "zeebe:input",
1407
+ "name": "authentication.clientAuthentication"
1353
1408
  },
1354
- "type": "String"
1409
+ "condition": {
1410
+ "property": "authenticationType",
1411
+ "equals": "oauth-client-credentials-flow"
1412
+ }
1355
1413
  },
1356
1414
  {
1357
- "id": "graphql.headers",
1358
- "label": "Headers",
1359
- "description": "Map of HTTP headers to add to the request",
1360
- "optional": true,
1361
- "feel": "required",
1362
- "group": "endpoint",
1415
+ "label": "Username",
1416
+ "group": "authentication",
1417
+ "type": "String",
1418
+ "feel": "optional",
1363
1419
  "binding": {
1364
- "name": "graphql.headers",
1365
- "type": "zeebe:input"
1420
+ "type": "zeebe:input",
1421
+ "name": "authentication.username"
1366
1422
  },
1367
- "type": "String"
1368
- },
1369
- {
1370
- "id": "graphql.query",
1371
- "label": "Query/Mutation",
1372
- "description": "See <a href=\"https://docs.camunda.io/docs/components/connectors/protocol/graphql/#querymutation\" target=\"_blank\">documentation</a>",
1373
- "optional": false,
1374
1423
  "constraints": {
1375
1424
  "notEmpty": true
1376
1425
  },
1377
- "feel": "optional",
1378
- "group": "graphql",
1379
- "binding": {
1380
- "name": "graphql.query",
1381
- "type": "zeebe:input"
1382
- },
1383
- "type": "Text"
1426
+ "condition": {
1427
+ "property": "authenticationType",
1428
+ "equals": "basic"
1429
+ }
1384
1430
  },
1385
1431
  {
1386
- "id": "graphql.variables",
1387
- "label": "Variables",
1388
- "optional": true,
1389
- "feel": "required",
1390
- "group": "graphql",
1432
+ "label": "Password",
1433
+ "group": "authentication",
1434
+ "type": "String",
1435
+ "feel": "optional",
1391
1436
  "binding": {
1392
- "name": "graphql.variables",
1393
- "type": "zeebe:input"
1437
+ "type": "zeebe:input",
1438
+ "name": "authentication.password"
1394
1439
  },
1395
- "type": "String"
1440
+ "constraints": {
1441
+ "notEmpty": true
1442
+ },
1443
+ "condition": {
1444
+ "property": "authenticationType",
1445
+ "equals": "basic"
1446
+ }
1396
1447
  },
1397
1448
  {
1398
- "id": "graphql.connectionTimeoutInSeconds",
1399
- "label": "Connection timeout in seconds",
1449
+ "label": "Connection timeout",
1400
1450
  "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
1401
- "optional": true,
1402
- "value": "20",
1403
- "feel": "optional",
1404
1451
  "group": "timeout",
1452
+ "type": "String",
1453
+ "value": "20",
1405
1454
  "binding": {
1406
- "name": "graphql.connectionTimeoutInSeconds",
1407
- "type": "zeebe:input"
1455
+ "type": "zeebe:input",
1456
+ "name": "graphql.connectionTimeoutInSeconds"
1408
1457
  },
1409
- "type": "String"
1458
+ "feel": "optional",
1459
+ "optional": true,
1460
+ "constraints": {
1461
+ "notEmpty": false,
1462
+ "pattern": {
1463
+ "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
1464
+ "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
1465
+ }
1466
+ }
1410
1467
  },
1411
1468
  {
1412
- "id": "resultVariable",
1413
1469
  "label": "Result variable",
1414
1470
  "description": "Name of variable to store the response in",
1415
1471
  "group": "output",
1472
+ "type": "String",
1416
1473
  "binding": {
1417
- "key": "resultVariable",
1418
- "type": "zeebe:taskHeader"
1419
- },
1420
- "type": "String"
1474
+ "type": "zeebe:taskHeader",
1475
+ "key": "resultVariable"
1476
+ }
1421
1477
  },
1422
1478
  {
1423
- "id": "resultExpression",
1424
1479
  "label": "Result expression",
1425
1480
  "description": "Expression to map the response into process variables",
1426
- "feel": "required",
1427
1481
  "group": "output",
1482
+ "type": "Text",
1483
+ "feel": "required",
1428
1484
  "binding": {
1429
- "key": "resultExpression",
1430
- "type": "zeebe:taskHeader"
1431
- },
1432
- "type": "Text"
1485
+ "type": "zeebe:taskHeader",
1486
+ "key": "resultExpression"
1487
+ }
1433
1488
  },
1434
1489
  {
1435
- "id": "errorExpression",
1436
1490
  "label": "Error expression",
1437
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
1491
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
1492
+ "group": "errors",
1493
+ "type": "Text",
1438
1494
  "feel": "required",
1439
- "group": "error",
1440
- "binding": {
1441
- "key": "errorExpression",
1442
- "type": "zeebe:taskHeader"
1443
- },
1444
- "type": "Text"
1445
- },
1446
- {
1447
- "id": "retryCount",
1448
- "label": "Retries",
1449
- "description": "Number of retries",
1450
- "value": "3",
1451
- "feel": "optional",
1452
- "group": "retries",
1453
- "binding": {
1454
- "property": "retries",
1455
- "type": "zeebe:taskDefinition"
1456
- },
1457
- "type": "String"
1458
- },
1459
- {
1460
- "id": "retryBackoff",
1461
- "label": "Retry backoff",
1462
- "description": "ISO-8601 duration to wait between retries",
1463
- "value": "PT0S",
1464
- "feel": "optional",
1465
- "group": "retries",
1466
1495
  "binding": {
1467
- "key": "retryBackoff",
1468
- "type": "zeebe:taskHeader"
1469
- },
1470
- "type": "String"
1496
+ "type": "zeebe:taskHeader",
1497
+ "key": "errorExpression"
1498
+ }
1471
1499
  }
1472
1500
  ],
1473
- "icon": {
1474
- "contents": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIGlkPSdHcmFwaFFMX0xvZ28nCiAgICAgeD0nMHB4JyB5PScwcHgnIHZpZXdCb3g9JzAgMCA0MDAgNDAwJyBlbmFibGUtYmFja2dyb3VuZD0nbmV3IDAgMCA0MDAgNDAwJyB4bWw6c3BhY2U9J3ByZXNlcnZlJz48Zz48Zz48Zz48cmVjdCB4PScxMjInIHk9Jy0wLjQnIHRyYW5zZm9ybT0nbWF0cml4KC0wLjg2NiAtMC41IDAuNSAtMC44NjYgMTYzLjMxOTYgMzYzLjMxMzYpJyBmaWxsPScjRTUzNUFCJyB3aWR0aD0nMTYuNicgaGVpZ2h0PSczMjAuMycvPjwvZz48L2c+PGc+PGc+PHJlY3QgeD0nMzkuOCcgeT0nMjcyLjInIGZpbGw9JyNFNTM1QUInIHdpZHRoPSczMjAuMycgaGVpZ2h0PScxNi42Jy8+PC9nPjwvZz48Zz48Zz48cmVjdCB4PSczNy45JyB5PSczMTIuMicgdHJhbnNmb3JtPSdtYXRyaXgoLTAuODY2IC0wLjUgMC41IC0wLjg2NiA4My4wNjkzIDY2My4zNDA5KScgZmlsbD0nI0U1MzVBQicgd2lkdGg9JzE4NScgaGVpZ2h0PScxNi42Jy8+PC9nPjwvZz48Zz48Zz48cmVjdCB4PScxNzcuMScgeT0nNzEuMScgdHJ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sMTUuNi0zNC45LDM0LjktMzQuOWMxOS4zLDAsMzQuOSwxNS42LDM0LjksMzQuOSBDMjM0LjksNTguNCwyMTkuMyw3NCwyMDAsNzQnLz48L2c+PC9zdmc+"
1475
- },
1476
1501
  "engines": {
1477
- "camunda": "^8.5"
1502
+ "camunda": "^8.2"
1478
1503
  }
1479
1504
  },
1480
1505
  {
1481
1506
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1482
- "name": "GraphQL connector",
1507
+ "name": "GraphQL Outbound Connector",
1483
1508
  "id": "io.camunda.connectors.GraphQL.v1",
1484
1509
  "description": "Execute GraphQL query",
1485
- "version": 1,
1486
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/",
1487
- "icon": {
1488
- "contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='GraphQL_Logo' x='0px' y='0px' viewBox='0 0 400 400' enable-background='new 0 0 400 400' xml:space='preserve'%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Crect x='122' y='-0.4' transform='matrix(-0.866 -0.5 0.5 -0.866 163.3196 363.3136)' fill='%23E535AB' width='16.6' height='320.3'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='39.8' y='272.2' fill='%23E535AB' width='320.3' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='37.9' y='312.2' transform='matrix(-0.866 -0.5 0.5 -0.866 83.0693 663.3409)' fill='%23E535AB' width='185' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='177.1' y='71.1' transform='matrix(-0.866 -0.5 0.5 -0.866 463.3409 283.0693)' fill='%23E535AB' width='185' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='122.1' y='-13' transform='matrix(-0.5 -0.866 0.866 -0.5 126.7903 232.1221)' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='109.6' y='151.6' transform='matrix(-0.5 -0.866 0.866 -0.5 266.0828 473.3766)' fill='%23E535AB' width='320.3' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='52.5' y='107.5' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='330.9' y='107.5' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='262.4' y='240.1' transform='matrix(-0.5 -0.866 0.866 -0.5 126.7953 714.2875)' fill='%23E535AB' width='14.5' height='160.9'/%3E%3C/g%3E%3C/g%3E%3Cpath fill='%23E535AB' d='M369.5,297.9c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 C373.5,259.9,379.2,281.2,369.5,297.9'/%3E%3Cpath fill='%23E535AB' d='M90.9,137c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 C94.8,99,100.5,120.3,90.9,137'/%3E%3Cpath fill='%23E535AB' d='M30.5,297.9c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 C61.4,320.3,40.1,314.6,30.5,297.9'/%3E%3Cpath fill='%23E535AB' d='M309.1,137c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 C340.1,159.4,318.7,153.7,309.1,137'/%3E%3Cpath fill='%23E535AB' d='M200,395.8c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 C234.9,380.1,219.3,395.8,200,395.8'/%3E%3Cpath fill='%23E535AB' d='M200,74c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 C234.9,58.4,219.3,74,200,74'/%3E%3C/g%3E%3C/svg%3E"
1489
- },
1510
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/graphql/",
1511
+ "version": 6,
1490
1512
  "category": {
1491
1513
  "id": "connectors",
1492
1514
  "name": "Connectors"
@@ -1502,7 +1524,7 @@
1502
1524
  },
1503
1525
  {
1504
1526
  "id": "endpoint",
1505
- "label": "HTTP endpoint"
1527
+ "label": "HTTP Endpoint"
1506
1528
  },
1507
1529
  {
1508
1530
  "id": "graphql",
@@ -1510,37 +1532,45 @@
1510
1532
  },
1511
1533
  {
1512
1534
  "id": "timeout",
1513
- "label": "Connect timeout"
1535
+ "label": "Connection timeout"
1514
1536
  },
1515
1537
  {
1516
1538
  "id": "output",
1517
- "label": "Response mapping"
1539
+ "label": "Output mapping"
1518
1540
  },
1519
1541
  {
1520
- "id": "errors",
1542
+ "id": "error",
1521
1543
  "label": "Error handling"
1544
+ },
1545
+ {
1546
+ "id": "retries",
1547
+ "label": "Retries"
1522
1548
  }
1523
1549
  ],
1524
1550
  "properties": [
1525
1551
  {
1526
- "type": "Hidden",
1527
1552
  "value": "io.camunda:connector-graphql:1",
1528
1553
  "binding": {
1529
- "type": "zeebe:taskDefinition",
1530
- "property": "type"
1531
- }
1554
+ "property": "type",
1555
+ "type": "zeebe:taskDefinition"
1556
+ },
1557
+ "type": "Hidden"
1532
1558
  },
1533
1559
  {
1560
+ "id": "authentication.type",
1534
1561
  "label": "Type",
1535
- "id": "authenticationType",
1536
- "group": "authentication",
1537
1562
  "description": "Choose the authentication type. Select 'None' if no authentication is necessary",
1538
1563
  "value": "noAuth",
1564
+ "group": "authentication",
1565
+ "binding": {
1566
+ "name": "authentication.type",
1567
+ "type": "zeebe:input"
1568
+ },
1539
1569
  "type": "Dropdown",
1540
1570
  "choices": [
1541
1571
  {
1542
- "name": "None",
1543
- "value": "noAuth"
1572
+ "name": "API key",
1573
+ "value": "apiKey"
1544
1574
  },
1545
1575
  {
1546
1576
  "name": "Basic",
@@ -1550,202 +1580,250 @@
1550
1580
  "name": "Bearer token",
1551
1581
  "value": "bearer"
1552
1582
  },
1583
+ {
1584
+ "name": "None",
1585
+ "value": "noAuth"
1586
+ },
1553
1587
  {
1554
1588
  "name": "OAuth 2.0",
1555
1589
  "value": "oauth-client-credentials-flow"
1556
1590
  }
1557
- ],
1558
- "binding": {
1559
- "type": "zeebe:input",
1560
- "name": "authentication.type"
1561
- }
1591
+ ]
1562
1592
  },
1563
1593
  {
1564
- "label": "URL",
1565
- "group": "endpoint",
1566
- "type": "String",
1567
- "feel": "optional",
1568
- "binding": {
1569
- "type": "zeebe:input",
1570
- "name": "graphql.url"
1571
- },
1594
+ "id": "authentication.apiKeyLocation",
1595
+ "label": "Api key location",
1596
+ "description": "Choose type: Send API key in header or as query parameter.",
1597
+ "optional": false,
1598
+ "value": "headers",
1572
1599
  "constraints": {
1573
- "notEmpty": true,
1574
- "pattern": {
1575
- "value": "^(=|(http://|https://|secrets).*$)",
1576
- "message": "Must be a http(s) URL."
1577
- }
1578
- }
1579
- },
1580
- {
1581
- "id": "method",
1582
- "label": "Method",
1583
- "group": "endpoint",
1600
+ "notEmpty": true
1601
+ },
1602
+ "group": "authentication",
1603
+ "binding": {
1604
+ "name": "authentication.apiKeyLocation",
1605
+ "type": "zeebe:input"
1606
+ },
1607
+ "condition": {
1608
+ "property": "authentication.type",
1609
+ "equals": "apiKey",
1610
+ "type": "simple"
1611
+ },
1584
1612
  "type": "Dropdown",
1585
- "value": "post",
1586
1613
  "choices": [
1587
1614
  {
1588
- "name": "POST",
1589
- "value": "post"
1615
+ "name": "Headers",
1616
+ "value": "headers"
1590
1617
  },
1591
1618
  {
1592
- "name": "GET",
1593
- "value": "get"
1619
+ "name": "Query parameters",
1620
+ "value": "query"
1594
1621
  }
1595
- ],
1596
- "binding": {
1597
- "type": "zeebe:input",
1598
- "name": "graphql.method"
1599
- }
1622
+ ]
1600
1623
  },
1601
1624
  {
1602
- "id": "headers",
1603
- "label": "Headers",
1604
- "group": "endpoint",
1605
- "type": "Text",
1606
- "feel": "required",
1607
- "optional": true,
1625
+ "id": "authentication.name",
1626
+ "label": "API key name",
1627
+ "optional": false,
1628
+ "constraints": {
1629
+ "notEmpty": true
1630
+ },
1631
+ "feel": "optional",
1632
+ "group": "authentication",
1608
1633
  "binding": {
1609
- "type": "zeebe:input",
1610
- "name": "graphql.headers"
1611
- }
1634
+ "name": "authentication.name",
1635
+ "type": "zeebe:input"
1636
+ },
1637
+ "condition": {
1638
+ "property": "authentication.type",
1639
+ "equals": "apiKey",
1640
+ "type": "simple"
1641
+ },
1642
+ "type": "String"
1612
1643
  },
1613
1644
  {
1614
- "label": "Query/Mutation",
1615
- "description": "See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/#querymutation\" target=\"_blank\">documentation</a>",
1616
- "group": "graphql",
1617
- "type": "Text",
1618
- "language": "graphql",
1619
- "binding": {
1620
- "type": "zeebe:input",
1621
- "name": "graphql.query"
1622
- },
1645
+ "id": "authentication.value",
1646
+ "label": "API key value",
1623
1647
  "optional": false,
1624
1648
  "constraints": {
1625
1649
  "notEmpty": true
1626
- }
1650
+ },
1651
+ "feel": "optional",
1652
+ "group": "authentication",
1653
+ "binding": {
1654
+ "name": "authentication.value",
1655
+ "type": "zeebe:input"
1656
+ },
1657
+ "condition": {
1658
+ "property": "authentication.type",
1659
+ "equals": "apiKey",
1660
+ "type": "simple"
1661
+ },
1662
+ "type": "String"
1627
1663
  },
1628
1664
  {
1629
- "label": "Variables",
1630
- "description": "Learn how to <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/#variables\" target=\"_blank\">define variables</a>",
1631
- "group": "graphql",
1632
- "type": "Text",
1633
- "feel": "required",
1665
+ "id": "authentication.username",
1666
+ "label": "Username",
1667
+ "optional": false,
1668
+ "constraints": {
1669
+ "notEmpty": true
1670
+ },
1671
+ "feel": "optional",
1672
+ "group": "authentication",
1634
1673
  "binding": {
1635
- "type": "zeebe:input",
1636
- "name": "graphql.variables"
1674
+ "name": "authentication.username",
1675
+ "type": "zeebe:input"
1637
1676
  },
1638
- "optional": true
1677
+ "condition": {
1678
+ "property": "authentication.type",
1679
+ "equals": "basic",
1680
+ "type": "simple"
1681
+ },
1682
+ "type": "String"
1639
1683
  },
1640
1684
  {
1641
- "label": "Bearer token",
1642
- "group": "authentication",
1643
- "type": "String",
1685
+ "id": "authentication.password",
1686
+ "label": "Password",
1687
+ "optional": false,
1688
+ "constraints": {
1689
+ "notEmpty": true
1690
+ },
1644
1691
  "feel": "optional",
1692
+ "group": "authentication",
1645
1693
  "binding": {
1646
- "type": "zeebe:input",
1647
- "name": "graphql.authentication.token"
1694
+ "name": "authentication.password",
1695
+ "type": "zeebe:input"
1696
+ },
1697
+ "condition": {
1698
+ "property": "authentication.type",
1699
+ "equals": "basic",
1700
+ "type": "simple"
1648
1701
  },
1702
+ "type": "String"
1703
+ },
1704
+ {
1705
+ "id": "authentication.token",
1706
+ "label": "Bearer token",
1707
+ "optional": false,
1649
1708
  "constraints": {
1650
1709
  "notEmpty": true
1651
1710
  },
1711
+ "feel": "optional",
1712
+ "group": "authentication",
1713
+ "binding": {
1714
+ "name": "authentication.token",
1715
+ "type": "zeebe:input"
1716
+ },
1652
1717
  "condition": {
1653
- "property": "authenticationType",
1654
- "equals": "bearer"
1655
- }
1718
+ "property": "authentication.type",
1719
+ "equals": "bearer",
1720
+ "type": "simple"
1721
+ },
1722
+ "type": "String"
1656
1723
  },
1657
1724
  {
1658
- "label": "OAuth token endpoint",
1725
+ "id": "authentication.oauthTokenEndpoint",
1726
+ "label": "OAuth 2.0 token endpoint",
1659
1727
  "description": "The OAuth token endpoint",
1660
- "group": "authentication",
1661
- "type": "String",
1728
+ "optional": false,
1729
+ "constraints": {
1730
+ "notEmpty": true,
1731
+ "pattern": {
1732
+ "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
1733
+ "message": "Must be a http(s) URL"
1734
+ }
1735
+ },
1662
1736
  "feel": "optional",
1737
+ "group": "authentication",
1663
1738
  "binding": {
1664
- "type": "zeebe:input",
1665
- "name": "authentication.oauthTokenEndpoint"
1666
- },
1667
- "constraints": {
1668
- "notEmpty": true
1739
+ "name": "authentication.oauthTokenEndpoint",
1740
+ "type": "zeebe:input"
1669
1741
  },
1670
1742
  "condition": {
1671
- "property": "authenticationType",
1672
- "equals": "oauth-client-credentials-flow"
1673
- }
1743
+ "property": "authentication.type",
1744
+ "equals": "oauth-client-credentials-flow",
1745
+ "type": "simple"
1746
+ },
1747
+ "type": "String"
1674
1748
  },
1675
1749
  {
1750
+ "id": "authentication.clientId",
1676
1751
  "label": "Client ID",
1677
1752
  "description": "Your application's client ID from the OAuth client",
1678
- "group": "authentication",
1679
- "type": "String",
1680
- "feel": "optional",
1681
- "binding": {
1682
- "type": "zeebe:input",
1683
- "name": "authentication.clientId"
1684
- },
1753
+ "optional": false,
1685
1754
  "constraints": {
1686
1755
  "notEmpty": true
1687
1756
  },
1757
+ "feel": "optional",
1758
+ "group": "authentication",
1759
+ "binding": {
1760
+ "name": "authentication.clientId",
1761
+ "type": "zeebe:input"
1762
+ },
1688
1763
  "condition": {
1689
- "property": "authenticationType",
1690
- "equals": "oauth-client-credentials-flow"
1691
- }
1764
+ "property": "authentication.type",
1765
+ "equals": "oauth-client-credentials-flow",
1766
+ "type": "simple"
1767
+ },
1768
+ "type": "String"
1692
1769
  },
1693
1770
  {
1771
+ "id": "authentication.clientSecret",
1694
1772
  "label": "Client secret",
1695
1773
  "description": "Your application's client secret from the OAuth client",
1696
- "group": "authentication",
1697
- "type": "String",
1698
- "feel": "optional",
1699
- "binding": {
1700
- "type": "zeebe:input",
1701
- "name": "authentication.clientSecret"
1702
- },
1774
+ "optional": false,
1703
1775
  "constraints": {
1704
1776
  "notEmpty": true
1705
1777
  },
1706
- "condition": {
1707
- "property": "authenticationType",
1708
- "equals": "oauth-client-credentials-flow"
1709
- }
1710
- },
1711
- {
1712
- "label": "Scopes",
1713
- "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
1714
- "group": "authentication",
1715
- "type": "String",
1716
1778
  "feel": "optional",
1717
- "optional": true,
1779
+ "group": "authentication",
1718
1780
  "binding": {
1719
- "type": "zeebe:input",
1720
- "name": "authentication.scopes"
1781
+ "name": "authentication.clientSecret",
1782
+ "type": "zeebe:input"
1721
1783
  },
1722
1784
  "condition": {
1723
- "property": "authenticationType",
1724
- "equals": "oauth-client-credentials-flow"
1725
- }
1785
+ "property": "authentication.type",
1786
+ "equals": "oauth-client-credentials-flow",
1787
+ "type": "simple"
1788
+ },
1789
+ "type": "String"
1726
1790
  },
1727
1791
  {
1792
+ "id": "authentication.audience",
1728
1793
  "label": "Audience",
1729
1794
  "description": "The unique identifier of the target API you want to access",
1730
- "group": "authentication",
1731
- "type": "String",
1732
- "feel": "optional",
1733
1795
  "optional": true,
1796
+ "feel": "optional",
1797
+ "group": "authentication",
1734
1798
  "binding": {
1735
- "type": "zeebe:input",
1736
- "name": "authentication.audience"
1799
+ "name": "authentication.audience",
1800
+ "type": "zeebe:input"
1737
1801
  },
1738
1802
  "condition": {
1739
- "property": "authenticationType",
1740
- "equals": "oauth-client-credentials-flow"
1741
- }
1803
+ "property": "authentication.type",
1804
+ "equals": "oauth-client-credentials-flow",
1805
+ "type": "simple"
1806
+ },
1807
+ "type": "String"
1742
1808
  },
1743
1809
  {
1744
- "label": "Client authentication",
1745
1810
  "id": "authentication.clientAuthentication",
1811
+ "label": "Client authentication",
1812
+ "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
1813
+ "optional": false,
1814
+ "constraints": {
1815
+ "notEmpty": true
1816
+ },
1746
1817
  "group": "authentication",
1747
- "description": "Send client id and client secret as Basic Auth request in the header, or as client credentials in the request body",
1748
- "value": "basicAuthHeader",
1818
+ "binding": {
1819
+ "name": "authentication.clientAuthentication",
1820
+ "type": "zeebe:input"
1821
+ },
1822
+ "condition": {
1823
+ "property": "authentication.type",
1824
+ "equals": "oauth-client-credentials-flow",
1825
+ "type": "simple"
1826
+ },
1749
1827
  "type": "Dropdown",
1750
1828
  "choices": [
1751
1829
  {
@@ -1756,105 +1834,192 @@
1756
1834
  "name": "Send as Basic Auth header",
1757
1835
  "value": "basicAuthHeader"
1758
1836
  }
1759
- ],
1760
- "binding": {
1761
- "type": "zeebe:input",
1762
- "name": "authentication.clientAuthentication"
1763
- },
1764
- "condition": {
1765
- "property": "authenticationType",
1766
- "equals": "oauth-client-credentials-flow"
1767
- }
1837
+ ]
1768
1838
  },
1769
1839
  {
1770
- "label": "Username",
1771
- "group": "authentication",
1772
- "type": "String",
1840
+ "id": "authentication.scopes",
1841
+ "label": "Scopes",
1842
+ "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
1843
+ "optional": true,
1773
1844
  "feel": "optional",
1845
+ "group": "authentication",
1774
1846
  "binding": {
1775
- "type": "zeebe:input",
1776
- "name": "authentication.username"
1847
+ "name": "authentication.scopes",
1848
+ "type": "zeebe:input"
1849
+ },
1850
+ "condition": {
1851
+ "property": "authentication.type",
1852
+ "equals": "oauth-client-credentials-flow",
1853
+ "type": "simple"
1777
1854
  },
1855
+ "type": "String"
1856
+ },
1857
+ {
1858
+ "id": "graphql.method",
1859
+ "label": "Method",
1860
+ "optional": false,
1861
+ "value": "get",
1778
1862
  "constraints": {
1779
1863
  "notEmpty": true
1780
1864
  },
1781
- "condition": {
1782
- "property": "authenticationType",
1783
- "equals": "basic"
1784
- }
1865
+ "group": "endpoint",
1866
+ "binding": {
1867
+ "name": "graphql.method",
1868
+ "type": "zeebe:input"
1869
+ },
1870
+ "type": "Dropdown",
1871
+ "choices": [
1872
+ {
1873
+ "name": "GET",
1874
+ "value": "get"
1875
+ },
1876
+ {
1877
+ "name": "POST",
1878
+ "value": "post"
1879
+ }
1880
+ ]
1785
1881
  },
1786
1882
  {
1787
- "label": "Password",
1788
- "group": "authentication",
1789
- "type": "String",
1883
+ "id": "graphql.url",
1884
+ "label": "URL",
1885
+ "optional": false,
1886
+ "constraints": {
1887
+ "notEmpty": true,
1888
+ "pattern": {
1889
+ "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
1890
+ "message": "Must be a http(s) URL"
1891
+ }
1892
+ },
1790
1893
  "feel": "optional",
1894
+ "group": "endpoint",
1791
1895
  "binding": {
1792
- "type": "zeebe:input",
1793
- "name": "authentication.password"
1896
+ "name": "graphql.url",
1897
+ "type": "zeebe:input"
1898
+ },
1899
+ "type": "String"
1900
+ },
1901
+ {
1902
+ "id": "graphql.headers",
1903
+ "label": "Headers",
1904
+ "description": "Map of HTTP headers to add to the request",
1905
+ "optional": true,
1906
+ "feel": "required",
1907
+ "group": "endpoint",
1908
+ "binding": {
1909
+ "name": "graphql.headers",
1910
+ "type": "zeebe:input"
1794
1911
  },
1912
+ "type": "String"
1913
+ },
1914
+ {
1915
+ "id": "graphql.query",
1916
+ "label": "Query/Mutation",
1917
+ "description": "See <a href=\"https://docs.camunda.io/docs/components/connectors/protocol/graphql/#querymutation\" target=\"_blank\">documentation</a>",
1918
+ "optional": false,
1795
1919
  "constraints": {
1796
1920
  "notEmpty": true
1797
1921
  },
1798
- "condition": {
1799
- "property": "authenticationType",
1800
- "equals": "basic"
1801
- }
1922
+ "feel": "optional",
1923
+ "group": "graphql",
1924
+ "binding": {
1925
+ "name": "graphql.query",
1926
+ "type": "zeebe:input"
1927
+ },
1928
+ "type": "Text"
1802
1929
  },
1803
1930
  {
1804
- "label": "Connection timeout",
1931
+ "id": "graphql.variables",
1932
+ "label": "Variables",
1933
+ "optional": true,
1934
+ "feel": "required",
1935
+ "group": "graphql",
1936
+ "binding": {
1937
+ "name": "graphql.variables",
1938
+ "type": "zeebe:input"
1939
+ },
1940
+ "type": "String"
1941
+ },
1942
+ {
1943
+ "id": "graphql.connectionTimeoutInSeconds",
1944
+ "label": "Connection timeout in seconds",
1805
1945
  "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
1806
- "group": "timeout",
1807
- "type": "String",
1946
+ "optional": true,
1808
1947
  "value": "20",
1948
+ "feel": "optional",
1949
+ "group": "timeout",
1809
1950
  "binding": {
1810
- "type": "zeebe:input",
1811
- "name": "graphql.connectionTimeoutInSeconds"
1951
+ "name": "graphql.connectionTimeoutInSeconds",
1952
+ "type": "zeebe:input"
1812
1953
  },
1813
- "feel": "optional",
1814
- "optional": true,
1815
- "constraints": {
1816
- "notEmpty": false,
1817
- "pattern": {
1818
- "value": "^(=|([0-9]+|secrets\\..+)$)",
1819
- "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
1820
- }
1821
- }
1954
+ "type": "String"
1822
1955
  },
1823
1956
  {
1957
+ "id": "resultVariable",
1824
1958
  "label": "Result variable",
1825
1959
  "description": "Name of variable to store the response in",
1826
1960
  "group": "output",
1827
- "type": "String",
1828
1961
  "binding": {
1829
- "type": "zeebe:taskHeader",
1830
- "key": "resultVariable"
1831
- }
1962
+ "key": "resultVariable",
1963
+ "type": "zeebe:taskHeader"
1964
+ },
1965
+ "type": "String"
1832
1966
  },
1833
1967
  {
1968
+ "id": "resultExpression",
1834
1969
  "label": "Result expression",
1835
1970
  "description": "Expression to map the response into process variables",
1836
- "group": "output",
1837
- "type": "Text",
1838
1971
  "feel": "required",
1972
+ "group": "output",
1839
1973
  "binding": {
1840
- "type": "zeebe:taskHeader",
1841
- "key": "resultExpression"
1842
- }
1974
+ "key": "resultExpression",
1975
+ "type": "zeebe:taskHeader"
1976
+ },
1977
+ "type": "Text"
1843
1978
  },
1844
1979
  {
1980
+ "id": "errorExpression",
1845
1981
  "label": "Error expression",
1846
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
1847
- "group": "errors",
1848
- "type": "Text",
1982
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
1849
1983
  "feel": "required",
1984
+ "group": "error",
1850
1985
  "binding": {
1851
- "type": "zeebe:taskHeader",
1852
- "key": "errorExpression"
1853
- }
1986
+ "key": "errorExpression",
1987
+ "type": "zeebe:taskHeader"
1988
+ },
1989
+ "type": "Text"
1990
+ },
1991
+ {
1992
+ "id": "retryCount",
1993
+ "label": "Retries",
1994
+ "description": "Number of retries",
1995
+ "value": "3",
1996
+ "feel": "optional",
1997
+ "group": "retries",
1998
+ "binding": {
1999
+ "property": "retries",
2000
+ "type": "zeebe:taskDefinition"
2001
+ },
2002
+ "type": "String"
2003
+ },
2004
+ {
2005
+ "id": "retryBackoff",
2006
+ "label": "Retry backoff",
2007
+ "description": "ISO-8601 duration to wait between retries",
2008
+ "value": "PT0S",
2009
+ "feel": "optional",
2010
+ "group": "retries",
2011
+ "binding": {
2012
+ "key": "retryBackoff",
2013
+ "type": "zeebe:taskHeader"
2014
+ },
2015
+ "type": "String"
1854
2016
  }
1855
2017
  ],
2018
+ "icon": {
2019
+ "contents": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIGlkPSdHcmFwaFFMX0xvZ28nCiAgICAgeD0nMHB4JyB5PScwcHgnIHZpZXdCb3g9JzAgMCA0MDAgNDAwJyBlbmFibGUtYmFja2dyb3VuZD0nbmV3IDAgMCA0MDAgNDAwJyB4bWw6c3BhY2U9J3ByZXNlcnZlJz48Zz48Zz48Zz48cmVjdCB4PScxMjInIHk9Jy0wLjQnIHRyYW5zZm9ybT0nbWF0cml4KC0wLjg2NiAtMC41IDAuNSAtMC44NjYgMTYzLjMxOTYgMzYzLjMxMzYpJyBmaWxsPScjRTUzNUFCJyB3aWR0aD0nMTYuNicgaGVpZ2h0PSczM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zMTguNywxNTMuNywzMDkuMSwxMzcnLz48cGF0aAogICAgICAgIGZpbGw9JyNFNTM1QUInCiAgICAgICAgZD0nTTIwMCwzOTUuOGMtMTkuMywwLTM0LjktMTUuNi0zNC45LTM0LjljMC0xOS4zLDE1LjYtMzQuOSwzNC45LTM0LjljMTkuMywwLDM0LjksMTUuNiwzNC45LDM0LjkgQzIzNC45LDM4MC4xLDIxOS4zLDM5NS44LDIwMCwzOTUuOCcvPjxwYXRoCiAgICAgICAgZmlsbD0nI0U1MzVBQicKICAgICAgICBkPSdNMjAwLDc0Yy0xOS4zLDAtMzQuOS0xNS42LTM0LjktMzQuOWMwLTE5LjMsMTUuNi0zNC45LDM0LjktMzQuOWMxOS4zLDAsMzQuOSwxNS42LDM0LjksMzQuOSBDMjM0LjksNTguNCwyMTkuMyw3NCwyMDAsNzQnLz48L2c+PC9zdmc+"
2020
+ },
1856
2021
  "engines": {
1857
- "camunda": "^8.2"
2022
+ "camunda": "^8.5"
1858
2023
  }
1859
2024
  },
1860
2025
  {
@@ -2806,11 +2971,11 @@
2806
2971
  "name": "GraphQL Outbound Connector",
2807
2972
  "id": "io.camunda.connectors.GraphQL.v1",
2808
2973
  "description": "Execute GraphQL query",
2809
- "metadata": {
2810
- "keywords": []
2974
+ "version": 3,
2975
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/",
2976
+ "icon": {
2977
+ "contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='GraphQL_Logo' x='0px' y='0px' viewBox='0 0 400 400' enable-background='new 0 0 400 400' xml:space='preserve'%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Crect x='122' y='-0.4' transform='matrix(-0.866 -0.5 0.5 -0.866 163.3196 363.3136)' fill='%23E535AB' width='16.6' height='320.3'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='39.8' y='272.2' fill='%23E535AB' width='320.3' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='37.9' y='312.2' transform='matrix(-0.866 -0.5 0.5 -0.866 83.0693 663.3409)' fill='%23E535AB' width='185' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='177.1' y='71.1' transform='matrix(-0.866 -0.5 0.5 -0.866 463.3409 283.0693)' fill='%23E535AB' width='185' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='122.1' y='-13' transform='matrix(-0.5 -0.866 0.866 -0.5 126.7903 232.1221)' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='109.6' y='151.6' transform='matrix(-0.5 -0.866 0.866 -0.5 266.0828 473.3766)' fill='%23E535AB' width='320.3' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='52.5' y='107.5' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='330.9' y='107.5' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='262.4' y='240.1' transform='matrix(-0.5 -0.866 0.866 -0.5 126.7953 714.2875)' fill='%23E535AB' width='14.5' height='160.9'/%3E%3C/g%3E%3C/g%3E%3Cpath fill='%23E535AB' d='M369.5,297.9c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 C373.5,259.9,379.2,281.2,369.5,297.9'/%3E%3Cpath fill='%23E535AB' d='M90.9,137c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 C94.8,99,100.5,120.3,90.9,137'/%3E%3Cpath fill='%23E535AB' d='M30.5,297.9c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 C61.4,320.3,40.1,314.6,30.5,297.9'/%3E%3Cpath fill='%23E535AB' d='M309.1,137c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 C340.1,159.4,318.7,153.7,309.1,137'/%3E%3Cpath fill='%23E535AB' d='M200,395.8c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 C234.9,380.1,219.3,395.8,200,395.8'/%3E%3Cpath fill='%23E535AB' d='M200,74c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 C234.9,58.4,219.3,74,200,74'/%3E%3C/g%3E%3C/svg%3E"
2811
2978
  },
2812
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/graphql/",
2813
- "version": 7,
2814
2979
  "category": {
2815
2980
  "id": "connectors",
2816
2981
  "name": "Connectors"
@@ -2819,9 +2984,6 @@
2819
2984
  "elementType": {
2820
2985
  "value": "bpmn:ServiceTask"
2821
2986
  },
2822
- "engines": {
2823
- "camunda": "^8.3"
2824
- },
2825
2987
  "groups": [
2826
2988
  {
2827
2989
  "id": "authentication",
@@ -2829,7 +2991,7 @@
2829
2991
  },
2830
2992
  {
2831
2993
  "id": "endpoint",
2832
- "label": "HTTP Endpoint"
2994
+ "label": "HTTP endpoint"
2833
2995
  },
2834
2996
  {
2835
2997
  "id": "graphql",
@@ -2837,298 +2999,242 @@
2837
2999
  },
2838
3000
  {
2839
3001
  "id": "timeout",
2840
- "label": "Connection timeout"
3002
+ "label": "Connect timeout"
2841
3003
  },
2842
3004
  {
2843
3005
  "id": "output",
2844
- "label": "Output mapping"
3006
+ "label": "Response mapping"
2845
3007
  },
2846
3008
  {
2847
- "id": "error",
3009
+ "id": "errors",
2848
3010
  "label": "Error handling"
2849
- },
2850
- {
2851
- "id": "retries",
2852
- "label": "Retries"
2853
3011
  }
2854
3012
  ],
2855
3013
  "properties": [
2856
3014
  {
3015
+ "type": "Hidden",
2857
3016
  "value": "io.camunda:connector-graphql:1",
2858
3017
  "binding": {
2859
- "property": "type",
2860
- "type": "zeebe:taskDefinition"
2861
- },
2862
- "type": "Hidden"
3018
+ "type": "zeebe:taskDefinition",
3019
+ "property": "type"
3020
+ }
2863
3021
  },
2864
3022
  {
2865
- "id": "authentication.type",
2866
3023
  "label": "Type",
3024
+ "id": "authenticationType",
3025
+ "group": "authentication",
2867
3026
  "description": "Choose the authentication type. Select 'None' if no authentication is necessary",
2868
3027
  "value": "noAuth",
2869
- "group": "authentication",
2870
- "binding": {
2871
- "name": "authentication.type",
2872
- "type": "zeebe:input"
2873
- },
2874
3028
  "type": "Dropdown",
2875
3029
  "choices": [
2876
3030
  {
2877
- "name": "API key",
2878
- "value": "apiKey"
3031
+ "name": "None",
3032
+ "value": "noAuth"
2879
3033
  },
2880
3034
  {
2881
3035
  "name": "Basic",
2882
3036
  "value": "basic"
2883
3037
  },
2884
- {
2885
- "name": "Bearer token",
2886
- "value": "bearer"
2887
- },
2888
- {
2889
- "name": "None",
2890
- "value": "noAuth"
3038
+ {
3039
+ "name": "Bearer token",
3040
+ "value": "bearer"
2891
3041
  },
2892
3042
  {
2893
3043
  "name": "OAuth 2.0",
2894
3044
  "value": "oauth-client-credentials-flow"
2895
3045
  }
2896
- ]
3046
+ ],
3047
+ "binding": {
3048
+ "type": "zeebe:input",
3049
+ "name": "authentication.type"
3050
+ }
2897
3051
  },
2898
3052
  {
2899
- "id": "authentication.apiKeyLocation",
2900
- "label": "Api key location",
2901
- "description": "Choose type: Send API key in header or as query parameter.",
2902
- "optional": false,
2903
- "value": "headers",
2904
- "constraints": {
2905
- "notEmpty": true
2906
- },
2907
- "group": "authentication",
3053
+ "label": "URL",
3054
+ "group": "endpoint",
3055
+ "type": "String",
3056
+ "feel": "optional",
2908
3057
  "binding": {
2909
- "name": "authentication.apiKeyLocation",
2910
- "type": "zeebe:input"
2911
- },
2912
- "condition": {
2913
- "property": "authentication.type",
2914
- "equals": "apiKey",
2915
- "type": "simple"
3058
+ "type": "zeebe:input",
3059
+ "name": "graphql.url"
2916
3060
  },
3061
+ "constraints": {
3062
+ "notEmpty": true,
3063
+ "pattern": {
3064
+ "value": "^(=|(https?://|\\{\\{secrets\\..+\\}\\}).*$)",
3065
+ "message": "Must be a http(s) URL."
3066
+ }
3067
+ }
3068
+ },
3069
+ {
3070
+ "id": "method",
3071
+ "label": "Method",
3072
+ "group": "endpoint",
2917
3073
  "type": "Dropdown",
3074
+ "value": "post",
2918
3075
  "choices": [
2919
3076
  {
2920
- "name": "Headers",
2921
- "value": "headers"
3077
+ "name": "POST",
3078
+ "value": "post"
2922
3079
  },
2923
3080
  {
2924
- "name": "Query parameters",
2925
- "value": "query"
3081
+ "name": "GET",
3082
+ "value": "get"
2926
3083
  }
2927
- ]
3084
+ ],
3085
+ "binding": {
3086
+ "type": "zeebe:input",
3087
+ "name": "graphql.method"
3088
+ }
2928
3089
  },
2929
3090
  {
2930
- "id": "authentication.name",
2931
- "label": "API key name",
2932
- "optional": false,
2933
- "constraints": {
2934
- "notEmpty": true
2935
- },
2936
- "feel": "optional",
2937
- "group": "authentication",
3091
+ "id": "headers",
3092
+ "label": "Headers",
3093
+ "group": "endpoint",
3094
+ "type": "Text",
3095
+ "feel": "required",
3096
+ "optional": true,
2938
3097
  "binding": {
2939
- "name": "authentication.name",
2940
- "type": "zeebe:input"
2941
- },
2942
- "condition": {
2943
- "property": "authentication.type",
2944
- "equals": "apiKey",
2945
- "type": "simple"
2946
- },
2947
- "type": "String"
3098
+ "type": "zeebe:input",
3099
+ "name": "graphql.headers"
3100
+ }
2948
3101
  },
2949
3102
  {
2950
- "id": "authentication.value",
2951
- "label": "API key value",
2952
- "optional": false,
2953
- "constraints": {
2954
- "notEmpty": true
2955
- },
2956
- "feel": "optional",
2957
- "group": "authentication",
3103
+ "label": "Query/Mutation",
3104
+ "description": "See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/#querymutation\" target=\"_blank\">documentation</a>",
3105
+ "group": "graphql",
3106
+ "type": "Text",
3107
+ "language": "graphql",
2958
3108
  "binding": {
2959
- "name": "authentication.value",
2960
- "type": "zeebe:input"
2961
- },
2962
- "condition": {
2963
- "property": "authentication.type",
2964
- "equals": "apiKey",
2965
- "type": "simple"
3109
+ "type": "zeebe:input",
3110
+ "name": "graphql.query"
2966
3111
  },
2967
- "type": "String"
2968
- },
2969
- {
2970
- "id": "authentication.username",
2971
- "label": "Username",
2972
3112
  "optional": false,
2973
3113
  "constraints": {
2974
3114
  "notEmpty": true
2975
- },
2976
- "feel": "optional",
2977
- "group": "authentication",
2978
- "binding": {
2979
- "name": "authentication.username",
2980
- "type": "zeebe:input"
2981
- },
2982
- "condition": {
2983
- "property": "authentication.type",
2984
- "equals": "basic",
2985
- "type": "simple"
2986
- },
2987
- "type": "String"
3115
+ }
2988
3116
  },
2989
3117
  {
2990
- "id": "authentication.password",
2991
- "label": "Password",
2992
- "optional": false,
2993
- "constraints": {
2994
- "notEmpty": true
2995
- },
2996
- "feel": "optional",
2997
- "group": "authentication",
3118
+ "label": "Variables",
3119
+ "description": "Learn how to <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/#variables\" target=\"_blank\">define variables</a>",
3120
+ "group": "graphql",
3121
+ "type": "Text",
3122
+ "feel": "required",
2998
3123
  "binding": {
2999
- "name": "authentication.password",
3000
- "type": "zeebe:input"
3001
- },
3002
- "condition": {
3003
- "property": "authentication.type",
3004
- "equals": "basic",
3005
- "type": "simple"
3124
+ "type": "zeebe:input",
3125
+ "name": "graphql.variables"
3006
3126
  },
3007
- "type": "String"
3127
+ "optional": true
3008
3128
  },
3009
3129
  {
3010
- "id": "authentication.token",
3011
3130
  "label": "Bearer token",
3012
- "optional": false,
3013
- "constraints": {
3014
- "notEmpty": true
3015
- },
3016
- "feel": "optional",
3017
3131
  "group": "authentication",
3132
+ "type": "String",
3133
+ "feel": "optional",
3018
3134
  "binding": {
3019
- "name": "authentication.token",
3020
- "type": "zeebe:input"
3135
+ "type": "zeebe:input",
3136
+ "name": "graphql.authentication.token"
3021
3137
  },
3022
- "condition": {
3023
- "property": "authentication.type",
3024
- "equals": "bearer",
3025
- "type": "simple"
3138
+ "constraints": {
3139
+ "notEmpty": true
3026
3140
  },
3027
- "type": "String"
3141
+ "condition": {
3142
+ "property": "authenticationType",
3143
+ "equals": "bearer"
3144
+ }
3028
3145
  },
3029
3146
  {
3030
- "id": "authentication.oauthTokenEndpoint",
3031
- "label": "OAuth 2.0 token endpoint",
3147
+ "label": "OAuth token endpoint",
3032
3148
  "description": "The OAuth token endpoint",
3033
- "optional": false,
3034
- "constraints": {
3035
- "notEmpty": true,
3036
- "pattern": {
3037
- "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
3038
- "message": "Must be a http(s) URL"
3039
- }
3040
- },
3041
- "feel": "optional",
3042
3149
  "group": "authentication",
3150
+ "type": "String",
3151
+ "feel": "optional",
3043
3152
  "binding": {
3044
- "name": "authentication.oauthTokenEndpoint",
3045
- "type": "zeebe:input"
3153
+ "type": "zeebe:input",
3154
+ "name": "authentication.oauthTokenEndpoint"
3046
3155
  },
3047
- "condition": {
3048
- "property": "authentication.type",
3049
- "equals": "oauth-client-credentials-flow",
3050
- "type": "simple"
3156
+ "constraints": {
3157
+ "notEmpty": true
3051
3158
  },
3052
- "type": "String"
3159
+ "condition": {
3160
+ "property": "authenticationType",
3161
+ "equals": "oauth-client-credentials-flow"
3162
+ }
3053
3163
  },
3054
3164
  {
3055
- "id": "authentication.clientId",
3056
3165
  "label": "Client ID",
3057
3166
  "description": "Your application's client ID from the OAuth client",
3058
- "optional": false,
3059
- "constraints": {
3060
- "notEmpty": true
3061
- },
3062
- "feel": "optional",
3063
3167
  "group": "authentication",
3168
+ "type": "String",
3169
+ "feel": "optional",
3064
3170
  "binding": {
3065
- "name": "authentication.clientId",
3066
- "type": "zeebe:input"
3171
+ "type": "zeebe:input",
3172
+ "name": "authentication.clientId"
3067
3173
  },
3068
- "condition": {
3069
- "property": "authentication.type",
3070
- "equals": "oauth-client-credentials-flow",
3071
- "type": "simple"
3174
+ "constraints": {
3175
+ "notEmpty": true
3072
3176
  },
3073
- "type": "String"
3177
+ "condition": {
3178
+ "property": "authenticationType",
3179
+ "equals": "oauth-client-credentials-flow"
3180
+ }
3074
3181
  },
3075
3182
  {
3076
- "id": "authentication.clientSecret",
3077
3183
  "label": "Client secret",
3078
3184
  "description": "Your application's client secret from the OAuth client",
3079
- "optional": false,
3185
+ "group": "authentication",
3186
+ "type": "String",
3187
+ "feel": "optional",
3188
+ "binding": {
3189
+ "type": "zeebe:input",
3190
+ "name": "authentication.clientSecret"
3191
+ },
3080
3192
  "constraints": {
3081
3193
  "notEmpty": true
3082
3194
  },
3083
- "feel": "optional",
3195
+ "condition": {
3196
+ "property": "authenticationType",
3197
+ "equals": "oauth-client-credentials-flow"
3198
+ }
3199
+ },
3200
+ {
3201
+ "label": "Scopes",
3202
+ "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
3084
3203
  "group": "authentication",
3204
+ "type": "String",
3205
+ "feel": "optional",
3206
+ "optional": true,
3085
3207
  "binding": {
3086
- "name": "authentication.clientSecret",
3087
- "type": "zeebe:input"
3208
+ "type": "zeebe:input",
3209
+ "name": "authentication.scopes"
3088
3210
  },
3089
3211
  "condition": {
3090
- "property": "authentication.type",
3091
- "equals": "oauth-client-credentials-flow",
3092
- "type": "simple"
3093
- },
3094
- "type": "String"
3212
+ "property": "authenticationType",
3213
+ "equals": "oauth-client-credentials-flow"
3214
+ }
3095
3215
  },
3096
3216
  {
3097
- "id": "authentication.audience",
3098
3217
  "label": "Audience",
3099
3218
  "description": "The unique identifier of the target API you want to access",
3100
- "optional": true,
3101
- "feel": "optional",
3102
3219
  "group": "authentication",
3220
+ "type": "String",
3221
+ "feel": "optional",
3222
+ "optional": true,
3103
3223
  "binding": {
3104
- "name": "authentication.audience",
3105
- "type": "zeebe:input"
3224
+ "type": "zeebe:input",
3225
+ "name": "authentication.audience"
3106
3226
  },
3107
3227
  "condition": {
3108
- "property": "authentication.type",
3109
- "equals": "oauth-client-credentials-flow",
3110
- "type": "simple"
3111
- },
3112
- "type": "String"
3228
+ "property": "authenticationType",
3229
+ "equals": "oauth-client-credentials-flow"
3230
+ }
3113
3231
  },
3114
3232
  {
3115
- "id": "authentication.clientAuthentication",
3116
3233
  "label": "Client authentication",
3117
- "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
3118
- "optional": false,
3119
- "constraints": {
3120
- "notEmpty": true
3121
- },
3234
+ "id": "authentication.clientAuthentication",
3122
3235
  "group": "authentication",
3123
- "binding": {
3124
- "name": "authentication.clientAuthentication",
3125
- "type": "zeebe:input"
3126
- },
3127
- "condition": {
3128
- "property": "authentication.type",
3129
- "equals": "oauth-client-credentials-flow",
3130
- "type": "simple"
3131
- },
3236
+ "description": "Send client id and client secret as Basic Auth request in the header, or as client credentials in the request body",
3237
+ "value": "basicAuthHeader",
3132
3238
  "type": "Dropdown",
3133
3239
  "choices": [
3134
3240
  {
@@ -3139,202 +3245,105 @@
3139
3245
  "name": "Send as Basic Auth header",
3140
3246
  "value": "basicAuthHeader"
3141
3247
  }
3142
- ]
3143
- },
3144
- {
3145
- "id": "authentication.scopes",
3146
- "label": "Scopes",
3147
- "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
3148
- "optional": true,
3149
- "feel": "optional",
3150
- "group": "authentication",
3248
+ ],
3151
3249
  "binding": {
3152
- "name": "authentication.scopes",
3153
- "type": "zeebe:input"
3250
+ "type": "zeebe:input",
3251
+ "name": "authentication.clientAuthentication"
3154
3252
  },
3155
3253
  "condition": {
3156
- "property": "authentication.type",
3157
- "equals": "oauth-client-credentials-flow",
3158
- "type": "simple"
3159
- },
3160
- "type": "String"
3161
- },
3162
- {
3163
- "id": "graphql.method",
3164
- "label": "Method",
3165
- "optional": false,
3166
- "value": "get",
3167
- "constraints": {
3168
- "notEmpty": true
3169
- },
3170
- "group": "endpoint",
3171
- "binding": {
3172
- "name": "graphql.method",
3173
- "type": "zeebe:input"
3174
- },
3175
- "type": "Dropdown",
3176
- "choices": [
3177
- {
3178
- "name": "GET",
3179
- "value": "get"
3180
- },
3181
- {
3182
- "name": "POST",
3183
- "value": "post"
3184
- }
3185
- ]
3254
+ "property": "authenticationType",
3255
+ "equals": "oauth-client-credentials-flow"
3256
+ }
3186
3257
  },
3187
3258
  {
3188
- "id": "graphql.url",
3189
- "label": "URL",
3190
- "optional": false,
3191
- "constraints": {
3192
- "notEmpty": true,
3193
- "pattern": {
3194
- "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
3195
- "message": "Must be a http(s) URL"
3196
- }
3197
- },
3259
+ "label": "Username",
3260
+ "group": "authentication",
3261
+ "type": "String",
3198
3262
  "feel": "optional",
3199
- "group": "endpoint",
3200
3263
  "binding": {
3201
- "name": "graphql.url",
3202
- "type": "zeebe:input"
3264
+ "type": "zeebe:input",
3265
+ "name": "authentication.username"
3203
3266
  },
3204
- "type": "String"
3205
- },
3206
- {
3207
- "id": "graphql.headers",
3208
- "label": "Headers",
3209
- "description": "Map of HTTP headers to add to the request",
3210
- "optional": true,
3211
- "feel": "required",
3212
- "group": "endpoint",
3213
- "binding": {
3214
- "name": "graphql.headers",
3215
- "type": "zeebe:input"
3267
+ "constraints": {
3268
+ "notEmpty": true
3216
3269
  },
3217
- "type": "String"
3270
+ "condition": {
3271
+ "property": "authenticationType",
3272
+ "equals": "basic"
3273
+ }
3218
3274
  },
3219
3275
  {
3220
- "id": "graphql.storeResponse",
3221
- "label": "Store response",
3222
- "description": "Store the response as a document in the document store",
3223
- "optional": false,
3224
- "value": false,
3225
- "feel": "static",
3226
- "group": "endpoint",
3276
+ "label": "Password",
3277
+ "group": "authentication",
3278
+ "type": "String",
3279
+ "feel": "optional",
3227
3280
  "binding": {
3228
- "name": "graphql.storeResponse",
3229
- "type": "zeebe:input"
3281
+ "type": "zeebe:input",
3282
+ "name": "authentication.password"
3230
3283
  },
3231
- "type": "Boolean"
3232
- },
3233
- {
3234
- "id": "graphql.query",
3235
- "label": "Query/Mutation",
3236
- "description": "See <a href=\"https://docs.camunda.io/docs/components/connectors/protocol/graphql/#querymutation\" target=\"_blank\">documentation</a>",
3237
- "optional": false,
3238
3284
  "constraints": {
3239
3285
  "notEmpty": true
3240
3286
  },
3241
- "feel": "optional",
3242
- "group": "graphql",
3243
- "binding": {
3244
- "name": "graphql.query",
3245
- "type": "zeebe:input"
3246
- },
3247
- "type": "Text"
3248
- },
3249
- {
3250
- "id": "graphql.variables",
3251
- "label": "Variables",
3252
- "optional": true,
3253
- "feel": "required",
3254
- "group": "graphql",
3255
- "binding": {
3256
- "name": "graphql.variables",
3257
- "type": "zeebe:input"
3258
- },
3259
- "type": "String"
3287
+ "condition": {
3288
+ "property": "authenticationType",
3289
+ "equals": "basic"
3290
+ }
3260
3291
  },
3261
3292
  {
3262
- "id": "graphql.connectionTimeoutInSeconds",
3263
- "label": "Connection timeout in seconds",
3293
+ "label": "Connection timeout",
3264
3294
  "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
3265
- "optional": true,
3266
- "value": 20,
3267
- "feel": "static",
3268
3295
  "group": "timeout",
3296
+ "type": "String",
3297
+ "value": "20",
3269
3298
  "binding": {
3270
- "name": "graphql.connectionTimeoutInSeconds",
3271
- "type": "zeebe:input"
3299
+ "type": "zeebe:input",
3300
+ "name": "graphql.connectionTimeoutInSeconds"
3272
3301
  },
3273
- "type": "Number"
3302
+ "feel": "optional",
3303
+ "optional": true,
3304
+ "constraints": {
3305
+ "notEmpty": false,
3306
+ "pattern": {
3307
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
3308
+ "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
3309
+ }
3310
+ }
3274
3311
  },
3275
3312
  {
3276
- "id": "resultVariable",
3277
3313
  "label": "Result variable",
3278
3314
  "description": "Name of variable to store the response in",
3279
3315
  "group": "output",
3316
+ "type": "String",
3280
3317
  "binding": {
3281
- "key": "resultVariable",
3282
- "type": "zeebe:taskHeader"
3283
- },
3284
- "type": "String"
3318
+ "type": "zeebe:taskHeader",
3319
+ "key": "resultVariable"
3320
+ }
3285
3321
  },
3286
3322
  {
3287
- "id": "resultExpression",
3288
3323
  "label": "Result expression",
3289
3324
  "description": "Expression to map the response into process variables",
3290
- "feel": "required",
3291
3325
  "group": "output",
3326
+ "type": "Text",
3327
+ "feel": "required",
3292
3328
  "binding": {
3293
- "key": "resultExpression",
3294
- "type": "zeebe:taskHeader"
3295
- },
3296
- "type": "Text"
3329
+ "type": "zeebe:taskHeader",
3330
+ "key": "resultExpression"
3331
+ }
3297
3332
  },
3298
3333
  {
3299
- "id": "errorExpression",
3300
3334
  "label": "Error expression",
3301
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
3335
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
3336
+ "group": "errors",
3337
+ "type": "Text",
3302
3338
  "feel": "required",
3303
- "group": "error",
3304
- "binding": {
3305
- "key": "errorExpression",
3306
- "type": "zeebe:taskHeader"
3307
- },
3308
- "type": "Text"
3309
- },
3310
- {
3311
- "id": "retryCount",
3312
- "label": "Retries",
3313
- "description": "Number of retries",
3314
- "value": "3",
3315
- "feel": "optional",
3316
- "group": "retries",
3317
- "binding": {
3318
- "property": "retries",
3319
- "type": "zeebe:taskDefinition"
3320
- },
3321
- "type": "String"
3322
- },
3323
- {
3324
- "id": "retryBackoff",
3325
- "label": "Retry backoff",
3326
- "description": "ISO-8601 duration to wait between retries",
3327
- "value": "PT0S",
3328
- "group": "retries",
3329
3339
  "binding": {
3330
- "key": "retryBackoff",
3331
- "type": "zeebe:taskHeader"
3332
- },
3333
- "type": "String"
3340
+ "type": "zeebe:taskHeader",
3341
+ "key": "errorExpression"
3342
+ }
3334
3343
  }
3335
3344
  ],
3336
- "icon": {
3337
- "contents": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIGlkPSdHcmFwaFFMX0xvZ28nCiAgICAgeD0nMHB4JyB5PScwcHgnIHZpZXdCb3g9JzAgMCA0MDAgNDAwJyBlbmFibGUtYmFja2dyb3VuZD0nbmV3IDAgMCA0MDAgNDAwJyB4bWw6c3BhY2U9J3ByZXNlcnZlJz48Zz48Zz48Zz48cmVjdCB4PScxMjInIHk9Jy0wLjQnIHRyYW5zZm9ybT0nbWF0cml4KC0wLjg2NiAtMC41IDAuNSAtMC44NjYgMTYzLjMxOTYgMzYzLjMxMzYpJyBmaWxsPScjRTUzNUFCJyB3aWR0aD0nMTYuNicgaGVpZ2h0PSczMjAuMycvPjwvZz48L2c+PGc+PGc+PHJlY3QgeD0nMzkuOCcgeT0nMjcyLjInIGZpbGw9JyNFNTM1QUInIHdpZHRoPSczMjAuMycgaGVpZ2h0PScxNi42Jy8+PC9nPjwvZz48Zz48Zz48cmVjdCB4PSczNy45JyB5PSczMTIuMicgdHJhbnNmb3JtPSdtYXRyaXgoLTAuODY2IC0wLjUgMC41IC0wLjg2NiA4My4wNjkzIDY2My4zNDA5KScgZmlsbD0nI0U1MzVBQicgd2lkdGg9JzE4NScgaGVpZ2h0PScxNi42Jy8+PC9nPjwvZz48Zz48Zz48cmVjdCB4PScxNzcuMScgeT0nNzEuMScgdHJhbnNmb3JtPSdtYXRyaXgoLTAuODY2IC0wLjUgMC41IC0wLjg2NiA0NjMuMzQwOSAyODMuMDY5MyknIGZpbGw9JyNFNTM1QUInIHdpZHRoPScxODUnIGhlaWdodD0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 "engines": {
3346
+ "camunda": "^8.2"
3338
3347
  }
3339
3348
  },
3340
3349
  {
@@ -3342,7 +3351,7 @@
3342
3351
  "name": "GraphQL connector",
3343
3352
  "id": "io.camunda.connectors.GraphQL.v1",
3344
3353
  "description": "Execute GraphQL query",
3345
- "version": 2,
3354
+ "version": 1,
3346
3355
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/",
3347
3356
  "icon": {
3348
3357
  "contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='GraphQL_Logo' x='0px' y='0px' viewBox='0 0 400 400' enable-background='new 0 0 400 400' xml:space='preserve'%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Crect x='122' y='-0.4' transform='matrix(-0.866 -0.5 0.5 -0.866 163.3196 363.3136)' fill='%23E535AB' width='16.6' height='320.3'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='39.8' y='272.2' fill='%23E535AB' width='320.3' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='37.9' y='312.2' transform='matrix(-0.866 -0.5 0.5 -0.866 83.0693 663.3409)' fill='%23E535AB' width='185' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='177.1' y='71.1' transform='matrix(-0.866 -0.5 0.5 -0.866 463.3409 283.0693)' fill='%23E535AB' width='185' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='122.1' y='-13' transform='matrix(-0.5 -0.866 0.866 -0.5 126.7903 232.1221)' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='109.6' y='151.6' transform='matrix(-0.5 -0.866 0.866 -0.5 266.0828 473.3766)' fill='%23E535AB' width='320.3' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='52.5' y='107.5' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='330.9' y='107.5' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='262.4' y='240.1' transform='matrix(-0.5 -0.866 0.866 -0.5 126.7953 714.2875)' fill='%23E535AB' width='14.5' height='160.9'/%3E%3C/g%3E%3C/g%3E%3Cpath fill='%23E535AB' d='M369.5,297.9c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 C373.5,259.9,379.2,281.2,369.5,297.9'/%3E%3Cpath fill='%23E535AB' d='M90.9,137c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 C94.8,99,100.5,120.3,90.9,137'/%3E%3Cpath fill='%23E535AB' d='M30.5,297.9c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 C61.4,320.3,40.1,314.6,30.5,297.9'/%3E%3Cpath fill='%23E535AB' d='M309.1,137c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 C340.1,159.4,318.7,153.7,309.1,137'/%3E%3Cpath fill='%23E535AB' d='M200,395.8c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 C234.9,380.1,219.3,395.8,200,395.8'/%3E%3Cpath fill='%23E535AB' d='M200,74c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 C234.9,58.4,219.3,74,200,74'/%3E%3C/g%3E%3C/svg%3E"
@@ -3432,7 +3441,7 @@
3432
3441
  "constraints": {
3433
3442
  "notEmpty": true,
3434
3443
  "pattern": {
3435
- "value": "^(=|(https?://|secrets\\..+|\\{\\{secrets\\..+\\}\\}).*$)",
3444
+ "value": "^(=|(http://|https://|secrets).*$)",
3436
3445
  "message": "Must be a http(s) URL."
3437
3446
  }
3438
3447
  }
@@ -3675,7 +3684,7 @@
3675
3684
  "constraints": {
3676
3685
  "notEmpty": false,
3677
3686
  "pattern": {
3678
- "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
3687
+ "value": "^(=|([0-9]+|secrets\\..+)$)",
3679
3688
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
3680
3689
  }
3681
3690
  }