@camunda/connectors-element-templates 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/package.json +1 -1
  2. package/src/build_element_template_array_json_files.sh +9 -0
  3. package/src/connectors.js +2 -2
  4. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +1 -0
  5. package/src/element-templates/agenticai-aiagent-job-worker.json +1618 -0
  6. package/src/element-templates/agenticai-aiagent-outbound-connector.json +1593 -36
  7. package/src/element-templates/asana-connector.json +99 -99
  8. package/src/element-templates/automation-anywhere-outbound-connector.json +70 -70
  9. package/src/element-templates/aws-comprehend-outbound-connector.json +36 -36
  10. package/src/element-templates/aws-dynamodb-outbound-connector.json +1423 -1423
  11. package/src/element-templates/aws-eventbridge-connector-boundary.json +26 -26
  12. package/src/element-templates/aws-eventbridge-connector-intermediate.json +38 -38
  13. package/src/element-templates/aws-eventbridge-connector-start-event.json +26 -26
  14. package/src/element-templates/aws-eventbridge-outbound-connector.json +475 -475
  15. package/src/element-templates/aws-lambda-outbound-connector.json +314 -314
  16. package/src/element-templates/aws-sns-inbound-boundary.json +193 -193
  17. package/src/element-templates/aws-sns-inbound-intermediate.json +229 -229
  18. package/src/element-templates/aws-sns-inbound-start-event.json +6 -6
  19. package/src/element-templates/aws-sns-outbound-connector.json +362 -362
  20. package/src/element-templates/aws-sqs-boundary-connector.json +238 -238
  21. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +528 -528
  22. package/src/element-templates/aws-sqs-outbound-connector.json +393 -393
  23. package/src/element-templates/aws-sqs-start-event-connector.json +748 -748
  24. package/src/element-templates/aws-sqs-start-message.json +422 -422
  25. package/src/element-templates/azure-open-ai-connector.json +32 -32
  26. package/src/element-templates/blue-prism-connector.json +13 -13
  27. package/src/element-templates/box-outbound-connector.json +30 -30
  28. package/src/element-templates/csv-outbound-connector.json +412 -0
  29. package/src/element-templates/easy-post-connector.json +121 -121
  30. package/src/element-templates/email-message-start-event-connector.json +19 -19
  31. package/src/element-templates/email-outbound-connector.json +233 -233
  32. package/src/element-templates/embeddings-vector-database-outbound-connector.json +20 -35
  33. package/src/element-templates/github-connector.json +4988 -4988
  34. package/src/element-templates/github-webhook-connector-boundary.json +21 -21
  35. package/src/element-templates/github-webhook-connector-intermediate.json +24 -24
  36. package/src/element-templates/github-webhook-connector-message-start.json +21 -21
  37. package/src/element-templates/github-webhook-connector-start-event.json +34 -34
  38. package/src/element-templates/gitlab-connector.json +1185 -1185
  39. package/src/element-templates/google-drive-outbound-connector.json +759 -759
  40. package/src/element-templates/google-maps-platform-connector.json +75 -75
  41. package/src/element-templates/google-sheets-outbound-connector.json +1259 -1259
  42. package/src/element-templates/graphql-outbound-connector.json +573 -573
  43. package/src/element-templates/http-json-connector.json +1863 -1863
  44. package/src/element-templates/http-polling-boundary-catch-event-connector.json +7 -7
  45. package/src/element-templates/http-polling-connector.json +7 -7
  46. package/src/element-templates/jdbc-outbound-connector.json +36 -36
  47. package/src/element-templates/kafka-inbound-connector-boundary.json +432 -432
  48. package/src/element-templates/kafka-inbound-connector-intermediate.json +915 -915
  49. package/src/element-templates/kafka-inbound-connector-start-message.json +608 -608
  50. package/src/element-templates/kafka-inbound-connector.json +240 -240
  51. package/src/element-templates/kafka-outbound-connector.json +166 -166
  52. package/src/element-templates/microsoft-office365-mail-connector.json +60 -60
  53. package/src/element-templates/microsoft-teams-outbound-connector.json +4368 -4368
  54. package/src/element-templates/openai-connector.json +173 -173
  55. package/src/element-templates/operate-connector.json +23 -19
  56. package/src/element-templates/power-automate-connector.json +4 -4
  57. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +431 -431
  58. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +440 -440
  59. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +461 -461
  60. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +487 -487
  61. package/src/element-templates/rabbitmq-outbound-connector.json +360 -360
  62. package/src/element-templates/salesforce-connector.json +10 -10
  63. package/src/element-templates/sendgrid-outbound-connector.json +484 -484
  64. package/src/element-templates/slack-inbound-boundary.json +362 -362
  65. package/src/element-templates/slack-inbound-intermediate.json +438 -438
  66. package/src/element-templates/slack-inbound-message-start.json +217 -217
  67. package/src/element-templates/slack-inbound-start-event.json +235 -235
  68. package/src/element-templates/slack-outbound-connector.json +895 -895
  69. package/src/element-templates/twilio-connector.json +67 -67
  70. package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
  71. package/src/element-templates/twilio-webhook-connector.json +10 -10
  72. package/src/element-templates/uipath-connector.json +41 -41
  73. package/src/element-templates/webhook-connector-boundary.json +1651 -1651
  74. package/src/element-templates/webhook-connector-intermediate.json +771 -771
  75. package/src/element-templates/webhook-connector-start-event.json +1630 -1630
  76. package/src/element-templates/webhook-connector-start-message.json +1251 -1251
  77. package/src/element-templates/whatsapp-connector.json +42 -42
  78. package/src/element-templates/idp-extraction-outbound-connector.json +0 -932
@@ -3,29 +3,8 @@
3
3
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
4
  "name": "GitLab Outbound Connector",
5
5
  "id": "io.camunda.connectors.GitLab.v1",
6
- "version": 7,
7
- "engines": {
8
- "camunda": "^8.3"
9
- },
10
- "description": "Manage GitLab issues, branches, releases, and more",
11
- "metadata": {
12
- "keywords": [
13
- "create issue",
14
- "delete issue",
15
- "comment to issue",
16
- "search issues",
17
- "get issue by ID",
18
- "get releases by project ID",
19
- "get release by tag name",
20
- "create release",
21
- "list repository branches",
22
- "create repository branch",
23
- "create repository file",
24
- "get repository file",
25
- "update repository file",
26
- "create merge request"
27
- ]
28
- },
6
+ "version": 4,
7
+ "description": "Administer and work with issues, releases, and more",
29
8
  "icon": {
30
9
  "contents": "data:image/svg+xml;utf8,%3Csvg width='18px' height='18px' viewBox='0 -10 256 256' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' preserveAspectRatio='xMidYMid'%3E%3Cg%3E%3Cpath d='M128.07485,236.074667 L128.07485,236.074667 L175.17885,91.1043048 L80.9708495,91.1043048 L128.07485,236.074667 L128.07485,236.074667 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L80.9708495,91.104061 L14.9557638,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1044267 L14.9558857,91.1044267 L0.641828571,135.159589 C-0.663771429,139.17757 0.766171429,143.57955 4.18438095,146.06275 L128.074971,236.074789 L14.9558857,91.1044267 L14.9558857,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1045486 L80.9709714,91.1045486 L52.6000762,3.79026286 C51.1408762,-0.703146667 44.7847619,-0.701927619 43.3255619,3.79026286 L14.9558857,91.1045486 L14.9558857,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L175.17885,91.104061 L241.193935,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M241.193935,91.1044267 L241.193935,91.1044267 L255.507992,135.159589 C256.813592,139.17757 255.38365,143.57955 251.96544,146.06275 L128.07485,236.074789 L241.193935,91.1044267 L241.193935,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M241.193935,91.1045486 L175.17885,91.1045486 L203.549745,3.79026286 C205.008945,-0.703146667 211.365059,-0.701927619 212.824259,3.79026286 L241.193935,91.1045486 L241.193935,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
31
10
  },
@@ -249,14 +228,6 @@
249
228
  {
250
229
  "name": "Create new file in repository",
251
230
  "value": "createRepositoryFile"
252
- },
253
- {
254
- "name": "Get file from repository",
255
- "value": "getRepositoryFile"
256
- },
257
- {
258
- "name": "Update existing file in repository",
259
- "value": "updateRepositoryFile"
260
231
  }
261
232
  ],
262
233
  "binding": {
@@ -349,30 +320,6 @@
349
320
  "oneOf": ["createRepositoryFile"]
350
321
  }
351
322
  },
352
- {
353
- "type": "Hidden",
354
- "value": "get",
355
- "binding": {
356
- "type": "zeebe:input",
357
- "name": "method"
358
- },
359
- "condition": {
360
- "property": "reposOperation",
361
- "oneOf": ["getRepositoryFile"]
362
- }
363
- },
364
- {
365
- "type": "Hidden",
366
- "value": "put",
367
- "binding": {
368
- "type": "zeebe:input",
369
- "name": "method"
370
- },
371
- "condition": {
372
- "property": "reposOperation",
373
- "oneOf": ["updateRepositoryFile"]
374
- }
375
- },
376
323
  {
377
324
  "type": "Hidden",
378
325
  "value": "post",
@@ -454,11 +401,7 @@
454
401
  },
455
402
  "condition": {
456
403
  "property": "reposOperation",
457
- "oneOf": [
458
- "createRepositoryFile",
459
- "getRepositoryFile",
460
- "updateRepositoryFile"
461
- ]
404
+ "oneOf": ["createRepositoryFile"]
462
405
  }
463
406
  },
464
407
  {
@@ -529,7 +472,7 @@
529
472
  },
530
473
  {
531
474
  "label": "Issue ID",
532
- "description": "The internal ID of a project\u2019s issue",
475
+ "description": "The internal ID of a project’s issue",
533
476
  "group": "operation",
534
477
  "type": "String",
535
478
  "feel": "optional",
@@ -617,22 +560,9 @@
617
560
  "oneOf": ["createAnIssue"]
618
561
  }
619
562
  },
620
- {
621
- "id": "skipEncoding",
622
- "label": "Skip URL encoding",
623
- "description": "Skip the default URL decoding and encoding behavior",
624
- "optional": true,
625
- "group": "endpoint",
626
- "binding": {
627
- "name": "skipEncoding",
628
- "type": "zeebe:input"
629
- },
630
- "value": "true",
631
- "type": "Hidden"
632
- },
633
563
  {
634
564
  "label": "Issue ID",
635
- "description": "The internal ID of a project\u2019s issue",
565
+ "description": "The internal ID of a project’s issue",
636
566
  "group": "operation",
637
567
  "type": "String",
638
568
  "feel": "optional",
@@ -662,7 +592,7 @@
662
592
  },
663
593
  {
664
594
  "label": "Issue ID",
665
- "description": "The internal ID of a project\u2019s issue",
595
+ "description": "The internal ID of a project’s issue",
666
596
  "group": "operation",
667
597
  "type": "String",
668
598
  "feel": "optional",
@@ -1136,7 +1066,7 @@
1136
1066
  },
1137
1067
  {
1138
1068
  "label": "Branch name",
1139
- "description": "Name of the new branch to modify the file in. The commit is added to this branch",
1069
+ "description": "Name of the new branch to create the file in. The commit is added to this branch",
1140
1070
  "group": "operation",
1141
1071
  "type": "String",
1142
1072
  "feel": "optional",
@@ -1149,12 +1079,12 @@
1149
1079
  },
1150
1080
  "condition": {
1151
1081
  "property": "reposOperation",
1152
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
1082
+ "oneOf": ["createRepositoryFile"]
1153
1083
  }
1154
1084
  },
1155
1085
  {
1156
1086
  "label": "Commit message",
1157
- "description": "Message of the commit that modifies the file",
1087
+ "description": "Message of the commit that adds the new file",
1158
1088
  "group": "operation",
1159
1089
  "type": "String",
1160
1090
  "feel": "optional",
@@ -1167,11 +1097,11 @@
1167
1097
  },
1168
1098
  "condition": {
1169
1099
  "property": "reposOperation",
1170
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
1100
+ "oneOf": ["createRepositoryFile"]
1171
1101
  }
1172
1102
  },
1173
1103
  {
1174
- "label": "File content",
1104
+ "label": "Content",
1175
1105
  "group": "operation",
1176
1106
  "type": "Text",
1177
1107
  "feel": "optional",
@@ -1184,12 +1114,12 @@
1184
1114
  },
1185
1115
  "condition": {
1186
1116
  "property": "reposOperation",
1187
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
1117
+ "oneOf": ["createRepositoryFile"]
1188
1118
  }
1189
1119
  },
1190
1120
  {
1191
1121
  "label": "File path",
1192
- "description": "URL-encoded full path to the file. For example, lib%2Fclass%2Erb",
1122
+ "description": "URL-encoded full path to new file. For example, lib%2Fclass%2Erb",
1193
1123
  "group": "operation",
1194
1124
  "type": "String",
1195
1125
  "feel": "optional",
@@ -1202,11 +1132,7 @@
1202
1132
  },
1203
1133
  "condition": {
1204
1134
  "property": "reposOperation",
1205
- "oneOf": [
1206
- "createRepositoryFile",
1207
- "getRepositoryFile",
1208
- "updateRepositoryFile"
1209
- ]
1135
+ "oneOf": ["createRepositoryFile"]
1210
1136
  }
1211
1137
  },
1212
1138
  {
@@ -1222,7 +1148,7 @@
1222
1148
  },
1223
1149
  "condition": {
1224
1150
  "property": "reposOperation",
1225
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
1151
+ "oneOf": ["createRepositoryFile"]
1226
1152
  }
1227
1153
  },
1228
1154
  {
@@ -1238,7 +1164,7 @@
1238
1164
  },
1239
1165
  "condition": {
1240
1166
  "property": "reposOperation",
1241
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
1167
+ "oneOf": ["createRepositoryFile"]
1242
1168
  }
1243
1169
  },
1244
1170
  {
@@ -1254,7 +1180,7 @@
1254
1180
  },
1255
1181
  "condition": {
1256
1182
  "property": "reposOperation",
1257
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
1183
+ "oneOf": ["createRepositoryFile"]
1258
1184
  }
1259
1185
  },
1260
1186
  {
@@ -1270,12 +1196,12 @@
1270
1196
  },
1271
1197
  "condition": {
1272
1198
  "property": "reposOperation",
1273
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
1199
+ "oneOf": ["createRepositoryFile"]
1274
1200
  }
1275
1201
  },
1276
1202
  {
1277
1203
  "label": "Start branch",
1278
- "description": "Name of the base branch to start the new branch from",
1204
+ "description": "Name of the branch to start the new branch from",
1279
1205
  "group": "operation",
1280
1206
  "type": "String",
1281
1207
  "feel": "optional",
@@ -1286,25 +1212,7 @@
1286
1212
  },
1287
1213
  "condition": {
1288
1214
  "property": "reposOperation",
1289
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
1290
- }
1291
- },
1292
- {
1293
- "label": "Reference",
1294
- "description": "Name of the branch, tag or commit the file is fetched from",
1295
- "group": "operation",
1296
- "type": "String",
1297
- "feel": "optional",
1298
- "binding": {
1299
- "type": "zeebe:input",
1300
- "name": "repositoryFileReference"
1301
- },
1302
- "constraints": {
1303
- "notEmpty": true
1304
- },
1305
- "condition": {
1306
- "property": "branchOperation",
1307
- "oneOf": ["getRepositoryFile"]
1215
+ "oneOf": ["createRepositoryFile"]
1308
1216
  }
1309
1217
  },
1310
1218
  {
@@ -1316,11 +1224,7 @@
1316
1224
  },
1317
1225
  "condition": {
1318
1226
  "property": "reposOperation",
1319
- "oneOf": [
1320
- "createRepositoryFile",
1321
- "getRepositoryFile",
1322
- "updateRepositoryFile"
1323
- ]
1227
+ "oneOf": ["createRepositoryFile"]
1324
1228
  }
1325
1229
  },
1326
1230
  {
@@ -1332,19 +1236,7 @@
1332
1236
  },
1333
1237
  "condition": {
1334
1238
  "property": "reposOperation",
1335
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
1336
- }
1337
- },
1338
- {
1339
- "type": "Hidden",
1340
- "value": "={\"ref\":repositoryFileReference}",
1341
- "binding": {
1342
- "type": "zeebe:input",
1343
- "name": "queryParameters"
1344
- },
1345
- "condition": {
1346
- "property": "reposOperation",
1347
- "oneOf": ["getRepositoryFile"]
1239
+ "oneOf": ["createRepositoryFile"]
1348
1240
  }
1349
1241
  },
1350
1242
  {
@@ -1603,39 +1495,36 @@
1603
1495
  "type": "zeebe:taskHeader",
1604
1496
  "key": "errorExpression"
1605
1497
  }
1606
- },
1607
- {
1608
- "id": "version",
1609
- "label": "Version",
1610
- "description": "Version of the element template",
1611
- "value": "7",
1612
- "group": "connector",
1613
- "binding": {
1614
- "key": "elementTemplateVersion",
1615
- "type": "zeebe:taskHeader"
1616
- },
1617
- "type": "Hidden"
1618
- },
1619
- {
1620
- "id": "id",
1621
- "label": "ID",
1622
- "description": "ID of the element template",
1623
- "value": "io.camunda.connectors.GitLab.v1",
1624
- "group": "connector",
1625
- "binding": {
1626
- "key": "elementTemplateId",
1627
- "type": "zeebe:taskHeader"
1628
- },
1629
- "type": "Hidden"
1630
1498
  }
1631
- ]
1499
+ ],
1500
+ "engines": {
1501
+ "camunda": "^8.5"
1502
+ }
1632
1503
  },
1633
1504
  {
1634
1505
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1635
1506
  "name": "GitLab Outbound Connector",
1636
1507
  "id": "io.camunda.connectors.GitLab.v1",
1637
- "version": 4,
1638
- "description": "Administer and work with issues, releases, and more",
1508
+ "version": 6,
1509
+ "description": "Manage GitLab issues, branches, releases, and more",
1510
+ "metadata": {
1511
+ "keywords": [
1512
+ "create issue",
1513
+ "delete issue",
1514
+ "comment to issue",
1515
+ "search issues",
1516
+ "get issue by ID",
1517
+ "get releases by project ID",
1518
+ "get release by tag name",
1519
+ "create release",
1520
+ "list repository branches",
1521
+ "create repository branch",
1522
+ "create repository file",
1523
+ "get repository file",
1524
+ "update repository file",
1525
+ "create merge request"
1526
+ ]
1527
+ },
1639
1528
  "icon": {
1640
1529
  "contents": "data:image/svg+xml;utf8,%3Csvg width='18px' height='18px' viewBox='0 -10 256 256' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' preserveAspectRatio='xMidYMid'%3E%3Cg%3E%3Cpath d='M128.07485,236.074667 L128.07485,236.074667 L175.17885,91.1043048 L80.9708495,91.1043048 L128.07485,236.074667 L128.07485,236.074667 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L80.9708495,91.104061 L14.9557638,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1044267 L14.9558857,91.1044267 L0.641828571,135.159589 C-0.663771429,139.17757 0.766171429,143.57955 4.18438095,146.06275 L128.074971,236.074789 L14.9558857,91.1044267 L14.9558857,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1045486 L80.9709714,91.1045486 L52.6000762,3.79026286 C51.1408762,-0.703146667 44.7847619,-0.701927619 43.3255619,3.79026286 L14.9558857,91.1045486 L14.9558857,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L175.17885,91.104061 L241.193935,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M241.193935,91.1044267 L241.193935,91.1044267 L255.507992,135.159589 C256.813592,139.17757 255.38365,143.57955 251.96544,146.06275 L128.07485,236.074789 L241.193935,91.1044267 L241.193935,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M241.193935,91.1045486 L175.17885,91.1045486 L203.549745,3.79026286 C205.008945,-0.703146667 211.365059,-0.701927619 212.824259,3.79026286 L241.193935,91.1045486 L241.193935,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
1641
1530
  },
@@ -1647,6 +1536,9 @@
1647
1536
  "elementType": {
1648
1537
  "value": "bpmn:ServiceTask"
1649
1538
  },
1539
+ "engines": {
1540
+ "camunda": "^8.3"
1541
+ },
1650
1542
  "groups": [
1651
1543
  {
1652
1544
  "id": "endpoint",
@@ -1859,6 +1751,14 @@
1859
1751
  {
1860
1752
  "name": "Create new file in repository",
1861
1753
  "value": "createRepositoryFile"
1754
+ },
1755
+ {
1756
+ "name": "Get file from repository",
1757
+ "value": "getRepositoryFile"
1758
+ },
1759
+ {
1760
+ "name": "Update existing file in repository",
1761
+ "value": "updateRepositoryFile"
1862
1762
  }
1863
1763
  ],
1864
1764
  "binding": {
@@ -1951,6 +1851,30 @@
1951
1851
  "oneOf": ["createRepositoryFile"]
1952
1852
  }
1953
1853
  },
1854
+ {
1855
+ "type": "Hidden",
1856
+ "value": "get",
1857
+ "binding": {
1858
+ "type": "zeebe:input",
1859
+ "name": "method"
1860
+ },
1861
+ "condition": {
1862
+ "property": "reposOperation",
1863
+ "oneOf": ["getRepositoryFile"]
1864
+ }
1865
+ },
1866
+ {
1867
+ "type": "Hidden",
1868
+ "value": "put",
1869
+ "binding": {
1870
+ "type": "zeebe:input",
1871
+ "name": "method"
1872
+ },
1873
+ "condition": {
1874
+ "property": "reposOperation",
1875
+ "oneOf": ["updateRepositoryFile"]
1876
+ }
1877
+ },
1954
1878
  {
1955
1879
  "type": "Hidden",
1956
1880
  "value": "post",
@@ -2032,7 +1956,11 @@
2032
1956
  },
2033
1957
  "condition": {
2034
1958
  "property": "reposOperation",
2035
- "oneOf": ["createRepositoryFile"]
1959
+ "oneOf": [
1960
+ "createRepositoryFile",
1961
+ "getRepositoryFile",
1962
+ "updateRepositoryFile"
1963
+ ]
2036
1964
  }
2037
1965
  },
2038
1966
  {
@@ -2103,7 +2031,7 @@
2103
2031
  },
2104
2032
  {
2105
2033
  "label": "Issue ID",
2106
- "description": "The internal ID of a project’s issue",
2034
+ "description": "The internal ID of a project\u2019s issue",
2107
2035
  "group": "operation",
2108
2036
  "type": "String",
2109
2037
  "feel": "optional",
@@ -2192,11 +2120,24 @@
2192
2120
  }
2193
2121
  },
2194
2122
  {
2195
- "label": "Issue ID",
2196
- "description": "The internal ID of a project’s issue",
2197
- "group": "operation",
2198
- "type": "String",
2199
- "feel": "optional",
2123
+ "id": "skipEncoding",
2124
+ "label": "Skip URL encoding",
2125
+ "description": "Skip the default URL decoding and encoding behavior",
2126
+ "optional": true,
2127
+ "group": "endpoint",
2128
+ "binding": {
2129
+ "name": "skipEncoding",
2130
+ "type": "zeebe:input"
2131
+ },
2132
+ "value": "true",
2133
+ "type": "Hidden"
2134
+ },
2135
+ {
2136
+ "label": "Issue ID",
2137
+ "description": "The internal ID of a project\u2019s issue",
2138
+ "group": "operation",
2139
+ "type": "String",
2140
+ "feel": "optional",
2200
2141
  "binding": {
2201
2142
  "type": "zeebe:input",
2202
2143
  "name": "issueId"
@@ -2223,7 +2164,7 @@
2223
2164
  },
2224
2165
  {
2225
2166
  "label": "Issue ID",
2226
- "description": "The internal ID of a project’s issue",
2167
+ "description": "The internal ID of a project\u2019s issue",
2227
2168
  "group": "operation",
2228
2169
  "type": "String",
2229
2170
  "feel": "optional",
@@ -2697,7 +2638,7 @@
2697
2638
  },
2698
2639
  {
2699
2640
  "label": "Branch name",
2700
- "description": "Name of the new branch to create the file in. The commit is added to this branch",
2641
+ "description": "Name of the new branch to modify the file in. The commit is added to this branch",
2701
2642
  "group": "operation",
2702
2643
  "type": "String",
2703
2644
  "feel": "optional",
@@ -2710,12 +2651,12 @@
2710
2651
  },
2711
2652
  "condition": {
2712
2653
  "property": "reposOperation",
2713
- "oneOf": ["createRepositoryFile"]
2654
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
2714
2655
  }
2715
2656
  },
2716
2657
  {
2717
2658
  "label": "Commit message",
2718
- "description": "Message of the commit that adds the new file",
2659
+ "description": "Message of the commit that modifies the file",
2719
2660
  "group": "operation",
2720
2661
  "type": "String",
2721
2662
  "feel": "optional",
@@ -2728,11 +2669,11 @@
2728
2669
  },
2729
2670
  "condition": {
2730
2671
  "property": "reposOperation",
2731
- "oneOf": ["createRepositoryFile"]
2672
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
2732
2673
  }
2733
2674
  },
2734
2675
  {
2735
- "label": "Content",
2676
+ "label": "File content",
2736
2677
  "group": "operation",
2737
2678
  "type": "Text",
2738
2679
  "feel": "optional",
@@ -2745,12 +2686,12 @@
2745
2686
  },
2746
2687
  "condition": {
2747
2688
  "property": "reposOperation",
2748
- "oneOf": ["createRepositoryFile"]
2689
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
2749
2690
  }
2750
2691
  },
2751
2692
  {
2752
2693
  "label": "File path",
2753
- "description": "URL-encoded full path to new file. For example, lib%2Fclass%2Erb",
2694
+ "description": "URL-encoded full path to the file. For example, lib%2Fclass%2Erb",
2754
2695
  "group": "operation",
2755
2696
  "type": "String",
2756
2697
  "feel": "optional",
@@ -2763,7 +2704,11 @@
2763
2704
  },
2764
2705
  "condition": {
2765
2706
  "property": "reposOperation",
2766
- "oneOf": ["createRepositoryFile"]
2707
+ "oneOf": [
2708
+ "createRepositoryFile",
2709
+ "getRepositoryFile",
2710
+ "updateRepositoryFile"
2711
+ ]
2767
2712
  }
2768
2713
  },
2769
2714
  {
@@ -2779,7 +2724,7 @@
2779
2724
  },
2780
2725
  "condition": {
2781
2726
  "property": "reposOperation",
2782
- "oneOf": ["createRepositoryFile"]
2727
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
2783
2728
  }
2784
2729
  },
2785
2730
  {
@@ -2795,7 +2740,7 @@
2795
2740
  },
2796
2741
  "condition": {
2797
2742
  "property": "reposOperation",
2798
- "oneOf": ["createRepositoryFile"]
2743
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
2799
2744
  }
2800
2745
  },
2801
2746
  {
@@ -2811,7 +2756,7 @@
2811
2756
  },
2812
2757
  "condition": {
2813
2758
  "property": "reposOperation",
2814
- "oneOf": ["createRepositoryFile"]
2759
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
2815
2760
  }
2816
2761
  },
2817
2762
  {
@@ -2827,12 +2772,12 @@
2827
2772
  },
2828
2773
  "condition": {
2829
2774
  "property": "reposOperation",
2830
- "oneOf": ["createRepositoryFile"]
2775
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
2831
2776
  }
2832
2777
  },
2833
2778
  {
2834
2779
  "label": "Start branch",
2835
- "description": "Name of the branch to start the new branch from",
2780
+ "description": "Name of the base branch to start the new branch from",
2836
2781
  "group": "operation",
2837
2782
  "type": "String",
2838
2783
  "feel": "optional",
@@ -2843,7 +2788,25 @@
2843
2788
  },
2844
2789
  "condition": {
2845
2790
  "property": "reposOperation",
2846
- "oneOf": ["createRepositoryFile"]
2791
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
2792
+ }
2793
+ },
2794
+ {
2795
+ "label": "Reference",
2796
+ "description": "Name of the branch, tag or commit the file is fetched from",
2797
+ "group": "operation",
2798
+ "type": "String",
2799
+ "feel": "optional",
2800
+ "binding": {
2801
+ "type": "zeebe:input",
2802
+ "name": "repositoryFileReference"
2803
+ },
2804
+ "constraints": {
2805
+ "notEmpty": true
2806
+ },
2807
+ "condition": {
2808
+ "property": "branchOperation",
2809
+ "oneOf": ["getRepositoryFile"]
2847
2810
  }
2848
2811
  },
2849
2812
  {
@@ -2855,7 +2818,11 @@
2855
2818
  },
2856
2819
  "condition": {
2857
2820
  "property": "reposOperation",
2858
- "oneOf": ["createRepositoryFile"]
2821
+ "oneOf": [
2822
+ "createRepositoryFile",
2823
+ "getRepositoryFile",
2824
+ "updateRepositoryFile"
2825
+ ]
2859
2826
  }
2860
2827
  },
2861
2828
  {
@@ -2867,7 +2834,19 @@
2867
2834
  },
2868
2835
  "condition": {
2869
2836
  "property": "reposOperation",
2870
- "oneOf": ["createRepositoryFile"]
2837
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
2838
+ }
2839
+ },
2840
+ {
2841
+ "type": "Hidden",
2842
+ "value": "={\"ref\":repositoryFileReference}",
2843
+ "binding": {
2844
+ "type": "zeebe:input",
2845
+ "name": "queryParameters"
2846
+ },
2847
+ "condition": {
2848
+ "property": "reposOperation",
2849
+ "oneOf": ["getRepositoryFile"]
2871
2850
  }
2872
2851
  },
2873
2852
  {
@@ -3127,16 +3106,13 @@
3127
3106
  "key": "errorExpression"
3128
3107
  }
3129
3108
  }
3130
- ],
3131
- "engines": {
3132
- "camunda": "^8.5"
3133
- }
3109
+ ]
3134
3110
  },
3135
3111
  {
3136
3112
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
3137
3113
  "name": "GitLab connector",
3138
3114
  "id": "io.camunda.connectors.GitLab.v1",
3139
- "version": 2,
3115
+ "version": 1,
3140
3116
  "description": "Administer and work with issues and releases",
3141
3117
  "icon": {
3142
3118
  "contents": "data:image/svg+xml;utf8,%3Csvg width='18px' height='18px' viewBox='0 -10 256 256' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' preserveAspectRatio='xMidYMid'%3E%3Cg%3E%3Cpath d='M128.07485,236.074667 L128.07485,236.074667 L175.17885,91.1043048 L80.9708495,91.1043048 L128.07485,236.074667 L128.07485,236.074667 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L80.9708495,91.104061 L14.9557638,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1044267 L14.9558857,91.1044267 L0.641828571,135.159589 C-0.663771429,139.17757 0.766171429,143.57955 4.18438095,146.06275 L128.074971,236.074789 L14.9558857,91.1044267 L14.9558857,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1045486 L80.9709714,91.1045486 L52.6000762,3.79026286 C51.1408762,-0.703146667 44.7847619,-0.701927619 43.3255619,3.79026286 L14.9558857,91.1045486 L14.9558857,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L175.17885,91.104061 L241.193935,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M241.193935,91.1044267 L241.193935,91.1044267 L255.507992,135.159589 C256.813592,139.17757 255.38365,143.57955 251.96544,146.06275 L128.07485,236.074789 L241.193935,91.1044267 L241.193935,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M241.193935,91.1045486 L175.17885,91.1045486 L203.549745,3.79026286 C205.008945,-0.703146667 211.365059,-0.701927619 212.824259,3.79026286 L241.193935,91.1045486 L241.193935,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
@@ -3198,8 +3174,8 @@
3198
3174
  "constraints": {
3199
3175
  "notEmpty": true,
3200
3176
  "pattern": {
3201
- "value": "^(=|(https?://|secrets\\..+|\\{\\{secrets\\..+\\}\\}).*$)",
3202
- "message": "Must be a http(s) URL"
3177
+ "value": "^(=|(http://|https://|secrets).*$)",
3178
+ "message": "Must be a http(s) URL."
3203
3179
  }
3204
3180
  }
3205
3181
  },
@@ -4034,9 +4010,9 @@
4034
4010
  },
4035
4011
  {
4036
4012
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4037
- "name": "GitLab connector",
4013
+ "name": "GitLab Outbound Connector",
4038
4014
  "id": "io.camunda.connectors.GitLab.v1",
4039
- "version": 1,
4015
+ "version": 3,
4040
4016
  "description": "Administer and work with issues and releases",
4041
4017
  "icon": {
4042
4018
  "contents": "data:image/svg+xml;utf8,%3Csvg width='18px' height='18px' viewBox='0 -10 256 256' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' preserveAspectRatio='xMidYMid'%3E%3Cg%3E%3Cpath d='M128.07485,236.074667 L128.07485,236.074667 L175.17885,91.1043048 L80.9708495,91.1043048 L128.07485,236.074667 L128.07485,236.074667 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L80.9708495,91.104061 L14.9557638,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1044267 L14.9558857,91.1044267 L0.641828571,135.159589 C-0.663771429,139.17757 0.766171429,143.57955 4.18438095,146.06275 L128.074971,236.074789 L14.9558857,91.1044267 L14.9558857,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1045486 L80.9709714,91.1045486 L52.6000762,3.79026286 C51.1408762,-0.703146667 44.7847619,-0.701927619 43.3255619,3.79026286 L14.9558857,91.1045486 L14.9558857,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L175.17885,91.104061 L241.193935,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M241.193935,91.1044267 L241.193935,91.1044267 L255.507992,135.159589 C256.813592,139.17757 255.38365,143.57955 251.96544,146.06275 L128.07485,236.074789 L241.193935,91.1044267 L241.193935,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M241.193935,91.1045486 L175.17885,91.1045486 L203.549745,3.79026286 C205.008945,-0.703146667 211.365059,-0.701927619 212.824259,3.79026286 L241.193935,91.1045486 L241.193935,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
@@ -4098,8 +4074,8 @@
4098
4074
  "constraints": {
4099
4075
  "notEmpty": true,
4100
4076
  "pattern": {
4101
- "value": "^(=|(http://|https://|secrets).*$)",
4102
- "message": "Must be a http(s) URL."
4077
+ "value": "^(=|(https?://|\\{\\{secrets\\..+\\}\\}).*$)",
4078
+ "message": "Must be a http(s) URL"
4103
4079
  }
4104
4080
  }
4105
4081
  },
@@ -4936,8 +4912,8 @@
4936
4912
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4937
4913
  "name": "GitLab Outbound Connector",
4938
4914
  "id": "io.camunda.connectors.GitLab.v1",
4939
- "version": 3,
4940
- "description": "Administer and work with issues and releases",
4915
+ "version": 5,
4916
+ "description": "Administer and work with issues, releases, and more",
4941
4917
  "icon": {
4942
4918
  "contents": "data:image/svg+xml;utf8,%3Csvg width='18px' height='18px' viewBox='0 -10 256 256' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' preserveAspectRatio='xMidYMid'%3E%3Cg%3E%3Cpath d='M128.07485,236.074667 L128.07485,236.074667 L175.17885,91.1043048 L80.9708495,91.1043048 L128.07485,236.074667 L128.07485,236.074667 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L80.9708495,91.104061 L14.9557638,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1044267 L14.9558857,91.1044267 L0.641828571,135.159589 C-0.663771429,139.17757 0.766171429,143.57955 4.18438095,146.06275 L128.074971,236.074789 L14.9558857,91.1044267 L14.9558857,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1045486 L80.9709714,91.1045486 L52.6000762,3.79026286 C51.1408762,-0.703146667 44.7847619,-0.701927619 43.3255619,3.79026286 L14.9558857,91.1045486 L14.9558857,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L175.17885,91.104061 L241.193935,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M241.193935,91.1044267 L241.193935,91.1044267 L255.507992,135.159589 C256.813592,139.17757 255.38365,143.57955 251.96544,146.06275 L128.07485,236.074789 L241.193935,91.1044267 L241.193935,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M241.193935,91.1045486 L175.17885,91.1045486 L203.549745,3.79026286 C205.008945,-0.703146667 211.365059,-0.701927619 212.824259,3.79026286 L241.193935,91.1045486 L241.193935,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
4943
4919
  },
@@ -5041,6 +5017,18 @@
5041
5017
  {
5042
5018
  "name": "Releases",
5043
5019
  "value": "releases"
5020
+ },
5021
+ {
5022
+ "name": "Branches",
5023
+ "value": "branches"
5024
+ },
5025
+ {
5026
+ "name": "Repository files",
5027
+ "value": "repositoryFiles"
5028
+ },
5029
+ {
5030
+ "name": "Merge requests",
5031
+ "value": "mergeRequests"
5044
5032
  }
5045
5033
  ],
5046
5034
  "binding": {
@@ -5114,6 +5102,93 @@
5114
5102
  "equals": "releases"
5115
5103
  }
5116
5104
  },
5105
+ {
5106
+ "label": "Operation",
5107
+ "id": "branchOperation",
5108
+ "group": "operation",
5109
+ "description": "Choose operation to perform",
5110
+ "type": "Dropdown",
5111
+ "choices": [
5112
+ {
5113
+ "name": "List repository branches",
5114
+ "value": "getRepositoryBranchesByProjectId"
5115
+ },
5116
+ {
5117
+ "name": "Create repository branch",
5118
+ "value": "createRepositoryBranch"
5119
+ }
5120
+ ],
5121
+ "binding": {
5122
+ "type": "zeebe:input",
5123
+ "name": "operation"
5124
+ },
5125
+ "condition": {
5126
+ "property": "operationGroup",
5127
+ "equals": "branches"
5128
+ }
5129
+ },
5130
+ {
5131
+ "label": "Operation",
5132
+ "id": "reposOperation",
5133
+ "group": "operation",
5134
+ "description": "Choose operation to perform",
5135
+ "type": "Dropdown",
5136
+ "choices": [
5137
+ {
5138
+ "name": "Create new file in repository",
5139
+ "value": "createRepositoryFile"
5140
+ },
5141
+ {
5142
+ "name": "Get file from repository",
5143
+ "value": "getRepositoryFile"
5144
+ },
5145
+ {
5146
+ "name": "Update existing file in repository",
5147
+ "value": "updateRepositoryFile"
5148
+ }
5149
+ ],
5150
+ "binding": {
5151
+ "type": "zeebe:input",
5152
+ "name": "operation"
5153
+ },
5154
+ "condition": {
5155
+ "property": "operationGroup",
5156
+ "equals": "repositoryFiles"
5157
+ }
5158
+ },
5159
+ {
5160
+ "label": "Operation",
5161
+ "id": "mergeOperation",
5162
+ "group": "operation",
5163
+ "description": "Choose operation to perform",
5164
+ "type": "Dropdown",
5165
+ "choices": [
5166
+ {
5167
+ "name": "Create merge request",
5168
+ "value": "createMergeRequest"
5169
+ }
5170
+ ],
5171
+ "binding": {
5172
+ "type": "zeebe:input",
5173
+ "name": "operation"
5174
+ },
5175
+ "condition": {
5176
+ "property": "operationGroup",
5177
+ "equals": "mergeRequests"
5178
+ }
5179
+ },
5180
+ {
5181
+ "type": "Hidden",
5182
+ "value": "get",
5183
+ "binding": {
5184
+ "type": "zeebe:input",
5185
+ "name": "method"
5186
+ },
5187
+ "condition": {
5188
+ "property": "branchOperation",
5189
+ "oneOf": ["getRepositoryBranchesByProjectId"]
5190
+ }
5191
+ },
5117
5192
  {
5118
5193
  "type": "Hidden",
5119
5194
  "value": "get",
@@ -5146,8 +5221,8 @@
5146
5221
  "name": "method"
5147
5222
  },
5148
5223
  "condition": {
5149
- "property": "releaseOperation",
5150
- "oneOf": ["createRelease"]
5224
+ "property": "mergeOperation",
5225
+ "oneOf": ["createMergeRequest"]
5151
5226
  }
5152
5227
  },
5153
5228
  {
@@ -5158,68 +5233,80 @@
5158
5233
  "name": "method"
5159
5234
  },
5160
5235
  "condition": {
5161
- "property": "issueOperation",
5162
- "oneOf": ["commentToAnIssue", "createAnIssue"]
5236
+ "property": "reposOperation",
5237
+ "oneOf": ["createRepositoryFile"]
5163
5238
  }
5164
5239
  },
5165
5240
  {
5166
5241
  "type": "Hidden",
5167
- "value": "delete",
5242
+ "value": "get",
5168
5243
  "binding": {
5169
5244
  "type": "zeebe:input",
5170
5245
  "name": "method"
5171
5246
  },
5172
5247
  "condition": {
5173
- "property": "issueOperation",
5174
- "oneOf": ["deleteAnIssue"]
5248
+ "property": "reposOperation",
5249
+ "oneOf": ["getRepositoryFile"]
5175
5250
  }
5176
5251
  },
5177
5252
  {
5178
- "label": "Project ID",
5179
- "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
5180
- "group": "operation",
5181
- "type": "String",
5182
- "feel": "optional",
5253
+ "type": "Hidden",
5254
+ "value": "put",
5183
5255
  "binding": {
5184
5256
  "type": "zeebe:input",
5185
- "name": "projectId"
5186
- },
5187
- "constraints": {
5188
- "notEmpty": true
5257
+ "name": "method"
5189
5258
  },
5190
5259
  "condition": {
5191
- "property": "issueOperation",
5192
- "oneOf": ["getIssueById"]
5260
+ "property": "reposOperation",
5261
+ "oneOf": ["updateRepositoryFile"]
5193
5262
  }
5194
5263
  },
5195
5264
  {
5196
- "label": "Issue ID",
5197
- "description": "The internal ID of a project’s issue",
5198
- "group": "operation",
5199
- "type": "String",
5200
- "feel": "optional",
5265
+ "type": "Hidden",
5266
+ "value": "post",
5201
5267
  "binding": {
5202
5268
  "type": "zeebe:input",
5203
- "name": "issueId"
5204
- },
5205
- "constraints": {
5206
- "notEmpty": true
5269
+ "name": "method"
5207
5270
  },
5208
5271
  "condition": {
5209
- "property": "issueOperation",
5210
- "oneOf": ["getIssueById"]
5272
+ "property": "branchOperation",
5273
+ "oneOf": ["createRepositoryBranch"]
5211
5274
  }
5212
5275
  },
5213
5276
  {
5214
5277
  "type": "Hidden",
5215
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues/\" + issueId",
5278
+ "value": "post",
5216
5279
  "binding": {
5217
5280
  "type": "zeebe:input",
5218
- "name": "url"
5281
+ "name": "method"
5282
+ },
5283
+ "condition": {
5284
+ "property": "releaseOperation",
5285
+ "oneOf": ["createRelease"]
5286
+ }
5287
+ },
5288
+ {
5289
+ "type": "Hidden",
5290
+ "value": "post",
5291
+ "binding": {
5292
+ "type": "zeebe:input",
5293
+ "name": "method"
5219
5294
  },
5220
5295
  "condition": {
5221
5296
  "property": "issueOperation",
5222
- "oneOf": ["getIssueById"]
5297
+ "oneOf": ["commentToAnIssue", "createAnIssue"]
5298
+ }
5299
+ },
5300
+ {
5301
+ "type": "Hidden",
5302
+ "value": "delete",
5303
+ "binding": {
5304
+ "type": "zeebe:input",
5305
+ "name": "method"
5306
+ },
5307
+ "condition": {
5308
+ "property": "issueOperation",
5309
+ "oneOf": ["deleteAnIssue"]
5223
5310
  }
5224
5311
  },
5225
5312
  {
@@ -5236,134 +5323,216 @@
5236
5323
  "notEmpty": true
5237
5324
  },
5238
5325
  "condition": {
5239
- "property": "issueOperation",
5240
- "oneOf": ["createAnIssue"]
5326
+ "property": "mergeOperation",
5327
+ "oneOf": ["createMergeRequest"]
5241
5328
  }
5242
5329
  },
5243
5330
  {
5244
- "label": "Title",
5245
- "description": "The title of an issue",
5331
+ "label": "Project ID",
5332
+ "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
5246
5333
  "group": "operation",
5247
5334
  "type": "String",
5248
5335
  "feel": "optional",
5249
5336
  "binding": {
5250
5337
  "type": "zeebe:input",
5251
- "name": "issueTitle"
5338
+ "name": "projectId"
5252
5339
  },
5253
5340
  "constraints": {
5254
5341
  "notEmpty": true
5255
5342
  },
5256
5343
  "condition": {
5257
- "property": "issueOperation",
5258
- "oneOf": ["createAnIssue"]
5344
+ "property": "reposOperation",
5345
+ "oneOf": [
5346
+ "createRepositoryFile",
5347
+ "getRepositoryFile",
5348
+ "updateRepositoryFile"
5349
+ ]
5259
5350
  }
5260
5351
  },
5261
5352
  {
5262
- "label": "Description",
5263
- "description": "The description of an issue",
5353
+ "label": "Project ID",
5354
+ "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
5264
5355
  "group": "operation",
5265
- "type": "Text",
5356
+ "type": "String",
5266
5357
  "feel": "optional",
5267
5358
  "binding": {
5268
5359
  "type": "zeebe:input",
5269
- "name": "issueDescription"
5360
+ "name": "projectId"
5361
+ },
5362
+ "constraints": {
5363
+ "notEmpty": true
5364
+ },
5365
+ "condition": {
5366
+ "property": "branchOperation",
5367
+ "oneOf": [
5368
+ "getRepositoryBranchesByProjectId",
5369
+ "createRepositoryBranch"
5370
+ ]
5371
+ }
5372
+ },
5373
+ {
5374
+ "label": "Project ID",
5375
+ "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
5376
+ "group": "operation",
5377
+ "type": "String",
5378
+ "feel": "optional",
5379
+ "binding": {
5380
+ "type": "zeebe:input",
5381
+ "name": "projectId"
5382
+ },
5383
+ "constraints": {
5384
+ "notEmpty": true
5385
+ },
5386
+ "condition": {
5387
+ "property": "releaseOperation",
5388
+ "oneOf": [
5389
+ "getReleasesByProjectId",
5390
+ "getReleaseByTagName",
5391
+ "createRelease"
5392
+ ]
5393
+ }
5394
+ },
5395
+ {
5396
+ "label": "Project ID",
5397
+ "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
5398
+ "group": "operation",
5399
+ "type": "String",
5400
+ "feel": "optional",
5401
+ "binding": {
5402
+ "type": "zeebe:input",
5403
+ "name": "projectId"
5270
5404
  },
5271
5405
  "constraints": {
5272
5406
  "notEmpty": true
5273
5407
  },
5274
5408
  "condition": {
5275
5409
  "property": "issueOperation",
5276
- "oneOf": ["createAnIssue"]
5410
+ "oneOf": [
5411
+ "getIssueById",
5412
+ "createAnIssue",
5413
+ "deleteAnIssue",
5414
+ "commentToAnIssue"
5415
+ ]
5277
5416
  }
5278
5417
  },
5279
5418
  {
5280
- "type": "Hidden",
5281
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues\"",
5419
+ "label": "Issue ID",
5420
+ "description": "The internal ID of a project’s issue",
5421
+ "group": "operation",
5422
+ "type": "String",
5423
+ "feel": "optional",
5282
5424
  "binding": {
5283
5425
  "type": "zeebe:input",
5284
- "name": "url"
5426
+ "name": "issueId"
5427
+ },
5428
+ "constraints": {
5429
+ "notEmpty": true
5285
5430
  },
5286
5431
  "condition": {
5287
5432
  "property": "issueOperation",
5288
- "oneOf": ["createAnIssue"]
5433
+ "oneOf": ["getIssueById"]
5289
5434
  }
5290
5435
  },
5291
5436
  {
5292
5437
  "type": "Hidden",
5293
- "value": "={\"title\":issueTitle, \"description\":issueDescription}",
5438
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues/\" + issueId",
5294
5439
  "binding": {
5295
5440
  "type": "zeebe:input",
5296
- "name": "queryParameters"
5441
+ "name": "url"
5297
5442
  },
5298
5443
  "condition": {
5299
5444
  "property": "issueOperation",
5300
- "oneOf": ["createAnIssue"]
5445
+ "oneOf": ["getIssueById"]
5301
5446
  }
5302
5447
  },
5303
5448
  {
5304
- "label": "Project ID",
5305
- "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
5449
+ "label": "Title",
5450
+ "description": "The title of an issue",
5306
5451
  "group": "operation",
5307
5452
  "type": "String",
5308
5453
  "feel": "optional",
5309
5454
  "binding": {
5310
5455
  "type": "zeebe:input",
5311
- "name": "projectId"
5456
+ "name": "issueTitle"
5312
5457
  },
5313
5458
  "constraints": {
5314
5459
  "notEmpty": true
5315
5460
  },
5316
5461
  "condition": {
5317
5462
  "property": "issueOperation",
5318
- "oneOf": ["deleteAnIssue"]
5463
+ "oneOf": ["createAnIssue"]
5319
5464
  }
5320
5465
  },
5321
5466
  {
5322
- "label": "Issue ID",
5323
- "description": "The internal ID of a project’s issue",
5467
+ "label": "Description",
5468
+ "description": "The description of an issue",
5324
5469
  "group": "operation",
5325
- "type": "String",
5470
+ "type": "Text",
5326
5471
  "feel": "optional",
5327
5472
  "binding": {
5328
5473
  "type": "zeebe:input",
5329
- "name": "issueId"
5474
+ "name": "issueDescription"
5330
5475
  },
5331
5476
  "constraints": {
5332
5477
  "notEmpty": true
5333
5478
  },
5334
5479
  "condition": {
5335
5480
  "property": "issueOperation",
5336
- "oneOf": ["deleteAnIssue"]
5481
+ "oneOf": ["createAnIssue"]
5337
5482
  }
5338
5483
  },
5339
5484
  {
5340
5485
  "type": "Hidden",
5341
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues/\" + issueId",
5486
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues\"",
5342
5487
  "binding": {
5343
5488
  "type": "zeebe:input",
5344
5489
  "name": "url"
5345
5490
  },
5346
5491
  "condition": {
5347
5492
  "property": "issueOperation",
5348
- "oneOf": ["deleteAnIssue"]
5493
+ "oneOf": ["createAnIssue"]
5349
5494
  }
5350
5495
  },
5351
5496
  {
5352
- "label": "Project ID",
5353
- "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
5497
+ "type": "Hidden",
5498
+ "value": "={\"title\":issueTitle, \"description\":issueDescription}",
5499
+ "binding": {
5500
+ "type": "zeebe:input",
5501
+ "name": "queryParameters"
5502
+ },
5503
+ "condition": {
5504
+ "property": "issueOperation",
5505
+ "oneOf": ["createAnIssue"]
5506
+ }
5507
+ },
5508
+ {
5509
+ "label": "Issue ID",
5510
+ "description": "The internal ID of a project’s issue",
5354
5511
  "group": "operation",
5355
5512
  "type": "String",
5356
5513
  "feel": "optional",
5357
5514
  "binding": {
5358
5515
  "type": "zeebe:input",
5359
- "name": "projectId"
5516
+ "name": "issueId"
5360
5517
  },
5361
5518
  "constraints": {
5362
5519
  "notEmpty": true
5363
5520
  },
5364
5521
  "condition": {
5365
5522
  "property": "issueOperation",
5366
- "oneOf": ["commentToAnIssue"]
5523
+ "oneOf": ["deleteAnIssue"]
5524
+ }
5525
+ },
5526
+ {
5527
+ "type": "Hidden",
5528
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues/\" + issueId",
5529
+ "binding": {
5530
+ "type": "zeebe:input",
5531
+ "name": "url"
5532
+ },
5533
+ "condition": {
5534
+ "property": "issueOperation",
5535
+ "oneOf": ["deleteAnIssue"]
5367
5536
  }
5368
5537
  },
5369
5538
  {
@@ -5599,24 +5768,6 @@
5599
5768
  "oneOf": ["searchIssues"]
5600
5769
  }
5601
5770
  },
5602
- {
5603
- "label": "Project ID",
5604
- "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
5605
- "group": "operation",
5606
- "type": "String",
5607
- "feel": "optional",
5608
- "binding": {
5609
- "type": "zeebe:input",
5610
- "name": "projectId"
5611
- },
5612
- "constraints": {
5613
- "notEmpty": true
5614
- },
5615
- "condition": {
5616
- "property": "releaseOperation",
5617
- "oneOf": ["getReleasesByProjectId"]
5618
- }
5619
- },
5620
5771
  {
5621
5772
  "type": "Hidden",
5622
5773
  "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/releases\"",
@@ -5629,24 +5780,6 @@
5629
5780
  "oneOf": ["getReleasesByProjectId"]
5630
5781
  }
5631
5782
  },
5632
- {
5633
- "label": "Project ID",
5634
- "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
5635
- "group": "operation",
5636
- "type": "String",
5637
- "feel": "optional",
5638
- "binding": {
5639
- "type": "zeebe:input",
5640
- "name": "projectId"
5641
- },
5642
- "constraints": {
5643
- "notEmpty": true
5644
- },
5645
- "condition": {
5646
- "property": "releaseOperation",
5647
- "oneOf": ["getReleaseByTagName"]
5648
- }
5649
- },
5650
5783
  {
5651
5784
  "label": "Tag name",
5652
5785
  "description": "The Git tag the release is associated with",
@@ -5677,24 +5810,6 @@
5677
5810
  "oneOf": ["getReleaseByTagName"]
5678
5811
  }
5679
5812
  },
5680
- {
5681
- "label": "Project ID",
5682
- "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
5683
- "group": "operation",
5684
- "type": "String",
5685
- "feel": "optional",
5686
- "binding": {
5687
- "type": "zeebe:input",
5688
- "name": "projectId"
5689
- },
5690
- "constraints": {
5691
- "notEmpty": true
5692
- },
5693
- "condition": {
5694
- "property": "releaseOperation",
5695
- "oneOf": ["createRelease"]
5696
- }
5697
- },
5698
5813
  {
5699
5814
  "label": "Tag name",
5700
5815
  "description": "The tag where the release is created from",
@@ -5788,481 +5903,367 @@
5788
5903
  }
5789
5904
  },
5790
5905
  {
5791
- "type": "Hidden",
5792
- "value": "20",
5906
+ "label": "Search string",
5907
+ "description": "Return list of branches containing the search string",
5908
+ "group": "operation",
5909
+ "type": "String",
5910
+ "feel": "optional",
5911
+ "optional": true,
5793
5912
  "binding": {
5794
5913
  "type": "zeebe:input",
5795
- "name": "connectionTimeoutInSeconds"
5914
+ "name": "searchString"
5915
+ },
5916
+ "condition": {
5917
+ "property": "branchOperation",
5918
+ "oneOf": ["getRepositoryBranchesByProjectId"]
5796
5919
  }
5797
5920
  },
5798
5921
  {
5799
- "label": "Result variable",
5800
- "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>",
5801
- "group": "output",
5922
+ "label": "Regular expression",
5923
+ "description": "Return list of branches with names matching a <a href=\"https://github.com/google/re2/wiki/Syntax\" target=\"_blank\">re2</a> regular expression",
5924
+ "group": "operation",
5802
5925
  "type": "String",
5926
+ "feel": "optional",
5927
+ "optional": true,
5803
5928
  "binding": {
5804
- "type": "zeebe:taskHeader",
5805
- "key": "resultVariable"
5806
- }
5807
- },
5808
- {
5809
- "label": "Result expression",
5810
- "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>",
5811
- "group": "output",
5812
- "type": "Text",
5813
- "feel": "required",
5814
- "binding": {
5815
- "type": "zeebe:taskHeader",
5816
- "key": "resultExpression"
5929
+ "type": "zeebe:input",
5930
+ "name": "regex"
5931
+ },
5932
+ "condition": {
5933
+ "property": "branchOperation",
5934
+ "oneOf": ["getRepositoryBranchesByProjectId"]
5817
5935
  }
5818
5936
  },
5819
- {
5820
- "label": "Error expression",
5821
- "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>",
5822
- "group": "errors",
5823
- "type": "Text",
5824
- "feel": "required",
5825
- "binding": {
5826
- "type": "zeebe:taskHeader",
5827
- "key": "errorExpression"
5828
- }
5829
- }
5830
- ],
5831
- "engines": {
5832
- "camunda": "^8.2"
5833
- }
5834
- },
5835
- {
5836
- "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
5837
- "name": "GitLab Outbound Connector",
5838
- "id": "io.camunda.connectors.GitLab.v1",
5839
- "version": 6,
5840
- "description": "Manage GitLab issues, branches, releases, and more",
5841
- "metadata": {
5842
- "keywords": [
5843
- "create issue",
5844
- "delete issue",
5845
- "comment to issue",
5846
- "search issues",
5847
- "get issue by ID",
5848
- "get releases by project ID",
5849
- "get release by tag name",
5850
- "create release",
5851
- "list repository branches",
5852
- "create repository branch",
5853
- "create repository file",
5854
- "get repository file",
5855
- "update repository file",
5856
- "create merge request"
5857
- ]
5858
- },
5859
- "icon": {
5860
- "contents": "data:image/svg+xml;utf8,%3Csvg width='18px' height='18px' viewBox='0 -10 256 256' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' preserveAspectRatio='xMidYMid'%3E%3Cg%3E%3Cpath d='M128.07485,236.074667 L128.07485,236.074667 L175.17885,91.1043048 L80.9708495,91.1043048 L128.07485,236.074667 L128.07485,236.074667 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L80.9708495,91.104061 L14.9557638,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1044267 L14.9558857,91.1044267 L0.641828571,135.159589 C-0.663771429,139.17757 0.766171429,143.57955 4.18438095,146.06275 L128.074971,236.074789 L14.9558857,91.1044267 L14.9558857,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1045486 L80.9709714,91.1045486 L52.6000762,3.79026286 C51.1408762,-0.703146667 44.7847619,-0.701927619 43.3255619,3.79026286 L14.9558857,91.1045486 L14.9558857,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L175.17885,91.104061 L241.193935,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M241.193935,91.1044267 L241.193935,91.1044267 L255.507992,135.159589 C256.813592,139.17757 255.38365,143.57955 251.96544,146.06275 L128.07485,236.074789 L241.193935,91.1044267 L241.193935,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M241.193935,91.1045486 L175.17885,91.1045486 L203.549745,3.79026286 C205.008945,-0.703146667 211.365059,-0.701927619 212.824259,3.79026286 L241.193935,91.1045486 L241.193935,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
5861
- },
5862
- "category": {
5863
- "id": "connectors",
5864
- "name": "Connectors"
5865
- },
5866
- "appliesTo": ["bpmn:Task"],
5867
- "elementType": {
5868
- "value": "bpmn:ServiceTask"
5869
- },
5870
- "engines": {
5871
- "camunda": "^8.3"
5872
- },
5873
- "groups": [
5874
- {
5875
- "id": "endpoint",
5876
- "label": "HTTP endpoint"
5877
- },
5878
- {
5879
- "id": "operation",
5880
- "label": "Operation"
5881
- },
5882
- {
5883
- "id": "output",
5884
- "label": "Response mapping"
5885
- },
5886
- {
5887
- "id": "errors",
5888
- "label": "Error handling"
5889
- }
5890
- ],
5891
- "properties": [
5892
5937
  {
5893
5938
  "type": "Hidden",
5894
- "value": "io.camunda:http-json:1",
5939
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/repository/branches\"",
5895
5940
  "binding": {
5896
- "type": "zeebe:taskDefinition",
5897
- "property": "type"
5941
+ "type": "zeebe:input",
5942
+ "name": "url"
5943
+ },
5944
+ "condition": {
5945
+ "property": "branchOperation",
5946
+ "oneOf": [
5947
+ "getRepositoryBranchesByProjectId",
5948
+ "createRepositoryBranch"
5949
+ ]
5898
5950
  }
5899
5951
  },
5900
5952
  {
5901
- "group": "authentication",
5902
5953
  "type": "Hidden",
5903
- "value": "noAuth",
5954
+ "value": "={\"search\": if searchString = null then null else searchString, \"regex\": if regex = null then null else regex}",
5904
5955
  "binding": {
5905
5956
  "type": "zeebe:input",
5906
- "name": "authentication.type"
5957
+ "name": "queryParameters"
5958
+ },
5959
+ "condition": {
5960
+ "property": "branchOperation",
5961
+ "oneOf": ["getRepositoryBranchesByProjectId"]
5907
5962
  }
5908
5963
  },
5909
5964
  {
5910
- "label": "GitLab base URL",
5911
- "group": "endpoint",
5965
+ "label": "Name",
5966
+ "description": "Name of the new branch",
5967
+ "group": "operation",
5912
5968
  "type": "String",
5913
- "value": "https://gitlab.example.com",
5914
5969
  "feel": "optional",
5915
5970
  "binding": {
5916
5971
  "type": "zeebe:input",
5917
- "name": "baseUrl"
5972
+ "name": "branchName"
5918
5973
  },
5919
5974
  "constraints": {
5920
- "notEmpty": true,
5921
- "pattern": {
5922
- "value": "^(=|(https?://|\\{\\{secrets\\..+\\}\\}).*$)",
5923
- "message": "Must be a http(s) URL"
5924
- }
5975
+ "notEmpty": true
5976
+ },
5977
+ "condition": {
5978
+ "property": "branchOperation",
5979
+ "oneOf": ["createRepositoryBranch"]
5925
5980
  }
5926
5981
  },
5927
5982
  {
5928
- "label": "GitLab access token",
5929
- "group": "endpoint",
5983
+ "label": "Reference",
5984
+ "description": "Branch name or commit SHA to create branch from",
5985
+ "group": "operation",
5930
5986
  "type": "String",
5931
5987
  "feel": "optional",
5932
5988
  "binding": {
5933
5989
  "type": "zeebe:input",
5934
- "name": "gitlabAccessToken"
5990
+ "name": "ref"
5935
5991
  },
5936
5992
  "constraints": {
5937
5993
  "notEmpty": true
5938
- }
5939
- },
5940
- {
5941
- "type": "Hidden",
5942
- "value": "={\"PRIVATE-TOKEN\":gitlabAccessToken, \"Content-Type\":\"application/json\"}",
5943
- "binding": {
5944
- "type": "zeebe:input",
5945
- "name": "headers"
5946
5994
  },
5947
- "constraints": {
5948
- "notEmpty": true
5949
- }
5950
- },
5951
- {
5952
- "label": "Operation group",
5953
- "id": "operationGroup",
5954
- "group": "operation",
5955
- "description": "Choose operation group",
5956
- "type": "Dropdown",
5957
- "choices": [
5958
- {
5959
- "name": "Issues",
5960
- "value": "issues"
5961
- },
5962
- {
5963
- "name": "Releases",
5964
- "value": "releases"
5965
- },
5966
- {
5967
- "name": "Branches",
5968
- "value": "branches"
5969
- },
5970
- {
5971
- "name": "Repository files",
5972
- "value": "repositoryFiles"
5973
- },
5974
- {
5975
- "name": "Merge requests",
5976
- "value": "mergeRequests"
5977
- }
5978
- ],
5979
- "binding": {
5980
- "type": "zeebe:input",
5981
- "name": "operationGroup"
5995
+ "condition": {
5996
+ "property": "branchOperation",
5997
+ "oneOf": ["createRepositoryBranch"]
5982
5998
  }
5983
5999
  },
5984
6000
  {
5985
- "label": "Operation",
5986
- "id": "issueOperation",
5987
- "group": "operation",
5988
- "description": "Choose operation to perform",
5989
- "type": "Dropdown",
5990
- "choices": [
5991
- {
5992
- "name": "Get an issue by ID",
5993
- "value": "getIssueById"
5994
- },
5995
- {
5996
- "name": "Create an issue",
5997
- "value": "createAnIssue"
5998
- },
5999
- {
6000
- "name": "Delete an issue",
6001
- "value": "deleteAnIssue"
6002
- },
6003
- {
6004
- "name": "Comment to an issue",
6005
- "value": "commentToAnIssue"
6006
- },
6007
- {
6008
- "name": "Search issues",
6009
- "value": "searchIssues"
6010
- }
6011
- ],
6001
+ "type": "Hidden",
6002
+ "value": "={\"branch\": if branchName = null then null else branchName, \"ref\": if ref = null then null else ref}",
6012
6003
  "binding": {
6013
6004
  "type": "zeebe:input",
6014
- "name": "operation"
6005
+ "name": "body"
6015
6006
  },
6016
6007
  "condition": {
6017
- "property": "operationGroup",
6018
- "equals": "issues"
6008
+ "property": "branchOperation",
6009
+ "oneOf": ["createRepositoryBranch"]
6019
6010
  }
6020
6011
  },
6021
6012
  {
6022
- "label": "Operation",
6023
- "id": "releaseOperation",
6013
+ "label": "Branch name",
6014
+ "description": "Name of the new branch to modify the file in. The commit is added to this branch",
6024
6015
  "group": "operation",
6025
- "description": "Choose operation to perform",
6026
- "type": "Dropdown",
6027
- "choices": [
6028
- {
6029
- "name": "List all releases by project ID",
6030
- "value": "getReleasesByProjectId"
6031
- },
6032
- {
6033
- "name": "Get release by a tag name",
6034
- "value": "getReleaseByTagName"
6035
- },
6036
- {
6037
- "name": "Create a release",
6038
- "value": "createRelease"
6039
- }
6040
- ],
6016
+ "type": "String",
6017
+ "feel": "optional",
6041
6018
  "binding": {
6042
6019
  "type": "zeebe:input",
6043
- "name": "operation"
6020
+ "name": "branchName"
6021
+ },
6022
+ "constraints": {
6023
+ "notEmpty": true
6044
6024
  },
6045
6025
  "condition": {
6046
- "property": "operationGroup",
6047
- "equals": "releases"
6026
+ "property": "reposOperation",
6027
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
6048
6028
  }
6049
6029
  },
6050
6030
  {
6051
- "label": "Operation",
6052
- "id": "branchOperation",
6031
+ "label": "Commit message",
6032
+ "description": "Message of the commit that modifies the file",
6053
6033
  "group": "operation",
6054
- "description": "Choose operation to perform",
6055
- "type": "Dropdown",
6056
- "choices": [
6057
- {
6058
- "name": "List repository branches",
6059
- "value": "getRepositoryBranchesByProjectId"
6060
- },
6061
- {
6062
- "name": "Create repository branch",
6063
- "value": "createRepositoryBranch"
6064
- }
6065
- ],
6034
+ "type": "String",
6035
+ "feel": "optional",
6066
6036
  "binding": {
6067
6037
  "type": "zeebe:input",
6068
- "name": "operation"
6038
+ "name": "commitMessage"
6039
+ },
6040
+ "constraints": {
6041
+ "notEmpty": true
6069
6042
  },
6070
6043
  "condition": {
6071
- "property": "operationGroup",
6072
- "equals": "branches"
6044
+ "property": "reposOperation",
6045
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
6073
6046
  }
6074
6047
  },
6075
6048
  {
6076
- "label": "Operation",
6077
- "id": "reposOperation",
6049
+ "label": "File content",
6078
6050
  "group": "operation",
6079
- "description": "Choose operation to perform",
6080
- "type": "Dropdown",
6081
- "choices": [
6082
- {
6083
- "name": "Create new file in repository",
6084
- "value": "createRepositoryFile"
6085
- },
6086
- {
6087
- "name": "Get file from repository",
6088
- "value": "getRepositoryFile"
6089
- },
6090
- {
6091
- "name": "Update existing file in repository",
6092
- "value": "updateRepositoryFile"
6093
- }
6094
- ],
6051
+ "type": "Text",
6052
+ "feel": "optional",
6095
6053
  "binding": {
6096
6054
  "type": "zeebe:input",
6097
- "name": "operation"
6055
+ "name": "content"
6056
+ },
6057
+ "constraints": {
6058
+ "notEmpty": true
6098
6059
  },
6099
6060
  "condition": {
6100
- "property": "operationGroup",
6101
- "equals": "repositoryFiles"
6061
+ "property": "reposOperation",
6062
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
6102
6063
  }
6103
6064
  },
6104
6065
  {
6105
- "label": "Operation",
6106
- "id": "mergeOperation",
6066
+ "label": "File path",
6067
+ "description": "URL-encoded full path to the file. For example, lib%2Fclass%2Erb",
6107
6068
  "group": "operation",
6108
- "description": "Choose operation to perform",
6109
- "type": "Dropdown",
6110
- "choices": [
6111
- {
6112
- "name": "Create merge request",
6113
- "value": "createMergeRequest"
6114
- }
6115
- ],
6069
+ "type": "String",
6070
+ "feel": "optional",
6116
6071
  "binding": {
6117
6072
  "type": "zeebe:input",
6118
- "name": "operation"
6073
+ "name": "filePath"
6074
+ },
6075
+ "constraints": {
6076
+ "notEmpty": true
6119
6077
  },
6120
6078
  "condition": {
6121
- "property": "operationGroup",
6122
- "equals": "mergeRequests"
6079
+ "property": "reposOperation",
6080
+ "oneOf": [
6081
+ "createRepositoryFile",
6082
+ "getRepositoryFile",
6083
+ "updateRepositoryFile"
6084
+ ]
6123
6085
  }
6124
6086
  },
6125
6087
  {
6126
- "type": "Hidden",
6127
- "value": "get",
6088
+ "label": "Author email",
6089
+ "description": "The commit author's email address",
6090
+ "group": "operation",
6091
+ "type": "String",
6092
+ "feel": "optional",
6093
+ "optional": true,
6128
6094
  "binding": {
6129
6095
  "type": "zeebe:input",
6130
- "name": "method"
6096
+ "name": "authorEmail"
6131
6097
  },
6132
6098
  "condition": {
6133
- "property": "branchOperation",
6134
- "oneOf": ["getRepositoryBranchesByProjectId"]
6099
+ "property": "reposOperation",
6100
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
6135
6101
  }
6136
6102
  },
6137
6103
  {
6138
- "type": "Hidden",
6139
- "value": "get",
6104
+ "label": "Author name",
6105
+ "description": "The commit author's name",
6106
+ "group": "operation",
6107
+ "type": "String",
6108
+ "feel": "optional",
6109
+ "optional": true,
6140
6110
  "binding": {
6141
6111
  "type": "zeebe:input",
6142
- "name": "method"
6112
+ "name": "authorName"
6143
6113
  },
6144
6114
  "condition": {
6145
- "property": "releaseOperation",
6146
- "oneOf": ["getReleasesByProjectId", "getReleaseByTagName"]
6115
+ "property": "reposOperation",
6116
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
6147
6117
  }
6148
6118
  },
6149
6119
  {
6150
- "type": "Hidden",
6151
- "value": "get",
6120
+ "label": "Encoding",
6121
+ "description": "Change encoding to <code>base64</code>. GitLab's default is <code>text</code>",
6122
+ "group": "operation",
6123
+ "type": "String",
6124
+ "feel": "optional",
6125
+ "optional": true,
6152
6126
  "binding": {
6153
6127
  "type": "zeebe:input",
6154
- "name": "method"
6128
+ "name": "encoding"
6155
6129
  },
6156
6130
  "condition": {
6157
- "property": "issueOperation",
6158
- "oneOf": ["getIssueById", "searchIssues"]
6131
+ "property": "reposOperation",
6132
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
6159
6133
  }
6160
6134
  },
6161
6135
  {
6162
- "type": "Hidden",
6163
- "value": "post",
6136
+ "label": "Execute file mode",
6137
+ "description": "Enables or disables the <code>execute</code> flag on the file",
6138
+ "group": "operation",
6139
+ "type": "Boolean",
6140
+ "feel": "optional",
6141
+ "value": "=false",
6164
6142
  "binding": {
6165
6143
  "type": "zeebe:input",
6166
- "name": "method"
6144
+ "name": "executeFilemode"
6167
6145
  },
6168
6146
  "condition": {
6169
- "property": "mergeOperation",
6170
- "oneOf": ["createMergeRequest"]
6147
+ "property": "reposOperation",
6148
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
6171
6149
  }
6172
6150
  },
6173
6151
  {
6174
- "type": "Hidden",
6175
- "value": "post",
6152
+ "label": "Start branch",
6153
+ "description": "Name of the base branch to start the new branch from",
6154
+ "group": "operation",
6155
+ "type": "String",
6156
+ "feel": "optional",
6157
+ "optional": true,
6176
6158
  "binding": {
6177
6159
  "type": "zeebe:input",
6178
- "name": "method"
6160
+ "name": "startBranch"
6179
6161
  },
6180
6162
  "condition": {
6181
6163
  "property": "reposOperation",
6182
- "oneOf": ["createRepositoryFile"]
6164
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
6183
6165
  }
6184
6166
  },
6185
6167
  {
6186
- "type": "Hidden",
6187
- "value": "get",
6168
+ "label": "Reference",
6169
+ "description": "Name of the branch, tag or commit the file is fetched from",
6170
+ "group": "operation",
6171
+ "type": "String",
6172
+ "feel": "optional",
6188
6173
  "binding": {
6189
6174
  "type": "zeebe:input",
6190
- "name": "method"
6175
+ "name": "repositoryFileReference"
6176
+ },
6177
+ "constraints": {
6178
+ "notEmpty": true
6191
6179
  },
6192
6180
  "condition": {
6193
- "property": "reposOperation",
6181
+ "property": "branchOperation",
6194
6182
  "oneOf": ["getRepositoryFile"]
6195
6183
  }
6196
6184
  },
6197
6185
  {
6198
6186
  "type": "Hidden",
6199
- "value": "put",
6187
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/repository/files/\" + filePath",
6200
6188
  "binding": {
6201
6189
  "type": "zeebe:input",
6202
- "name": "method"
6190
+ "name": "url"
6203
6191
  },
6204
6192
  "condition": {
6205
6193
  "property": "reposOperation",
6206
- "oneOf": ["updateRepositoryFile"]
6194
+ "oneOf": [
6195
+ "createRepositoryFile",
6196
+ "getRepositoryFile",
6197
+ "updateRepositoryFile"
6198
+ ]
6207
6199
  }
6208
6200
  },
6209
6201
  {
6210
6202
  "type": "Hidden",
6211
- "value": "post",
6203
+ "value": "={\"branch\": if branchName = null then null else branchName, \"commit_message\": if commitMessage = null then null else commitMessage, \"content\": if content = null then null else content, \"author_email\": if authorEmail = null then null else authorEmail, \"author_name\": if authorName = null then null else authorName, \"encoding\": if encoding = null then null else encoding, \"execute_filemode\": if executeFilemode = null then null else executeFilemode, \"start_branch\": if startBranch = null then null else startBranch}",
6212
6204
  "binding": {
6213
6205
  "type": "zeebe:input",
6214
- "name": "method"
6206
+ "name": "body"
6215
6207
  },
6216
6208
  "condition": {
6217
- "property": "branchOperation",
6218
- "oneOf": ["createRepositoryBranch"]
6209
+ "property": "reposOperation",
6210
+ "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
6219
6211
  }
6220
6212
  },
6221
6213
  {
6222
6214
  "type": "Hidden",
6223
- "value": "post",
6215
+ "value": "={\"ref\":repositoryFileReference}",
6224
6216
  "binding": {
6225
6217
  "type": "zeebe:input",
6226
- "name": "method"
6218
+ "name": "queryParameters"
6227
6219
  },
6228
6220
  "condition": {
6229
- "property": "releaseOperation",
6230
- "oneOf": ["createRelease"]
6221
+ "property": "reposOperation",
6222
+ "oneOf": ["getRepositoryFile"]
6231
6223
  }
6232
6224
  },
6233
6225
  {
6234
- "type": "Hidden",
6235
- "value": "post",
6226
+ "label": "Source branch",
6227
+ "group": "operation",
6228
+ "type": "String",
6229
+ "feel": "optional",
6236
6230
  "binding": {
6237
6231
  "type": "zeebe:input",
6238
- "name": "method"
6232
+ "name": "sourceBranch"
6233
+ },
6234
+ "constraints": {
6235
+ "notEmpty": true
6239
6236
  },
6240
6237
  "condition": {
6241
- "property": "issueOperation",
6242
- "oneOf": ["commentToAnIssue", "createAnIssue"]
6238
+ "property": "mergeOperation",
6239
+ "oneOf": ["createMergeRequest"]
6243
6240
  }
6244
6241
  },
6245
6242
  {
6246
- "type": "Hidden",
6247
- "value": "delete",
6243
+ "label": "Target branch",
6244
+ "group": "operation",
6245
+ "type": "String",
6246
+ "feel": "optional",
6248
6247
  "binding": {
6249
6248
  "type": "zeebe:input",
6250
- "name": "method"
6249
+ "name": "targetBranch"
6250
+ },
6251
+ "constraints": {
6252
+ "notEmpty": true
6251
6253
  },
6252
6254
  "condition": {
6253
- "property": "issueOperation",
6254
- "oneOf": ["deleteAnIssue"]
6255
+ "property": "mergeOperation",
6256
+ "oneOf": ["createMergeRequest"]
6255
6257
  }
6256
6258
  },
6257
6259
  {
6258
- "label": "Project ID",
6259
- "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
6260
+ "label": "Title",
6260
6261
  "group": "operation",
6261
6262
  "type": "String",
6262
6263
  "feel": "optional",
6263
6264
  "binding": {
6264
6265
  "type": "zeebe:input",
6265
- "name": "projectId"
6266
+ "name": "title"
6266
6267
  },
6267
6268
  "constraints": {
6268
6269
  "notEmpty": true
@@ -6273,1128 +6274,1069 @@
6273
6274
  }
6274
6275
  },
6275
6276
  {
6276
- "label": "Project ID",
6277
- "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
6277
+ "label": "Allow collaboration",
6278
+ "description": "Allow commits from members who can merge to the target branch",
6278
6279
  "group": "operation",
6279
- "type": "String",
6280
+ "type": "Boolean",
6280
6281
  "feel": "optional",
6282
+ "value": "=false",
6281
6283
  "binding": {
6282
6284
  "type": "zeebe:input",
6283
- "name": "projectId"
6284
- },
6285
- "constraints": {
6286
- "notEmpty": true
6285
+ "name": "allowCollaboration"
6287
6286
  },
6288
6287
  "condition": {
6289
6288
  "property": "reposOperation",
6290
- "oneOf": [
6291
- "createRepositoryFile",
6292
- "getRepositoryFile",
6293
- "updateRepositoryFile"
6294
- ]
6289
+ "oneOf": ["createRepositoryFile"]
6295
6290
  }
6296
6291
  },
6297
6292
  {
6298
- "label": "Project ID",
6299
- "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
6293
+ "label": "Assignee IDs",
6294
+ "description": "The ID of the users to assign the merge request to as an array of numbers",
6300
6295
  "group": "operation",
6301
6296
  "type": "String",
6302
6297
  "feel": "optional",
6298
+ "optional": true,
6303
6299
  "binding": {
6304
6300
  "type": "zeebe:input",
6305
- "name": "projectId"
6306
- },
6307
- "constraints": {
6308
- "notEmpty": true
6301
+ "name": "assigneeIds"
6309
6302
  },
6310
6303
  "condition": {
6311
- "property": "branchOperation",
6312
- "oneOf": [
6313
- "getRepositoryBranchesByProjectId",
6314
- "createRepositoryBranch"
6315
- ]
6304
+ "property": "mergeOperation",
6305
+ "oneOf": ["createMergeRequest"]
6316
6306
  }
6317
6307
  },
6318
6308
  {
6319
- "label": "Project ID",
6320
- "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
6309
+ "label": "Description",
6321
6310
  "group": "operation",
6322
6311
  "type": "String",
6323
6312
  "feel": "optional",
6313
+ "optional": true,
6324
6314
  "binding": {
6325
6315
  "type": "zeebe:input",
6326
- "name": "projectId"
6327
- },
6328
- "constraints": {
6329
- "notEmpty": true
6316
+ "name": "description"
6330
6317
  },
6331
6318
  "condition": {
6332
- "property": "releaseOperation",
6333
- "oneOf": [
6334
- "getReleasesByProjectId",
6335
- "getReleaseByTagName",
6336
- "createRelease"
6337
- ]
6319
+ "property": "mergeOperation",
6320
+ "oneOf": ["createMergeRequest"]
6338
6321
  }
6339
6322
  },
6340
6323
  {
6341
- "label": "Project ID",
6342
- "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
6324
+ "label": "Labels",
6325
+ "description": "Labels for the merge request, as a comma-separated list",
6343
6326
  "group": "operation",
6344
6327
  "type": "String",
6345
6328
  "feel": "optional",
6329
+ "optional": true,
6346
6330
  "binding": {
6347
6331
  "type": "zeebe:input",
6348
- "name": "projectId"
6349
- },
6350
- "constraints": {
6351
- "notEmpty": true
6332
+ "name": "labels"
6352
6333
  },
6353
6334
  "condition": {
6354
- "property": "issueOperation",
6355
- "oneOf": [
6356
- "getIssueById",
6357
- "createAnIssue",
6358
- "deleteAnIssue",
6359
- "commentToAnIssue"
6360
- ]
6335
+ "property": "mergeOperation",
6336
+ "oneOf": ["createMergeRequest"]
6361
6337
  }
6362
6338
  },
6363
6339
  {
6364
- "label": "Issue ID",
6365
- "description": "The internal ID of a project\u2019s issue",
6340
+ "label": "Milestone ID",
6366
6341
  "group": "operation",
6367
6342
  "type": "String",
6368
6343
  "feel": "optional",
6344
+ "optional": true,
6369
6345
  "binding": {
6370
6346
  "type": "zeebe:input",
6371
- "name": "issueId"
6347
+ "name": "assigneeIds"
6372
6348
  },
6373
- "constraints": {
6374
- "notEmpty": true
6349
+ "condition": {
6350
+ "property": "mergeOperation",
6351
+ "oneOf": ["createMergeRequest"]
6352
+ }
6353
+ },
6354
+ {
6355
+ "label": "Remove source branch",
6356
+ "description": "Flag indicating if a merge request should remove the source branch when merging",
6357
+ "group": "operation",
6358
+ "type": "Boolean",
6359
+ "feel": "optional",
6360
+ "value": "=false",
6361
+ "binding": {
6362
+ "type": "zeebe:input",
6363
+ "name": "removeSourceBranch"
6375
6364
  },
6376
6365
  "condition": {
6377
- "property": "issueOperation",
6378
- "oneOf": ["getIssueById"]
6366
+ "property": "mergeOperation",
6367
+ "oneOf": ["createMergeRequest"]
6379
6368
  }
6380
6369
  },
6381
6370
  {
6382
- "type": "Hidden",
6383
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues/\" + issueId",
6371
+ "label": "Reviewer IDs",
6372
+ "description": "The ID of the users added as a reviewer to the merge request as an array of numbers",
6373
+ "group": "operation",
6374
+ "type": "String",
6375
+ "feel": "optional",
6376
+ "optional": true,
6384
6377
  "binding": {
6385
6378
  "type": "zeebe:input",
6386
- "name": "url"
6379
+ "name": "reviewerIds"
6387
6380
  },
6388
6381
  "condition": {
6389
- "property": "issueOperation",
6390
- "oneOf": ["getIssueById"]
6382
+ "property": "mergeOperation",
6383
+ "oneOf": ["createMergeRequest"]
6391
6384
  }
6392
6385
  },
6393
6386
  {
6394
- "label": "Title",
6395
- "description": "The title of an issue",
6387
+ "label": "Squash",
6388
+ "description": "Indicates if the merge request is set to be squashed when merged. Project settings might override this value",
6396
6389
  "group": "operation",
6397
- "type": "String",
6390
+ "type": "Boolean",
6398
6391
  "feel": "optional",
6392
+ "value": "=false",
6399
6393
  "binding": {
6400
6394
  "type": "zeebe:input",
6401
- "name": "issueTitle"
6402
- },
6403
- "constraints": {
6404
- "notEmpty": true
6395
+ "name": "squash"
6405
6396
  },
6406
6397
  "condition": {
6407
- "property": "issueOperation",
6408
- "oneOf": ["createAnIssue"]
6398
+ "property": "mergeOperation",
6399
+ "oneOf": ["createMergeRequest"]
6409
6400
  }
6410
6401
  },
6411
6402
  {
6412
- "label": "Description",
6413
- "description": "The description of an issue",
6403
+ "label": "Target project ID",
6404
+ "description": "Numeric ID of the target project",
6414
6405
  "group": "operation",
6415
- "type": "Text",
6406
+ "type": "String",
6416
6407
  "feel": "optional",
6408
+ "optional": true,
6417
6409
  "binding": {
6418
6410
  "type": "zeebe:input",
6419
- "name": "issueDescription"
6420
- },
6421
- "constraints": {
6422
- "notEmpty": true
6411
+ "name": "targetProjectId"
6423
6412
  },
6424
6413
  "condition": {
6425
- "property": "issueOperation",
6426
- "oneOf": ["createAnIssue"]
6414
+ "property": "mergeOperation",
6415
+ "oneOf": ["createMergeRequest"]
6427
6416
  }
6428
6417
  },
6429
6418
  {
6430
6419
  "type": "Hidden",
6431
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues\"",
6420
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/merge_requests\"",
6432
6421
  "binding": {
6433
6422
  "type": "zeebe:input",
6434
6423
  "name": "url"
6435
6424
  },
6436
6425
  "condition": {
6437
- "property": "issueOperation",
6438
- "oneOf": ["createAnIssue"]
6426
+ "property": "mergeOperation",
6427
+ "oneOf": ["createMergeRequest"]
6439
6428
  }
6440
6429
  },
6441
6430
  {
6442
6431
  "type": "Hidden",
6443
- "value": "={\"title\":issueTitle, \"description\":issueDescription}",
6432
+ "value": "={\"source_branch\": if sourceBranch = null then null else sourceBranch, \"target_branch\": if targetBranch = null then null else targetBranch, \"title\": if title = null then null else title, \"assignee_ids\": if assigneeIds = null then null else assigneeIds, \"description\": if description = null then null else description, \"labels\": if labels = null then null else labels, \"milestone_id\": if milestoneId = null then null else milestoneId, \"remove_source_branch\": if removeSourceBranch = null then null else removeSourceBranch, \"reviewer_ids\": if reviewerIds = null then null else reviewerIds, \"squash\": if squash = null then null else squash, \"target_project_id\": if targetProjectId = null then null else targetProjectId}",
6444
6433
  "binding": {
6445
6434
  "type": "zeebe:input",
6446
- "name": "queryParameters"
6435
+ "name": "body"
6447
6436
  },
6448
6437
  "condition": {
6449
- "property": "issueOperation",
6450
- "oneOf": ["createAnIssue"]
6438
+ "property": "mergeOperation",
6439
+ "oneOf": ["createMergeRequest"]
6451
6440
  }
6452
6441
  },
6453
6442
  {
6454
- "id": "skipEncoding",
6455
- "label": "Skip URL encoding",
6456
- "description": "Skip the default URL decoding and encoding behavior",
6457
- "optional": true,
6458
- "group": "endpoint",
6443
+ "type": "Hidden",
6444
+ "value": "20",
6459
6445
  "binding": {
6460
- "name": "skipEncoding",
6461
- "type": "zeebe:input"
6462
- },
6463
- "value": "true",
6464
- "type": "Hidden"
6446
+ "type": "zeebe:input",
6447
+ "name": "connectionTimeoutInSeconds"
6448
+ }
6465
6449
  },
6466
6450
  {
6467
- "label": "Issue ID",
6468
- "description": "The internal ID of a project\u2019s issue",
6469
- "group": "operation",
6451
+ "label": "Result variable",
6452
+ "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>",
6453
+ "group": "output",
6470
6454
  "type": "String",
6471
- "feel": "optional",
6472
6455
  "binding": {
6473
- "type": "zeebe:input",
6474
- "name": "issueId"
6475
- },
6476
- "constraints": {
6477
- "notEmpty": true
6478
- },
6479
- "condition": {
6480
- "property": "issueOperation",
6481
- "oneOf": ["deleteAnIssue"]
6456
+ "type": "zeebe:taskHeader",
6457
+ "key": "resultVariable"
6458
+ }
6459
+ },
6460
+ {
6461
+ "label": "Result expression",
6462
+ "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>",
6463
+ "group": "output",
6464
+ "type": "Text",
6465
+ "feel": "required",
6466
+ "binding": {
6467
+ "type": "zeebe:taskHeader",
6468
+ "key": "resultExpression"
6469
+ }
6470
+ },
6471
+ {
6472
+ "label": "Error expression",
6473
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
6474
+ "group": "errors",
6475
+ "type": "Text",
6476
+ "feel": "required",
6477
+ "binding": {
6478
+ "type": "zeebe:taskHeader",
6479
+ "key": "errorExpression"
6480
+ }
6481
+ }
6482
+ ],
6483
+ "engines": {
6484
+ "camunda": "^8.5"
6485
+ }
6486
+ },
6487
+ {
6488
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
6489
+ "name": "GitLab connector",
6490
+ "id": "io.camunda.connectors.GitLab.v1",
6491
+ "version": 2,
6492
+ "description": "Administer and work with issues and releases",
6493
+ "icon": {
6494
+ "contents": "data:image/svg+xml;utf8,%3Csvg width='18px' height='18px' viewBox='0 -10 256 256' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' preserveAspectRatio='xMidYMid'%3E%3Cg%3E%3Cpath d='M128.07485,236.074667 L128.07485,236.074667 L175.17885,91.1043048 L80.9708495,91.1043048 L128.07485,236.074667 L128.07485,236.074667 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L80.9708495,91.104061 L14.9557638,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1044267 L14.9558857,91.1044267 L0.641828571,135.159589 C-0.663771429,139.17757 0.766171429,143.57955 4.18438095,146.06275 L128.074971,236.074789 L14.9558857,91.1044267 L14.9558857,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1045486 L80.9709714,91.1045486 L52.6000762,3.79026286 C51.1408762,-0.703146667 44.7847619,-0.701927619 43.3255619,3.79026286 L14.9558857,91.1045486 L14.9558857,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L175.17885,91.104061 L241.193935,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M241.193935,91.1044267 L241.193935,91.1044267 L255.507992,135.159589 C256.813592,139.17757 255.38365,143.57955 251.96544,146.06275 L128.07485,236.074789 L241.193935,91.1044267 L241.193935,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M241.193935,91.1045486 L175.17885,91.1045486 L203.549745,3.79026286 C205.008945,-0.703146667 211.365059,-0.701927619 212.824259,3.79026286 L241.193935,91.1045486 L241.193935,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
6495
+ },
6496
+ "category": {
6497
+ "id": "connectors",
6498
+ "name": "Connectors"
6499
+ },
6500
+ "appliesTo": ["bpmn:Task"],
6501
+ "elementType": {
6502
+ "value": "bpmn:ServiceTask"
6503
+ },
6504
+ "groups": [
6505
+ {
6506
+ "id": "endpoint",
6507
+ "label": "HTTP endpoint"
6508
+ },
6509
+ {
6510
+ "id": "operation",
6511
+ "label": "Operation"
6512
+ },
6513
+ {
6514
+ "id": "output",
6515
+ "label": "Response mapping"
6516
+ },
6517
+ {
6518
+ "id": "errors",
6519
+ "label": "Error handling"
6520
+ }
6521
+ ],
6522
+ "properties": [
6523
+ {
6524
+ "type": "Hidden",
6525
+ "value": "io.camunda:http-json:1",
6526
+ "binding": {
6527
+ "type": "zeebe:taskDefinition",
6528
+ "property": "type"
6482
6529
  }
6483
6530
  },
6484
6531
  {
6532
+ "group": "authentication",
6485
6533
  "type": "Hidden",
6486
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues/\" + issueId",
6534
+ "value": "noAuth",
6487
6535
  "binding": {
6488
6536
  "type": "zeebe:input",
6489
- "name": "url"
6490
- },
6491
- "condition": {
6492
- "property": "issueOperation",
6493
- "oneOf": ["deleteAnIssue"]
6537
+ "name": "authentication.type"
6494
6538
  }
6495
6539
  },
6496
6540
  {
6497
- "label": "Issue ID",
6498
- "description": "The internal ID of a project\u2019s issue",
6499
- "group": "operation",
6541
+ "label": "GitLab base URL",
6542
+ "group": "endpoint",
6500
6543
  "type": "String",
6544
+ "value": "https://gitlab.example.com",
6501
6545
  "feel": "optional",
6502
6546
  "binding": {
6503
6547
  "type": "zeebe:input",
6504
- "name": "issueId"
6548
+ "name": "baseUrl"
6505
6549
  },
6506
6550
  "constraints": {
6507
- "notEmpty": true
6508
- },
6509
- "condition": {
6510
- "property": "issueOperation",
6511
- "oneOf": ["commentToAnIssue"]
6551
+ "notEmpty": true,
6552
+ "pattern": {
6553
+ "value": "^(=|(https?://|secrets\\..+|\\{\\{secrets\\..+\\}\\}).*$)",
6554
+ "message": "Must be a http(s) URL"
6555
+ }
6512
6556
  }
6513
6557
  },
6514
6558
  {
6515
- "label": "Note text",
6516
- "description": "The content of a note",
6517
- "group": "operation",
6518
- "type": "Text",
6559
+ "label": "GitLab access token",
6560
+ "group": "endpoint",
6561
+ "type": "String",
6519
6562
  "feel": "optional",
6520
6563
  "binding": {
6521
6564
  "type": "zeebe:input",
6522
- "name": "commentBody"
6565
+ "name": "gitlabAccessToken"
6523
6566
  },
6524
6567
  "constraints": {
6525
6568
  "notEmpty": true
6569
+ }
6570
+ },
6571
+ {
6572
+ "type": "Hidden",
6573
+ "value": "={\"PRIVATE-TOKEN\":gitlabAccessToken, \"Content-Type\":\"application/json\"}",
6574
+ "binding": {
6575
+ "type": "zeebe:input",
6576
+ "name": "headers"
6526
6577
  },
6527
- "condition": {
6528
- "property": "issueOperation",
6529
- "oneOf": ["commentToAnIssue"]
6578
+ "constraints": {
6579
+ "notEmpty": true
6530
6580
  }
6531
6581
  },
6532
6582
  {
6533
- "label": "Level on confidentiality",
6534
- "description": "Indicates whether an issue has to be marked as internal or not",
6583
+ "label": "Operation group",
6584
+ "id": "operationGroup",
6535
6585
  "group": "operation",
6586
+ "description": "Choose operation group",
6536
6587
  "type": "Dropdown",
6537
- "value": "false",
6538
6588
  "choices": [
6539
6589
  {
6540
- "name": "Confidential",
6541
- "value": "true"
6590
+ "name": "Issues",
6591
+ "value": "issues"
6542
6592
  },
6543
6593
  {
6544
- "name": "Non-confidential",
6545
- "value": "false"
6594
+ "name": "Releases",
6595
+ "value": "releases"
6546
6596
  }
6547
6597
  ],
6548
6598
  "binding": {
6549
6599
  "type": "zeebe:input",
6550
- "name": "issueIsConfidential"
6551
- },
6552
- "condition": {
6553
- "property": "issueOperation",
6554
- "oneOf": ["commentToAnIssue"]
6555
- }
6556
- },
6557
- {
6558
- "type": "Hidden",
6559
- "value": "={\"body\":commentBody, \"confidential\":issueIsConfidential}",
6560
- "binding": {
6561
- "type": "zeebe:input",
6562
- "name": "queryParameters"
6563
- },
6564
- "condition": {
6565
- "property": "issueOperation",
6566
- "oneOf": ["commentToAnIssue"]
6567
- }
6568
- },
6569
- {
6570
- "type": "Hidden",
6571
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues/\" + issueId + \"/notes\"",
6572
- "binding": {
6573
- "type": "zeebe:input",
6574
- "name": "url"
6575
- },
6576
- "condition": {
6577
- "property": "issueOperation",
6578
- "oneOf": ["commentToAnIssue"]
6600
+ "name": "operationGroup"
6579
6601
  }
6580
6602
  },
6581
6603
  {
6582
- "label": "Scope",
6583
- "description": "Return issues with the given scope",
6604
+ "label": "Operation",
6605
+ "id": "issueOperation",
6584
6606
  "group": "operation",
6607
+ "description": "Choose operation to perform",
6585
6608
  "type": "Dropdown",
6586
- "optional": true,
6587
- "value": "all",
6588
6609
  "choices": [
6589
6610
  {
6590
- "name": "All",
6591
- "value": "all"
6611
+ "name": "Get an issue by ID",
6612
+ "value": "getIssueById"
6592
6613
  },
6593
6614
  {
6594
- "name": "Created by access token owner",
6595
- "value": "created_by_me"
6615
+ "name": "Create an issue",
6616
+ "value": "createAnIssue"
6596
6617
  },
6597
6618
  {
6598
- "name": "Assigned by access token owner",
6599
- "value": "assigned_to_me"
6619
+ "name": "Delete an issue",
6620
+ "value": "deleteAnIssue"
6621
+ },
6622
+ {
6623
+ "name": "Comment to an issue",
6624
+ "value": "commentToAnIssue"
6625
+ },
6626
+ {
6627
+ "name": "Search issues",
6628
+ "value": "searchIssues"
6600
6629
  }
6601
6630
  ],
6602
6631
  "binding": {
6603
6632
  "type": "zeebe:input",
6604
- "name": "searchIssueScope"
6633
+ "name": "operation"
6605
6634
  },
6606
6635
  "condition": {
6607
- "property": "issueOperation",
6608
- "oneOf": ["searchIssues"]
6636
+ "property": "operationGroup",
6637
+ "equals": "issues"
6609
6638
  }
6610
6639
  },
6611
6640
  {
6612
- "label": "State",
6613
- "description": "Return all issues or just those that are opened or closed",
6641
+ "label": "Operation",
6642
+ "id": "releaseOperation",
6614
6643
  "group": "operation",
6644
+ "description": "Choose operation to perform",
6615
6645
  "type": "Dropdown",
6616
- "value": "all",
6617
- "optional": true,
6618
6646
  "choices": [
6619
6647
  {
6620
- "name": "All",
6621
- "value": "all"
6648
+ "name": "List all releases by project ID",
6649
+ "value": "getReleasesByProjectId"
6622
6650
  },
6623
6651
  {
6624
- "name": "Opened",
6625
- "value": "opened"
6652
+ "name": "Get release by a tag name",
6653
+ "value": "getReleaseByTagName"
6626
6654
  },
6627
6655
  {
6628
- "name": "Closed",
6629
- "value": "closed"
6656
+ "name": "Create a release",
6657
+ "value": "createRelease"
6630
6658
  }
6631
6659
  ],
6632
6660
  "binding": {
6633
6661
  "type": "zeebe:input",
6634
- "name": "searchIssueState"
6635
- },
6636
- "condition": {
6637
- "property": "issueOperation",
6638
- "oneOf": ["searchIssues"]
6639
- }
6640
- },
6641
- {
6642
- "label": "Assignee ID",
6643
- "description": "Return issues assigned to the given user ID. Mutually exclusive with 'Assignee username'. None returns unassigned issues. 'Any' returns issues with an assignee",
6644
- "group": "operation",
6645
- "type": "String",
6646
- "feel": "optional",
6647
- "optional": true,
6648
- "binding": {
6649
- "type": "zeebe:input",
6650
- "name": "searchIssueAssigneeId"
6662
+ "name": "operation"
6651
6663
  },
6652
6664
  "condition": {
6653
- "property": "issueOperation",
6654
- "oneOf": ["searchIssues"]
6665
+ "property": "operationGroup",
6666
+ "equals": "releases"
6655
6667
  }
6656
6668
  },
6657
6669
  {
6658
- "label": "Assignee username",
6659
- "description": " Return issues assigned to the given username. Similar to 'Assignee ID' and mutually exclusive with 'Assignee ID'",
6660
- "group": "operation",
6661
- "type": "String",
6662
- "feel": "optional",
6663
- "optional": true,
6670
+ "type": "Hidden",
6671
+ "value": "get",
6664
6672
  "binding": {
6665
6673
  "type": "zeebe:input",
6666
- "name": "searchIssueAssigneeUsername"
6674
+ "name": "method"
6667
6675
  },
6668
6676
  "condition": {
6669
- "property": "issueOperation",
6670
- "oneOf": ["searchIssues"]
6677
+ "property": "releaseOperation",
6678
+ "oneOf": ["getReleasesByProjectId", "getReleaseByTagName"]
6671
6679
  }
6672
6680
  },
6673
6681
  {
6674
- "label": "Author ID",
6675
- "description": "Return issues created by the given user ID",
6676
- "group": "operation",
6677
- "type": "String",
6678
- "feel": "optional",
6679
- "optional": true,
6682
+ "type": "Hidden",
6683
+ "value": "get",
6680
6684
  "binding": {
6681
6685
  "type": "zeebe:input",
6682
- "name": "searchIssueAuthorId"
6686
+ "name": "method"
6683
6687
  },
6684
6688
  "condition": {
6685
6689
  "property": "issueOperation",
6686
- "oneOf": ["searchIssues"]
6690
+ "oneOf": ["getIssueById", "searchIssues"]
6687
6691
  }
6688
6692
  },
6689
6693
  {
6690
- "label": "Contains text",
6691
- "description": "Search issues against their title and description",
6692
- "group": "operation",
6693
- "type": "String",
6694
- "feel": "optional",
6695
- "optional": true,
6694
+ "type": "Hidden",
6695
+ "value": "post",
6696
6696
  "binding": {
6697
6697
  "type": "zeebe:input",
6698
- "name": "searchIssueSearch"
6698
+ "name": "method"
6699
6699
  },
6700
6700
  "condition": {
6701
- "property": "issueOperation",
6702
- "oneOf": ["searchIssues"]
6701
+ "property": "releaseOperation",
6702
+ "oneOf": ["createRelease"]
6703
6703
  }
6704
6704
  },
6705
6705
  {
6706
6706
  "type": "Hidden",
6707
- "value": "={\"state\":if searchIssueState = null then null else searchIssueState, \"scope\": if searchIssueScope = null then null else searchIssueScope, \"assignee_id\": if searchIssueAssigneeId = null then null else searchIssueAssigneeId, \"assignee_username\": if searchIssueAssigneeUsername = null then null else searchIssueAssigneeUsername, \"author_id\": if searchIssueAuthorId = null then null else searchIssueAuthorId, \"search\": if searchIssueSearch = null then null else searchIssueSearch}",
6707
+ "value": "post",
6708
6708
  "binding": {
6709
6709
  "type": "zeebe:input",
6710
- "name": "queryParameters"
6710
+ "name": "method"
6711
6711
  },
6712
6712
  "condition": {
6713
6713
  "property": "issueOperation",
6714
- "oneOf": ["searchIssues"]
6714
+ "oneOf": ["commentToAnIssue", "createAnIssue"]
6715
6715
  }
6716
6716
  },
6717
6717
  {
6718
6718
  "type": "Hidden",
6719
- "value": "=baseUrl + \"/api/v4/issues\"",
6719
+ "value": "delete",
6720
6720
  "binding": {
6721
6721
  "type": "zeebe:input",
6722
- "name": "url"
6722
+ "name": "method"
6723
6723
  },
6724
6724
  "condition": {
6725
6725
  "property": "issueOperation",
6726
- "oneOf": ["searchIssues"]
6726
+ "oneOf": ["deleteAnIssue"]
6727
6727
  }
6728
6728
  },
6729
6729
  {
6730
- "type": "Hidden",
6731
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/releases\"",
6730
+ "label": "Project ID",
6731
+ "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
6732
+ "group": "operation",
6733
+ "type": "String",
6734
+ "feel": "optional",
6732
6735
  "binding": {
6733
6736
  "type": "zeebe:input",
6734
- "name": "url"
6737
+ "name": "projectId"
6738
+ },
6739
+ "constraints": {
6740
+ "notEmpty": true
6735
6741
  },
6736
6742
  "condition": {
6737
- "property": "releaseOperation",
6738
- "oneOf": ["getReleasesByProjectId"]
6743
+ "property": "issueOperation",
6744
+ "oneOf": ["getIssueById"]
6739
6745
  }
6740
6746
  },
6741
6747
  {
6742
- "label": "Tag name",
6743
- "description": "The Git tag the release is associated with",
6748
+ "label": "Issue ID",
6749
+ "description": "The internal ID of a project’s issue",
6744
6750
  "group": "operation",
6745
6751
  "type": "String",
6746
6752
  "feel": "optional",
6747
6753
  "binding": {
6748
6754
  "type": "zeebe:input",
6749
- "name": "releaseTagName"
6755
+ "name": "issueId"
6750
6756
  },
6751
6757
  "constraints": {
6752
6758
  "notEmpty": true
6753
6759
  },
6754
6760
  "condition": {
6755
- "property": "releaseOperation",
6756
- "oneOf": ["getReleaseByTagName"]
6761
+ "property": "issueOperation",
6762
+ "oneOf": ["getIssueById"]
6757
6763
  }
6758
6764
  },
6759
6765
  {
6760
6766
  "type": "Hidden",
6761
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/releases/\" + releaseTagName",
6767
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues/\" + issueId",
6762
6768
  "binding": {
6763
6769
  "type": "zeebe:input",
6764
6770
  "name": "url"
6765
6771
  },
6766
6772
  "condition": {
6767
- "property": "releaseOperation",
6768
- "oneOf": ["getReleaseByTagName"]
6773
+ "property": "issueOperation",
6774
+ "oneOf": ["getIssueById"]
6769
6775
  }
6770
6776
  },
6771
6777
  {
6772
- "label": "Tag name",
6773
- "description": "The tag where the release is created from",
6778
+ "label": "Project ID",
6779
+ "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
6774
6780
  "group": "operation",
6775
6781
  "type": "String",
6776
6782
  "feel": "optional",
6777
6783
  "binding": {
6778
6784
  "type": "zeebe:input",
6779
- "name": "releaseTagName"
6785
+ "name": "projectId"
6780
6786
  },
6781
6787
  "constraints": {
6782
6788
  "notEmpty": true
6783
6789
  },
6784
6790
  "condition": {
6785
- "property": "releaseOperation",
6786
- "oneOf": ["createRelease"]
6791
+ "property": "issueOperation",
6792
+ "oneOf": ["createAnIssue"]
6787
6793
  }
6788
6794
  },
6789
6795
  {
6790
- "label": "Ref",
6791
- "description": "A commit SHA, another tag name, or a branch name",
6796
+ "label": "Title",
6797
+ "description": "The title of an issue",
6792
6798
  "group": "operation",
6793
6799
  "type": "String",
6794
6800
  "feel": "optional",
6795
6801
  "binding": {
6796
6802
  "type": "zeebe:input",
6797
- "name": "releaseRef"
6803
+ "name": "issueTitle"
6798
6804
  },
6799
6805
  "constraints": {
6800
6806
  "notEmpty": true
6801
6807
  },
6802
6808
  "condition": {
6803
- "property": "releaseOperation",
6804
- "oneOf": ["createRelease"]
6805
- }
6806
- },
6807
- {
6808
- "label": "Release name",
6809
- "description": "The release name",
6810
- "group": "operation",
6811
- "type": "String",
6812
- "feel": "optional",
6813
- "optional": true,
6814
- "binding": {
6815
- "type": "zeebe:input",
6816
- "name": "releaseName"
6817
- },
6818
- "condition": {
6819
- "property": "releaseOperation",
6820
- "oneOf": ["createRelease"]
6809
+ "property": "issueOperation",
6810
+ "oneOf": ["createAnIssue"]
6821
6811
  }
6822
6812
  },
6823
6813
  {
6824
6814
  "label": "Description",
6825
- "description": "The description of the release",
6815
+ "description": "The description of an issue",
6826
6816
  "group": "operation",
6827
6817
  "type": "Text",
6828
6818
  "feel": "optional",
6829
- "optional": true,
6830
- "binding": {
6831
- "type": "zeebe:input",
6832
- "name": "releaseDescription"
6833
- },
6834
- "condition": {
6835
- "property": "releaseOperation",
6836
- "oneOf": ["createRelease"]
6837
- }
6838
- },
6839
- {
6840
- "type": "Hidden",
6841
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/releases\"",
6842
- "binding": {
6843
- "type": "zeebe:input",
6844
- "name": "url"
6845
- },
6846
- "condition": {
6847
- "property": "releaseOperation",
6848
- "oneOf": ["createRelease"]
6849
- }
6850
- },
6851
- {
6852
- "type": "Hidden",
6853
- "value": "={\"tag_name\": if releaseTagName = null then null else releaseTagName, \"name\": if releaseName = null then null else releaseName, \"description\": if releaseDescription = null then releaseDescription else releaseDescription, \"ref\": if releaseRef = null then null else releaseRef}",
6854
- "binding": {
6855
- "type": "zeebe:input",
6856
- "name": "body"
6857
- },
6858
- "condition": {
6859
- "property": "releaseOperation",
6860
- "oneOf": ["createRelease"]
6861
- }
6862
- },
6863
- {
6864
- "label": "Search string",
6865
- "description": "Return list of branches containing the search string",
6866
- "group": "operation",
6867
- "type": "String",
6868
- "feel": "optional",
6869
- "optional": true,
6870
6819
  "binding": {
6871
6820
  "type": "zeebe:input",
6872
- "name": "searchString"
6821
+ "name": "issueDescription"
6873
6822
  },
6874
- "condition": {
6875
- "property": "branchOperation",
6876
- "oneOf": ["getRepositoryBranchesByProjectId"]
6877
- }
6878
- },
6879
- {
6880
- "label": "Regular expression",
6881
- "description": "Return list of branches with names matching a <a href=\"https://github.com/google/re2/wiki/Syntax\" target=\"_blank\">re2</a> regular expression",
6882
- "group": "operation",
6883
- "type": "String",
6884
- "feel": "optional",
6885
- "optional": true,
6886
- "binding": {
6887
- "type": "zeebe:input",
6888
- "name": "regex"
6823
+ "constraints": {
6824
+ "notEmpty": true
6889
6825
  },
6890
6826
  "condition": {
6891
- "property": "branchOperation",
6892
- "oneOf": ["getRepositoryBranchesByProjectId"]
6827
+ "property": "issueOperation",
6828
+ "oneOf": ["createAnIssue"]
6893
6829
  }
6894
6830
  },
6895
6831
  {
6896
6832
  "type": "Hidden",
6897
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/repository/branches\"",
6833
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues\"",
6898
6834
  "binding": {
6899
6835
  "type": "zeebe:input",
6900
6836
  "name": "url"
6901
6837
  },
6902
6838
  "condition": {
6903
- "property": "branchOperation",
6904
- "oneOf": [
6905
- "getRepositoryBranchesByProjectId",
6906
- "createRepositoryBranch"
6907
- ]
6839
+ "property": "issueOperation",
6840
+ "oneOf": ["createAnIssue"]
6908
6841
  }
6909
6842
  },
6910
6843
  {
6911
6844
  "type": "Hidden",
6912
- "value": "={\"search\": if searchString = null then null else searchString, \"regex\": if regex = null then null else regex}",
6845
+ "value": "={\"title\":issueTitle, \"description\":issueDescription}",
6913
6846
  "binding": {
6914
6847
  "type": "zeebe:input",
6915
6848
  "name": "queryParameters"
6916
6849
  },
6917
6850
  "condition": {
6918
- "property": "branchOperation",
6919
- "oneOf": ["getRepositoryBranchesByProjectId"]
6851
+ "property": "issueOperation",
6852
+ "oneOf": ["createAnIssue"]
6920
6853
  }
6921
6854
  },
6922
6855
  {
6923
- "label": "Name",
6924
- "description": "Name of the new branch",
6856
+ "label": "Project ID",
6857
+ "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
6925
6858
  "group": "operation",
6926
6859
  "type": "String",
6927
6860
  "feel": "optional",
6928
6861
  "binding": {
6929
6862
  "type": "zeebe:input",
6930
- "name": "branchName"
6863
+ "name": "projectId"
6931
6864
  },
6932
6865
  "constraints": {
6933
6866
  "notEmpty": true
6934
6867
  },
6935
6868
  "condition": {
6936
- "property": "branchOperation",
6937
- "oneOf": ["createRepositoryBranch"]
6869
+ "property": "issueOperation",
6870
+ "oneOf": ["deleteAnIssue"]
6938
6871
  }
6939
6872
  },
6940
6873
  {
6941
- "label": "Reference",
6942
- "description": "Branch name or commit SHA to create branch from",
6874
+ "label": "Issue ID",
6875
+ "description": "The internal ID of a project’s issue",
6943
6876
  "group": "operation",
6944
6877
  "type": "String",
6945
6878
  "feel": "optional",
6946
6879
  "binding": {
6947
6880
  "type": "zeebe:input",
6948
- "name": "ref"
6881
+ "name": "issueId"
6949
6882
  },
6950
6883
  "constraints": {
6951
6884
  "notEmpty": true
6952
6885
  },
6953
6886
  "condition": {
6954
- "property": "branchOperation",
6955
- "oneOf": ["createRepositoryBranch"]
6887
+ "property": "issueOperation",
6888
+ "oneOf": ["deleteAnIssue"]
6956
6889
  }
6957
6890
  },
6958
6891
  {
6959
6892
  "type": "Hidden",
6960
- "value": "={\"branch\": if branchName = null then null else branchName, \"ref\": if ref = null then null else ref}",
6893
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues/\" + issueId",
6961
6894
  "binding": {
6962
6895
  "type": "zeebe:input",
6963
- "name": "body"
6896
+ "name": "url"
6964
6897
  },
6965
6898
  "condition": {
6966
- "property": "branchOperation",
6967
- "oneOf": ["createRepositoryBranch"]
6899
+ "property": "issueOperation",
6900
+ "oneOf": ["deleteAnIssue"]
6968
6901
  }
6969
6902
  },
6970
6903
  {
6971
- "label": "Branch name",
6972
- "description": "Name of the new branch to modify the file in. The commit is added to this branch",
6904
+ "label": "Project ID",
6905
+ "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
6973
6906
  "group": "operation",
6974
6907
  "type": "String",
6975
6908
  "feel": "optional",
6976
6909
  "binding": {
6977
6910
  "type": "zeebe:input",
6978
- "name": "branchName"
6911
+ "name": "projectId"
6979
6912
  },
6980
6913
  "constraints": {
6981
6914
  "notEmpty": true
6982
6915
  },
6983
6916
  "condition": {
6984
- "property": "reposOperation",
6985
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
6917
+ "property": "issueOperation",
6918
+ "oneOf": ["commentToAnIssue"]
6986
6919
  }
6987
6920
  },
6988
6921
  {
6989
- "label": "Commit message",
6990
- "description": "Message of the commit that modifies the file",
6922
+ "label": "Issue ID",
6923
+ "description": "The internal ID of a project’s issue",
6991
6924
  "group": "operation",
6992
6925
  "type": "String",
6993
6926
  "feel": "optional",
6994
6927
  "binding": {
6995
6928
  "type": "zeebe:input",
6996
- "name": "commitMessage"
6929
+ "name": "issueId"
6997
6930
  },
6998
6931
  "constraints": {
6999
6932
  "notEmpty": true
7000
6933
  },
7001
6934
  "condition": {
7002
- "property": "reposOperation",
7003
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
6935
+ "property": "issueOperation",
6936
+ "oneOf": ["commentToAnIssue"]
7004
6937
  }
7005
6938
  },
7006
6939
  {
7007
- "label": "File content",
6940
+ "label": "Note text",
6941
+ "description": "The content of a note",
7008
6942
  "group": "operation",
7009
6943
  "type": "Text",
7010
6944
  "feel": "optional",
7011
6945
  "binding": {
7012
6946
  "type": "zeebe:input",
7013
- "name": "content"
6947
+ "name": "commentBody"
7014
6948
  },
7015
6949
  "constraints": {
7016
6950
  "notEmpty": true
7017
6951
  },
7018
6952
  "condition": {
7019
- "property": "reposOperation",
7020
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
6953
+ "property": "issueOperation",
6954
+ "oneOf": ["commentToAnIssue"]
7021
6955
  }
7022
6956
  },
7023
6957
  {
7024
- "label": "File path",
7025
- "description": "URL-encoded full path to the file. For example, lib%2Fclass%2Erb",
6958
+ "label": "Level on confidentiality",
6959
+ "description": "Indicates whether an issue has to be marked as internal or not",
7026
6960
  "group": "operation",
7027
- "type": "String",
7028
- "feel": "optional",
6961
+ "type": "Dropdown",
6962
+ "value": "false",
6963
+ "choices": [
6964
+ {
6965
+ "name": "Confidential",
6966
+ "value": "true"
6967
+ },
6968
+ {
6969
+ "name": "Non-confidential",
6970
+ "value": "false"
6971
+ }
6972
+ ],
7029
6973
  "binding": {
7030
6974
  "type": "zeebe:input",
7031
- "name": "filePath"
7032
- },
7033
- "constraints": {
7034
- "notEmpty": true
6975
+ "name": "issueIsConfidential"
7035
6976
  },
7036
6977
  "condition": {
7037
- "property": "reposOperation",
7038
- "oneOf": [
7039
- "createRepositoryFile",
7040
- "getRepositoryFile",
7041
- "updateRepositoryFile"
7042
- ]
6978
+ "property": "issueOperation",
6979
+ "oneOf": ["commentToAnIssue"]
7043
6980
  }
7044
6981
  },
7045
6982
  {
7046
- "label": "Author email",
7047
- "description": "The commit author's email address",
7048
- "group": "operation",
7049
- "type": "String",
7050
- "feel": "optional",
7051
- "optional": true,
6983
+ "type": "Hidden",
6984
+ "value": "={\"body\":commentBody, \"confidential\":issueIsConfidential}",
7052
6985
  "binding": {
7053
6986
  "type": "zeebe:input",
7054
- "name": "authorEmail"
6987
+ "name": "queryParameters"
7055
6988
  },
7056
6989
  "condition": {
7057
- "property": "reposOperation",
7058
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
6990
+ "property": "issueOperation",
6991
+ "oneOf": ["commentToAnIssue"]
7059
6992
  }
7060
6993
  },
7061
6994
  {
7062
- "label": "Author name",
7063
- "description": "The commit author's name",
7064
- "group": "operation",
7065
- "type": "String",
7066
- "feel": "optional",
7067
- "optional": true,
6995
+ "type": "Hidden",
6996
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/issues/\" + issueId + \"/notes\"",
7068
6997
  "binding": {
7069
6998
  "type": "zeebe:input",
7070
- "name": "authorName"
6999
+ "name": "url"
7071
7000
  },
7072
7001
  "condition": {
7073
- "property": "reposOperation",
7074
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
7002
+ "property": "issueOperation",
7003
+ "oneOf": ["commentToAnIssue"]
7075
7004
  }
7076
7005
  },
7077
7006
  {
7078
- "label": "Encoding",
7079
- "description": "Change encoding to <code>base64</code>. GitLab's default is <code>text</code>",
7007
+ "label": "Scope",
7008
+ "description": "Return issues with the given scope",
7080
7009
  "group": "operation",
7081
- "type": "String",
7082
- "feel": "optional",
7010
+ "type": "Dropdown",
7083
7011
  "optional": true,
7012
+ "value": "all",
7013
+ "choices": [
7014
+ {
7015
+ "name": "All",
7016
+ "value": "all"
7017
+ },
7018
+ {
7019
+ "name": "Created by access token owner",
7020
+ "value": "created_by_me"
7021
+ },
7022
+ {
7023
+ "name": "Assigned by access token owner",
7024
+ "value": "assigned_to_me"
7025
+ }
7026
+ ],
7084
7027
  "binding": {
7085
7028
  "type": "zeebe:input",
7086
- "name": "encoding"
7029
+ "name": "searchIssueScope"
7087
7030
  },
7088
7031
  "condition": {
7089
- "property": "reposOperation",
7090
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
7032
+ "property": "issueOperation",
7033
+ "oneOf": ["searchIssues"]
7091
7034
  }
7092
7035
  },
7093
7036
  {
7094
- "label": "Execute file mode",
7095
- "description": "Enables or disables the <code>execute</code> flag on the file",
7037
+ "label": "State",
7038
+ "description": "Return all issues or just those that are opened or closed",
7096
7039
  "group": "operation",
7097
- "type": "Boolean",
7098
- "feel": "optional",
7099
- "value": "=false",
7040
+ "type": "Dropdown",
7041
+ "value": "all",
7042
+ "optional": true,
7043
+ "choices": [
7044
+ {
7045
+ "name": "All",
7046
+ "value": "all"
7047
+ },
7048
+ {
7049
+ "name": "Opened",
7050
+ "value": "opened"
7051
+ },
7052
+ {
7053
+ "name": "Closed",
7054
+ "value": "closed"
7055
+ }
7056
+ ],
7100
7057
  "binding": {
7101
7058
  "type": "zeebe:input",
7102
- "name": "executeFilemode"
7059
+ "name": "searchIssueState"
7103
7060
  },
7104
7061
  "condition": {
7105
- "property": "reposOperation",
7106
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
7062
+ "property": "issueOperation",
7063
+ "oneOf": ["searchIssues"]
7107
7064
  }
7108
7065
  },
7109
7066
  {
7110
- "label": "Start branch",
7111
- "description": "Name of the base branch to start the new branch from",
7067
+ "label": "Assignee ID",
7068
+ "description": "Return issues assigned to the given user ID. Mutually exclusive with 'Assignee username'. None returns unassigned issues. 'Any' returns issues with an assignee",
7112
7069
  "group": "operation",
7113
7070
  "type": "String",
7114
7071
  "feel": "optional",
7115
7072
  "optional": true,
7116
7073
  "binding": {
7117
7074
  "type": "zeebe:input",
7118
- "name": "startBranch"
7075
+ "name": "searchIssueAssigneeId"
7119
7076
  },
7120
7077
  "condition": {
7121
- "property": "reposOperation",
7122
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
7078
+ "property": "issueOperation",
7079
+ "oneOf": ["searchIssues"]
7123
7080
  }
7124
7081
  },
7125
7082
  {
7126
- "label": "Reference",
7127
- "description": "Name of the branch, tag or commit the file is fetched from",
7083
+ "label": "Assignee username",
7084
+ "description": " Return issues assigned to the given username. Similar to 'Assignee ID' and mutually exclusive with 'Assignee ID'",
7128
7085
  "group": "operation",
7129
7086
  "type": "String",
7130
7087
  "feel": "optional",
7088
+ "optional": true,
7131
7089
  "binding": {
7132
7090
  "type": "zeebe:input",
7133
- "name": "repositoryFileReference"
7134
- },
7135
- "constraints": {
7136
- "notEmpty": true
7137
- },
7138
- "condition": {
7139
- "property": "branchOperation",
7140
- "oneOf": ["getRepositoryFile"]
7141
- }
7142
- },
7143
- {
7144
- "type": "Hidden",
7145
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/repository/files/\" + filePath",
7146
- "binding": {
7147
- "type": "zeebe:input",
7148
- "name": "url"
7091
+ "name": "searchIssueAssigneeUsername"
7149
7092
  },
7150
7093
  "condition": {
7151
- "property": "reposOperation",
7152
- "oneOf": [
7153
- "createRepositoryFile",
7154
- "getRepositoryFile",
7155
- "updateRepositoryFile"
7156
- ]
7094
+ "property": "issueOperation",
7095
+ "oneOf": ["searchIssues"]
7157
7096
  }
7158
7097
  },
7159
7098
  {
7160
- "type": "Hidden",
7161
- "value": "={\"branch\": if branchName = null then null else branchName, \"commit_message\": if commitMessage = null then null else commitMessage, \"content\": if content = null then null else content, \"author_email\": if authorEmail = null then null else authorEmail, \"author_name\": if authorName = null then null else authorName, \"encoding\": if encoding = null then null else encoding, \"execute_filemode\": if executeFilemode = null then null else executeFilemode, \"start_branch\": if startBranch = null then null else startBranch}",
7099
+ "label": "Author ID",
7100
+ "description": "Return issues created by the given user ID",
7101
+ "group": "operation",
7102
+ "type": "String",
7103
+ "feel": "optional",
7104
+ "optional": true,
7162
7105
  "binding": {
7163
7106
  "type": "zeebe:input",
7164
- "name": "body"
7107
+ "name": "searchIssueAuthorId"
7165
7108
  },
7166
7109
  "condition": {
7167
- "property": "reposOperation",
7168
- "oneOf": ["createRepositoryFile", "updateRepositoryFile"]
7110
+ "property": "issueOperation",
7111
+ "oneOf": ["searchIssues"]
7169
7112
  }
7170
7113
  },
7171
7114
  {
7172
- "type": "Hidden",
7173
- "value": "={\"ref\":repositoryFileReference}",
7115
+ "label": "Contains text",
7116
+ "description": "Search issues against their title and description",
7117
+ "group": "operation",
7118
+ "type": "String",
7119
+ "feel": "optional",
7120
+ "optional": true,
7174
7121
  "binding": {
7175
7122
  "type": "zeebe:input",
7176
- "name": "queryParameters"
7123
+ "name": "searchIssueSearch"
7177
7124
  },
7178
7125
  "condition": {
7179
- "property": "reposOperation",
7180
- "oneOf": ["getRepositoryFile"]
7126
+ "property": "issueOperation",
7127
+ "oneOf": ["searchIssues"]
7181
7128
  }
7182
7129
  },
7183
7130
  {
7184
- "label": "Source branch",
7185
- "group": "operation",
7186
- "type": "String",
7187
- "feel": "optional",
7131
+ "type": "Hidden",
7132
+ "value": "={\"state\":if searchIssueState = null then null else searchIssueState, \"scope\": if searchIssueScope = null then null else searchIssueScope, \"assignee_id\": if searchIssueAssigneeId = null then null else searchIssueAssigneeId, \"assignee_username\": if searchIssueAssigneeUsername = null then null else searchIssueAssigneeUsername, \"author_id\": if searchIssueAuthorId = null then null else searchIssueAuthorId, \"search\": if searchIssueSearch = null then null else searchIssueSearch}",
7188
7133
  "binding": {
7189
7134
  "type": "zeebe:input",
7190
- "name": "sourceBranch"
7191
- },
7192
- "constraints": {
7193
- "notEmpty": true
7135
+ "name": "queryParameters"
7194
7136
  },
7195
7137
  "condition": {
7196
- "property": "mergeOperation",
7197
- "oneOf": ["createMergeRequest"]
7138
+ "property": "issueOperation",
7139
+ "oneOf": ["searchIssues"]
7198
7140
  }
7199
7141
  },
7200
7142
  {
7201
- "label": "Target branch",
7202
- "group": "operation",
7203
- "type": "String",
7204
- "feel": "optional",
7143
+ "type": "Hidden",
7144
+ "value": "=baseUrl + \"/api/v4/issues\"",
7205
7145
  "binding": {
7206
7146
  "type": "zeebe:input",
7207
- "name": "targetBranch"
7208
- },
7209
- "constraints": {
7210
- "notEmpty": true
7147
+ "name": "url"
7211
7148
  },
7212
7149
  "condition": {
7213
- "property": "mergeOperation",
7214
- "oneOf": ["createMergeRequest"]
7150
+ "property": "issueOperation",
7151
+ "oneOf": ["searchIssues"]
7215
7152
  }
7216
7153
  },
7217
7154
  {
7218
- "label": "Title",
7155
+ "label": "Project ID",
7156
+ "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
7219
7157
  "group": "operation",
7220
7158
  "type": "String",
7221
7159
  "feel": "optional",
7222
7160
  "binding": {
7223
7161
  "type": "zeebe:input",
7224
- "name": "title"
7162
+ "name": "projectId"
7225
7163
  },
7226
7164
  "constraints": {
7227
7165
  "notEmpty": true
7228
7166
  },
7229
7167
  "condition": {
7230
- "property": "mergeOperation",
7231
- "oneOf": ["createMergeRequest"]
7168
+ "property": "releaseOperation",
7169
+ "oneOf": ["getReleasesByProjectId"]
7232
7170
  }
7233
7171
  },
7234
7172
  {
7235
- "label": "Allow collaboration",
7236
- "description": "Allow commits from members who can merge to the target branch",
7237
- "group": "operation",
7238
- "type": "Boolean",
7239
- "feel": "optional",
7240
- "value": "=false",
7173
+ "type": "Hidden",
7174
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/releases\"",
7241
7175
  "binding": {
7242
7176
  "type": "zeebe:input",
7243
- "name": "allowCollaboration"
7177
+ "name": "url"
7244
7178
  },
7245
7179
  "condition": {
7246
- "property": "reposOperation",
7247
- "oneOf": ["createRepositoryFile"]
7180
+ "property": "releaseOperation",
7181
+ "oneOf": ["getReleasesByProjectId"]
7248
7182
  }
7249
7183
  },
7250
7184
  {
7251
- "label": "Assignee IDs",
7252
- "description": "The ID of the users to assign the merge request to as an array of numbers",
7185
+ "label": "Project ID",
7186
+ "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
7253
7187
  "group": "operation",
7254
7188
  "type": "String",
7255
7189
  "feel": "optional",
7256
- "optional": true,
7257
7190
  "binding": {
7258
7191
  "type": "zeebe:input",
7259
- "name": "assigneeIds"
7192
+ "name": "projectId"
7193
+ },
7194
+ "constraints": {
7195
+ "notEmpty": true
7260
7196
  },
7261
7197
  "condition": {
7262
- "property": "mergeOperation",
7263
- "oneOf": ["createMergeRequest"]
7198
+ "property": "releaseOperation",
7199
+ "oneOf": ["getReleaseByTagName"]
7264
7200
  }
7265
7201
  },
7266
7202
  {
7267
- "label": "Description",
7203
+ "label": "Tag name",
7204
+ "description": "The Git tag the release is associated with",
7268
7205
  "group": "operation",
7269
7206
  "type": "String",
7270
7207
  "feel": "optional",
7271
- "optional": true,
7272
7208
  "binding": {
7273
7209
  "type": "zeebe:input",
7274
- "name": "description"
7210
+ "name": "releaseTagName"
7211
+ },
7212
+ "constraints": {
7213
+ "notEmpty": true
7275
7214
  },
7276
7215
  "condition": {
7277
- "property": "mergeOperation",
7278
- "oneOf": ["createMergeRequest"]
7216
+ "property": "releaseOperation",
7217
+ "oneOf": ["getReleaseByTagName"]
7279
7218
  }
7280
7219
  },
7281
7220
  {
7282
- "label": "Labels",
7283
- "description": "Labels for the merge request, as a comma-separated list",
7284
- "group": "operation",
7285
- "type": "String",
7286
- "feel": "optional",
7287
- "optional": true,
7221
+ "type": "Hidden",
7222
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/releases/\" + releaseTagName",
7288
7223
  "binding": {
7289
7224
  "type": "zeebe:input",
7290
- "name": "labels"
7225
+ "name": "url"
7291
7226
  },
7292
7227
  "condition": {
7293
- "property": "mergeOperation",
7294
- "oneOf": ["createMergeRequest"]
7228
+ "property": "releaseOperation",
7229
+ "oneOf": ["getReleaseByTagName"]
7295
7230
  }
7296
7231
  },
7297
7232
  {
7298
- "label": "Milestone ID",
7233
+ "label": "Project ID",
7234
+ "description": "The global ID or URL-encoded path of the project owned by the authenticated user",
7299
7235
  "group": "operation",
7300
7236
  "type": "String",
7301
7237
  "feel": "optional",
7302
- "optional": true,
7303
7238
  "binding": {
7304
7239
  "type": "zeebe:input",
7305
- "name": "assigneeIds"
7240
+ "name": "projectId"
7241
+ },
7242
+ "constraints": {
7243
+ "notEmpty": true
7306
7244
  },
7307
7245
  "condition": {
7308
- "property": "mergeOperation",
7309
- "oneOf": ["createMergeRequest"]
7246
+ "property": "releaseOperation",
7247
+ "oneOf": ["createRelease"]
7310
7248
  }
7311
7249
  },
7312
7250
  {
7313
- "label": "Remove source branch",
7314
- "description": "Flag indicating if a merge request should remove the source branch when merging",
7251
+ "label": "Tag name",
7252
+ "description": "The tag where the release is created from",
7315
7253
  "group": "operation",
7316
- "type": "Boolean",
7254
+ "type": "String",
7317
7255
  "feel": "optional",
7318
- "value": "=false",
7319
7256
  "binding": {
7320
7257
  "type": "zeebe:input",
7321
- "name": "removeSourceBranch"
7258
+ "name": "releaseTagName"
7259
+ },
7260
+ "constraints": {
7261
+ "notEmpty": true
7322
7262
  },
7323
7263
  "condition": {
7324
- "property": "mergeOperation",
7325
- "oneOf": ["createMergeRequest"]
7264
+ "property": "releaseOperation",
7265
+ "oneOf": ["createRelease"]
7326
7266
  }
7327
7267
  },
7328
7268
  {
7329
- "label": "Reviewer IDs",
7330
- "description": "The ID of the users added as a reviewer to the merge request as an array of numbers",
7269
+ "label": "Ref",
7270
+ "description": "A commit SHA, another tag name, or a branch name",
7331
7271
  "group": "operation",
7332
7272
  "type": "String",
7333
7273
  "feel": "optional",
7334
- "optional": true,
7335
7274
  "binding": {
7336
7275
  "type": "zeebe:input",
7337
- "name": "reviewerIds"
7276
+ "name": "releaseRef"
7277
+ },
7278
+ "constraints": {
7279
+ "notEmpty": true
7338
7280
  },
7339
7281
  "condition": {
7340
- "property": "mergeOperation",
7341
- "oneOf": ["createMergeRequest"]
7282
+ "property": "releaseOperation",
7283
+ "oneOf": ["createRelease"]
7342
7284
  }
7343
7285
  },
7344
7286
  {
7345
- "label": "Squash",
7346
- "description": "Indicates if the merge request is set to be squashed when merged. Project settings might override this value",
7287
+ "label": "Release name",
7288
+ "description": "The release name",
7347
7289
  "group": "operation",
7348
- "type": "Boolean",
7290
+ "type": "String",
7349
7291
  "feel": "optional",
7350
- "value": "=false",
7292
+ "optional": true,
7351
7293
  "binding": {
7352
7294
  "type": "zeebe:input",
7353
- "name": "squash"
7295
+ "name": "releaseName"
7354
7296
  },
7355
7297
  "condition": {
7356
- "property": "mergeOperation",
7357
- "oneOf": ["createMergeRequest"]
7298
+ "property": "releaseOperation",
7299
+ "oneOf": ["createRelease"]
7358
7300
  }
7359
7301
  },
7360
7302
  {
7361
- "label": "Target project ID",
7362
- "description": "Numeric ID of the target project",
7303
+ "label": "Description",
7304
+ "description": "The description of the release",
7363
7305
  "group": "operation",
7364
- "type": "String",
7306
+ "type": "Text",
7365
7307
  "feel": "optional",
7366
7308
  "optional": true,
7367
7309
  "binding": {
7368
7310
  "type": "zeebe:input",
7369
- "name": "targetProjectId"
7311
+ "name": "releaseDescription"
7370
7312
  },
7371
7313
  "condition": {
7372
- "property": "mergeOperation",
7373
- "oneOf": ["createMergeRequest"]
7314
+ "property": "releaseOperation",
7315
+ "oneOf": ["createRelease"]
7374
7316
  }
7375
7317
  },
7376
7318
  {
7377
7319
  "type": "Hidden",
7378
- "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/merge_requests\"",
7320
+ "value": "=baseUrl + \"/api/v4/projects/\"+ projectId +\"/releases\"",
7379
7321
  "binding": {
7380
7322
  "type": "zeebe:input",
7381
7323
  "name": "url"
7382
7324
  },
7383
7325
  "condition": {
7384
- "property": "mergeOperation",
7385
- "oneOf": ["createMergeRequest"]
7326
+ "property": "releaseOperation",
7327
+ "oneOf": ["createRelease"]
7386
7328
  }
7387
7329
  },
7388
7330
  {
7389
7331
  "type": "Hidden",
7390
- "value": "={\"source_branch\": if sourceBranch = null then null else sourceBranch, \"target_branch\": if targetBranch = null then null else targetBranch, \"title\": if title = null then null else title, \"assignee_ids\": if assigneeIds = null then null else assigneeIds, \"description\": if description = null then null else description, \"labels\": if labels = null then null else labels, \"milestone_id\": if milestoneId = null then null else milestoneId, \"remove_source_branch\": if removeSourceBranch = null then null else removeSourceBranch, \"reviewer_ids\": if reviewerIds = null then null else reviewerIds, \"squash\": if squash = null then null else squash, \"target_project_id\": if targetProjectId = null then null else targetProjectId}",
7332
+ "value": "={\"tag_name\": if releaseTagName = null then null else releaseTagName, \"name\": if releaseName = null then null else releaseName, \"description\": if releaseDescription = null then releaseDescription else releaseDescription, \"ref\": if releaseRef = null then null else releaseRef}",
7391
7333
  "binding": {
7392
7334
  "type": "zeebe:input",
7393
7335
  "name": "body"
7394
7336
  },
7395
7337
  "condition": {
7396
- "property": "mergeOperation",
7397
- "oneOf": ["createMergeRequest"]
7338
+ "property": "releaseOperation",
7339
+ "oneOf": ["createRelease"]
7398
7340
  }
7399
7341
  },
7400
7342
  {
@@ -7437,14 +7379,38 @@
7437
7379
  "key": "errorExpression"
7438
7380
  }
7439
7381
  }
7440
- ]
7382
+ ],
7383
+ "engines": {
7384
+ "camunda": "^8.2"
7385
+ }
7441
7386
  },
7442
7387
  {
7443
7388
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
7444
7389
  "name": "GitLab Outbound Connector",
7445
7390
  "id": "io.camunda.connectors.GitLab.v1",
7446
- "version": 5,
7447
- "description": "Administer and work with issues, releases, and more",
7391
+ "version": 7,
7392
+ "engines": {
7393
+ "camunda": "^8.3"
7394
+ },
7395
+ "description": "Manage GitLab issues, branches, releases, and more",
7396
+ "metadata": {
7397
+ "keywords": [
7398
+ "create issue",
7399
+ "delete issue",
7400
+ "comment to issue",
7401
+ "search issues",
7402
+ "get issue by ID",
7403
+ "get releases by project ID",
7404
+ "get release by tag name",
7405
+ "create release",
7406
+ "list repository branches",
7407
+ "create repository branch",
7408
+ "create repository file",
7409
+ "get repository file",
7410
+ "update repository file",
7411
+ "create merge request"
7412
+ ]
7413
+ },
7448
7414
  "icon": {
7449
7415
  "contents": "data:image/svg+xml;utf8,%3Csvg width='18px' height='18px' viewBox='0 -10 256 256' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' preserveAspectRatio='xMidYMid'%3E%3Cg%3E%3Cpath d='M128.07485,236.074667 L128.07485,236.074667 L175.17885,91.1043048 L80.9708495,91.1043048 L128.07485,236.074667 L128.07485,236.074667 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L80.9708495,91.104061 L14.9557638,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1044267 L14.9558857,91.1044267 L0.641828571,135.159589 C-0.663771429,139.17757 0.766171429,143.57955 4.18438095,146.06275 L128.074971,236.074789 L14.9558857,91.1044267 L14.9558857,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M14.9558857,91.1045486 L80.9709714,91.1045486 L52.6000762,3.79026286 C51.1408762,-0.703146667 44.7847619,-0.701927619 43.3255619,3.79026286 L14.9558857,91.1045486 L14.9558857,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3Cpath d='M128.07485,236.074423 L175.17885,91.104061 L241.193935,91.104061 L128.07485,236.074423 L128.07485,236.074423 Z' fill='%23FC6D26'%3E%3C/path%3E%3Cpath d='M241.193935,91.1044267 L241.193935,91.1044267 L255.507992,135.159589 C256.813592,139.17757 255.38365,143.57955 251.96544,146.06275 L128.07485,236.074789 L241.193935,91.1044267 L241.193935,91.1044267 Z' fill='%23FCA326'%3E%3C/path%3E%3Cpath d='M241.193935,91.1045486 L175.17885,91.1045486 L203.549745,3.79026286 C205.008945,-0.703146667 211.365059,-0.701927619 212.824259,3.79026286 L241.193935,91.1045486 L241.193935,91.1045486 Z' fill='%23E24329'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
7450
7416
  },
@@ -7948,7 +7914,7 @@
7948
7914
  },
7949
7915
  {
7950
7916
  "label": "Issue ID",
7951
- "description": "The internal ID of a project’s issue",
7917
+ "description": "The internal ID of a project\u2019s issue",
7952
7918
  "group": "operation",
7953
7919
  "type": "String",
7954
7920
  "feel": "optional",
@@ -8036,9 +8002,22 @@
8036
8002
  "oneOf": ["createAnIssue"]
8037
8003
  }
8038
8004
  },
8005
+ {
8006
+ "id": "skipEncoding",
8007
+ "label": "Skip URL encoding",
8008
+ "description": "Skip the default URL decoding and encoding behavior",
8009
+ "optional": true,
8010
+ "group": "endpoint",
8011
+ "binding": {
8012
+ "name": "skipEncoding",
8013
+ "type": "zeebe:input"
8014
+ },
8015
+ "value": "true",
8016
+ "type": "Hidden"
8017
+ },
8039
8018
  {
8040
8019
  "label": "Issue ID",
8041
- "description": "The internal ID of a project’s issue",
8020
+ "description": "The internal ID of a project\u2019s issue",
8042
8021
  "group": "operation",
8043
8022
  "type": "String",
8044
8023
  "feel": "optional",
@@ -8068,7 +8047,7 @@
8068
8047
  },
8069
8048
  {
8070
8049
  "label": "Issue ID",
8071
- "description": "The internal ID of a project’s issue",
8050
+ "description": "The internal ID of a project\u2019s issue",
8072
8051
  "group": "operation",
8073
8052
  "type": "String",
8074
8053
  "feel": "optional",
@@ -9001,7 +8980,7 @@
9001
8980
  },
9002
8981
  {
9003
8982
  "label": "Error expression",
9004
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
8983
+ "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>",
9005
8984
  "group": "errors",
9006
8985
  "type": "Text",
9007
8986
  "feel": "required",
@@ -9009,10 +8988,31 @@
9009
8988
  "type": "zeebe:taskHeader",
9010
8989
  "key": "errorExpression"
9011
8990
  }
8991
+ },
8992
+ {
8993
+ "id": "version",
8994
+ "label": "Version",
8995
+ "description": "Version of the element template",
8996
+ "value": "7",
8997
+ "group": "connector",
8998
+ "binding": {
8999
+ "key": "elementTemplateVersion",
9000
+ "type": "zeebe:taskHeader"
9001
+ },
9002
+ "type": "Hidden"
9003
+ },
9004
+ {
9005
+ "id": "id",
9006
+ "label": "ID",
9007
+ "description": "ID of the element template",
9008
+ "value": "io.camunda.connectors.GitLab.v1",
9009
+ "group": "connector",
9010
+ "binding": {
9011
+ "key": "elementTemplateId",
9012
+ "type": "zeebe:taskHeader"
9013
+ },
9014
+ "type": "Hidden"
9012
9015
  }
9013
- ],
9014
- "engines": {
9015
- "camunda": "^8.5"
9016
- }
9016
+ ]
9017
9017
  }
9018
9018
  ]