@itentialopensource/adapter-viptela 0.9.0 → 0.10.2

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 (145) hide show
  1. package/AUTH.md +39 -0
  2. package/BROKER.md +199 -0
  3. package/CALLS.md +169 -0
  4. package/CHANGELOG.md +74 -29
  5. package/CODE_OF_CONDUCT.md +12 -17
  6. package/CONTRIBUTING.md +88 -74
  7. package/ENHANCE.md +69 -0
  8. package/PROPERTIES.md +641 -0
  9. package/README.md +221 -571
  10. package/SUMMARY.md +9 -0
  11. package/SYSTEMINFO.md +11 -0
  12. package/TROUBLESHOOT.md +47 -0
  13. package/adapter.js +34443 -1655
  14. package/adapterBase.js +1006 -252
  15. package/entities/.generic/action.json +105 -0
  16. package/entities/.generic/schema.json +6 -1
  17. package/entities/AdministrationAuditLog/action.json +252 -0
  18. package/entities/AdministrationAuditLog/schema.json +30 -0
  19. package/entities/AdministrationUserAndGroup/action.json +533 -0
  20. package/entities/AdministrationUserAndGroup/mockdatafiles/findUserGroups-default.json +4 -0
  21. package/entities/AdministrationUserAndGroup/mockdatafiles/findUserGroupsAsKeyValue-default.json +5 -0
  22. package/entities/AdministrationUserAndGroup/mockdatafiles/findUsers-default.json +3 -0
  23. package/entities/AdministrationUserAndGroup/mockdatafiles/getColoGroups-default.json +6 -0
  24. package/entities/AdministrationUserAndGroup/mockdatafiles/getVpnGroups-default.json +5 -0
  25. package/entities/AdministrationUserAndGroup/schema.json +44 -0
  26. package/entities/CertificateManagementDevice/action.json +517 -0
  27. package/entities/CertificateManagementDevice/mockdatafiles/getRootCertChains-default.json +3 -0
  28. package/entities/CertificateManagementDevice/schema.json +43 -0
  29. package/entities/ClusterManagement/action.json +477 -0
  30. package/entities/ClusterManagement/mockdatafiles/getConfiguredIPList-default.json +5 -0
  31. package/entities/ClusterManagement/mockdatafiles/getConnectedDevices-default.json +3 -0
  32. package/entities/ClusterManagement/mockdatafiles/getConnectedDevicesPerTenant-default.json +3 -0
  33. package/entities/ClusterManagement/mockdatafiles/getTenantsList-default.json +4 -0
  34. package/entities/ClusterManagement/mockdatafiles/listVmanages-default.json +4 -0
  35. package/entities/ClusterManagement/schema.json +41 -0
  36. package/entities/ColocationCluster/action.json +229 -0
  37. package/entities/ColocationCluster/schema.json +29 -0
  38. package/entities/ColocationServiceChain/action.json +86 -0
  39. package/entities/ColocationServiceChain/mockdatafiles/getEdgeDevices-default.json +5 -0
  40. package/entities/ColocationServiceChain/mockdatafiles/getpnfDevices-default.json +5 -0
  41. package/entities/ColocationServiceChain/schema.json +22 -0
  42. package/entities/ColocationServiceGroup/action.json +148 -0
  43. package/entities/ColocationServiceGroup/mockdatafiles/getAvailableChains-default.json +6 -0
  44. package/entities/ColocationServiceGroup/schema.json +25 -0
  45. package/entities/ConfigurationDisasterRecovery/action.json +696 -0
  46. package/entities/ConfigurationDisasterRecovery/mockdatafiles/downloadReplicationData-default.json +5 -0
  47. package/entities/ConfigurationDisasterRecovery/mockdatafiles/getDisasterRecoveryStatus-default.json +6 -0
  48. package/entities/ConfigurationDisasterRecovery/mockdatafiles/getLocalDataCenterState-default.json +6 -0
  49. package/entities/ConfigurationDisasterRecovery/mockdatafiles/getReachabilityInfo-default.json +5 -0
  50. package/entities/ConfigurationDisasterRecovery/mockdatafiles/getRemoteDCMembersState-default.json +3 -0
  51. package/entities/ConfigurationDisasterRecovery/mockdatafiles/getRemoteDataCenterState-default.json +6 -0
  52. package/entities/ConfigurationDisasterRecovery/schema.json +52 -0
  53. package/entities/ConfigurationFeatureList/action.json +46 -0
  54. package/entities/ConfigurationFeatureList/schema.json +20 -0
  55. package/entities/CreateABackupSnapshot/action.json +24 -0
  56. package/entities/CreateABackupSnapshot/schema.json +19 -0
  57. package/entities/DataCollectionAgent/action.json +470 -0
  58. package/entities/DataCollectionAgent/mockdatafiles/getTemplatePolicyDefinitionsDCA-default.json +5 -0
  59. package/entities/DataCollectionAgent/mockdatafiles/getVPNListsDCA-default.json +3 -0
  60. package/entities/DataCollectionAgent/mockdatafiles/getVedgeTemplateListDCA-default.json +6 -0
  61. package/entities/DataCollectionAgent/mockdatafiles/getVsmartTemplateListDCA-default.json +5 -0
  62. package/entities/DataCollectionAgent/mockdatafiles/listAllDevicesDCA-default.json +5 -0
  63. package/entities/DataCollectionAgent/schema.json +41 -0
  64. package/entities/DeviceActions/action.json +243 -0
  65. package/entities/DeviceActions/mockdatafiles/generateSecurityDevicesList-default.json +5 -0
  66. package/entities/DeviceActions/schema.json +13 -1
  67. package/entities/DeviceConfigHistory/action.json +294 -0
  68. package/entities/DeviceConfigHistory/schema.json +32 -0
  69. package/entities/MonitoringAlarmsDetails/action.json +684 -0
  70. package/entities/MonitoringAlarmsDetails/mockdatafiles/listDisabledAlarm-default.json +5 -0
  71. package/entities/MonitoringAlarmsDetails/schema.json +51 -0
  72. package/entities/MonitoringColocationCluster/action.json +360 -0
  73. package/entities/MonitoringColocationCluster/mockdatafiles/getClusterConfigByClusterId-default.json +3 -0
  74. package/entities/MonitoringColocationCluster/mockdatafiles/getClusterPortMappingByClusterId-default.json +3 -0
  75. package/entities/MonitoringColocationCluster/mockdatafiles/getPNFConfig-default.json +3 -0
  76. package/entities/MonitoringColocationCluster/mockdatafiles/getServiceGroupByClusterId-default.json +3 -0
  77. package/entities/MonitoringColocationCluster/mockdatafiles/getSystemStatusByDeviceId-default.json +6 -0
  78. package/entities/MonitoringColocationCluster/mockdatafiles/getVNFAlarmCount-default.json +6 -0
  79. package/entities/MonitoringColocationCluster/mockdatafiles/getVNFEventsCountDetail-default.json +4 -0
  80. package/entities/MonitoringColocationCluster/mockdatafiles/getVNFEventsDetail-default.json +3 -0
  81. package/entities/MonitoringColocationCluster/mockdatafiles/getVNFInterfaceDetail-default.json +3 -0
  82. package/entities/MonitoringColocationCluster/mockdatafiles/getpnfDetails-default.json +5 -0
  83. package/entities/MonitoringColocationCluster/mockdatafiles/getvnfByDeviceId-default.json +4 -0
  84. package/entities/MonitoringColocationCluster/mockdatafiles/listNetworkFunctionMap-default.json +3 -0
  85. package/entities/MonitoringColocationCluster/schema.json +35 -0
  86. package/entities/MonitoringDeviceDetails/action.json +40 -0
  87. package/entities/MonitoringDeviceDetails/schema.json +3 -1
  88. package/entities/MonitoringDeviceStatisticsDetails/action.json +109 -0
  89. package/entities/MonitoringDeviceStatisticsDetails/mockdatafiles/generateDeviceStatisticsData-default.json +3 -0
  90. package/entities/MonitoringDeviceStatisticsDetails/mockdatafiles/getActiveAlarms-default.json +5 -0
  91. package/entities/MonitoringDeviceStatisticsDetails/mockdatafiles/getStatDataFieldsByStateDataType-default.json +6 -0
  92. package/entities/MonitoringDeviceStatisticsDetails/mockdatafiles/getStatisticsType-default.json +4 -0
  93. package/entities/MonitoringDeviceStatisticsDetails/schema.json +23 -0
  94. package/entities/MonitoringEvents/action.json +378 -0
  95. package/entities/MonitoringEvents/mockdatafiles/getComponentsAsKeyValue-default.json +4 -0
  96. package/entities/MonitoringEvents/mockdatafiles/getEventTypesAsKeyValue-default.json +3 -0
  97. package/entities/MonitoringEvents/schema.json +36 -0
  98. package/entities/RealTimeMonitoringAAA/action.json +109 -0
  99. package/entities/RealTimeMonitoringAAA/mockdatafiles/getAllDeviceUsers-default.json +5 -0
  100. package/entities/RealTimeMonitoringAAA/mockdatafiles/getUsersFromDevice-default.json +6 -0
  101. package/entities/RealTimeMonitoringAAA/schema.json +23 -0
  102. package/entities/SSLProxyCertificateManagementDevice/action.json +494 -0
  103. package/entities/SSLProxyCertificateManagementDevice/mockdatafiles/getSslProxyList-default.json +4 -0
  104. package/entities/SSLProxyCertificateManagementDevice/schema.json +42 -0
  105. package/entities/ScheduledBackupRestore/action.json +189 -0
  106. package/entities/ScheduledBackupRestore/schema.json +27 -0
  107. package/entities/SystemCloudService/action.json +313 -0
  108. package/entities/SystemCloudService/schema.json +33 -0
  109. package/entities/SystemContainer/action.json +189 -0
  110. package/entities/SystemContainer/mockdatafiles/getCustomApp-default.json +3 -0
  111. package/entities/SystemContainer/schema.json +27 -0
  112. package/entities/TroubleshootingToolsDashboard/action.json +128 -0
  113. package/entities/TroubleshootingToolsDashboard/schema.json +24 -0
  114. package/entities/TroubleshootingToolsDeviceConnectivity/action.json +288 -0
  115. package/entities/TroubleshootingToolsDeviceConnectivity/schema.json +32 -0
  116. package/entities/TroubleshootingToolsDeviceSoftwarePackage/action.json +85 -0
  117. package/entities/TroubleshootingToolsDeviceSoftwarePackage/schema.json +22 -0
  118. package/entities/TroubleshootingToolsDeviceSoftwareUpdate/action.json +86 -0
  119. package/entities/TroubleshootingToolsDeviceSoftwareUpdate/schema.json +22 -0
  120. package/entities/TroubleshootingToolsDiagnostics/action.json +977 -0
  121. package/entities/TroubleshootingToolsDiagnostics/schema.json +65 -0
  122. package/entities/TroubleshootingToolsSoftwareActions/action.json +232 -0
  123. package/entities/TroubleshootingToolsSoftwareActions/mockdatafiles/findSoftwareImages-default.json +6 -0
  124. package/entities/TroubleshootingToolsSoftwareActions/mockdatafiles/findSoftwareImagesWithFilters-default.json +5 -0
  125. package/entities/TroubleshootingToolsSoftwareActions/schema.json +29 -0
  126. package/error.json +6 -0
  127. package/package.json +7 -5
  128. package/pronghorn.json +15511 -1652
  129. package/propertiesDecorators.json +14 -0
  130. package/propertiesSchema.json +421 -0
  131. package/refs?service=git-upload-pack +0 -0
  132. package/report/adapterInfo.json +10 -0
  133. package/report/updateReport1651360586947.json +114 -0
  134. package/report/updateReport1652490573359.json +120 -0
  135. package/sampleProperties.json +83 -1
  136. package/test/integration/adapterTestBasicGet.js +1 -1
  137. package/test/integration/adapterTestIntegration.js +10668 -107
  138. package/test/unit/adapterBaseTestUnit.js +30 -25
  139. package/test/unit/adapterTestUnit.js +8086 -177
  140. package/utils/adapterInfo.js +206 -0
  141. package/utils/entitiesToDB.js +12 -57
  142. package/utils/pre-commit.sh +3 -0
  143. package/utils/tbScript.js +35 -20
  144. package/utils/tbUtils.js +49 -31
  145. package/utils/testRunner.js +16 -16
@@ -0,0 +1,533 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getColoGroups",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/admin/cologroup?{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/getColoGroups-default.json"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "createColoGroup",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/admin/cologroup?{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": "editColoGroup",
46
+ "protocol": "REST",
47
+ "method": "PUT",
48
+ "entitypath": "{base_path}/{version}/admin/cologroup/{pathv1}?{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": ""
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "deleteColoGroup",
66
+ "protocol": "REST",
67
+ "method": "DELETE",
68
+ "entitypath": "{base_path}/{version}/admin/cologroup/{pathv1}?{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": "findUsers",
86
+ "protocol": "REST",
87
+ "method": "GET",
88
+ "entitypath": "{base_path}/{version}/admin/user?{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/findUsers-default.json"
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "name": "createUser",
107
+ "protocol": "REST",
108
+ "method": "POST",
109
+ "entitypath": "{base_path}/{version}/admin/user?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "name": "getActiveSessions",
127
+ "protocol": "REST",
128
+ "method": "GET",
129
+ "entitypath": "{base_path}/{version}/admin/user/activeSessions?{query}",
130
+ "requestSchema": "schema.json",
131
+ "responseSchema": "schema.json",
132
+ "timeout": 0,
133
+ "sendEmpty": false,
134
+ "sendGetBody": false,
135
+ "requestDatatype": "JSON",
136
+ "responseDatatype": "JSON",
137
+ "headers": {},
138
+ "responseObjects": [
139
+ {
140
+ "type": "default",
141
+ "key": "",
142
+ "mockFile": ""
143
+ }
144
+ ]
145
+ },
146
+ {
147
+ "name": "validatePassword",
148
+ "protocol": "REST",
149
+ "method": "POST",
150
+ "entitypath": "{base_path}/{version}/admin/user/password/validate?{query}",
151
+ "requestSchema": "schema.json",
152
+ "responseSchema": "schema.json",
153
+ "timeout": 0,
154
+ "sendEmpty": false,
155
+ "requestDatatype": "JSON",
156
+ "responseDatatype": "JSON",
157
+ "headers": {},
158
+ "responseObjects": [
159
+ {
160
+ "type": "default",
161
+ "key": "",
162
+ "mockFile": ""
163
+ }
164
+ ]
165
+ },
166
+ {
167
+ "name": "updatePassword",
168
+ "protocol": "REST",
169
+ "method": "PUT",
170
+ "entitypath": "{base_path}/{version}/admin/user/password/{pathv1}?{query}",
171
+ "requestSchema": "schema.json",
172
+ "responseSchema": "schema.json",
173
+ "timeout": 0,
174
+ "sendEmpty": false,
175
+ "requestDatatype": "JSON",
176
+ "responseDatatype": "JSON",
177
+ "headers": {},
178
+ "responseObjects": [
179
+ {
180
+ "type": "default",
181
+ "key": "",
182
+ "mockFile": ""
183
+ }
184
+ ]
185
+ },
186
+ {
187
+ "name": "updateProfilePassword",
188
+ "protocol": "REST",
189
+ "method": "PUT",
190
+ "entitypath": "{base_path}/{version}/admin/user/profile/password?{query}",
191
+ "requestSchema": "schema.json",
192
+ "responseSchema": "schema.json",
193
+ "timeout": 0,
194
+ "sendEmpty": false,
195
+ "requestDatatype": "JSON",
196
+ "responseDatatype": "JSON",
197
+ "headers": {},
198
+ "responseObjects": [
199
+ {
200
+ "type": "default",
201
+ "key": "",
202
+ "mockFile": ""
203
+ }
204
+ ]
205
+ },
206
+ {
207
+ "name": "removeSessions",
208
+ "protocol": "REST",
209
+ "method": "DELETE",
210
+ "entitypath": "{base_path}/{version}/admin/user/removeSessions?{query}",
211
+ "requestSchema": "schema.json",
212
+ "responseSchema": "schema.json",
213
+ "timeout": 0,
214
+ "sendEmpty": false,
215
+ "requestDatatype": "JSON",
216
+ "responseDatatype": "JSON",
217
+ "headers": {},
218
+ "responseObjects": [
219
+ {
220
+ "type": "default",
221
+ "key": "",
222
+ "mockFile": ""
223
+ }
224
+ ]
225
+ },
226
+ {
227
+ "name": "resetUser",
228
+ "protocol": "REST",
229
+ "method": "POST",
230
+ "entitypath": "{base_path}/{version}/admin/user/reset?{query}",
231
+ "requestSchema": "schema.json",
232
+ "responseSchema": "schema.json",
233
+ "timeout": 0,
234
+ "sendEmpty": false,
235
+ "requestDatatype": "JSON",
236
+ "responseDatatype": "JSON",
237
+ "headers": {},
238
+ "responseObjects": [
239
+ {
240
+ "type": "default",
241
+ "key": "",
242
+ "mockFile": ""
243
+ }
244
+ ]
245
+ },
246
+ {
247
+ "name": "findUserRole",
248
+ "protocol": "REST",
249
+ "method": "GET",
250
+ "entitypath": "{base_path}/{version}/admin/user/role?{query}",
251
+ "requestSchema": "schema.json",
252
+ "responseSchema": "schema.json",
253
+ "timeout": 0,
254
+ "sendEmpty": false,
255
+ "sendGetBody": false,
256
+ "requestDatatype": "JSON",
257
+ "responseDatatype": "JSON",
258
+ "headers": {},
259
+ "responseObjects": [
260
+ {
261
+ "type": "default",
262
+ "key": "",
263
+ "mockFile": ""
264
+ }
265
+ ]
266
+ },
267
+ {
268
+ "name": "findUserAuthType",
269
+ "protocol": "REST",
270
+ "method": "GET",
271
+ "entitypath": "{base_path}/{version}/admin/user/userAuthType?{query}",
272
+ "requestSchema": "schema.json",
273
+ "responseSchema": "schema.json",
274
+ "timeout": 0,
275
+ "sendEmpty": false,
276
+ "sendGetBody": false,
277
+ "requestDatatype": "JSON",
278
+ "responseDatatype": "JSON",
279
+ "headers": {},
280
+ "responseObjects": [
281
+ {
282
+ "type": "default",
283
+ "key": "",
284
+ "mockFile": ""
285
+ }
286
+ ]
287
+ },
288
+ {
289
+ "name": "updateUser",
290
+ "protocol": "REST",
291
+ "method": "PUT",
292
+ "entitypath": "{base_path}/{version}/admin/user/{pathv1}?{query}",
293
+ "requestSchema": "schema.json",
294
+ "responseSchema": "schema.json",
295
+ "timeout": 0,
296
+ "sendEmpty": false,
297
+ "requestDatatype": "JSON",
298
+ "responseDatatype": "JSON",
299
+ "headers": {},
300
+ "responseObjects": [
301
+ {
302
+ "type": "default",
303
+ "key": "",
304
+ "mockFile": ""
305
+ }
306
+ ]
307
+ },
308
+ {
309
+ "name": "deleteUser",
310
+ "protocol": "REST",
311
+ "method": "DELETE",
312
+ "entitypath": "{base_path}/{version}/admin/user/{pathv1}?{query}",
313
+ "requestSchema": "schema.json",
314
+ "responseSchema": "schema.json",
315
+ "timeout": 0,
316
+ "sendEmpty": false,
317
+ "requestDatatype": "JSON",
318
+ "responseDatatype": "JSON",
319
+ "headers": {},
320
+ "responseObjects": [
321
+ {
322
+ "type": "default",
323
+ "key": "",
324
+ "mockFile": ""
325
+ }
326
+ ]
327
+ },
328
+ {
329
+ "name": "findUserGroups",
330
+ "protocol": "REST",
331
+ "method": "GET",
332
+ "entitypath": "{base_path}/{version}/admin/usergroup?{query}",
333
+ "requestSchema": "schema.json",
334
+ "responseSchema": "schema.json",
335
+ "timeout": 0,
336
+ "sendEmpty": false,
337
+ "sendGetBody": false,
338
+ "requestDatatype": "JSON",
339
+ "responseDatatype": "JSON",
340
+ "headers": {},
341
+ "responseObjects": [
342
+ {
343
+ "type": "default",
344
+ "key": "",
345
+ "mockFile": "mockdatafiles/findUserGroups-default.json"
346
+ }
347
+ ]
348
+ },
349
+ {
350
+ "name": "createUserGroup",
351
+ "protocol": "REST",
352
+ "method": "POST",
353
+ "entitypath": "{base_path}/{version}/admin/usergroup?{query}",
354
+ "requestSchema": "schema.json",
355
+ "responseSchema": "schema.json",
356
+ "timeout": 0,
357
+ "sendEmpty": false,
358
+ "requestDatatype": "JSON",
359
+ "responseDatatype": "JSON",
360
+ "headers": {},
361
+ "responseObjects": [
362
+ {
363
+ "type": "default",
364
+ "key": "",
365
+ "mockFile": ""
366
+ }
367
+ ]
368
+ },
369
+ {
370
+ "name": "createGroupGridColumns",
371
+ "protocol": "REST",
372
+ "method": "GET",
373
+ "entitypath": "{base_path}/{version}/admin/usergroup/definition?{query}",
374
+ "requestSchema": "schema.json",
375
+ "responseSchema": "schema.json",
376
+ "timeout": 0,
377
+ "sendEmpty": false,
378
+ "sendGetBody": false,
379
+ "requestDatatype": "JSON",
380
+ "responseDatatype": "JSON",
381
+ "headers": {},
382
+ "responseObjects": [
383
+ {
384
+ "type": "default",
385
+ "key": "",
386
+ "mockFile": ""
387
+ }
388
+ ]
389
+ },
390
+ {
391
+ "name": "findUserGroupsAsKeyValue",
392
+ "protocol": "REST",
393
+ "method": "GET",
394
+ "entitypath": "{base_path}/{version}/admin/usergroup/keyvalue?{query}",
395
+ "requestSchema": "schema.json",
396
+ "responseSchema": "schema.json",
397
+ "timeout": 0,
398
+ "sendEmpty": false,
399
+ "sendGetBody": false,
400
+ "requestDatatype": "JSON",
401
+ "responseDatatype": "JSON",
402
+ "headers": {},
403
+ "responseObjects": [
404
+ {
405
+ "type": "default",
406
+ "key": "",
407
+ "mockFile": "mockdatafiles/findUserGroupsAsKeyValue-default.json"
408
+ }
409
+ ]
410
+ },
411
+ {
412
+ "name": "updateUserGroup",
413
+ "protocol": "REST",
414
+ "method": "PUT",
415
+ "entitypath": "{base_path}/{version}/admin/usergroup/{pathv1}?{query}",
416
+ "requestSchema": "schema.json",
417
+ "responseSchema": "schema.json",
418
+ "timeout": 0,
419
+ "sendEmpty": false,
420
+ "requestDatatype": "JSON",
421
+ "responseDatatype": "JSON",
422
+ "headers": {},
423
+ "responseObjects": [
424
+ {
425
+ "type": "default",
426
+ "key": "",
427
+ "mockFile": ""
428
+ }
429
+ ]
430
+ },
431
+ {
432
+ "name": "deleteUserGroup",
433
+ "protocol": "REST",
434
+ "method": "DELETE",
435
+ "entitypath": "{base_path}/{version}/admin/usergroup/{pathv1}?{query}",
436
+ "requestSchema": "schema.json",
437
+ "responseSchema": "schema.json",
438
+ "timeout": 0,
439
+ "sendEmpty": false,
440
+ "requestDatatype": "JSON",
441
+ "responseDatatype": "JSON",
442
+ "headers": {},
443
+ "responseObjects": [
444
+ {
445
+ "type": "default",
446
+ "key": "",
447
+ "mockFile": ""
448
+ }
449
+ ]
450
+ },
451
+ {
452
+ "name": "getVpnGroups",
453
+ "protocol": "REST",
454
+ "method": "GET",
455
+ "entitypath": "{base_path}/{version}/admin/vpngroup?{query}",
456
+ "requestSchema": "schema.json",
457
+ "responseSchema": "schema.json",
458
+ "timeout": 0,
459
+ "sendEmpty": false,
460
+ "sendGetBody": false,
461
+ "requestDatatype": "JSON",
462
+ "responseDatatype": "JSON",
463
+ "headers": {},
464
+ "responseObjects": [
465
+ {
466
+ "type": "default",
467
+ "key": "",
468
+ "mockFile": "mockdatafiles/getVpnGroups-default.json"
469
+ }
470
+ ]
471
+ },
472
+ {
473
+ "name": "createVpnGroup",
474
+ "protocol": "REST",
475
+ "method": "POST",
476
+ "entitypath": "{base_path}/{version}/admin/vpngroup?{query}",
477
+ "requestSchema": "schema.json",
478
+ "responseSchema": "schema.json",
479
+ "timeout": 0,
480
+ "sendEmpty": false,
481
+ "requestDatatype": "JSON",
482
+ "responseDatatype": "JSON",
483
+ "headers": {},
484
+ "responseObjects": [
485
+ {
486
+ "type": "default",
487
+ "key": "",
488
+ "mockFile": ""
489
+ }
490
+ ]
491
+ },
492
+ {
493
+ "name": "editVpnGroup",
494
+ "protocol": "REST",
495
+ "method": "PUT",
496
+ "entitypath": "{base_path}/{version}/admin/vpngroup/{pathv1}?{query}",
497
+ "requestSchema": "schema.json",
498
+ "responseSchema": "schema.json",
499
+ "timeout": 0,
500
+ "sendEmpty": false,
501
+ "requestDatatype": "JSON",
502
+ "responseDatatype": "JSON",
503
+ "headers": {},
504
+ "responseObjects": [
505
+ {
506
+ "type": "default",
507
+ "key": "",
508
+ "mockFile": ""
509
+ }
510
+ ]
511
+ },
512
+ {
513
+ "name": "deleteVpnGroup",
514
+ "protocol": "REST",
515
+ "method": "DELETE",
516
+ "entitypath": "{base_path}/{version}/admin/vpngroup/{pathv1}?{query}",
517
+ "requestSchema": "schema.json",
518
+ "responseSchema": "schema.json",
519
+ "timeout": 0,
520
+ "sendEmpty": false,
521
+ "requestDatatype": "JSON",
522
+ "responseDatatype": "JSON",
523
+ "headers": {},
524
+ "responseObjects": [
525
+ {
526
+ "type": "default",
527
+ "key": "",
528
+ "mockFile": ""
529
+ }
530
+ ]
531
+ }
532
+ ]
533
+ }
@@ -0,0 +1,44 @@
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
+ "getColoGroups",
14
+ "createColoGroup",
15
+ "editColoGroup",
16
+ "deleteColoGroup",
17
+ "findUsers",
18
+ "createUser",
19
+ "getActiveSessions",
20
+ "validatePassword",
21
+ "updatePassword",
22
+ "updateProfilePassword",
23
+ "removeSessions",
24
+ "resetUser",
25
+ "findUserRole",
26
+ "findUserAuthType",
27
+ "updateUser",
28
+ "deleteUser",
29
+ "findUserGroups",
30
+ "createUserGroup",
31
+ "createGroupGridColumns",
32
+ "findUserGroupsAsKeyValue",
33
+ "updateUserGroup",
34
+ "deleteUserGroup",
35
+ "getVpnGroups",
36
+ "createVpnGroup",
37
+ "editVpnGroup",
38
+ "deleteVpnGroup"
39
+ ],
40
+ "external_name": "ph_request_type"
41
+ }
42
+ },
43
+ "definitions": {}
44
+ }