@itentialopensource/adapter-dna_center 0.9.7 → 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 +16 -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 +3 -3
  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 +7906 -1
@@ -104,6 +104,433 @@
104
104
  "mockFile": "mockdatafiles/deleteDnaintentapiv1enterpriseSsidssidName-default.json"
105
105
  }
106
106
  ]
107
+ },
108
+ {
109
+ "name": "configureAccessPoints",
110
+ "protocol": "REST",
111
+ "method": "POST",
112
+ "entitypath": "{base_path}/{version}/wireless/accesspoint-configuration?{query}",
113
+ "requestSchema": "schema.json",
114
+ "responseSchema": "schema.json",
115
+ "timeout": 0,
116
+ "sendEmpty": false,
117
+ "requestDatatype": "JSON",
118
+ "responseDatatype": "JSON",
119
+ "headers": {},
120
+ "responseObjects": [
121
+ {
122
+ "type": "default",
123
+ "key": "",
124
+ "mockFile": ""
125
+ }
126
+ ]
127
+ },
128
+ {
129
+ "name": "rebootAccessPoints",
130
+ "protocol": "REST",
131
+ "method": "POST",
132
+ "entitypath": "{base_path}/{version}/device-reboot/apreboot?{query}",
133
+ "requestSchema": "schema.json",
134
+ "responseSchema": "schema.json",
135
+ "timeout": 0,
136
+ "sendEmpty": false,
137
+ "requestDatatype": "JSON",
138
+ "responseDatatype": "JSON",
139
+ "headers": {},
140
+ "responseObjects": [
141
+ {
142
+ "type": "default",
143
+ "key": "",
144
+ "mockFile": ""
145
+ }
146
+ ]
147
+ },
148
+ {
149
+ "name": "getAccessPointConfiguration",
150
+ "protocol": "REST",
151
+ "method": "GET",
152
+ "entitypath": "{base_path}/{version}/wireless/accesspoint-configuration/summary?{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": ""
166
+ }
167
+ ]
168
+ },
169
+ {
170
+ "name": "getAccessPointRebootTaskResult",
171
+ "protocol": "REST",
172
+ "method": "GET",
173
+ "entitypath": "{base_path}/{version}/device-reboot/apreboot/status?{query}",
174
+ "requestSchema": "schema.json",
175
+ "responseSchema": "schema.json",
176
+ "timeout": 0,
177
+ "sendEmpty": false,
178
+ "sendGetBody": false,
179
+ "requestDatatype": "JSON",
180
+ "responseDatatype": "JSON",
181
+ "headers": {},
182
+ "responseObjects": [
183
+ {
184
+ "type": "default",
185
+ "key": "",
186
+ "mockFile": ""
187
+ }
188
+ ]
189
+ },
190
+ {
191
+ "name": "getAccessPointConfigurationTaskResult",
192
+ "protocol": "REST",
193
+ "method": "GET",
194
+ "entitypath": "{base_path}/{version}/wireless/accesspoint-configuration/details/{pathv1}?{query}",
195
+ "requestSchema": "schema.json",
196
+ "responseSchema": "schema.json",
197
+ "timeout": 0,
198
+ "sendEmpty": false,
199
+ "sendGetBody": false,
200
+ "requestDatatype": "JSON",
201
+ "responseDatatype": "JSON",
202
+ "headers": {},
203
+ "responseObjects": [
204
+ {
205
+ "type": "default",
206
+ "key": "",
207
+ "mockFile": ""
208
+ }
209
+ ]
210
+ },
211
+ {
212
+ "name": "retrieveRFProfiles",
213
+ "protocol": "REST",
214
+ "method": "GET",
215
+ "entitypath": "{base_path}/{version}/wireless/rf-profile?{query}",
216
+ "requestSchema": "schema.json",
217
+ "responseSchema": "schema.json",
218
+ "timeout": 0,
219
+ "sendEmpty": false,
220
+ "sendGetBody": false,
221
+ "requestDatatype": "JSON",
222
+ "responseDatatype": "JSON",
223
+ "headers": {},
224
+ "responseObjects": [
225
+ {
226
+ "type": "default",
227
+ "key": "",
228
+ "mockFile": ""
229
+ }
230
+ ]
231
+ },
232
+ {
233
+ "name": "createOrUpdateRFProfile",
234
+ "protocol": "REST",
235
+ "method": "POST",
236
+ "entitypath": "{base_path}/{version}/wireless/rf-profile?{query}",
237
+ "requestSchema": "schema.json",
238
+ "responseSchema": "schema.json",
239
+ "timeout": 0,
240
+ "sendEmpty": false,
241
+ "requestDatatype": "JSON",
242
+ "responseDatatype": "JSON",
243
+ "headers": {},
244
+ "responseObjects": [
245
+ {
246
+ "type": "default",
247
+ "key": "",
248
+ "mockFile": ""
249
+ }
250
+ ]
251
+ },
252
+ {
253
+ "name": "deleteRFProfiles",
254
+ "protocol": "REST",
255
+ "method": "DELETE",
256
+ "entitypath": "{base_path}/{version}/wireless/rf-profile/{pathv1}?{query}",
257
+ "requestSchema": "schema.json",
258
+ "responseSchema": "schema.json",
259
+ "timeout": 0,
260
+ "sendEmpty": false,
261
+ "requestDatatype": "JSON",
262
+ "responseDatatype": "JSON",
263
+ "headers": {},
264
+ "responseObjects": [
265
+ {
266
+ "type": "default",
267
+ "key": "",
268
+ "mockFile": ""
269
+ }
270
+ ]
271
+ },
272
+ {
273
+ "name": "pSKOverride",
274
+ "protocol": "REST",
275
+ "method": "POST",
276
+ "entitypath": "{base_path}/{version}/wireless/psk-override?{query}",
277
+ "requestSchema": "schema.json",
278
+ "responseSchema": "schema.json",
279
+ "timeout": 0,
280
+ "sendEmpty": false,
281
+ "requestDatatype": "JSON",
282
+ "responseDatatype": "JSON",
283
+ "headers": {},
284
+ "responseObjects": [
285
+ {
286
+ "type": "default",
287
+ "key": "",
288
+ "mockFile": ""
289
+ }
290
+ ]
291
+ },
292
+ {
293
+ "name": "getWirelessProfile",
294
+ "protocol": "REST",
295
+ "method": "GET",
296
+ "entitypath": "{base_path}/{version}/wireless/profile?{query}",
297
+ "requestSchema": "schema.json",
298
+ "responseSchema": "schema.json",
299
+ "timeout": 0,
300
+ "sendEmpty": false,
301
+ "sendGetBody": false,
302
+ "requestDatatype": "JSON",
303
+ "responseDatatype": "JSON",
304
+ "headers": {},
305
+ "responseObjects": [
306
+ {
307
+ "type": "default",
308
+ "key": "",
309
+ "mockFile": ""
310
+ }
311
+ ]
312
+ },
313
+ {
314
+ "name": "updateWirelessProfile",
315
+ "protocol": "REST",
316
+ "method": "PUT",
317
+ "entitypath": "{base_path}/{version}/wireless/profile?{query}",
318
+ "requestSchema": "schema.json",
319
+ "responseSchema": "schema.json",
320
+ "timeout": 0,
321
+ "sendEmpty": false,
322
+ "requestDatatype": "JSON",
323
+ "responseDatatype": "JSON",
324
+ "headers": {},
325
+ "responseObjects": [
326
+ {
327
+ "type": "default",
328
+ "key": "",
329
+ "mockFile": ""
330
+ }
331
+ ]
332
+ },
333
+ {
334
+ "name": "createWirelessProfile",
335
+ "protocol": "REST",
336
+ "method": "POST",
337
+ "entitypath": "{base_path}/{version}/wireless/profile?{query}",
338
+ "requestSchema": "schema.json",
339
+ "responseSchema": "schema.json",
340
+ "timeout": 0,
341
+ "sendEmpty": false,
342
+ "requestDatatype": "JSON",
343
+ "responseDatatype": "JSON",
344
+ "headers": {},
345
+ "responseObjects": [
346
+ {
347
+ "type": "default",
348
+ "key": "",
349
+ "mockFile": ""
350
+ }
351
+ ]
352
+ },
353
+ {
354
+ "name": "provisionUpdate",
355
+ "protocol": "REST",
356
+ "method": "PUT",
357
+ "entitypath": "{base_path}/{version}/wireless/provision?{query}",
358
+ "requestSchema": "schema.json",
359
+ "responseSchema": "schema.json",
360
+ "timeout": 0,
361
+ "sendEmpty": false,
362
+ "requestDatatype": "JSON",
363
+ "responseDatatype": "JSON",
364
+ "headers": {},
365
+ "responseObjects": [
366
+ {
367
+ "type": "default",
368
+ "key": "",
369
+ "mockFile": ""
370
+ }
371
+ ]
372
+ },
373
+ {
374
+ "name": "provision",
375
+ "protocol": "REST",
376
+ "method": "POST",
377
+ "entitypath": "{base_path}/{version}/wireless/provision?{query}",
378
+ "requestSchema": "schema.json",
379
+ "responseSchema": "schema.json",
380
+ "timeout": 0,
381
+ "sendEmpty": false,
382
+ "requestDatatype": "JSON",
383
+ "responseDatatype": "JSON",
384
+ "headers": {},
385
+ "responseObjects": [
386
+ {
387
+ "type": "default",
388
+ "key": "",
389
+ "mockFile": ""
390
+ }
391
+ ]
392
+ },
393
+ {
394
+ "name": "getSensorTestResults",
395
+ "protocol": "REST",
396
+ "method": "GET",
397
+ "entitypath": "{base_path}/{version}/AssuranceGetgetSensorTestResults?{query}",
398
+ "requestSchema": "schema.json",
399
+ "responseSchema": "schema.json",
400
+ "timeout": 0,
401
+ "sendEmpty": false,
402
+ "sendGetBody": false,
403
+ "requestDatatype": "JSON",
404
+ "responseDatatype": "JSON",
405
+ "headers": {},
406
+ "responseObjects": [
407
+ {
408
+ "type": "default",
409
+ "key": "",
410
+ "mockFile": ""
411
+ }
412
+ ]
413
+ },
414
+ {
415
+ "name": "updateEnterpriseSSID",
416
+ "protocol": "REST",
417
+ "method": "PUT",
418
+ "entitypath": "{base_path}/{version}/enterprise-ssid?{query}",
419
+ "requestSchema": "schema.json",
420
+ "responseSchema": "schema.json",
421
+ "timeout": 0,
422
+ "sendEmpty": false,
423
+ "requestDatatype": "JSON",
424
+ "responseDatatype": "JSON",
425
+ "headers": {},
426
+ "responseObjects": [
427
+ {
428
+ "type": "default",
429
+ "key": "",
430
+ "mockFile": ""
431
+ }
432
+ ]
433
+ },
434
+ {
435
+ "name": "getDynamicInterface",
436
+ "protocol": "REST",
437
+ "method": "GET",
438
+ "entitypath": "{base_path}/{version}/wireless/dynamic-interface?{query}",
439
+ "requestSchema": "schema.json",
440
+ "responseSchema": "schema.json",
441
+ "timeout": 0,
442
+ "sendEmpty": false,
443
+ "sendGetBody": false,
444
+ "requestDatatype": "JSON",
445
+ "responseDatatype": "JSON",
446
+ "headers": {},
447
+ "responseObjects": [
448
+ {
449
+ "type": "default",
450
+ "key": "",
451
+ "mockFile": ""
452
+ }
453
+ ]
454
+ },
455
+ {
456
+ "name": "createUpdateDynamicInterface",
457
+ "protocol": "REST",
458
+ "method": "POST",
459
+ "entitypath": "{base_path}/{version}/wireless/dynamic-interface?{query}",
460
+ "requestSchema": "schema.json",
461
+ "responseSchema": "schema.json",
462
+ "timeout": 0,
463
+ "sendEmpty": false,
464
+ "requestDatatype": "JSON",
465
+ "responseDatatype": "JSON",
466
+ "headers": {},
467
+ "responseObjects": [
468
+ {
469
+ "type": "default",
470
+ "key": "",
471
+ "mockFile": ""
472
+ }
473
+ ]
474
+ },
475
+ {
476
+ "name": "aPProvision",
477
+ "protocol": "REST",
478
+ "method": "POST",
479
+ "entitypath": "{base_path}/{version}/wireless/ap-provision?{query}",
480
+ "requestSchema": "schema.json",
481
+ "responseSchema": "schema.json",
482
+ "timeout": 0,
483
+ "sendEmpty": false,
484
+ "requestDatatype": "JSON",
485
+ "responseDatatype": "JSON",
486
+ "headers": {},
487
+ "responseObjects": [
488
+ {
489
+ "type": "default",
490
+ "key": "",
491
+ "mockFile": ""
492
+ }
493
+ ]
494
+ },
495
+ {
496
+ "name": "deleteWirelessProfile",
497
+ "protocol": "REST",
498
+ "method": "DELETE",
499
+ "entitypath": "{base_path}/{version}/wireless-profile/{pathv1}?{query}",
500
+ "requestSchema": "schema.json",
501
+ "responseSchema": "schema.json",
502
+ "timeout": 0,
503
+ "sendEmpty": false,
504
+ "requestDatatype": "JSON",
505
+ "responseDatatype": "JSON",
506
+ "headers": {},
507
+ "responseObjects": [
508
+ {
509
+ "type": "default",
510
+ "key": "",
511
+ "mockFile": ""
512
+ }
513
+ ]
514
+ },
515
+ {
516
+ "name": "deleteDynamicInterface",
517
+ "protocol": "REST",
518
+ "method": "DELETE",
519
+ "entitypath": "{base_path}/{version}/wireless/dynamic-interface/{pathv1}?{query}",
520
+ "requestSchema": "schema.json",
521
+ "responseSchema": "schema.json",
522
+ "timeout": 0,
523
+ "sendEmpty": false,
524
+ "requestDatatype": "JSON",
525
+ "responseDatatype": "JSON",
526
+ "headers": {},
527
+ "responseObjects": [
528
+ {
529
+ "type": "default",
530
+ "key": "",
531
+ "mockFile": ""
532
+ }
533
+ ]
107
534
  }
108
535
  ]
109
536
  }
@@ -14,7 +14,28 @@
14
14
  "postDnaintentapiv1businessssid",
15
15
  "getDnaintentapiv1enterpriseSsid",
16
16
  "postDnaintentapiv1enterpriseSsid",
17
- "deleteDnaintentapiv1enterpriseSsidssidName"
17
+ "deleteDnaintentapiv1enterpriseSsidssidName",
18
+ "configureAccessPoints",
19
+ "rebootAccessPoints",
20
+ "getAccessPointConfiguration",
21
+ "getAccessPointRebootTaskResult",
22
+ "getAccessPointConfigurationTaskResult",
23
+ "retrieveRFProfiles",
24
+ "createOrUpdateRFProfile",
25
+ "deleteRFProfiles",
26
+ "pSKOverride",
27
+ "getWirelessProfile",
28
+ "updateWirelessProfile",
29
+ "createWirelessProfile",
30
+ "provisionUpdate",
31
+ "provision",
32
+ "getSensorTestResults",
33
+ "updateEnterpriseSSID",
34
+ "getDynamicInterface",
35
+ "createUpdateDynamicInterface",
36
+ "aPProvision",
37
+ "deleteWirelessProfile",
38
+ "deleteDynamicInterface"
18
39
  ],
19
40
  "external_name": "ph_request_type"
20
41
  }
@@ -0,0 +1,67 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getCiscoDNACenterReleaseSummary",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/dnac-release?{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": "getCiscoDNACenterNodesConfigurationSummary",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/nodes-config?{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
+ "name": "getCiscoDNACenterPackagesSummary",
47
+ "protocol": "REST",
48
+ "method": "GET",
49
+ "entitypath": "{base_path}/{version}/dnac-packages?{query}",
50
+ "requestSchema": "schema.json",
51
+ "responseSchema": "schema.json",
52
+ "timeout": 0,
53
+ "sendEmpty": false,
54
+ "sendGetBody": false,
55
+ "requestDatatype": "JSON",
56
+ "responseDatatype": "JSON",
57
+ "headers": {},
58
+ "responseObjects": [
59
+ {
60
+ "type": "default",
61
+ "key": "",
62
+ "mockFile": ""
63
+ }
64
+ ]
65
+ }
66
+ ]
67
+ }
@@ -0,0 +1,21 @@
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": "getCiscoDNACenterReleaseSummary",
12
+ "enum": [
13
+ "getCiscoDNACenterReleaseSummary",
14
+ "getCiscoDNACenterNodesConfigurationSummary",
15
+ "getCiscoDNACenterPackagesSummary"
16
+ ],
17
+ "external_name": "ph_request_type"
18
+ }
19
+ },
20
+ "definitions": {}
21
+ }