@itentialopensource/adapter-dna_center 0.9.8 → 0.10.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.
Files changed (80) hide show
  1. package/CALLS.md +1734 -0
  2. package/CHANGELOG.md +8 -0
  3. package/TAB1.md +10 -0
  4. package/TAB2.md +4447 -0
  5. package/adapter.js +25345 -0
  6. package/entities/ApplicationPolicy/action.json +638 -0
  7. package/entities/ApplicationPolicy/schema.json +49 -0
  8. package/entities/Applications/action.json +25 -0
  9. package/entities/Applications/schema.json +19 -0
  10. package/entities/Authentication/action.json +40 -0
  11. package/entities/Authentication/schema.json +3 -1
  12. package/entities/CiscoDNACenterSystem/action.json +24 -0
  13. package/entities/CiscoDNACenterSystem/schema.json +19 -0
  14. package/entities/Clients/action.json +42 -0
  15. package/entities/Clients/schema.json +3 -1
  16. package/entities/Compliance/action.json +170 -0
  17. package/entities/Compliance/schema.json +26 -0
  18. package/entities/ConfigurationArchive/action.json +45 -0
  19. package/entities/ConfigurationArchive/schema.json +20 -0
  20. package/entities/DeviceReplacement/action.json +106 -0
  21. package/entities/DeviceReplacement/schema.json +23 -0
  22. package/entities/Devices/action.json +555 -0
  23. package/entities/Devices/schema.json +28 -1
  24. package/entities/EoX/action.json +67 -0
  25. package/entities/EoX/schema.json +21 -0
  26. package/entities/EventManagement/action.json +827 -0
  27. package/entities/EventManagement/schema.json +58 -0
  28. package/entities/FabricWireless/action.json +105 -0
  29. package/entities/FabricWireless/schema.json +23 -0
  30. package/entities/File/action.json +20 -0
  31. package/entities/File/schema.json +2 -1
  32. package/entities/HealthAndPerformance/action.json +88 -0
  33. package/entities/HealthAndPerformance/schema.json +22 -0
  34. package/entities/ITSM/action.json +66 -0
  35. package/entities/ITSM/schema.json +21 -0
  36. package/entities/ITSMIntegration/action.json +106 -0
  37. package/entities/ITSMIntegration/schema.json +23 -0
  38. package/entities/Issues/action.json +66 -0
  39. package/entities/Issues/schema.json +21 -0
  40. package/entities/LANAutomation/action.json +231 -0
  41. package/entities/LANAutomation/schema.json +29 -0
  42. package/entities/Licenses/action.json +211 -0
  43. package/entities/Licenses/schema.json +28 -0
  44. package/entities/NetworkDiscovery/action.json +81 -0
  45. package/entities/NetworkDiscovery/schema.json +5 -1
  46. package/entities/NetworkSettings/action.json +469 -0
  47. package/entities/NetworkSettings/schema.json +41 -0
  48. package/entities/NonFabricWirelessBETA/action.json +427 -0
  49. package/entities/NonFabricWirelessBETA/schema.json +22 -1
  50. package/entities/Platform/action.json +67 -0
  51. package/entities/Platform/schema.json +21 -0
  52. package/entities/Reports/action.json +191 -0
  53. package/entities/Reports/schema.json +27 -0
  54. package/entities/SWIM/action.json +82 -0
  55. package/entities/SWIM/schema.json +5 -1
  56. package/entities/SecurityAdvisories/action.json +109 -0
  57. package/entities/SecurityAdvisories/schema.json +23 -0
  58. package/entities/Sensors/action.json +125 -0
  59. package/entities/Sensors/schema.json +24 -0
  60. package/entities/SiteProfile/action.json +141 -0
  61. package/entities/SiteProfile/schema.json +8 -1
  62. package/entities/Sites/action.json +308 -0
  63. package/entities/Sites/schema.json +16 -1
  64. package/entities/SystemSettings/action.json +167 -0
  65. package/entities/SystemSettings/schema.json +26 -0
  66. package/entities/Task/action.json +21 -0
  67. package/entities/Task/schema.json +2 -1
  68. package/entities/TemplateProgrammer/action.json +163 -0
  69. package/entities/TemplateProgrammer/schema.json +9 -1
  70. package/entities/UserAndRoles/action.json +208 -0
  71. package/entities/UserAndRoles/schema.json +28 -0
  72. package/entities/Users/action.json +25 -0
  73. package/entities/Users/schema.json +19 -0
  74. package/package.json +1 -1
  75. package/pronghorn.json +15199 -0
  76. package/refs?service=git-upload-pack +0 -0
  77. package/report/adapterInfo.json +7 -7
  78. package/report/openapi-v2.3.7.json +79707 -0
  79. package/test/integration/adapterTestIntegration.js +14456 -0
  80. package/test/unit/adapterTestUnit.js +7905 -0
@@ -0,0 +1,469 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "assignDeviceCredentialToSiteV2",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/credential-to-site/{pathv1}?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "JSON",
13
+ "responseDatatype": "JSON",
14
+ "headers": {},
15
+ "responseObjects": [
16
+ {
17
+ "type": "default",
18
+ "key": "",
19
+ "mockFile": ""
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "name": "updateNetworkV2",
25
+ "protocol": "REST",
26
+ "method": "PUT",
27
+ "entitypath": "{base_path}/{version}/network/{pathv1}?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "requestDatatype": "JSON",
33
+ "responseDatatype": "JSON",
34
+ "headers": {},
35
+ "responseObjects": [
36
+ {
37
+ "type": "default",
38
+ "key": "",
39
+ "mockFile": ""
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ "name": "createNetworkV2",
45
+ "protocol": "REST",
46
+ "method": "POST",
47
+ "entitypath": "{base_path}/{version}/network/{pathv1}?{query}",
48
+ "requestSchema": "schema.json",
49
+ "responseSchema": "schema.json",
50
+ "timeout": 0,
51
+ "sendEmpty": false,
52
+ "requestDatatype": "JSON",
53
+ "responseDatatype": "JSON",
54
+ "headers": {},
55
+ "responseObjects": [
56
+ {
57
+ "type": "default",
58
+ "key": "",
59
+ "mockFile": ""
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "name": "getGlobalPool",
65
+ "protocol": "REST",
66
+ "method": "GET",
67
+ "entitypath": "{base_path}/{version}/global-pool?{query}",
68
+ "requestSchema": "schema.json",
69
+ "responseSchema": "schema.json",
70
+ "timeout": 0,
71
+ "sendEmpty": false,
72
+ "sendGetBody": 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": "updateGlobalPool",
86
+ "protocol": "REST",
87
+ "method": "PUT",
88
+ "entitypath": "{base_path}/{version}/global-pool?{query}",
89
+ "requestSchema": "schema.json",
90
+ "responseSchema": "schema.json",
91
+ "timeout": 0,
92
+ "sendEmpty": false,
93
+ "requestDatatype": "JSON",
94
+ "responseDatatype": "JSON",
95
+ "headers": {},
96
+ "responseObjects": [
97
+ {
98
+ "type": "default",
99
+ "key": "",
100
+ "mockFile": ""
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ "name": "createGlobalPool",
106
+ "protocol": "REST",
107
+ "method": "POST",
108
+ "entitypath": "{base_path}/{version}/global-pool?{query}",
109
+ "requestSchema": "schema.json",
110
+ "responseSchema": "schema.json",
111
+ "timeout": 0,
112
+ "sendEmpty": false,
113
+ "requestDatatype": "JSON",
114
+ "responseDatatype": "JSON",
115
+ "headers": {},
116
+ "responseObjects": [
117
+ {
118
+ "type": "default",
119
+ "key": "",
120
+ "mockFile": ""
121
+ }
122
+ ]
123
+ },
124
+ {
125
+ "name": "deleteGlobalIPPool",
126
+ "protocol": "REST",
127
+ "method": "DELETE",
128
+ "entitypath": "{base_path}/{version}/global-pool/{pathv1}?{query}",
129
+ "requestSchema": "schema.json",
130
+ "responseSchema": "schema.json",
131
+ "timeout": 0,
132
+ "sendEmpty": false,
133
+ "requestDatatype": "JSON",
134
+ "responseDatatype": "JSON",
135
+ "headers": {},
136
+ "responseObjects": [
137
+ {
138
+ "type": "default",
139
+ "key": "",
140
+ "mockFile": ""
141
+ }
142
+ ]
143
+ },
144
+ {
145
+ "name": "deleteDeviceCredential",
146
+ "protocol": "REST",
147
+ "method": "DELETE",
148
+ "entitypath": "{base_path}/{version}/device-credential/{pathv1}?{query}",
149
+ "requestSchema": "schema.json",
150
+ "responseSchema": "schema.json",
151
+ "timeout": 0,
152
+ "sendEmpty": false,
153
+ "requestDatatype": "JSON",
154
+ "responseDatatype": "JSON",
155
+ "headers": {},
156
+ "responseObjects": [
157
+ {
158
+ "type": "default",
159
+ "key": "",
160
+ "mockFile": ""
161
+ }
162
+ ]
163
+ },
164
+ {
165
+ "name": "getNetwork",
166
+ "protocol": "REST",
167
+ "method": "GET",
168
+ "entitypath": "{base_path}/{version}/network?{query}",
169
+ "requestSchema": "schema.json",
170
+ "responseSchema": "schema.json",
171
+ "timeout": 0,
172
+ "sendEmpty": false,
173
+ "sendGetBody": false,
174
+ "requestDatatype": "JSON",
175
+ "responseDatatype": "JSON",
176
+ "headers": {},
177
+ "responseObjects": [
178
+ {
179
+ "type": "default",
180
+ "key": "",
181
+ "mockFile": ""
182
+ }
183
+ ]
184
+ },
185
+ {
186
+ "name": "updateReserveIPSubpool",
187
+ "protocol": "REST",
188
+ "method": "PUT",
189
+ "entitypath": "{base_path}/{version}/reserve-ip-subpool/{pathv1}?{query}",
190
+ "requestSchema": "schema.json",
191
+ "responseSchema": "schema.json",
192
+ "timeout": 0,
193
+ "sendEmpty": false,
194
+ "requestDatatype": "JSON",
195
+ "responseDatatype": "JSON",
196
+ "headers": {},
197
+ "responseObjects": [
198
+ {
199
+ "type": "default",
200
+ "key": "",
201
+ "mockFile": ""
202
+ }
203
+ ]
204
+ },
205
+ {
206
+ "name": "reserveIPSubpool",
207
+ "protocol": "REST",
208
+ "method": "POST",
209
+ "entitypath": "{base_path}/{version}/reserve-ip-subpool/{pathv1}?{query}",
210
+ "requestSchema": "schema.json",
211
+ "responseSchema": "schema.json",
212
+ "timeout": 0,
213
+ "sendEmpty": false,
214
+ "requestDatatype": "JSON",
215
+ "responseDatatype": "JSON",
216
+ "headers": {},
217
+ "responseObjects": [
218
+ {
219
+ "type": "default",
220
+ "key": "",
221
+ "mockFile": ""
222
+ }
223
+ ]
224
+ },
225
+ {
226
+ "name": "getReserveIPSubpool",
227
+ "protocol": "REST",
228
+ "method": "GET",
229
+ "entitypath": "{base_path}/{version}/reserve-ip-subpool?{query}",
230
+ "requestSchema": "schema.json",
231
+ "responseSchema": "schema.json",
232
+ "timeout": 0,
233
+ "sendEmpty": false,
234
+ "sendGetBody": 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": "deleteSPProfile",
248
+ "protocol": "REST",
249
+ "method": "DELETE",
250
+ "entitypath": "{base_path}/{version}/sp-profile/{pathv1}?{query}",
251
+ "requestSchema": "schema.json",
252
+ "responseSchema": "schema.json",
253
+ "timeout": 0,
254
+ "sendEmpty": false,
255
+ "requestDatatype": "JSON",
256
+ "responseDatatype": "JSON",
257
+ "headers": {},
258
+ "responseObjects": [
259
+ {
260
+ "type": "default",
261
+ "key": "",
262
+ "mockFile": ""
263
+ }
264
+ ]
265
+ },
266
+ {
267
+ "name": "assignDeviceCredentialToSite",
268
+ "protocol": "REST",
269
+ "method": "POST",
270
+ "entitypath": "{base_path}/{version}/credential-to-site/{pathv1}?{query}",
271
+ "requestSchema": "schema.json",
272
+ "responseSchema": "schema.json",
273
+ "timeout": 0,
274
+ "sendEmpty": false,
275
+ "requestDatatype": "JSON",
276
+ "responseDatatype": "JSON",
277
+ "headers": {},
278
+ "responseObjects": [
279
+ {
280
+ "type": "default",
281
+ "key": "",
282
+ "mockFile": ""
283
+ }
284
+ ]
285
+ },
286
+ {
287
+ "name": "getDeviceCredentialDetails",
288
+ "protocol": "REST",
289
+ "method": "GET",
290
+ "entitypath": "{base_path}/{version}/device-credential?{query}",
291
+ "requestSchema": "schema.json",
292
+ "responseSchema": "schema.json",
293
+ "timeout": 0,
294
+ "sendEmpty": false,
295
+ "sendGetBody": false,
296
+ "requestDatatype": "JSON",
297
+ "responseDatatype": "JSON",
298
+ "headers": {},
299
+ "responseObjects": [
300
+ {
301
+ "type": "default",
302
+ "key": "",
303
+ "mockFile": ""
304
+ }
305
+ ]
306
+ },
307
+ {
308
+ "name": "updateDeviceCredentials",
309
+ "protocol": "REST",
310
+ "method": "PUT",
311
+ "entitypath": "{base_path}/{version}/device-credential?{query}",
312
+ "requestSchema": "schema.json",
313
+ "responseSchema": "schema.json",
314
+ "timeout": 0,
315
+ "sendEmpty": false,
316
+ "requestDatatype": "JSON",
317
+ "responseDatatype": "JSON",
318
+ "headers": {},
319
+ "responseObjects": [
320
+ {
321
+ "type": "default",
322
+ "key": "",
323
+ "mockFile": ""
324
+ }
325
+ ]
326
+ },
327
+ {
328
+ "name": "createDeviceCredentials",
329
+ "protocol": "REST",
330
+ "method": "POST",
331
+ "entitypath": "{base_path}/{version}/device-credential?{query}",
332
+ "requestSchema": "schema.json",
333
+ "responseSchema": "schema.json",
334
+ "timeout": 0,
335
+ "sendEmpty": false,
336
+ "requestDatatype": "JSON",
337
+ "responseDatatype": "JSON",
338
+ "headers": {},
339
+ "responseObjects": [
340
+ {
341
+ "type": "default",
342
+ "key": "",
343
+ "mockFile": ""
344
+ }
345
+ ]
346
+ },
347
+ {
348
+ "name": "getServiceProviderDetails",
349
+ "protocol": "REST",
350
+ "method": "GET",
351
+ "entitypath": "{base_path}/{version}/service-provider?{query}",
352
+ "requestSchema": "schema.json",
353
+ "responseSchema": "schema.json",
354
+ "timeout": 0,
355
+ "sendEmpty": false,
356
+ "sendGetBody": false,
357
+ "requestDatatype": "JSON",
358
+ "responseDatatype": "JSON",
359
+ "headers": {},
360
+ "responseObjects": [
361
+ {
362
+ "type": "default",
363
+ "key": "",
364
+ "mockFile": ""
365
+ }
366
+ ]
367
+ },
368
+ {
369
+ "name": "updateSPProfile",
370
+ "protocol": "REST",
371
+ "method": "PUT",
372
+ "entitypath": "{base_path}/{version}/service-provider?{query}",
373
+ "requestSchema": "schema.json",
374
+ "responseSchema": "schema.json",
375
+ "timeout": 0,
376
+ "sendEmpty": false,
377
+ "requestDatatype": "JSON",
378
+ "responseDatatype": "JSON",
379
+ "headers": {},
380
+ "responseObjects": [
381
+ {
382
+ "type": "default",
383
+ "key": "",
384
+ "mockFile": ""
385
+ }
386
+ ]
387
+ },
388
+ {
389
+ "name": "createSPProfile",
390
+ "protocol": "REST",
391
+ "method": "POST",
392
+ "entitypath": "{base_path}/{version}/service-provider?{query}",
393
+ "requestSchema": "schema.json",
394
+ "responseSchema": "schema.json",
395
+ "timeout": 0,
396
+ "sendEmpty": false,
397
+ "requestDatatype": "JSON",
398
+ "responseDatatype": "JSON",
399
+ "headers": {},
400
+ "responseObjects": [
401
+ {
402
+ "type": "default",
403
+ "key": "",
404
+ "mockFile": ""
405
+ }
406
+ ]
407
+ },
408
+ {
409
+ "name": "updateNetwork",
410
+ "protocol": "REST",
411
+ "method": "PUT",
412
+ "entitypath": "{base_path}/{version}/network/{pathv1}?{query}",
413
+ "requestSchema": "schema.json",
414
+ "responseSchema": "schema.json",
415
+ "timeout": 0,
416
+ "sendEmpty": false,
417
+ "requestDatatype": "JSON",
418
+ "responseDatatype": "JSON",
419
+ "headers": {},
420
+ "responseObjects": [
421
+ {
422
+ "type": "default",
423
+ "key": "",
424
+ "mockFile": ""
425
+ }
426
+ ]
427
+ },
428
+ {
429
+ "name": "createNetwork",
430
+ "protocol": "REST",
431
+ "method": "POST",
432
+ "entitypath": "{base_path}/{version}/network/{pathv1}?{query}",
433
+ "requestSchema": "schema.json",
434
+ "responseSchema": "schema.json",
435
+ "timeout": 0,
436
+ "sendEmpty": false,
437
+ "requestDatatype": "JSON",
438
+ "responseDatatype": "JSON",
439
+ "headers": {},
440
+ "responseObjects": [
441
+ {
442
+ "type": "default",
443
+ "key": "",
444
+ "mockFile": ""
445
+ }
446
+ ]
447
+ },
448
+ {
449
+ "name": "releaseReserveIPSubpool",
450
+ "protocol": "REST",
451
+ "method": "DELETE",
452
+ "entitypath": "{base_path}/{version}/reserve-ip-subpool/{pathv1}?{query}",
453
+ "requestSchema": "schema.json",
454
+ "responseSchema": "schema.json",
455
+ "timeout": 0,
456
+ "sendEmpty": false,
457
+ "requestDatatype": "JSON",
458
+ "responseDatatype": "JSON",
459
+ "headers": {},
460
+ "responseObjects": [
461
+ {
462
+ "type": "default",
463
+ "key": "",
464
+ "mockFile": ""
465
+ }
466
+ ]
467
+ }
468
+ ]
469
+ }
@@ -0,0 +1,41 @@
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": "assignDeviceCredentialToSiteV2",
12
+ "enum": [
13
+ "assignDeviceCredentialToSiteV2",
14
+ "updateNetworkV2",
15
+ "createNetworkV2",
16
+ "getGlobalPool",
17
+ "updateGlobalPool",
18
+ "createGlobalPool",
19
+ "deleteGlobalIPPool",
20
+ "deleteDeviceCredential",
21
+ "getNetwork",
22
+ "updateReserveIPSubpool",
23
+ "reserveIPSubpool",
24
+ "getReserveIPSubpool",
25
+ "deleteSPProfile",
26
+ "assignDeviceCredentialToSite",
27
+ "getDeviceCredentialDetails",
28
+ "updateDeviceCredentials",
29
+ "createDeviceCredentials",
30
+ "getServiceProviderDetails",
31
+ "updateSPProfile",
32
+ "createSPProfile",
33
+ "updateNetwork",
34
+ "createNetwork",
35
+ "releaseReserveIPSubpool"
36
+ ],
37
+ "external_name": "ph_request_type"
38
+ }
39
+ },
40
+ "definitions": {}
41
+ }