@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.
- package/CALLS.md +1734 -0
- package/CHANGELOG.md +16 -0
- package/TAB1.md +10 -0
- package/TAB2.md +4447 -0
- package/adapter.js +25345 -0
- package/entities/ApplicationPolicy/action.json +638 -0
- package/entities/ApplicationPolicy/schema.json +49 -0
- package/entities/Applications/action.json +25 -0
- package/entities/Applications/schema.json +19 -0
- package/entities/Authentication/action.json +40 -0
- package/entities/Authentication/schema.json +3 -1
- package/entities/CiscoDNACenterSystem/action.json +24 -0
- package/entities/CiscoDNACenterSystem/schema.json +19 -0
- package/entities/Clients/action.json +42 -0
- package/entities/Clients/schema.json +3 -1
- package/entities/Compliance/action.json +170 -0
- package/entities/Compliance/schema.json +26 -0
- package/entities/ConfigurationArchive/action.json +45 -0
- package/entities/ConfigurationArchive/schema.json +20 -0
- package/entities/DeviceReplacement/action.json +106 -0
- package/entities/DeviceReplacement/schema.json +23 -0
- package/entities/Devices/action.json +555 -0
- package/entities/Devices/schema.json +28 -1
- package/entities/EoX/action.json +67 -0
- package/entities/EoX/schema.json +21 -0
- package/entities/EventManagement/action.json +827 -0
- package/entities/EventManagement/schema.json +58 -0
- package/entities/FabricWireless/action.json +105 -0
- package/entities/FabricWireless/schema.json +23 -0
- package/entities/File/action.json +20 -0
- package/entities/File/schema.json +2 -1
- package/entities/HealthAndPerformance/action.json +88 -0
- package/entities/HealthAndPerformance/schema.json +22 -0
- package/entities/ITSM/action.json +66 -0
- package/entities/ITSM/schema.json +21 -0
- package/entities/ITSMIntegration/action.json +106 -0
- package/entities/ITSMIntegration/schema.json +23 -0
- package/entities/Issues/action.json +66 -0
- package/entities/Issues/schema.json +21 -0
- package/entities/LANAutomation/action.json +231 -0
- package/entities/LANAutomation/schema.json +29 -0
- package/entities/Licenses/action.json +211 -0
- package/entities/Licenses/schema.json +28 -0
- package/entities/NetworkDiscovery/action.json +81 -0
- package/entities/NetworkDiscovery/schema.json +5 -1
- package/entities/NetworkSettings/action.json +469 -0
- package/entities/NetworkSettings/schema.json +41 -0
- package/entities/NonFabricWirelessBETA/action.json +427 -0
- package/entities/NonFabricWirelessBETA/schema.json +22 -1
- package/entities/Platform/action.json +67 -0
- package/entities/Platform/schema.json +21 -0
- package/entities/Reports/action.json +191 -0
- package/entities/Reports/schema.json +27 -0
- package/entities/SWIM/action.json +82 -0
- package/entities/SWIM/schema.json +5 -1
- package/entities/SecurityAdvisories/action.json +109 -0
- package/entities/SecurityAdvisories/schema.json +23 -0
- package/entities/Sensors/action.json +125 -0
- package/entities/Sensors/schema.json +24 -0
- package/entities/SiteProfile/action.json +141 -0
- package/entities/SiteProfile/schema.json +8 -1
- package/entities/Sites/action.json +308 -0
- package/entities/Sites/schema.json +16 -1
- package/entities/SystemSettings/action.json +167 -0
- package/entities/SystemSettings/schema.json +26 -0
- package/entities/Task/action.json +21 -0
- package/entities/Task/schema.json +2 -1
- package/entities/TemplateProgrammer/action.json +163 -0
- package/entities/TemplateProgrammer/schema.json +9 -1
- package/entities/UserAndRoles/action.json +208 -0
- package/entities/UserAndRoles/schema.json +28 -0
- package/entities/Users/action.json +25 -0
- package/entities/Users/schema.json +19 -0
- package/package.json +3 -3
- package/pronghorn.json +15199 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +7 -7
- package/report/openapi-v2.3.7.json +79707 -0
- package/test/integration/adapterTestIntegration.js +14456 -0
- package/test/unit/adapterTestUnit.js +7906 -1
|
@@ -104,6 +104,27 @@
|
|
|
104
104
|
"mockFile": "mockdatafiles/getDnaintentapiv1taskoperationoperationIdoffsetlimit-default.json"
|
|
105
105
|
}
|
|
106
106
|
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "getBusinessAPIExecutionDetails",
|
|
110
|
+
"protocol": "REST",
|
|
111
|
+
"method": "GET",
|
|
112
|
+
"entitypath": "{base_path}/{version}/dnacaap/management/execution-status/{pathv1}?{query}",
|
|
113
|
+
"requestSchema": "schema.json",
|
|
114
|
+
"responseSchema": "schema.json",
|
|
115
|
+
"timeout": 0,
|
|
116
|
+
"sendEmpty": false,
|
|
117
|
+
"sendGetBody": false,
|
|
118
|
+
"requestDatatype": "JSON",
|
|
119
|
+
"responseDatatype": "JSON",
|
|
120
|
+
"headers": {},
|
|
121
|
+
"responseObjects": [
|
|
122
|
+
{
|
|
123
|
+
"type": "default",
|
|
124
|
+
"key": "",
|
|
125
|
+
"mockFile": ""
|
|
126
|
+
}
|
|
127
|
+
]
|
|
107
128
|
}
|
|
108
129
|
]
|
|
109
130
|
}
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"getDnaintentapiv1tasktaskId",
|
|
15
15
|
"getDnaintentapiv1task",
|
|
16
16
|
"getDnaintentapiv1tasktaskIdtree",
|
|
17
|
-
"getDnaintentapiv1taskoperationoperationIdoffsetlimit"
|
|
17
|
+
"getDnaintentapiv1taskoperationoperationIdoffsetlimit",
|
|
18
|
+
"getBusinessAPIExecutionDetails"
|
|
18
19
|
],
|
|
19
20
|
"external_name": "ph_request_type"
|
|
20
21
|
}
|
|
@@ -293,6 +293,169 @@
|
|
|
293
293
|
"mockFile": "mockdatafiles/postDnaintentapiv1templateProgrammerprojectprojectIdtemplate-default.json"
|
|
294
294
|
}
|
|
295
295
|
]
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "createACloneOfTheGivenTemplate",
|
|
299
|
+
"protocol": "REST",
|
|
300
|
+
"method": "POST",
|
|
301
|
+
"entitypath": "{base_path}/{version}/template-programmer/clone/name/{pathv1}/project/{pathv2}/template/{pathv3}?{query}",
|
|
302
|
+
"requestSchema": "schema.json",
|
|
303
|
+
"responseSchema": "schema.json",
|
|
304
|
+
"timeout": 0,
|
|
305
|
+
"sendEmpty": false,
|
|
306
|
+
"requestDatatype": "JSON",
|
|
307
|
+
"responseDatatype": "JSON",
|
|
308
|
+
"headers": {},
|
|
309
|
+
"responseObjects": [
|
|
310
|
+
{
|
|
311
|
+
"type": "default",
|
|
312
|
+
"key": "",
|
|
313
|
+
"mockFile": ""
|
|
314
|
+
}
|
|
315
|
+
]
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"name": "importTheTemplatesProvided",
|
|
319
|
+
"protocol": "REST",
|
|
320
|
+
"method": "POST",
|
|
321
|
+
"entitypath": "{base_path}/{version}/template-programmer/project/name/{pathv1}/template/importtemplates?{query}",
|
|
322
|
+
"requestSchema": "schema.json",
|
|
323
|
+
"responseSchema": "schema.json",
|
|
324
|
+
"timeout": 0,
|
|
325
|
+
"sendEmpty": false,
|
|
326
|
+
"requestDatatype": "JSON",
|
|
327
|
+
"responseDatatype": "JSON",
|
|
328
|
+
"headers": {},
|
|
329
|
+
"responseObjects": [
|
|
330
|
+
{
|
|
331
|
+
"type": "default",
|
|
332
|
+
"key": "",
|
|
333
|
+
"mockFile": ""
|
|
334
|
+
}
|
|
335
|
+
]
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"name": "exportTheProjectsForAGivenCriteria",
|
|
339
|
+
"protocol": "REST",
|
|
340
|
+
"method": "POST",
|
|
341
|
+
"entitypath": "{base_path}/{version}/template-programmer/project/name/exportprojects?{query}",
|
|
342
|
+
"requestSchema": "schema.json",
|
|
343
|
+
"responseSchema": "schema.json",
|
|
344
|
+
"timeout": 0,
|
|
345
|
+
"sendEmpty": false,
|
|
346
|
+
"requestDatatype": "JSON",
|
|
347
|
+
"responseDatatype": "JSON",
|
|
348
|
+
"headers": {},
|
|
349
|
+
"responseObjects": [
|
|
350
|
+
{
|
|
351
|
+
"type": "default",
|
|
352
|
+
"key": "",
|
|
353
|
+
"mockFile": ""
|
|
354
|
+
}
|
|
355
|
+
]
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "getTheDetailsOfAGivenProject",
|
|
359
|
+
"protocol": "REST",
|
|
360
|
+
"method": "GET",
|
|
361
|
+
"entitypath": "{base_path}/{version}/template-programmer/project/{pathv1}?{query}",
|
|
362
|
+
"requestSchema": "schema.json",
|
|
363
|
+
"responseSchema": "schema.json",
|
|
364
|
+
"timeout": 0,
|
|
365
|
+
"sendEmpty": false,
|
|
366
|
+
"sendGetBody": false,
|
|
367
|
+
"requestDatatype": "JSON",
|
|
368
|
+
"responseDatatype": "JSON",
|
|
369
|
+
"headers": {},
|
|
370
|
+
"responseObjects": [
|
|
371
|
+
{
|
|
372
|
+
"type": "default",
|
|
373
|
+
"key": "",
|
|
374
|
+
"mockFile": ""
|
|
375
|
+
}
|
|
376
|
+
]
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"name": "getProjectDetailsV2",
|
|
380
|
+
"protocol": "REST",
|
|
381
|
+
"method": "GET",
|
|
382
|
+
"entitypath": "{base_path}/{version}/template-programmer/project?{query}",
|
|
383
|
+
"requestSchema": "schema.json",
|
|
384
|
+
"responseSchema": "schema.json",
|
|
385
|
+
"timeout": 0,
|
|
386
|
+
"sendEmpty": false,
|
|
387
|
+
"sendGetBody": false,
|
|
388
|
+
"requestDatatype": "JSON",
|
|
389
|
+
"responseDatatype": "JSON",
|
|
390
|
+
"headers": {},
|
|
391
|
+
"responseObjects": [
|
|
392
|
+
{
|
|
393
|
+
"type": "default",
|
|
394
|
+
"key": "",
|
|
395
|
+
"mockFile": ""
|
|
396
|
+
}
|
|
397
|
+
]
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"name": "getTemplateDetailsV2",
|
|
401
|
+
"protocol": "REST",
|
|
402
|
+
"method": "GET",
|
|
403
|
+
"entitypath": "{base_path}/{version}/template-programmer/template?{query}",
|
|
404
|
+
"requestSchema": "schema.json",
|
|
405
|
+
"responseSchema": "schema.json",
|
|
406
|
+
"timeout": 0,
|
|
407
|
+
"sendEmpty": false,
|
|
408
|
+
"sendGetBody": false,
|
|
409
|
+
"requestDatatype": "JSON",
|
|
410
|
+
"responseDatatype": "JSON",
|
|
411
|
+
"headers": {},
|
|
412
|
+
"responseObjects": [
|
|
413
|
+
{
|
|
414
|
+
"type": "default",
|
|
415
|
+
"key": "",
|
|
416
|
+
"mockFile": ""
|
|
417
|
+
}
|
|
418
|
+
]
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"name": "exportTheTemplatesForAGivenCriteria",
|
|
422
|
+
"protocol": "REST",
|
|
423
|
+
"method": "POST",
|
|
424
|
+
"entitypath": "{base_path}/{version}/template-programmer/template/exporttemplates?{query}",
|
|
425
|
+
"requestSchema": "schema.json",
|
|
426
|
+
"responseSchema": "schema.json",
|
|
427
|
+
"timeout": 0,
|
|
428
|
+
"sendEmpty": false,
|
|
429
|
+
"requestDatatype": "JSON",
|
|
430
|
+
"responseDatatype": "JSON",
|
|
431
|
+
"headers": {},
|
|
432
|
+
"responseObjects": [
|
|
433
|
+
{
|
|
434
|
+
"type": "default",
|
|
435
|
+
"key": "",
|
|
436
|
+
"mockFile": ""
|
|
437
|
+
}
|
|
438
|
+
]
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"name": "importTheProjectsProvided",
|
|
442
|
+
"protocol": "REST",
|
|
443
|
+
"method": "POST",
|
|
444
|
+
"entitypath": "{base_path}/{version}/template-programmer/project/importprojects?{query}",
|
|
445
|
+
"requestSchema": "schema.json",
|
|
446
|
+
"responseSchema": "schema.json",
|
|
447
|
+
"timeout": 0,
|
|
448
|
+
"sendEmpty": false,
|
|
449
|
+
"requestDatatype": "JSON",
|
|
450
|
+
"responseDatatype": "JSON",
|
|
451
|
+
"headers": {},
|
|
452
|
+
"responseObjects": [
|
|
453
|
+
{
|
|
454
|
+
"type": "default",
|
|
455
|
+
"key": "",
|
|
456
|
+
"mockFile": ""
|
|
457
|
+
}
|
|
458
|
+
]
|
|
296
459
|
}
|
|
297
460
|
]
|
|
298
461
|
}
|
|
@@ -23,7 +23,15 @@
|
|
|
23
23
|
"deleteDnaintentapiv1templateProgrammerprojectprojectId",
|
|
24
24
|
"getDnaintentapiv1templateProgrammertemplateversiontemplateId",
|
|
25
25
|
"putDnaintentapiv1templateProgrammertemplatepreview",
|
|
26
|
-
"postDnaintentapiv1templateProgrammerprojectprojectIdtemplate"
|
|
26
|
+
"postDnaintentapiv1templateProgrammerprojectprojectIdtemplate",
|
|
27
|
+
"createACloneOfTheGivenTemplate",
|
|
28
|
+
"importTheTemplatesProvided",
|
|
29
|
+
"exportTheProjectsForAGivenCriteria",
|
|
30
|
+
"getTheDetailsOfAGivenProject",
|
|
31
|
+
"getProjectDetailsV2",
|
|
32
|
+
"getTemplateDetailsV2",
|
|
33
|
+
"exportTheTemplatesForAGivenCriteria",
|
|
34
|
+
"importTheProjectsProvided"
|
|
27
35
|
],
|
|
28
36
|
"external_name": "ph_request_type"
|
|
29
37
|
}
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "updateRole",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "PUT",
|
|
7
|
+
"entitypath": "/dna/system/api/{version}/role?{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": "addRole",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "POST",
|
|
27
|
+
"entitypath": "/dna/system/api/{version}/role?{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": "deleteUser",
|
|
45
|
+
"protocol": "REST",
|
|
46
|
+
"method": "DELETE",
|
|
47
|
+
"entitypath": "/dna/system/api/{version}/user/{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": "getUsers",
|
|
65
|
+
"protocol": "REST",
|
|
66
|
+
"method": "GET",
|
|
67
|
+
"entitypath": "/dna/system/api/{version}/user?{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": "updateUser",
|
|
86
|
+
"protocol": "REST",
|
|
87
|
+
"method": "PUT",
|
|
88
|
+
"entitypath": "/dna/system/api/{version}/user?{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": "addUser",
|
|
106
|
+
"protocol": "REST",
|
|
107
|
+
"method": "POST",
|
|
108
|
+
"entitypath": "/dna/system/api/{version}/user?{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": "getRoles",
|
|
126
|
+
"protocol": "REST",
|
|
127
|
+
"method": "GET",
|
|
128
|
+
"entitypath": "/dna/system/api/{version}/roles?{query}",
|
|
129
|
+
"requestSchema": "schema.json",
|
|
130
|
+
"responseSchema": "schema.json",
|
|
131
|
+
"timeout": 0,
|
|
132
|
+
"sendEmpty": false,
|
|
133
|
+
"sendGetBody": false,
|
|
134
|
+
"requestDatatype": "JSON",
|
|
135
|
+
"responseDatatype": "JSON",
|
|
136
|
+
"headers": {},
|
|
137
|
+
"responseObjects": [
|
|
138
|
+
{
|
|
139
|
+
"type": "default",
|
|
140
|
+
"key": "",
|
|
141
|
+
"mockFile": ""
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "getPermissions",
|
|
147
|
+
"protocol": "REST",
|
|
148
|
+
"method": "GET",
|
|
149
|
+
"entitypath": "/dna/system/api/{version}/role/permissions?{query}",
|
|
150
|
+
"requestSchema": "schema.json",
|
|
151
|
+
"responseSchema": "schema.json",
|
|
152
|
+
"timeout": 0,
|
|
153
|
+
"sendEmpty": false,
|
|
154
|
+
"sendGetBody": 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": "getExternalAuthenticationServers",
|
|
168
|
+
"protocol": "REST",
|
|
169
|
+
"method": "GET",
|
|
170
|
+
"entitypath": "/dna/system/api/{version}/users/external-servers?{query}",
|
|
171
|
+
"requestSchema": "schema.json",
|
|
172
|
+
"responseSchema": "schema.json",
|
|
173
|
+
"timeout": 0,
|
|
174
|
+
"sendEmpty": false,
|
|
175
|
+
"sendGetBody": false,
|
|
176
|
+
"requestDatatype": "JSON",
|
|
177
|
+
"responseDatatype": "JSON",
|
|
178
|
+
"headers": {},
|
|
179
|
+
"responseObjects": [
|
|
180
|
+
{
|
|
181
|
+
"type": "default",
|
|
182
|
+
"key": "",
|
|
183
|
+
"mockFile": ""
|
|
184
|
+
}
|
|
185
|
+
]
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "deleteRole",
|
|
189
|
+
"protocol": "REST",
|
|
190
|
+
"method": "DELETE",
|
|
191
|
+
"entitypath": "/dna/system/api/{version}/role/{pathv1}?{query}",
|
|
192
|
+
"requestSchema": "schema.json",
|
|
193
|
+
"responseSchema": "schema.json",
|
|
194
|
+
"timeout": 0,
|
|
195
|
+
"sendEmpty": false,
|
|
196
|
+
"requestDatatype": "JSON",
|
|
197
|
+
"responseDatatype": "JSON",
|
|
198
|
+
"headers": {},
|
|
199
|
+
"responseObjects": [
|
|
200
|
+
{
|
|
201
|
+
"type": "default",
|
|
202
|
+
"key": "",
|
|
203
|
+
"mockFile": ""
|
|
204
|
+
}
|
|
205
|
+
]
|
|
206
|
+
}
|
|
207
|
+
]
|
|
208
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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": "updateRole",
|
|
12
|
+
"enum": [
|
|
13
|
+
"updateRole",
|
|
14
|
+
"addRole",
|
|
15
|
+
"deleteUser",
|
|
16
|
+
"getUsers",
|
|
17
|
+
"updateUser",
|
|
18
|
+
"addUser",
|
|
19
|
+
"getRoles",
|
|
20
|
+
"getPermissions",
|
|
21
|
+
"getExternalAuthenticationServers",
|
|
22
|
+
"deleteRole"
|
|
23
|
+
],
|
|
24
|
+
"external_name": "ph_request_type"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"definitions": {}
|
|
28
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getUserEnrichmentDetails",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/user-enrichment-details?{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
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
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": "getUserEnrichmentDetails",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getUserEnrichmentDetails"
|
|
14
|
+
],
|
|
15
|
+
"external_name": "ph_request_type"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"definitions": {}
|
|
19
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-dna_center",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "This adapter integrates with system Dna_center",
|
|
5
5
|
"main": "adapter.js",
|
|
6
6
|
"systemName": "Cisco DNA Center",
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
"author": "Itential",
|
|
56
56
|
"homepage": "https://gitlab.com/itentialopensource/adapters/controller-orchestrator/adapter-dna_center#readme",
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@itentialopensource/adapter-utils": "^5.3.
|
|
58
|
+
"@itentialopensource/adapter-utils": "^5.3.10",
|
|
59
59
|
"acorn": "^8.10.0",
|
|
60
60
|
"ajv": "^8.12.0",
|
|
61
|
-
"axios": "^1.6.
|
|
61
|
+
"axios": "^1.6.8",
|
|
62
62
|
"commander": "^11.0.0",
|
|
63
63
|
"dns-lookup-promise": "^1.0.4",
|
|
64
64
|
"fs-extra": "^11.1.1",
|