@itentialopensource/adapter-jira 1.7.6 → 2.0.1
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 +8329 -2178
- package/CHANGELOG.md +16 -0
- package/adapter.js +5582 -0
- package/entities/AnnouncementBanner/action.json +45 -0
- package/entities/AnnouncementBanner/mockdatafiles/getBanner-default.json +7 -0
- package/entities/AnnouncementBanner/schema.json +20 -0
- package/entities/AppMigration/action.json +64 -0
- package/entities/AppMigration/mockdatafiles/migrationResourceWorkflowRuleSearchPost-default.json +53 -0
- package/entities/AppMigration/schema.json +21 -0
- package/entities/AppProperties/action.json +126 -0
- package/entities/AppProperties/mockdatafiles/addonPropertiesResourceGetAddonPropertiesGet-default.json +8 -0
- package/entities/AppProperties/mockdatafiles/addonPropertiesResourceGetAddonPropertyGet-default.json +5 -0
- package/entities/AppProperties/mockdatafiles/addonPropertiesResourcePutAddonPropertyPut-default.json +4 -0
- package/entities/AppProperties/mockdatafiles/addonPropertiesResourcePutAppPropertyPut-default.json +4 -0
- package/entities/AppProperties/schema.json +24 -0
- package/entities/Dashboards/action.json +102 -0
- package/entities/Dashboards/mockdatafiles/addGadget-default.json +10 -0
- package/entities/Dashboards/mockdatafiles/getAllAvailableDashboardGadgets-default.json +12 -0
- package/entities/Dashboards/mockdatafiles/getAllGadgets-default.json +34 -0
- package/entities/Dashboards/schema.json +6 -1
- package/entities/DynamicModules/action.json +65 -0
- package/entities/DynamicModules/schema.json +21 -0
- package/entities/Filters/action.json +20 -0
- package/entities/Filters/schema.json +2 -1
- package/entities/Issuefields/action.json +21 -0
- package/entities/Issuefields/mockdatafiles/getTrashedFieldsPaginated-default.json +35 -0
- package/entities/Issuefields/schema.json +2 -1
- package/entities/Issuenotificationschemes/action.json +121 -0
- package/entities/Issuenotificationschemes/mockdatafiles/createNotificationScheme-default.json +3 -0
- package/entities/Issuenotificationschemes/mockdatafiles/getNotificationSchemeToProjectMappings-default.json +12 -0
- package/entities/Issuenotificationschemes/schema.json +7 -1
- package/entities/Issuepriorities/action.json +121 -0
- package/entities/Issuepriorities/mockdatafiles/createPriority-default.json +3 -0
- package/entities/Issuepriorities/mockdatafiles/searchPriorities-default.json +26 -0
- package/entities/Issuepriorities/schema.json +7 -1
- package/entities/Issueresolutions/action.json +121 -0
- package/entities/Issueresolutions/mockdatafiles/createResolution-default.json +3 -0
- package/entities/Issueresolutions/mockdatafiles/searchResolutions-default.json +14 -0
- package/entities/Issueresolutions/schema.json +7 -1
- package/entities/Issuesecurityschemes/action.json +264 -0
- package/entities/Issuesecurityschemes/mockdatafiles/createIssueSecurityScheme-default.json +3 -0
- package/entities/Issuesecurityschemes/mockdatafiles/getSecurityLevelMembers-default.json +17 -0
- package/entities/Issuesecurityschemes/mockdatafiles/getSecurityLevels-default.json +16 -0
- package/entities/Issuesecurityschemes/mockdatafiles/searchProjectsUsingSecuritySchemes-default.json +4 -0
- package/entities/Issuesecurityschemes/mockdatafiles/searchSecuritySchemes-default.json +10 -0
- package/entities/Issuesecurityschemes/schema.json +14 -1
- package/entities/JQL/action.json +20 -0
- package/entities/JQL/mockdatafiles/sanitiseJqlQueries-default.json +28 -0
- package/entities/JQL/schema.json +2 -1
- package/entities/JQLFunctionsApps/action.json +45 -0
- package/entities/JQLFunctionsApps/mockdatafiles/getPrecomputations-default.json +22 -0
- package/entities/JQLFunctionsApps/schema.json +20 -0
- package/entities/LicenseMetrics/action.json +46 -0
- package/entities/LicenseMetrics/schema.json +20 -0
- package/entities/Status/action.json +106 -0
- package/entities/Status/mockdatafiles/createStatuses-default.json +15 -0
- package/entities/Status/mockdatafiles/getStatusesById-default.json +24 -0
- package/entities/Status/mockdatafiles/search-default.json +32 -0
- package/entities/Status/schema.json +23 -0
- package/entities/UIModificationsApps/action.json +85 -0
- package/entities/UIModificationsApps/mockdatafiles/createUiModification-default.json +4 -0
- package/entities/UIModificationsApps/mockdatafiles/getUiModifications-default.json +53 -0
- package/entities/UIModificationsApps/schema.json +22 -0
- package/package.json +1 -1
- package/pronghorn.json +4861 -643
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +7 -7
- package/report/jira_v3.json +65406 -0
- package/test/integration/adapterTestIntegration.js +1903 -0
- package/test/unit/adapterTestUnit.js +2084 -0
|
@@ -41,6 +41,270 @@
|
|
|
41
41
|
"mockFile": "mockdatafiles/getRestapi2issuesecurityschemesid-default.json"
|
|
42
42
|
}
|
|
43
43
|
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "createIssueSecurityScheme",
|
|
47
|
+
"protocol": "REST",
|
|
48
|
+
"method": "POST",
|
|
49
|
+
"entitypath": "{base_path}/{version}/issuesecurityschemes?{query}",
|
|
50
|
+
"requestSchema": "schema.json",
|
|
51
|
+
"responseSchema": "schema.json",
|
|
52
|
+
"timeout": 0,
|
|
53
|
+
"sendEmpty": false,
|
|
54
|
+
"requestDatatype": "JSON",
|
|
55
|
+
"responseDatatype": "JSON",
|
|
56
|
+
"headers": {},
|
|
57
|
+
"responseObjects": [
|
|
58
|
+
{
|
|
59
|
+
"type": "default",
|
|
60
|
+
"key": "",
|
|
61
|
+
"mockFile": "mockdatafiles/createIssueSecurityScheme-default.json"
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "getSecurityLevels",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "GET",
|
|
69
|
+
"entitypath": "{base_path}/{version}/issuesecurityschemes/level?{query}",
|
|
70
|
+
"requestSchema": "schema.json",
|
|
71
|
+
"responseSchema": "schema.json",
|
|
72
|
+
"timeout": 0,
|
|
73
|
+
"sendEmpty": false,
|
|
74
|
+
"sendGetBody": false,
|
|
75
|
+
"requestDatatype": "JSON",
|
|
76
|
+
"responseDatatype": "JSON",
|
|
77
|
+
"headers": {},
|
|
78
|
+
"responseObjects": [
|
|
79
|
+
{
|
|
80
|
+
"type": "default",
|
|
81
|
+
"key": "",
|
|
82
|
+
"mockFile": "mockdatafiles/getSecurityLevels-default.json"
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "setDefaultLevels",
|
|
88
|
+
"protocol": "REST",
|
|
89
|
+
"method": "PUT",
|
|
90
|
+
"entitypath": "{base_path}/{version}/issuesecurityschemes/level/default?{query}",
|
|
91
|
+
"requestSchema": "schema.json",
|
|
92
|
+
"responseSchema": "schema.json",
|
|
93
|
+
"timeout": 0,
|
|
94
|
+
"sendEmpty": false,
|
|
95
|
+
"requestDatatype": "JSON",
|
|
96
|
+
"responseDatatype": "JSON",
|
|
97
|
+
"headers": {},
|
|
98
|
+
"responseObjects": [
|
|
99
|
+
{
|
|
100
|
+
"type": "default",
|
|
101
|
+
"key": "",
|
|
102
|
+
"mockFile": ""
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "getSecurityLevelMembers",
|
|
108
|
+
"protocol": "REST",
|
|
109
|
+
"method": "GET",
|
|
110
|
+
"entitypath": "{base_path}/{version}/issuesecurityschemes/level/member?{query}",
|
|
111
|
+
"requestSchema": "schema.json",
|
|
112
|
+
"responseSchema": "schema.json",
|
|
113
|
+
"timeout": 0,
|
|
114
|
+
"sendEmpty": false,
|
|
115
|
+
"sendGetBody": false,
|
|
116
|
+
"requestDatatype": "JSON",
|
|
117
|
+
"responseDatatype": "JSON",
|
|
118
|
+
"headers": {},
|
|
119
|
+
"responseObjects": [
|
|
120
|
+
{
|
|
121
|
+
"type": "default",
|
|
122
|
+
"key": "",
|
|
123
|
+
"mockFile": "mockdatafiles/getSecurityLevelMembers-default.json"
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "searchProjectsUsingSecuritySchemes",
|
|
129
|
+
"protocol": "REST",
|
|
130
|
+
"method": "GET",
|
|
131
|
+
"entitypath": "{base_path}/{version}/issuesecurityschemes/project?{query}",
|
|
132
|
+
"requestSchema": "schema.json",
|
|
133
|
+
"responseSchema": "schema.json",
|
|
134
|
+
"timeout": 0,
|
|
135
|
+
"sendEmpty": false,
|
|
136
|
+
"sendGetBody": false,
|
|
137
|
+
"requestDatatype": "JSON",
|
|
138
|
+
"responseDatatype": "JSON",
|
|
139
|
+
"headers": {},
|
|
140
|
+
"responseObjects": [
|
|
141
|
+
{
|
|
142
|
+
"type": "default",
|
|
143
|
+
"key": "",
|
|
144
|
+
"mockFile": "mockdatafiles/searchProjectsUsingSecuritySchemes-default.json"
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "searchSecuritySchemes",
|
|
150
|
+
"protocol": "REST",
|
|
151
|
+
"method": "GET",
|
|
152
|
+
"entitypath": "{base_path}/{version}/issuesecurityschemes/search?{query}",
|
|
153
|
+
"requestSchema": "schema.json",
|
|
154
|
+
"responseSchema": "schema.json",
|
|
155
|
+
"timeout": 0,
|
|
156
|
+
"sendEmpty": false,
|
|
157
|
+
"sendGetBody": false,
|
|
158
|
+
"requestDatatype": "JSON",
|
|
159
|
+
"responseDatatype": "JSON",
|
|
160
|
+
"headers": {},
|
|
161
|
+
"responseObjects": [
|
|
162
|
+
{
|
|
163
|
+
"type": "default",
|
|
164
|
+
"key": "",
|
|
165
|
+
"mockFile": "mockdatafiles/searchSecuritySchemes-default.json"
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "updateIssueSecurityScheme",
|
|
171
|
+
"protocol": "REST",
|
|
172
|
+
"method": "PUT",
|
|
173
|
+
"entitypath": "{base_path}/{version}/issuesecurityschemes/{pathv1}?{query}",
|
|
174
|
+
"requestSchema": "schema.json",
|
|
175
|
+
"responseSchema": "schema.json",
|
|
176
|
+
"timeout": 0,
|
|
177
|
+
"sendEmpty": false,
|
|
178
|
+
"requestDatatype": "JSON",
|
|
179
|
+
"responseDatatype": "JSON",
|
|
180
|
+
"headers": {},
|
|
181
|
+
"responseObjects": [
|
|
182
|
+
{
|
|
183
|
+
"type": "default",
|
|
184
|
+
"key": "",
|
|
185
|
+
"mockFile": ""
|
|
186
|
+
}
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "deleteSecurityScheme",
|
|
191
|
+
"protocol": "REST",
|
|
192
|
+
"method": "DELETE",
|
|
193
|
+
"entitypath": "{base_path}/{version}/issuesecurityschemes/{pathv1}?{query}",
|
|
194
|
+
"requestSchema": "schema.json",
|
|
195
|
+
"responseSchema": "schema.json",
|
|
196
|
+
"timeout": 0,
|
|
197
|
+
"sendEmpty": false,
|
|
198
|
+
"requestDatatype": "JSON",
|
|
199
|
+
"responseDatatype": "JSON",
|
|
200
|
+
"headers": {},
|
|
201
|
+
"responseObjects": [
|
|
202
|
+
{
|
|
203
|
+
"type": "default",
|
|
204
|
+
"key": "",
|
|
205
|
+
"mockFile": ""
|
|
206
|
+
}
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "addSecurityLevel",
|
|
211
|
+
"protocol": "REST",
|
|
212
|
+
"method": "PUT",
|
|
213
|
+
"entitypath": "{base_path}/{version}/issuesecurityschemes/{pathv1}/level?{query}",
|
|
214
|
+
"requestSchema": "schema.json",
|
|
215
|
+
"responseSchema": "schema.json",
|
|
216
|
+
"timeout": 0,
|
|
217
|
+
"sendEmpty": false,
|
|
218
|
+
"requestDatatype": "JSON",
|
|
219
|
+
"responseDatatype": "JSON",
|
|
220
|
+
"headers": {},
|
|
221
|
+
"responseObjects": [
|
|
222
|
+
{
|
|
223
|
+
"type": "default",
|
|
224
|
+
"key": "",
|
|
225
|
+
"mockFile": ""
|
|
226
|
+
}
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "updateSecurityLevel",
|
|
231
|
+
"protocol": "REST",
|
|
232
|
+
"method": "PUT",
|
|
233
|
+
"entitypath": "{base_path}/{version}/issuesecurityschemes/{pathv1}/level/{pathv2}?{query}",
|
|
234
|
+
"requestSchema": "schema.json",
|
|
235
|
+
"responseSchema": "schema.json",
|
|
236
|
+
"timeout": 0,
|
|
237
|
+
"sendEmpty": false,
|
|
238
|
+
"requestDatatype": "JSON",
|
|
239
|
+
"responseDatatype": "JSON",
|
|
240
|
+
"headers": {},
|
|
241
|
+
"responseObjects": [
|
|
242
|
+
{
|
|
243
|
+
"type": "default",
|
|
244
|
+
"key": "",
|
|
245
|
+
"mockFile": ""
|
|
246
|
+
}
|
|
247
|
+
]
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "removeLevel",
|
|
251
|
+
"protocol": "REST",
|
|
252
|
+
"method": "DELETE",
|
|
253
|
+
"entitypath": "{base_path}/{version}/issuesecurityschemes/{pathv1}/level/{pathv2}?{query}",
|
|
254
|
+
"requestSchema": "schema.json",
|
|
255
|
+
"responseSchema": "schema.json",
|
|
256
|
+
"timeout": 0,
|
|
257
|
+
"sendEmpty": false,
|
|
258
|
+
"requestDatatype": "JSON",
|
|
259
|
+
"responseDatatype": "JSON",
|
|
260
|
+
"headers": {},
|
|
261
|
+
"responseObjects": [
|
|
262
|
+
{
|
|
263
|
+
"type": "default",
|
|
264
|
+
"key": "",
|
|
265
|
+
"mockFile": ""
|
|
266
|
+
}
|
|
267
|
+
]
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"name": "addSecurityLevelMembers",
|
|
271
|
+
"protocol": "REST",
|
|
272
|
+
"method": "PUT",
|
|
273
|
+
"entitypath": "{base_path}/{version}/issuesecurityschemes/{pathv1}/level/{pathv2}/member?{query}",
|
|
274
|
+
"requestSchema": "schema.json",
|
|
275
|
+
"responseSchema": "schema.json",
|
|
276
|
+
"timeout": 0,
|
|
277
|
+
"sendEmpty": false,
|
|
278
|
+
"requestDatatype": "JSON",
|
|
279
|
+
"responseDatatype": "JSON",
|
|
280
|
+
"headers": {},
|
|
281
|
+
"responseObjects": [
|
|
282
|
+
{
|
|
283
|
+
"type": "default",
|
|
284
|
+
"key": "",
|
|
285
|
+
"mockFile": ""
|
|
286
|
+
}
|
|
287
|
+
]
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"name": "removeMemberFromSecurityLevel",
|
|
291
|
+
"protocol": "REST",
|
|
292
|
+
"method": "DELETE",
|
|
293
|
+
"entitypath": "{base_path}/{version}/issuesecurityschemes/{pathv1}/level/{pathv2}/member/{pathv3}?{query}",
|
|
294
|
+
"requestSchema": "schema.json",
|
|
295
|
+
"responseSchema": "schema.json",
|
|
296
|
+
"timeout": 0,
|
|
297
|
+
"sendEmpty": false,
|
|
298
|
+
"requestDatatype": "JSON",
|
|
299
|
+
"responseDatatype": "JSON",
|
|
300
|
+
"headers": {},
|
|
301
|
+
"responseObjects": [
|
|
302
|
+
{
|
|
303
|
+
"type": "default",
|
|
304
|
+
"key": "",
|
|
305
|
+
"mockFile": ""
|
|
306
|
+
}
|
|
307
|
+
]
|
|
44
308
|
}
|
|
45
309
|
]
|
|
46
310
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"maxResults": 100,
|
|
3
|
+
"startAt": 0,
|
|
4
|
+
"total": 3,
|
|
5
|
+
"isLast": true,
|
|
6
|
+
"values": [
|
|
7
|
+
{
|
|
8
|
+
"id": "10000",
|
|
9
|
+
"issueSecurityLevelId": "20010",
|
|
10
|
+
"issueSecuritySchemeId": "10010",
|
|
11
|
+
"holder": {
|
|
12
|
+
"type": "group",
|
|
13
|
+
"expand": "group"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"maxResults": 50,
|
|
3
|
+
"startAt": 0,
|
|
4
|
+
"total": 1,
|
|
5
|
+
"isLast": true,
|
|
6
|
+
"values": [
|
|
7
|
+
{
|
|
8
|
+
"self": "https://your-domain.atlassian.net/rest/api/3/issuesecurityscheme/level?id=10021",
|
|
9
|
+
"id": "10021",
|
|
10
|
+
"description": "Only the reporter and internal staff can see this issue.",
|
|
11
|
+
"name": "Reporter Only",
|
|
12
|
+
"isDefault": true,
|
|
13
|
+
"issueSecuritySchemeId": "10001"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -11,7 +11,20 @@
|
|
|
11
11
|
"default": "getRestapi2issuesecurityschemes",
|
|
12
12
|
"enum": [
|
|
13
13
|
"getRestapi2issuesecurityschemes",
|
|
14
|
-
"getRestapi2issuesecurityschemesid"
|
|
14
|
+
"getRestapi2issuesecurityschemesid",
|
|
15
|
+
"createIssueSecurityScheme",
|
|
16
|
+
"getSecurityLevels",
|
|
17
|
+
"setDefaultLevels",
|
|
18
|
+
"getSecurityLevelMembers",
|
|
19
|
+
"searchProjectsUsingSecuritySchemes",
|
|
20
|
+
"searchSecuritySchemes",
|
|
21
|
+
"updateIssueSecurityScheme",
|
|
22
|
+
"deleteSecurityScheme",
|
|
23
|
+
"addSecurityLevel",
|
|
24
|
+
"updateSecurityLevel",
|
|
25
|
+
"removeLevel",
|
|
26
|
+
"addSecurityLevelMembers",
|
|
27
|
+
"removeMemberFromSecurityLevel"
|
|
15
28
|
],
|
|
16
29
|
"external_name": "ph_request_type"
|
|
17
30
|
}
|
package/entities/JQL/action.json
CHANGED
|
@@ -102,6 +102,26 @@
|
|
|
102
102
|
"mockFile": "mockdatafiles/parseJqlQueries-default.json"
|
|
103
103
|
}
|
|
104
104
|
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "sanitiseJqlQueries",
|
|
108
|
+
"protocol": "REST",
|
|
109
|
+
"method": "POST",
|
|
110
|
+
"entitypath": "{base_path}/{version}/jql/sanitize?{query}",
|
|
111
|
+
"requestSchema": "schema.json",
|
|
112
|
+
"responseSchema": "schema.json",
|
|
113
|
+
"timeout": 0,
|
|
114
|
+
"sendEmpty": false,
|
|
115
|
+
"requestDatatype": "JSON",
|
|
116
|
+
"responseDatatype": "JSON",
|
|
117
|
+
"headers": {},
|
|
118
|
+
"responseObjects": [
|
|
119
|
+
{
|
|
120
|
+
"type": "default",
|
|
121
|
+
"key": "",
|
|
122
|
+
"mockFile": "mockdatafiles/sanitiseJqlQueries-default.json"
|
|
123
|
+
}
|
|
124
|
+
]
|
|
105
125
|
}
|
|
106
126
|
]
|
|
107
127
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"queries": [
|
|
3
|
+
{
|
|
4
|
+
"initialQuery": "project = 'Sample project'",
|
|
5
|
+
"sanitizedQuery": "project = 12345"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"initialQuery": "project = 'Sample project'",
|
|
9
|
+
"sanitizedQuery": "project = 'Sample project'",
|
|
10
|
+
"accountId": "5b10ac8d82e05b22cc7d4ef5"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"initialQuery": "project = 'Sample project'",
|
|
14
|
+
"sanitizedQuery": "project = 12345",
|
|
15
|
+
"accountId": "cda2aa1395ac195d951b3387"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"initialQuery": "non-parsable query",
|
|
19
|
+
"errors": {
|
|
20
|
+
"errorMessages": [
|
|
21
|
+
"Error in the JQL Query: Expecting operator but got 'query'. The valid operators are '=', '!=', '<', '>', '<=', '>=', '~', '!~', 'IN', 'NOT IN', 'IS' and 'IS NOT'. (line 1, character 9)"
|
|
22
|
+
],
|
|
23
|
+
"errors": {}
|
|
24
|
+
},
|
|
25
|
+
"accountId": "5b10ac8d82e05b22cc7d4ef5"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
package/entities/JQL/schema.json
CHANGED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getPrecomputations",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/jql/function/computation?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"sendGetBody": false,
|
|
13
|
+
"requestDatatype": "JSON",
|
|
14
|
+
"responseDatatype": "JSON",
|
|
15
|
+
"headers": {},
|
|
16
|
+
"responseObjects": [
|
|
17
|
+
{
|
|
18
|
+
"type": "default",
|
|
19
|
+
"key": "",
|
|
20
|
+
"mockFile": "mockdatafiles/getPrecomputations-default.json"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "updatePrecomputations",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/jql/function/computation?{query}",
|
|
29
|
+
"requestSchema": "schema.json",
|
|
30
|
+
"responseSchema": "schema.json",
|
|
31
|
+
"timeout": 0,
|
|
32
|
+
"sendEmpty": false,
|
|
33
|
+
"requestDatatype": "JSON",
|
|
34
|
+
"responseDatatype": "JSON",
|
|
35
|
+
"headers": {},
|
|
36
|
+
"responseObjects": [
|
|
37
|
+
{
|
|
38
|
+
"type": "default",
|
|
39
|
+
"key": "",
|
|
40
|
+
"mockFile": ""
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"maxResults": 100,
|
|
3
|
+
"startAt": 0,
|
|
4
|
+
"total": 1,
|
|
5
|
+
"isLast": true,
|
|
6
|
+
"values": [
|
|
7
|
+
{
|
|
8
|
+
"id": "10000",
|
|
9
|
+
"value": "issue in (TEST-1, TEST-2, TEST-3)",
|
|
10
|
+
"functionKey": "ari:cloud:ecosystem::extension/00000000-1111-2222-3333-4444444/111111-2222-3333-4444-55555/static/issuesWithText",
|
|
11
|
+
"field": "issue",
|
|
12
|
+
"operator": "in",
|
|
13
|
+
"functionName": "issuesWithText",
|
|
14
|
+
"arguments": [
|
|
15
|
+
"Test"
|
|
16
|
+
],
|
|
17
|
+
"created": "2023-05-05T16:47:47.110+0000",
|
|
18
|
+
"updated": "2023-05-05T16:47:47.110+0000",
|
|
19
|
+
"used": "2023-05-05T16:47:47.110+0000"
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": false,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getPrecomputations",
|
|
14
|
+
"updatePrecomputations"
|
|
15
|
+
],
|
|
16
|
+
"external_name": "ph_request_type"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"definitions": {}
|
|
20
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getApproximateLicenseCount",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/license/approximateLicenseCount?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"sendGetBody": false,
|
|
13
|
+
"requestDatatype": "JSON",
|
|
14
|
+
"responseDatatype": "JSON",
|
|
15
|
+
"headers": {},
|
|
16
|
+
"responseObjects": [
|
|
17
|
+
{
|
|
18
|
+
"type": "default",
|
|
19
|
+
"key": "",
|
|
20
|
+
"mockFile": ""
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "getApproximateApplicationLicenseCount",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "GET",
|
|
28
|
+
"entitypath": "{base_path}/{version}/license/approximateLicenseCount/product/{pathv1}?{query}",
|
|
29
|
+
"requestSchema": "schema.json",
|
|
30
|
+
"responseSchema": "schema.json",
|
|
31
|
+
"timeout": 0,
|
|
32
|
+
"sendEmpty": false,
|
|
33
|
+
"sendGetBody": false,
|
|
34
|
+
"requestDatatype": "JSON",
|
|
35
|
+
"responseDatatype": "JSON",
|
|
36
|
+
"headers": {},
|
|
37
|
+
"responseObjects": [
|
|
38
|
+
{
|
|
39
|
+
"type": "default",
|
|
40
|
+
"key": "",
|
|
41
|
+
"mockFile": ""
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": false,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getApproximateLicenseCount",
|
|
14
|
+
"getApproximateApplicationLicenseCount"
|
|
15
|
+
],
|
|
16
|
+
"external_name": "ph_request_type"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"definitions": {}
|
|
20
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getStatusesById",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/statuses?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"sendGetBody": false,
|
|
13
|
+
"requestDatatype": "JSON",
|
|
14
|
+
"responseDatatype": "JSON",
|
|
15
|
+
"headers": {},
|
|
16
|
+
"responseObjects": [
|
|
17
|
+
{
|
|
18
|
+
"type": "default",
|
|
19
|
+
"key": "",
|
|
20
|
+
"mockFile": "mockdatafiles/getStatusesById-default.json"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "updateStatuses",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "PUT",
|
|
28
|
+
"entitypath": "{base_path}/{version}/statuses?{query}",
|
|
29
|
+
"requestSchema": "schema.json",
|
|
30
|
+
"responseSchema": "schema.json",
|
|
31
|
+
"timeout": 0,
|
|
32
|
+
"sendEmpty": false,
|
|
33
|
+
"requestDatatype": "JSON",
|
|
34
|
+
"responseDatatype": "JSON",
|
|
35
|
+
"headers": {},
|
|
36
|
+
"responseObjects": [
|
|
37
|
+
{
|
|
38
|
+
"type": "default",
|
|
39
|
+
"key": "",
|
|
40
|
+
"mockFile": ""
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "createStatuses",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "POST",
|
|
48
|
+
"entitypath": "{base_path}/{version}/statuses?{query}",
|
|
49
|
+
"requestSchema": "schema.json",
|
|
50
|
+
"responseSchema": "schema.json",
|
|
51
|
+
"timeout": 0,
|
|
52
|
+
"sendEmpty": false,
|
|
53
|
+
"requestDatatype": "JSON",
|
|
54
|
+
"responseDatatype": "JSON",
|
|
55
|
+
"headers": {},
|
|
56
|
+
"responseObjects": [
|
|
57
|
+
{
|
|
58
|
+
"type": "default",
|
|
59
|
+
"key": "",
|
|
60
|
+
"mockFile": "mockdatafiles/createStatuses-default.json"
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "deleteStatusesById",
|
|
66
|
+
"protocol": "REST",
|
|
67
|
+
"method": "DELETE",
|
|
68
|
+
"entitypath": "{base_path}/{version}/statuses?{query}",
|
|
69
|
+
"requestSchema": "schema.json",
|
|
70
|
+
"responseSchema": "schema.json",
|
|
71
|
+
"timeout": 0,
|
|
72
|
+
"sendEmpty": false,
|
|
73
|
+
"requestDatatype": "JSON",
|
|
74
|
+
"responseDatatype": "JSON",
|
|
75
|
+
"headers": {},
|
|
76
|
+
"responseObjects": [
|
|
77
|
+
{
|
|
78
|
+
"type": "default",
|
|
79
|
+
"key": "",
|
|
80
|
+
"mockFile": ""
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "search",
|
|
86
|
+
"protocol": "REST",
|
|
87
|
+
"method": "GET",
|
|
88
|
+
"entitypath": "{base_path}/{version}/statuses/search?{query}",
|
|
89
|
+
"requestSchema": "schema.json",
|
|
90
|
+
"responseSchema": "schema.json",
|
|
91
|
+
"timeout": 0,
|
|
92
|
+
"sendEmpty": false,
|
|
93
|
+
"sendGetBody": false,
|
|
94
|
+
"requestDatatype": "JSON",
|
|
95
|
+
"responseDatatype": "JSON",
|
|
96
|
+
"headers": {},
|
|
97
|
+
"responseObjects": [
|
|
98
|
+
{
|
|
99
|
+
"type": "default",
|
|
100
|
+
"key": "",
|
|
101
|
+
"mockFile": "mockdatafiles/search-default.json"
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
}
|