@itentialopensource/adapter-jira 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CALLS.md +9 -9
- package/CHANGELOG.md +8 -0
- package/metadata.json +2 -2
- package/package.json +4 -4
- package/pronghorn.json +35 -95
- package/propertiesSchema.json +10 -1
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +2 -2
- package/report/updateReport1698421747424.json +120 -0
- package/utils/methodDocumentor.js +16 -3
package/CALLS.md
CHANGED
|
@@ -14007,13 +14007,13 @@ The settings listed below adjust the [look and feel](https://confluence.atlassia
|
|
|
14007
14007
|
<td style="padding:15px">Yes</td>
|
|
14008
14008
|
</tr>
|
|
14009
14009
|
<tr>
|
|
14010
|
-
<td style="padding:15px">analyseExpression(check = syntax, body, callback)</td>
|
|
14010
|
+
<td style="padding:15px">analyseExpression(check = 'syntax', body, callback)</td>
|
|
14011
14011
|
<td style="padding:15px">Analyse Jira expression</td>
|
|
14012
14012
|
<td style="padding:15px">{base_path}/{version}/expression/analyse?{query}</td>
|
|
14013
14013
|
<td style="padding:15px">Yes</td>
|
|
14014
14014
|
</tr>
|
|
14015
14015
|
<tr>
|
|
14016
|
-
<td style="padding:15px">getFieldsPaginated(startAt, maxResults, type, id, query, orderBy = contextsCount, expand, callback)</td>
|
|
14016
|
+
<td style="padding:15px">getFieldsPaginated(startAt, maxResults, type, id, query, orderBy = 'contextsCount', expand, callback)</td>
|
|
14017
14017
|
<td style="padding:15px">Get fields paginated</td>
|
|
14018
14018
|
<td style="padding:15px">{base_path}/{version}/field/search?{query}</td>
|
|
14019
14019
|
<td style="padding:15px">Yes</td>
|
|
@@ -14445,7 +14445,7 @@ The settings listed below adjust the [look and feel](https://confluence.atlassia
|
|
|
14445
14445
|
<td style="padding:15px">Yes</td>
|
|
14446
14446
|
</tr>
|
|
14447
14447
|
<tr>
|
|
14448
|
-
<td style="padding:15px">parseJqlQueries(validation = strict, body, callback)</td>
|
|
14448
|
+
<td style="padding:15px">parseJqlQueries(validation = 'strict', body, callback)</td>
|
|
14449
14449
|
<td style="padding:15px">Parse JQL query</td>
|
|
14450
14450
|
<td style="padding:15px">{base_path}/{version}/jql/parse?{query}</td>
|
|
14451
14451
|
<td style="padding:15px">Yes</td>
|
|
@@ -14547,19 +14547,19 @@ The settings listed below adjust the [look and feel](https://confluence.atlassia
|
|
|
14547
14547
|
<td style="padding:15px">Yes</td>
|
|
14548
14548
|
</tr>
|
|
14549
14549
|
<tr>
|
|
14550
|
-
<td style="padding:15px">getAvatarImageByType(type = issuetype, size = xsmall, format = png, callback)</td>
|
|
14550
|
+
<td style="padding:15px">getAvatarImageByType(type = 'issuetype', size = 'xsmall', format = 'png', callback)</td>
|
|
14551
14551
|
<td style="padding:15px">Get avatar image by type</td>
|
|
14552
14552
|
<td style="padding:15px">{base_path}/{version}/universal_avatar/view/type/{pathv1}?{query}</td>
|
|
14553
14553
|
<td style="padding:15px">Yes</td>
|
|
14554
14554
|
</tr>
|
|
14555
14555
|
<tr>
|
|
14556
|
-
<td style="padding:15px">getAvatarImageByID(type = issuetype, id, size = xsmall, format = png, callback)</td>
|
|
14556
|
+
<td style="padding:15px">getAvatarImageByID(type = 'issuetype', id, size = 'xsmall', format = 'png', callback)</td>
|
|
14557
14557
|
<td style="padding:15px">Get avatar image by ID</td>
|
|
14558
14558
|
<td style="padding:15px">{base_path}/{version}/universal_avatar/view/type/{pathv1}/avatar/{pathv2}?{query}</td>
|
|
14559
14559
|
<td style="padding:15px">Yes</td>
|
|
14560
14560
|
</tr>
|
|
14561
14561
|
<tr>
|
|
14562
|
-
<td style="padding:15px">getAvatarImageByOwner(type = issuetype, entityId, size = xsmall, format = png, callback)</td>
|
|
14562
|
+
<td style="padding:15px">getAvatarImageByOwner(type = 'issuetype', entityId, size = 'xsmall', format = 'png', callback)</td>
|
|
14563
14563
|
<td style="padding:15px">Get avatar image by owner</td>
|
|
14564
14564
|
<td style="padding:15px">{base_path}/{version}/universal_avatar/view/type/{pathv1}/owner/{pathv2}?{query}</td>
|
|
14565
14565
|
<td style="padding:15px">Yes</td>
|
|
@@ -14625,7 +14625,7 @@ The settings listed below adjust the [look and feel](https://confluence.atlassia
|
|
|
14625
14625
|
<td style="padding:15px">Yes</td>
|
|
14626
14626
|
</tr>
|
|
14627
14627
|
<tr>
|
|
14628
|
-
<td style="padding:15px">getWorkflowsPaginated(startAt, maxResults, workflowName, expand, queryString, orderBy = name, isActive, callback)</td>
|
|
14628
|
+
<td style="padding:15px">getWorkflowsPaginated(startAt, maxResults, workflowName, expand, queryString, orderBy = 'name', isActive, callback)</td>
|
|
14629
14629
|
<td style="padding:15px">Get workflows paginated</td>
|
|
14630
14630
|
<td style="padding:15px">{base_path}/{version}/workflow/search?{query}</td>
|
|
14631
14631
|
<td style="padding:15px">Yes</td>
|
|
@@ -14721,7 +14721,7 @@ The settings listed below adjust the [look and feel](https://confluence.atlassia
|
|
|
14721
14721
|
<td style="padding:15px">Yes</td>
|
|
14722
14722
|
</tr>
|
|
14723
14723
|
<tr>
|
|
14724
|
-
<td style="padding:15px">getTrashedFieldsPaginated(startAt, maxResults, id, query, expand = name, orderBy, callback)</td>
|
|
14724
|
+
<td style="padding:15px">getTrashedFieldsPaginated(startAt, maxResults, id, query, expand = 'name', orderBy, callback)</td>
|
|
14725
14725
|
<td style="padding:15px">Get fields in trash paginated</td>
|
|
14726
14726
|
<td style="padding:15px">{base_path}/{version}/field/search/trashed?{query}</td>
|
|
14727
14727
|
<td style="padding:15px">Yes</td>
|
|
@@ -15063,7 +15063,7 @@ The settings listed below adjust the [look and feel](https://confluence.atlassia
|
|
|
15063
15063
|
<td style="padding:15px">Yes</td>
|
|
15064
15064
|
</tr>
|
|
15065
15065
|
<tr>
|
|
15066
|
-
<td style="padding:15px">migrationResourceUpdateEntityPropertiesValuePut(entityType = IssueProperty, body, callback)</td>
|
|
15066
|
+
<td style="padding:15px">migrationResourceUpdateEntityPropertiesValuePut(entityType = 'IssueProperty', body, callback)</td>
|
|
15067
15067
|
<td style="padding:15px">Bulk update entity properties</td>
|
|
15068
15068
|
<td style="padding:15px">/rest/atlassian-connect/1/migration/properties/{pathv1}?{query}</td>
|
|
15069
15069
|
<td style="padding:15px">Yes</td>
|
package/CHANGELOG.md
CHANGED
package/metadata.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"method": "REST",
|
|
18
18
|
"type": "Adapter",
|
|
19
19
|
"domains": [
|
|
20
|
-
"ITSM
|
|
20
|
+
"ITSM (Service Management)"
|
|
21
21
|
],
|
|
22
22
|
"tags": [
|
|
23
23
|
"Ticket/Issue Management"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"documentation": {
|
|
33
33
|
"storeLink": "",
|
|
34
34
|
"npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-jira",
|
|
35
|
-
"repoLink": "https://gitlab.com/itentialopensource/adapters/itsm-testing/adapter-jira
|
|
35
|
+
"repoLink": "https://gitlab.com/itentialopensource/adapters/itsm-testing/adapter-jira",
|
|
36
36
|
"docLink": "https://docs.itential.com/opensource/docs/jira",
|
|
37
37
|
"demoLinks": [],
|
|
38
38
|
"faqLink": "https://docs.itential.com/opensource/docs/troubleshooting-an-adapter",
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-jira",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "This adapter integrates with system Jira",
|
|
5
5
|
"main": "adapter.js",
|
|
6
6
|
"systemName": "Jira",
|
|
7
7
|
"wizardVersion": "2.44.7",
|
|
8
|
-
"engineVersion": "1.67.
|
|
8
|
+
"engineVersion": "1.67.10",
|
|
9
9
|
"adapterType": "http",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"artifactize": "npm i && node utils/packModificationScript.js",
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"url": "git@gitlab.com:itentialopensource/adapters/itsm-testing/adapter-jira.git"
|
|
55
55
|
},
|
|
56
56
|
"author": "Itential",
|
|
57
|
-
"homepage": "https://gitlab.com/itentialopensource/adapters/itsm-testing/adapter-jira
|
|
57
|
+
"homepage": "https://gitlab.com/itentialopensource/adapters/itsm-testing/adapter-jira#readme",
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@itentialopensource/adapter-utils": "^5.
|
|
59
|
+
"@itentialopensource/adapter-utils": "^5.3.0",
|
|
60
60
|
"acorn": "^8.10.0",
|
|
61
61
|
"ajv": "^8.12.0",
|
|
62
62
|
"axios": "^1.4.0",
|
package/pronghorn.json
CHANGED
|
@@ -42716,9 +42716,7 @@
|
|
|
42716
42716
|
},
|
|
42717
42717
|
"additionalProperties": false,
|
|
42718
42718
|
"description": "Configuration of the announcement banner.",
|
|
42719
|
-
"writeOnly": true
|
|
42720
|
-
"definitions": {}
|
|
42721
|
-
}
|
|
42719
|
+
"writeOnly": true }
|
|
42722
42720
|
}
|
|
42723
42721
|
],
|
|
42724
42722
|
"output": {
|
|
@@ -42892,9 +42890,7 @@
|
|
|
42892
42890
|
}
|
|
42893
42891
|
},
|
|
42894
42892
|
"additionalProperties": false,
|
|
42895
|
-
"description": "Details of the settings for a dashboard gadget."
|
|
42896
|
-
"definitions": {}
|
|
42897
|
-
}
|
|
42893
|
+
"description": "Details of the settings for a dashboard gadget." }
|
|
42898
42894
|
}
|
|
42899
42895
|
],
|
|
42900
42896
|
"output": {
|
|
@@ -42980,9 +42976,7 @@
|
|
|
42980
42976
|
}
|
|
42981
42977
|
},
|
|
42982
42978
|
"additionalProperties": false,
|
|
42983
|
-
"description": "The details of the gadget to update."
|
|
42984
|
-
"definitions": {}
|
|
42985
|
-
}
|
|
42979
|
+
"description": "The details of the gadget to update." }
|
|
42986
42980
|
}
|
|
42987
42981
|
],
|
|
42988
42982
|
"output": {
|
|
@@ -43163,9 +43157,7 @@
|
|
|
43163
43157
|
},
|
|
43164
43158
|
"additionalProperties": false,
|
|
43165
43159
|
"description": "The account ID of the new owner.",
|
|
43166
|
-
"writeOnly": true
|
|
43167
|
-
"definitions": {}
|
|
43168
|
-
}
|
|
43160
|
+
"writeOnly": true }
|
|
43169
43161
|
}
|
|
43170
43162
|
],
|
|
43171
43163
|
"output": {
|
|
@@ -43264,9 +43256,7 @@
|
|
|
43264
43256
|
}
|
|
43265
43257
|
},
|
|
43266
43258
|
"additionalProperties": true,
|
|
43267
|
-
"description": "Issue security scheme and it's details"
|
|
43268
|
-
"definitions": {}
|
|
43269
|
-
}
|
|
43259
|
+
"description": "Issue security scheme and it's details" }
|
|
43270
43260
|
}
|
|
43271
43261
|
],
|
|
43272
43262
|
"output": {
|
|
@@ -43403,9 +43393,7 @@
|
|
|
43403
43393
|
}
|
|
43404
43394
|
},
|
|
43405
43395
|
"additionalProperties": true,
|
|
43406
|
-
"description": "Details of new default levels."
|
|
43407
|
-
"definitions": {}
|
|
43408
|
-
}
|
|
43396
|
+
"description": "Details of new default levels." }
|
|
43409
43397
|
}
|
|
43410
43398
|
],
|
|
43411
43399
|
"output": {
|
|
@@ -43669,9 +43657,7 @@
|
|
|
43669
43657
|
"description": "The name of the security scheme scheme. Must be unique."
|
|
43670
43658
|
}
|
|
43671
43659
|
},
|
|
43672
|
-
"additionalProperties": false
|
|
43673
|
-
"definitions": {}
|
|
43674
|
-
}
|
|
43660
|
+
"additionalProperties": false }
|
|
43675
43661
|
}
|
|
43676
43662
|
],
|
|
43677
43663
|
"output": {
|
|
@@ -43800,9 +43786,7 @@
|
|
|
43800
43786
|
}
|
|
43801
43787
|
}
|
|
43802
43788
|
},
|
|
43803
|
-
"additionalProperties": false
|
|
43804
|
-
"definitions": {}
|
|
43805
|
-
}
|
|
43789
|
+
"additionalProperties": false }
|
|
43806
43790
|
}
|
|
43807
43791
|
],
|
|
43808
43792
|
"output": {
|
|
@@ -43868,9 +43852,7 @@
|
|
|
43868
43852
|
}
|
|
43869
43853
|
},
|
|
43870
43854
|
"additionalProperties": true,
|
|
43871
|
-
"description": "Details of issue security scheme level."
|
|
43872
|
-
"definitions": {}
|
|
43873
|
-
}
|
|
43855
|
+
"description": "Details of issue security scheme level." }
|
|
43874
43856
|
}
|
|
43875
43857
|
],
|
|
43876
43858
|
"output": {
|
|
@@ -44005,9 +43987,7 @@
|
|
|
44005
43987
|
}
|
|
44006
43988
|
},
|
|
44007
43989
|
"additionalProperties": false,
|
|
44008
|
-
"description": "Details of issue security scheme level new members."
|
|
44009
|
-
"definitions": {}
|
|
44010
|
-
}
|
|
43990
|
+
"description": "Details of issue security scheme level new members." }
|
|
44011
43991
|
}
|
|
44012
43992
|
],
|
|
44013
43993
|
"output": {
|
|
@@ -44126,9 +44106,7 @@
|
|
|
44126
44106
|
},
|
|
44127
44107
|
"additionalProperties": false,
|
|
44128
44108
|
"description": "The list of JQL queries to sanitize for the given account IDs.",
|
|
44129
|
-
"writeOnly": true
|
|
44130
|
-
"definitions": {}
|
|
44131
|
-
}
|
|
44109
|
+
"writeOnly": true }
|
|
44132
44110
|
}
|
|
44133
44111
|
],
|
|
44134
44112
|
"output": {
|
|
@@ -44258,9 +44236,7 @@
|
|
|
44258
44236
|
},
|
|
44259
44237
|
"additionalProperties": false,
|
|
44260
44238
|
"description": "List of pairs (id and value) for precomputation updates.",
|
|
44261
|
-
"writeOnly": true
|
|
44262
|
-
"definitions": {}
|
|
44263
|
-
}
|
|
44239
|
+
"writeOnly": true }
|
|
44264
44240
|
}
|
|
44265
44241
|
],
|
|
44266
44242
|
"output": {
|
|
@@ -44427,9 +44403,7 @@
|
|
|
44427
44403
|
}
|
|
44428
44404
|
},
|
|
44429
44405
|
"additionalProperties": true,
|
|
44430
|
-
"description": "Details of an notification scheme."
|
|
44431
|
-
"definitions": {}
|
|
44432
|
-
}
|
|
44406
|
+
"description": "Details of an notification scheme." }
|
|
44433
44407
|
}
|
|
44434
44408
|
],
|
|
44435
44409
|
"output": {
|
|
@@ -44547,9 +44521,7 @@
|
|
|
44547
44521
|
}
|
|
44548
44522
|
},
|
|
44549
44523
|
"additionalProperties": true,
|
|
44550
|
-
"description": "Details of a notification scheme."
|
|
44551
|
-
"definitions": {}
|
|
44552
|
-
}
|
|
44524
|
+
"description": "Details of a notification scheme." }
|
|
44553
44525
|
}
|
|
44554
44526
|
],
|
|
44555
44527
|
"output": {
|
|
@@ -44659,9 +44631,7 @@
|
|
|
44659
44631
|
}
|
|
44660
44632
|
},
|
|
44661
44633
|
"additionalProperties": true,
|
|
44662
|
-
"description": "Details of notifications which should be added to the notification scheme."
|
|
44663
|
-
"definitions": {}
|
|
44664
|
-
}
|
|
44634
|
+
"description": "Details of notifications which should be added to the notification scheme." }
|
|
44665
44635
|
}
|
|
44666
44636
|
],
|
|
44667
44637
|
"output": {
|
|
@@ -44810,9 +44780,7 @@
|
|
|
44810
44780
|
}
|
|
44811
44781
|
},
|
|
44812
44782
|
"additionalProperties": true,
|
|
44813
|
-
"description": "Details of an issue priority."
|
|
44814
|
-
"definitions": {}
|
|
44815
|
-
}
|
|
44783
|
+
"description": "Details of an issue priority." }
|
|
44816
44784
|
}
|
|
44817
44785
|
],
|
|
44818
44786
|
"output": {
|
|
@@ -44854,9 +44822,7 @@
|
|
|
44854
44822
|
}
|
|
44855
44823
|
},
|
|
44856
44824
|
"additionalProperties": false,
|
|
44857
|
-
"description": "The new default issue priority."
|
|
44858
|
-
"definitions": {}
|
|
44859
|
-
}
|
|
44825
|
+
"description": "The new default issue priority." }
|
|
44860
44826
|
}
|
|
44861
44827
|
],
|
|
44862
44828
|
"output": {
|
|
@@ -44911,9 +44877,7 @@
|
|
|
44911
44877
|
}
|
|
44912
44878
|
},
|
|
44913
44879
|
"additionalProperties": false,
|
|
44914
|
-
"description": "Change the order of issue priorities."
|
|
44915
|
-
"definitions": {}
|
|
44916
|
-
}
|
|
44880
|
+
"description": "Change the order of issue priorities." }
|
|
44917
44881
|
}
|
|
44918
44882
|
],
|
|
44919
44883
|
"output": {
|
|
@@ -45053,9 +45017,7 @@
|
|
|
45053
45017
|
}
|
|
45054
45018
|
},
|
|
45055
45019
|
"additionalProperties": true,
|
|
45056
|
-
"description": "Details of an issue priority."
|
|
45057
|
-
"definitions": {}
|
|
45058
|
-
}
|
|
45020
|
+
"description": "Details of an issue priority." }
|
|
45059
45021
|
}
|
|
45060
45022
|
],
|
|
45061
45023
|
"output": {
|
|
@@ -45148,9 +45110,7 @@
|
|
|
45148
45110
|
}
|
|
45149
45111
|
},
|
|
45150
45112
|
"additionalProperties": true,
|
|
45151
|
-
"description": "Details of an issue resolution."
|
|
45152
|
-
"definitions": {}
|
|
45153
|
-
}
|
|
45113
|
+
"description": "Details of an issue resolution." }
|
|
45154
45114
|
}
|
|
45155
45115
|
],
|
|
45156
45116
|
"output": {
|
|
@@ -45192,9 +45152,7 @@
|
|
|
45192
45152
|
}
|
|
45193
45153
|
},
|
|
45194
45154
|
"additionalProperties": false,
|
|
45195
|
-
"description": "The new default issue resolution."
|
|
45196
|
-
"definitions": {}
|
|
45197
|
-
}
|
|
45155
|
+
"description": "The new default issue resolution." }
|
|
45198
45156
|
}
|
|
45199
45157
|
],
|
|
45200
45158
|
"output": {
|
|
@@ -45249,9 +45207,7 @@
|
|
|
45249
45207
|
}
|
|
45250
45208
|
},
|
|
45251
45209
|
"additionalProperties": false,
|
|
45252
|
-
"description": "Change the order of issue resolutions."
|
|
45253
|
-
"definitions": {}
|
|
45254
|
-
}
|
|
45210
|
+
"description": "Change the order of issue resolutions." }
|
|
45255
45211
|
}
|
|
45256
45212
|
],
|
|
45257
45213
|
"output": {
|
|
@@ -45373,9 +45329,7 @@
|
|
|
45373
45329
|
}
|
|
45374
45330
|
},
|
|
45375
45331
|
"additionalProperties": true,
|
|
45376
|
-
"description": "Details of an issue resolution."
|
|
45377
|
-
"definitions": {}
|
|
45378
|
-
}
|
|
45332
|
+
"description": "Details of an issue resolution." }
|
|
45379
45333
|
}
|
|
45380
45334
|
],
|
|
45381
45335
|
"output": {
|
|
@@ -45634,9 +45588,7 @@
|
|
|
45634
45588
|
}
|
|
45635
45589
|
},
|
|
45636
45590
|
"additionalProperties": false,
|
|
45637
|
-
"description": "The list of statuses that will be updated."
|
|
45638
|
-
"definitions": {}
|
|
45639
|
-
}
|
|
45591
|
+
"description": "The list of statuses that will be updated." }
|
|
45640
45592
|
}
|
|
45641
45593
|
],
|
|
45642
45594
|
"output": {
|
|
@@ -45742,9 +45694,7 @@
|
|
|
45742
45694
|
}
|
|
45743
45695
|
},
|
|
45744
45696
|
"additionalProperties": false,
|
|
45745
|
-
"description": "Details of the statuses being created and their scope."
|
|
45746
|
-
"definitions": {}
|
|
45747
|
-
}
|
|
45697
|
+
"description": "Details of the statuses being created and their scope." }
|
|
45748
45698
|
}
|
|
45749
45699
|
],
|
|
45750
45700
|
"output": {
|
|
@@ -46102,9 +46052,7 @@
|
|
|
46102
46052
|
}
|
|
46103
46053
|
},
|
|
46104
46054
|
"additionalProperties": false,
|
|
46105
|
-
"description": "The details of a UI modification."
|
|
46106
|
-
"definitions": {}
|
|
46107
|
-
}
|
|
46055
|
+
"description": "The details of a UI modification." }
|
|
46108
46056
|
}
|
|
46109
46057
|
],
|
|
46110
46058
|
"output": {
|
|
@@ -46200,9 +46148,7 @@
|
|
|
46200
46148
|
}
|
|
46201
46149
|
},
|
|
46202
46150
|
"additionalProperties": false,
|
|
46203
|
-
"description": "The details of a UI modification."
|
|
46204
|
-
"definitions": {}
|
|
46205
|
-
}
|
|
46151
|
+
"description": "The details of a UI modification." }
|
|
46206
46152
|
}
|
|
46207
46153
|
],
|
|
46208
46154
|
"output": {
|
|
@@ -46364,7 +46310,8 @@
|
|
|
46364
46310
|
"info": ": object",
|
|
46365
46311
|
"required": true,
|
|
46366
46312
|
"schema": {
|
|
46367
|
-
"
|
|
46313
|
+
"title": "body",
|
|
46314
|
+
"type": "object"
|
|
46368
46315
|
}
|
|
46369
46316
|
}
|
|
46370
46317
|
],
|
|
@@ -46450,7 +46397,8 @@
|
|
|
46450
46397
|
"info": ": object",
|
|
46451
46398
|
"required": true,
|
|
46452
46399
|
"schema": {
|
|
46453
|
-
"
|
|
46400
|
+
"title": "body",
|
|
46401
|
+
"type": "object"
|
|
46454
46402
|
}
|
|
46455
46403
|
}
|
|
46456
46404
|
],
|
|
@@ -46611,9 +46559,7 @@
|
|
|
46611
46559
|
"key": "dynamic-select-field"
|
|
46612
46560
|
}
|
|
46613
46561
|
]
|
|
46614
|
-
}
|
|
46615
|
-
"definitions": {}
|
|
46616
|
-
}
|
|
46562
|
+
} }
|
|
46617
46563
|
}
|
|
46618
46564
|
],
|
|
46619
46565
|
"output": {
|
|
@@ -46740,9 +46686,7 @@
|
|
|
46740
46686
|
},
|
|
46741
46687
|
"additionalProperties": false,
|
|
46742
46688
|
"description": "Details of updates for a custom field.",
|
|
46743
|
-
"writeOnly": true
|
|
46744
|
-
"definitions": {}
|
|
46745
|
-
}
|
|
46689
|
+
"writeOnly": true }
|
|
46746
46690
|
}
|
|
46747
46691
|
],
|
|
46748
46692
|
"output": {
|
|
@@ -46789,9 +46733,7 @@
|
|
|
46789
46733
|
"type": "array",
|
|
46790
46734
|
"items": {
|
|
46791
46735
|
"type": "object"
|
|
46792
|
-
}
|
|
46793
|
-
"definitions": {}
|
|
46794
|
-
}
|
|
46736
|
+
} }
|
|
46795
46737
|
}
|
|
46796
46738
|
],
|
|
46797
46739
|
"output": {
|
|
@@ -46851,9 +46793,7 @@
|
|
|
46851
46793
|
"example": "a498d711-685d-428d-8c3e-bc03bb450ea7"
|
|
46852
46794
|
}
|
|
46853
46795
|
},
|
|
46854
|
-
"description": "Details of the workflow and its transition rules."
|
|
46855
|
-
"definitions": {}
|
|
46856
|
-
}
|
|
46796
|
+
"description": "Details of the workflow and its transition rules." }
|
|
46857
46797
|
}
|
|
46858
46798
|
],
|
|
46859
46799
|
"output": {
|
package/propertiesSchema.json
CHANGED
|
@@ -109,6 +109,14 @@
|
|
|
109
109
|
},
|
|
110
110
|
"cache": {
|
|
111
111
|
"$ref": "#/definitions/cache"
|
|
112
|
+
},
|
|
113
|
+
"service": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"description": "Service we are integrating with -- used with AWS Authentication",
|
|
116
|
+
"examples": [
|
|
117
|
+
"ec2",
|
|
118
|
+
"route53"
|
|
119
|
+
]
|
|
112
120
|
}
|
|
113
121
|
},
|
|
114
122
|
"required": [
|
|
@@ -131,7 +139,8 @@
|
|
|
131
139
|
"jwt_token",
|
|
132
140
|
"request_token",
|
|
133
141
|
"no_authentication",
|
|
134
|
-
"multi_step_authentication"
|
|
142
|
+
"multi_step_authentication",
|
|
143
|
+
"aws_authentication"
|
|
135
144
|
]
|
|
136
145
|
},
|
|
137
146
|
"username": {
|
|
Binary file
|
package/report/adapterInfo.json
CHANGED
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
{
|
|
2
|
+
"errors": [],
|
|
3
|
+
"statistics": [
|
|
4
|
+
{
|
|
5
|
+
"owner": "errorJson",
|
|
6
|
+
"description": "New adapter errors available for use",
|
|
7
|
+
"value": 0
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"owner": "errorJson",
|
|
11
|
+
"description": "Adapter errors no longer available for use",
|
|
12
|
+
"value": 0
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"owner": "errorJson",
|
|
16
|
+
"description": "Adapter errors that have been updated (e.g. recommendation changes)",
|
|
17
|
+
"value": 31
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"owner": "packageJson",
|
|
21
|
+
"description": "Number of production dependencies",
|
|
22
|
+
"value": 17
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"owner": "packageJson",
|
|
26
|
+
"description": "Number of development dependencies",
|
|
27
|
+
"value": 6
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"owner": "packageJson",
|
|
31
|
+
"description": "Number of npm scripts",
|
|
32
|
+
"value": 22
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"owner": "packageJson",
|
|
36
|
+
"description": "Runtime Library dependency",
|
|
37
|
+
"value": "^5.3.0"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"owner": "propertiesSchemaJson",
|
|
41
|
+
"description": "Adapter properties defined in the propertiesSchema file",
|
|
42
|
+
"value": 77
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"owner": "markdown",
|
|
46
|
+
"description": "Number of lines in the README.md",
|
|
47
|
+
"value": 347
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"owner": "markdown",
|
|
51
|
+
"description": "Number of lines in the SUMMARY.md",
|
|
52
|
+
"value": 9
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"owner": "markdown",
|
|
56
|
+
"description": "Number of lines in the PROPERTIES.md",
|
|
57
|
+
"value": 642
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"owner": "markdown",
|
|
61
|
+
"description": "Number of lines in the TROUBLESHOOT.md",
|
|
62
|
+
"value": 48
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"owner": "markdown",
|
|
66
|
+
"description": "Number of lines in the ENHANCE.md",
|
|
67
|
+
"value": 70
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"owner": "markdown",
|
|
71
|
+
"description": "Number of lines in the BROKER.md",
|
|
72
|
+
"value": 70
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"owner": "unitTestJS",
|
|
76
|
+
"description": "Number of lines of code in unit tests",
|
|
77
|
+
"value": 18316
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"owner": "unitTestJS",
|
|
81
|
+
"description": "Number of unit tests",
|
|
82
|
+
"value": 1162
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"owner": "integrationTestJS",
|
|
86
|
+
"description": "Number of lines of code in integration tests",
|
|
87
|
+
"value": 17713
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"owner": "integrationTestJS",
|
|
91
|
+
"description": "Number of integration tests",
|
|
92
|
+
"value": 514
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"owner": "staticFile",
|
|
96
|
+
"description": "Number of lines of code in adapterBase.js",
|
|
97
|
+
"value": 1453
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"owner": "staticFile",
|
|
101
|
+
"description": "Number of static files added",
|
|
102
|
+
"value": 36
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"owner": "Overall",
|
|
106
|
+
"description": "Total lines of Code",
|
|
107
|
+
"value": 37482
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"owner": "Overall",
|
|
111
|
+
"description": "Total Tests",
|
|
112
|
+
"value": 1676
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"owner": "Overall",
|
|
116
|
+
"description": "Total Files",
|
|
117
|
+
"value": 6
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
}
|
|
@@ -77,6 +77,7 @@ function readFileUsingLib(filename, descriptionObj, workflowObj, functionList) {
|
|
|
77
77
|
// parsing the file to get the function and class declarations.
|
|
78
78
|
const aFileFuncArgs = acorn.parse(aFile, { ecmaVersion: 2020 });
|
|
79
79
|
|
|
80
|
+
let callName = 'identifyRequest';
|
|
80
81
|
// Looping through all the declarations parsed:
|
|
81
82
|
aFileFuncArgs.body.forEach((e) => {
|
|
82
83
|
// Getting only the class declaration as it has our required functions.
|
|
@@ -89,8 +90,10 @@ function readFileUsingLib(filename, descriptionObj, workflowObj, functionList) {
|
|
|
89
90
|
method.value.params.forEach((param) => {
|
|
90
91
|
if (param.type === 'Identifier') {
|
|
91
92
|
funcArgs.push(param.name);
|
|
93
|
+
} else if (param.type === 'RestElement') {
|
|
94
|
+
funcArgs.push(`...${param.argument.name}`);
|
|
92
95
|
} else {
|
|
93
|
-
const args = `${param.left.name} = ${param.right.
|
|
96
|
+
const args = `${param.left.name} = ${param.right.raw}`;
|
|
94
97
|
funcArgs.push(args);
|
|
95
98
|
}
|
|
96
99
|
});
|
|
@@ -102,7 +105,7 @@ function readFileUsingLib(filename, descriptionObj, workflowObj, functionList) {
|
|
|
102
105
|
});
|
|
103
106
|
const requests = [];
|
|
104
107
|
for (let i = 0; i < callList.length; i += 1) {
|
|
105
|
-
if (callList[i].callee.property && callList[i].callee.property.name ===
|
|
108
|
+
if (callList[i].callee.property && callList[i].callee.property.name === callName) {
|
|
106
109
|
requests.push(callList[i]);
|
|
107
110
|
}
|
|
108
111
|
}
|
|
@@ -114,7 +117,16 @@ function readFileUsingLib(filename, descriptionObj, workflowObj, functionList) {
|
|
|
114
117
|
const entity = expr.arguments[0].value;
|
|
115
118
|
const actionName = expr.arguments[1].value;
|
|
116
119
|
if (expr !== undefined && (expr.arguments[0].type !== 'Literal' || expr.arguments[1].type !== 'Literal')) {
|
|
117
|
-
|
|
120
|
+
const param1 = method.value.params[0];
|
|
121
|
+
const param2 = method.value.params[1];
|
|
122
|
+
if (param1.type !== 'Identifier' || param2.type !== 'Identifier'
|
|
123
|
+
|| expr.arguments[0].type !== 'Identifier' || expr.arguments[1].type !== 'Identifier'
|
|
124
|
+
|| param1.name !== expr.arguments[0].name || param2.name !== expr.arguments[1].name) {
|
|
125
|
+
throw new Error(`identifyRequest proxy method ${funcName} unknown format`);
|
|
126
|
+
} else if (callName !== 'identifyRequest') {
|
|
127
|
+
throw new Error(`MethodDocumentor not yet programmed to handle multiple helper methods: 1) ${callName}, 2) ${funcName}`);
|
|
128
|
+
}
|
|
129
|
+
callName = funcName;
|
|
118
130
|
}
|
|
119
131
|
const entityPath = getPathFromEntity(entity, actionName);
|
|
120
132
|
|
|
@@ -197,6 +209,7 @@ function readMDFile(filename, functionList) {
|
|
|
197
209
|
// Creating the tags for each method to be appended to the file.
|
|
198
210
|
const tdBeginTag = ' <td style="padding:15px">';
|
|
199
211
|
const tdEndTag = '</td>';
|
|
212
|
+
|
|
200
213
|
functionList.forEach((func) => {
|
|
201
214
|
const signCommand = `${tdBeginTag}${func.method_signature}${tdEndTag}`;
|
|
202
215
|
const descCommand = `${tdBeginTag}${func.description}${tdEndTag}`;
|