@itentialopensource/adapter-infoblox 1.12.3 → 1.13.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/AUTH.md +4 -9
- package/CALLS.md +2033 -22
- package/CHANGELOG.md +16 -0
- package/CONTRIBUTING.md +1 -160
- package/ENHANCE.md +2 -2
- package/README.md +32 -23
- package/SYSTEMINFO.md +13 -3
- package/adapter.js +237 -333
- package/adapterBase.js +549 -879
- package/changelogs/changelog.md +212 -0
- package/entities/Networks/action.json +21 -0
- package/entities/Networks/mockdatafiles/listNetworkContainers.json +6 -0
- package/entities/Networks/requestSchema.json +2 -1
- package/entities/Networks/responseSchema.json +2 -1
- package/entities/Networks/schema.json +1 -0
- package/metadata.json +68 -0
- package/package.json +24 -24
- package/pronghorn.json +535 -169
- package/propertiesSchema.json +422 -31
- package/refs?service=git-upload-pack +0 -0
- package/report/adapter-openapi.json +11283 -0
- package/report/adapter-openapi.yaml +8812 -0
- package/report/adapterInfo.json +8 -8
- package/report/updateReport1691508491036.json +120 -0
- package/report/updateReport1692202976507.json +120 -0
- package/report/updateReport1694466431390.json +120 -0
- package/sampleProperties.json +63 -2
- package/test/integration/adapterTestBasicGet.js +2 -4
- package/test/integration/adapterTestConnectivity.js +91 -42
- package/test/integration/adapterTestIntegration.js +153 -2
- package/test/unit/adapterBaseTestUnit.js +388 -313
- package/test/unit/adapterTestUnit.js +355 -117
- package/utils/adapterInfo.js +1 -1
- package/utils/addAuth.js +1 -1
- package/utils/artifactize.js +1 -1
- package/utils/checkMigrate.js +1 -1
- package/utils/entitiesToDB.js +2 -2
- package/utils/findPath.js +1 -1
- package/utils/methodDocumentor.js +260 -0
- package/utils/modify.js +13 -15
- package/utils/packModificationScript.js +1 -1
- package/utils/pre-commit.sh +2 -0
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +89 -34
- package/utils/tbUtils.js +41 -21
- package/utils/testRunner.js +1 -1
- package/utils/troubleshootingAdapter.js +9 -6
- package/workflows/Object entity.json +0 -1
- package/workflows/README.md +0 -3
package/pronghorn.json
CHANGED
|
@@ -63,47 +63,22 @@
|
|
|
63
63
|
"title": "action",
|
|
64
64
|
"type": "string"
|
|
65
65
|
}
|
|
66
|
-
}
|
|
67
|
-
],
|
|
68
|
-
"output": {
|
|
69
|
-
"name": "result",
|
|
70
|
-
"type": "object",
|
|
71
|
-
"description": "A JSON Object containing status, code and the result",
|
|
72
|
-
"schema": {
|
|
73
|
-
"title": "result",
|
|
74
|
-
"type": "object"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
"roles": [
|
|
78
|
-
"admin"
|
|
79
|
-
],
|
|
80
|
-
"route": {
|
|
81
|
-
"verb": "POST",
|
|
82
|
-
"path": "/iapUpdateAdapterConfiguration"
|
|
83
|
-
},
|
|
84
|
-
"task": true
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"name": "iapFindAdapterPath",
|
|
88
|
-
"summary": "Provides the ability to see if a particular API path is supported by the adapter",
|
|
89
|
-
"description": "Provides the ability to see if a particular API path is supported by the adapter",
|
|
90
|
-
"input": [
|
|
66
|
+
},
|
|
91
67
|
{
|
|
92
|
-
"name": "
|
|
93
|
-
"type": "
|
|
94
|
-
"info": "
|
|
95
|
-
"
|
|
68
|
+
"name": "replace",
|
|
69
|
+
"type": "boolean",
|
|
70
|
+
"info": "True to replace entire mock data, false to merge/append",
|
|
71
|
+
"required": false,
|
|
96
72
|
"schema": {
|
|
97
|
-
"title": "
|
|
98
|
-
"type": "
|
|
99
|
-
}
|
|
100
|
-
"required": true
|
|
73
|
+
"title": "replace",
|
|
74
|
+
"type": "boolean"
|
|
75
|
+
}
|
|
101
76
|
}
|
|
102
77
|
],
|
|
103
78
|
"output": {
|
|
104
79
|
"name": "result",
|
|
105
80
|
"type": "object",
|
|
106
|
-
"description": "A JSON Object containing the result",
|
|
81
|
+
"description": "A JSON Object containing status, code and the result",
|
|
107
82
|
"schema": {
|
|
108
83
|
"title": "result",
|
|
109
84
|
"type": "object"
|
|
@@ -114,7 +89,7 @@
|
|
|
114
89
|
],
|
|
115
90
|
"route": {
|
|
116
91
|
"verb": "POST",
|
|
117
|
-
"path": "/
|
|
92
|
+
"path": "/iapUpdateAdapterConfiguration"
|
|
118
93
|
},
|
|
119
94
|
"task": true
|
|
120
95
|
},
|
|
@@ -203,6 +178,41 @@
|
|
|
203
178
|
},
|
|
204
179
|
"task": true
|
|
205
180
|
},
|
|
181
|
+
{
|
|
182
|
+
"name": "iapFindAdapterPath",
|
|
183
|
+
"summary": "Provides the ability to see if a particular API path is supported by the adapter",
|
|
184
|
+
"description": "Provides the ability to see if a particular API path is supported by the adapter",
|
|
185
|
+
"input": [
|
|
186
|
+
{
|
|
187
|
+
"name": "apiPath",
|
|
188
|
+
"type": "string",
|
|
189
|
+
"info": "The API Path you want to check - make sure to not include base path and version",
|
|
190
|
+
"description": "The API Path you want to check - make sure to not include base path and version",
|
|
191
|
+
"schema": {
|
|
192
|
+
"title": "apiPath",
|
|
193
|
+
"type": "string"
|
|
194
|
+
},
|
|
195
|
+
"required": true
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"output": {
|
|
199
|
+
"name": "result",
|
|
200
|
+
"type": "object",
|
|
201
|
+
"description": "A JSON Object containing the result",
|
|
202
|
+
"schema": {
|
|
203
|
+
"title": "result",
|
|
204
|
+
"type": "object"
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"roles": [
|
|
208
|
+
"admin"
|
|
209
|
+
],
|
|
210
|
+
"route": {
|
|
211
|
+
"verb": "POST",
|
|
212
|
+
"path": "/iapFindAdapterPath"
|
|
213
|
+
},
|
|
214
|
+
"task": true
|
|
215
|
+
},
|
|
206
216
|
{
|
|
207
217
|
"name": "iapTroubleshootAdapter",
|
|
208
218
|
"summary": "Runs troubleshoot script for adapter",
|
|
@@ -222,7 +232,11 @@
|
|
|
222
232
|
"name": "persistFlag",
|
|
223
233
|
"type": "boolean",
|
|
224
234
|
"info": "Whether the input properties should be saved",
|
|
225
|
-
"required": true
|
|
235
|
+
"required": true,
|
|
236
|
+
"schema": {
|
|
237
|
+
"title": "persistFlag",
|
|
238
|
+
"type": "boolean"
|
|
239
|
+
}
|
|
226
240
|
}
|
|
227
241
|
],
|
|
228
242
|
"output": {
|
|
@@ -251,7 +265,11 @@
|
|
|
251
265
|
"output": {
|
|
252
266
|
"name": "result",
|
|
253
267
|
"type": "boolean",
|
|
254
|
-
"description": "Whether healthcheck passed or failed"
|
|
268
|
+
"description": "Whether healthcheck passed or failed",
|
|
269
|
+
"schema": {
|
|
270
|
+
"title": "result",
|
|
271
|
+
"type": "boolean"
|
|
272
|
+
}
|
|
255
273
|
},
|
|
256
274
|
"roles": [
|
|
257
275
|
"admin"
|
|
@@ -275,25 +293,338 @@
|
|
|
275
293
|
"title": "result",
|
|
276
294
|
"type": "object"
|
|
277
295
|
}
|
|
278
|
-
},
|
|
279
|
-
"roles": [
|
|
280
|
-
"admin"
|
|
296
|
+
},
|
|
297
|
+
"roles": [
|
|
298
|
+
"admin"
|
|
299
|
+
],
|
|
300
|
+
"route": {
|
|
301
|
+
"verb": "POST",
|
|
302
|
+
"path": "/iapRunAdapterConnectivity"
|
|
303
|
+
},
|
|
304
|
+
"task": true
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": "iapRunAdapterBasicGet",
|
|
308
|
+
"summary": "Runs basicGet script for adapter",
|
|
309
|
+
"description": "Runs basicGet script for adapter",
|
|
310
|
+
"input": [],
|
|
311
|
+
"output": {
|
|
312
|
+
"name": "result",
|
|
313
|
+
"type": "object",
|
|
314
|
+
"description": "A JSON Object containing the test results",
|
|
315
|
+
"schema": {
|
|
316
|
+
"title": "result",
|
|
317
|
+
"type": "object"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"roles": [
|
|
321
|
+
"admin"
|
|
322
|
+
],
|
|
323
|
+
"route": {
|
|
324
|
+
"verb": "POST",
|
|
325
|
+
"path": "/iapRunAdapterBasicGet"
|
|
326
|
+
},
|
|
327
|
+
"task": true
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"name": "iapMoveAdapterEntitiesToDB",
|
|
331
|
+
"summary": "Moves entities from an adapter into the IAP database",
|
|
332
|
+
"description": "Moves entities from an adapter into the IAP database",
|
|
333
|
+
"input": [],
|
|
334
|
+
"output": {
|
|
335
|
+
"name": "res",
|
|
336
|
+
"type": "object",
|
|
337
|
+
"description": "A JSON Object containing status, code and the response from the mongo transaction",
|
|
338
|
+
"schema": {
|
|
339
|
+
"title": "res",
|
|
340
|
+
"type": "object"
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
"roles": [
|
|
344
|
+
"admin"
|
|
345
|
+
],
|
|
346
|
+
"route": {
|
|
347
|
+
"verb": "POST",
|
|
348
|
+
"path": "/iapMoveAdapterEntitiesToDB"
|
|
349
|
+
},
|
|
350
|
+
"task": true
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"name": "iapDeactivateTasks",
|
|
354
|
+
"summary": "Deactivate the inputted tasks",
|
|
355
|
+
"description": "Deactivate the inputted tasks",
|
|
356
|
+
"input": [
|
|
357
|
+
{
|
|
358
|
+
"name": "tasks",
|
|
359
|
+
"type": "array",
|
|
360
|
+
"description": "Tasks to deactivate",
|
|
361
|
+
"schema": {
|
|
362
|
+
"title": "tasks",
|
|
363
|
+
"type": "array"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
],
|
|
367
|
+
"output": {
|
|
368
|
+
"name": "result",
|
|
369
|
+
"type": "object",
|
|
370
|
+
"description": "A JSON Object containing success status",
|
|
371
|
+
"schema": {
|
|
372
|
+
"title": "result",
|
|
373
|
+
"type": "object"
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
"roles": [
|
|
377
|
+
"admin"
|
|
378
|
+
],
|
|
379
|
+
"route": {
|
|
380
|
+
"verb": "POST",
|
|
381
|
+
"path": "/iapDeactivateTasks"
|
|
382
|
+
},
|
|
383
|
+
"task": true
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"name": "iapActivateTasks",
|
|
387
|
+
"summary": "Activate the inputted tasks",
|
|
388
|
+
"description": "activate the inputted tasks",
|
|
389
|
+
"input": [
|
|
390
|
+
{
|
|
391
|
+
"name": "tasks",
|
|
392
|
+
"type": "array",
|
|
393
|
+
"description": "Tasks to activate",
|
|
394
|
+
"schema": {
|
|
395
|
+
"title": "tasks",
|
|
396
|
+
"type": "array"
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
],
|
|
400
|
+
"output": {
|
|
401
|
+
"name": "result",
|
|
402
|
+
"type": "object",
|
|
403
|
+
"description": "A JSON Object containing success status",
|
|
404
|
+
"schema": {
|
|
405
|
+
"title": "result",
|
|
406
|
+
"type": "object"
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
"roles": [
|
|
410
|
+
"admin"
|
|
411
|
+
],
|
|
412
|
+
"route": {
|
|
413
|
+
"verb": "POST",
|
|
414
|
+
"path": "/iapActivateTasks"
|
|
415
|
+
},
|
|
416
|
+
"task": true
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"name": "iapPopulateEntityCache",
|
|
420
|
+
"summary": "Populate the cache for the given entities",
|
|
421
|
+
"description": "Populate the cache for the given entities",
|
|
422
|
+
"input": [
|
|
423
|
+
{
|
|
424
|
+
"name": "entityTypes",
|
|
425
|
+
"type": "array",
|
|
426
|
+
"info": "the entity type(s) to populate",
|
|
427
|
+
"required": true,
|
|
428
|
+
"schema": {
|
|
429
|
+
"title": "entityTypes",
|
|
430
|
+
"type": "array"
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
],
|
|
434
|
+
"output": {
|
|
435
|
+
"name": "result",
|
|
436
|
+
"type": "object",
|
|
437
|
+
"description": "A JSON Object containing status, code and the result",
|
|
438
|
+
"schema": {
|
|
439
|
+
"title": "result",
|
|
440
|
+
"type": "object"
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
"roles": [
|
|
444
|
+
"admin"
|
|
445
|
+
],
|
|
446
|
+
"route": {
|
|
447
|
+
"verb": "POST",
|
|
448
|
+
"path": "/iapPopulateEntityCache"
|
|
449
|
+
},
|
|
450
|
+
"task": true
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"name": "iapRetrieveEntitiesCache",
|
|
454
|
+
"summary": "Retrieves data from cache for specified entity type",
|
|
455
|
+
"description": "Retrieves data from cache for specified entity type",
|
|
456
|
+
"input": [
|
|
457
|
+
{
|
|
458
|
+
"name": "entityType",
|
|
459
|
+
"type": "string",
|
|
460
|
+
"info": "entity of which to retrieve",
|
|
461
|
+
"required": true,
|
|
462
|
+
"schema": {
|
|
463
|
+
"title": "entityType",
|
|
464
|
+
"type": "string"
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"name": "options",
|
|
469
|
+
"type": "object",
|
|
470
|
+
"info": "settings of which data to return and how to return it",
|
|
471
|
+
"required": false,
|
|
472
|
+
"schema": {
|
|
473
|
+
"title": "options",
|
|
474
|
+
"type": "object"
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
],
|
|
478
|
+
"output": {
|
|
479
|
+
"name": "result",
|
|
480
|
+
"type": "object",
|
|
481
|
+
"description": "A JSON Object containing status, code and the result",
|
|
482
|
+
"schema": {
|
|
483
|
+
"title": "result",
|
|
484
|
+
"type": "object"
|
|
485
|
+
}
|
|
486
|
+
},
|
|
487
|
+
"roles": [
|
|
488
|
+
"admin"
|
|
489
|
+
],
|
|
490
|
+
"route": {
|
|
491
|
+
"verb": "POST",
|
|
492
|
+
"path": "/iapRetrieveEntitiesCache"
|
|
493
|
+
},
|
|
494
|
+
"task": true
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"name": "getDevice",
|
|
498
|
+
"summary": "Get the Appliance",
|
|
499
|
+
"description": "Get the Appliance",
|
|
500
|
+
"input": [
|
|
501
|
+
{
|
|
502
|
+
"name": "deviceName",
|
|
503
|
+
"type": "string",
|
|
504
|
+
"info": "An Appliance Device Name",
|
|
505
|
+
"required": true,
|
|
506
|
+
"schema": {
|
|
507
|
+
"title": "deviceName",
|
|
508
|
+
"type": "string"
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
],
|
|
512
|
+
"output": {
|
|
513
|
+
"name": "result",
|
|
514
|
+
"type": "object",
|
|
515
|
+
"description": "A JSON Object containing status, code and the result",
|
|
516
|
+
"schema": {
|
|
517
|
+
"title": "result",
|
|
518
|
+
"type": "object"
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
"roles": [
|
|
522
|
+
"admin"
|
|
523
|
+
],
|
|
524
|
+
"route": {
|
|
525
|
+
"verb": "POST",
|
|
526
|
+
"path": "/getDevice"
|
|
527
|
+
},
|
|
528
|
+
"task": false
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"name": "getDevicesFiltered",
|
|
532
|
+
"summary": "Get Appliances that match the filter",
|
|
533
|
+
"description": "Get Appliances that match the filter",
|
|
534
|
+
"input": [
|
|
535
|
+
{
|
|
536
|
+
"name": "options",
|
|
537
|
+
"type": "object",
|
|
538
|
+
"info": "options - e.g. { 'start': 1, 'limit': 20, 'filter': { 'name': 'abc123' } }",
|
|
539
|
+
"required": true,
|
|
540
|
+
"schema": {
|
|
541
|
+
"title": "options",
|
|
542
|
+
"type": "object"
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
],
|
|
546
|
+
"output": {
|
|
547
|
+
"name": "result",
|
|
548
|
+
"type": "array",
|
|
549
|
+
"description": "A JSON Object containing status, code and the result",
|
|
550
|
+
"schema": {
|
|
551
|
+
"title": "result",
|
|
552
|
+
"type": "array"
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
"roles": [
|
|
556
|
+
"admin"
|
|
557
|
+
],
|
|
558
|
+
"route": {
|
|
559
|
+
"verb": "POST",
|
|
560
|
+
"path": "/getDevicesFiltered"
|
|
561
|
+
},
|
|
562
|
+
"task": false
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"name": "isAlive",
|
|
566
|
+
"summary": "Checks the status for the provided Appliance",
|
|
567
|
+
"description": "Checks the status for the provided Appliance",
|
|
568
|
+
"input": [
|
|
569
|
+
{
|
|
570
|
+
"name": "deviceName",
|
|
571
|
+
"type": "string",
|
|
572
|
+
"info": "An Appliance Device Name",
|
|
573
|
+
"required": true,
|
|
574
|
+
"schema": {
|
|
575
|
+
"title": "deviceName",
|
|
576
|
+
"type": "string"
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
],
|
|
580
|
+
"output": {
|
|
581
|
+
"name": "result",
|
|
582
|
+
"type": "boolean",
|
|
583
|
+
"description": "A JSON Object containing status, code and the result",
|
|
584
|
+
"schema": {
|
|
585
|
+
"title": "result",
|
|
586
|
+
"type": "boolean"
|
|
587
|
+
}
|
|
588
|
+
},
|
|
589
|
+
"roles": [
|
|
590
|
+
"admin"
|
|
591
|
+
],
|
|
592
|
+
"route": {
|
|
593
|
+
"verb": "POST",
|
|
594
|
+
"path": "/isAlive"
|
|
595
|
+
},
|
|
596
|
+
"task": false
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"name": "getConfig",
|
|
600
|
+
"summary": "Gets a config for the provided Appliance",
|
|
601
|
+
"description": "Gets a config for the provided Appliance",
|
|
602
|
+
"input": [
|
|
603
|
+
{
|
|
604
|
+
"name": "deviceName",
|
|
605
|
+
"type": "string",
|
|
606
|
+
"info": "An Appliance Device Name",
|
|
607
|
+
"required": true,
|
|
608
|
+
"schema": {
|
|
609
|
+
"title": "deviceName",
|
|
610
|
+
"type": "string"
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
"name": "format",
|
|
615
|
+
"type": "string",
|
|
616
|
+
"info": "The format to be returned - this is ignored as we always return json",
|
|
617
|
+
"required": false,
|
|
618
|
+
"schema": {
|
|
619
|
+
"title": "format",
|
|
620
|
+
"type": "string"
|
|
621
|
+
}
|
|
622
|
+
}
|
|
281
623
|
],
|
|
282
|
-
"route": {
|
|
283
|
-
"verb": "POST",
|
|
284
|
-
"path": "/iapRunAdapterConnectivity"
|
|
285
|
-
},
|
|
286
|
-
"task": true
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
"name": "iapRunAdapterBasicGet",
|
|
290
|
-
"summary": "Runs basicGet script for adapter",
|
|
291
|
-
"description": "Runs basicGet script for adapter",
|
|
292
|
-
"input": [],
|
|
293
624
|
"output": {
|
|
294
625
|
"name": "result",
|
|
295
626
|
"type": "object",
|
|
296
|
-
"description": "A JSON Object containing the
|
|
627
|
+
"description": "A JSON Object containing status, code and the result",
|
|
297
628
|
"schema": {
|
|
298
629
|
"title": "result",
|
|
299
630
|
"type": "object"
|
|
@@ -304,21 +635,21 @@
|
|
|
304
635
|
],
|
|
305
636
|
"route": {
|
|
306
637
|
"verb": "POST",
|
|
307
|
-
"path": "/
|
|
638
|
+
"path": "/getConfig"
|
|
308
639
|
},
|
|
309
|
-
"task":
|
|
640
|
+
"task": false
|
|
310
641
|
},
|
|
311
642
|
{
|
|
312
|
-
"name": "
|
|
313
|
-
"summary": "
|
|
314
|
-
"description": "
|
|
643
|
+
"name": "iapGetDeviceCount",
|
|
644
|
+
"summary": "Gets a device count from the system",
|
|
645
|
+
"description": "Gets a device count from the system",
|
|
315
646
|
"input": [],
|
|
316
647
|
"output": {
|
|
317
|
-
"name": "
|
|
648
|
+
"name": "result",
|
|
318
649
|
"type": "object",
|
|
319
|
-
"description": "A JSON Object containing status, code and the
|
|
650
|
+
"description": "A JSON Object containing status, code and the result",
|
|
320
651
|
"schema": {
|
|
321
|
-
"title": "
|
|
652
|
+
"title": "result",
|
|
322
653
|
"type": "object"
|
|
323
654
|
}
|
|
324
655
|
},
|
|
@@ -327,15 +658,26 @@
|
|
|
327
658
|
],
|
|
328
659
|
"route": {
|
|
329
660
|
"verb": "POST",
|
|
330
|
-
"path": "/
|
|
661
|
+
"path": "/iapGetDeviceCount"
|
|
331
662
|
},
|
|
332
|
-
"task":
|
|
663
|
+
"task": false
|
|
333
664
|
},
|
|
334
665
|
{
|
|
335
|
-
"name": "
|
|
336
|
-
"summary": "Makes the requested generic call",
|
|
337
|
-
"description": "Makes the requested generic call",
|
|
666
|
+
"name": "iapExpandedGenericAdapterRequest",
|
|
667
|
+
"summary": "Makes the requested generic call with additional options",
|
|
668
|
+
"description": "Makes the requested generic call with additional options via metadata",
|
|
338
669
|
"input": [
|
|
670
|
+
{
|
|
671
|
+
"name": "metadata",
|
|
672
|
+
"type": "object",
|
|
673
|
+
"info": "metadata for the call (optional)",
|
|
674
|
+
"description": "metadata for the call - allows for many enhancements (optional)",
|
|
675
|
+
"schema": {
|
|
676
|
+
"title": "metadata",
|
|
677
|
+
"type": "object"
|
|
678
|
+
},
|
|
679
|
+
"required": false
|
|
680
|
+
},
|
|
339
681
|
{
|
|
340
682
|
"name": "uriPath",
|
|
341
683
|
"type": "string",
|
|
@@ -345,7 +687,7 @@
|
|
|
345
687
|
"title": "uriPath",
|
|
346
688
|
"type": "string"
|
|
347
689
|
},
|
|
348
|
-
"required":
|
|
690
|
+
"required": false
|
|
349
691
|
},
|
|
350
692
|
{
|
|
351
693
|
"name": "restMethod",
|
|
@@ -356,7 +698,18 @@
|
|
|
356
698
|
"title": "restMethod",
|
|
357
699
|
"type": "string"
|
|
358
700
|
},
|
|
359
|
-
"required":
|
|
701
|
+
"required": false
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"name": "pathVars",
|
|
705
|
+
"type": "object",
|
|
706
|
+
"info": "the parameters to be put within the url path (optional)",
|
|
707
|
+
"description": "the parameters to be put within the url path (optional)",
|
|
708
|
+
"schema": {
|
|
709
|
+
"title": "pathVars",
|
|
710
|
+
"type": "object"
|
|
711
|
+
},
|
|
712
|
+
"required": false
|
|
360
713
|
},
|
|
361
714
|
{
|
|
362
715
|
"name": "queryData",
|
|
@@ -406,14 +759,14 @@
|
|
|
406
759
|
],
|
|
407
760
|
"route": {
|
|
408
761
|
"verb": "POST",
|
|
409
|
-
"path": "/
|
|
762
|
+
"path": "/iapExpandedGenericAdapterRequest"
|
|
410
763
|
},
|
|
411
764
|
"task": true
|
|
412
765
|
},
|
|
413
766
|
{
|
|
414
|
-
"name": "
|
|
415
|
-
"summary": "Makes the requested generic call
|
|
416
|
-
"description": "Makes the requested generic call
|
|
767
|
+
"name": "genericAdapterRequest",
|
|
768
|
+
"summary": "Makes the requested generic call",
|
|
769
|
+
"description": "Makes the requested generic call",
|
|
417
770
|
"input": [
|
|
418
771
|
{
|
|
419
772
|
"name": "uriPath",
|
|
@@ -485,67 +838,78 @@
|
|
|
485
838
|
],
|
|
486
839
|
"route": {
|
|
487
840
|
"verb": "POST",
|
|
488
|
-
"path": "/
|
|
841
|
+
"path": "/genericAdapterRequest"
|
|
489
842
|
},
|
|
490
843
|
"task": true
|
|
491
844
|
},
|
|
492
845
|
{
|
|
493
|
-
"name": "
|
|
494
|
-
"summary": "
|
|
495
|
-
"description": "
|
|
846
|
+
"name": "genericAdapterRequestNoBasePath",
|
|
847
|
+
"summary": "Makes the requested generic call",
|
|
848
|
+
"description": "Makes the requested generic call",
|
|
496
849
|
"input": [
|
|
497
850
|
{
|
|
498
|
-
"name": "
|
|
851
|
+
"name": "uriPath",
|
|
499
852
|
"type": "string",
|
|
500
|
-
"info": "
|
|
501
|
-
"
|
|
853
|
+
"info": "the path of the api call - do not include the host, port, base path or version",
|
|
854
|
+
"description": "the path of the api call",
|
|
502
855
|
"schema": {
|
|
503
|
-
"title": "
|
|
856
|
+
"title": "uriPath",
|
|
504
857
|
"type": "string"
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
"output": {
|
|
509
|
-
"name": "result",
|
|
510
|
-
"type": "object",
|
|
511
|
-
"description": "A JSON Object containing status, code and the result",
|
|
512
|
-
"schema": {
|
|
513
|
-
"title": "result",
|
|
514
|
-
"type": "object"
|
|
515
|
-
}
|
|
516
|
-
},
|
|
517
|
-
"roles": [
|
|
518
|
-
"admin"
|
|
519
|
-
],
|
|
520
|
-
"route": {
|
|
521
|
-
"verb": "POST",
|
|
522
|
-
"path": "/getDevice"
|
|
523
|
-
},
|
|
524
|
-
"task": false
|
|
525
|
-
},
|
|
526
|
-
{
|
|
527
|
-
"name": "getDevicesFiltered",
|
|
528
|
-
"summary": "Get Appliances that match the filter",
|
|
529
|
-
"description": "Get Appliances that match the filter",
|
|
530
|
-
"input": [
|
|
858
|
+
},
|
|
859
|
+
"required": true
|
|
860
|
+
},
|
|
531
861
|
{
|
|
532
|
-
"name": "
|
|
862
|
+
"name": "restMethod",
|
|
863
|
+
"type": "string",
|
|
864
|
+
"info": "the rest method (GET, POST, PUT, PATCH, DELETE)",
|
|
865
|
+
"description": "the rest method (GET, POST, PUT, PATCH, DELETE)",
|
|
866
|
+
"schema": {
|
|
867
|
+
"title": "restMethod",
|
|
868
|
+
"type": "string"
|
|
869
|
+
},
|
|
870
|
+
"required": true
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"name": "queryData",
|
|
533
874
|
"type": "object",
|
|
534
|
-
"info": "
|
|
535
|
-
"
|
|
875
|
+
"info": "the query parameters to be put on the url (optional)",
|
|
876
|
+
"description": "the query parameters to be put on the url (optional)",
|
|
536
877
|
"schema": {
|
|
537
|
-
"title": "
|
|
878
|
+
"title": "queryData",
|
|
538
879
|
"type": "object"
|
|
539
|
-
}
|
|
880
|
+
},
|
|
881
|
+
"required": false
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
"name": "requestBody",
|
|
885
|
+
"type": "object",
|
|
886
|
+
"info": "the payload to be sent with the request (optional)",
|
|
887
|
+
"description": "the payload to be sent with the request (optional)",
|
|
888
|
+
"schema": {
|
|
889
|
+
"title": "requestBody",
|
|
890
|
+
"type": "object"
|
|
891
|
+
},
|
|
892
|
+
"required": false
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"name": "addlHeaders",
|
|
896
|
+
"type": "object",
|
|
897
|
+
"info": "additional headers to be put on the call (optional)",
|
|
898
|
+
"description": "additional headers to be put on the call (optional)",
|
|
899
|
+
"schema": {
|
|
900
|
+
"title": "addlHeaders",
|
|
901
|
+
"type": "object"
|
|
902
|
+
},
|
|
903
|
+
"required": false
|
|
540
904
|
}
|
|
541
905
|
],
|
|
542
906
|
"output": {
|
|
543
907
|
"name": "result",
|
|
544
|
-
"type": "
|
|
908
|
+
"type": "object",
|
|
545
909
|
"description": "A JSON Object containing status, code and the result",
|
|
546
910
|
"schema": {
|
|
547
911
|
"title": "result",
|
|
548
|
-
"type": "
|
|
912
|
+
"type": "object"
|
|
549
913
|
}
|
|
550
914
|
},
|
|
551
915
|
"roles": [
|
|
@@ -553,70 +917,38 @@
|
|
|
553
917
|
],
|
|
554
918
|
"route": {
|
|
555
919
|
"verb": "POST",
|
|
556
|
-
"path": "/
|
|
920
|
+
"path": "/genericAdapterRequestNoBasePath"
|
|
557
921
|
},
|
|
558
|
-
"task":
|
|
922
|
+
"task": true
|
|
559
923
|
},
|
|
560
924
|
{
|
|
561
|
-
"name": "
|
|
562
|
-
"summary": "
|
|
563
|
-
"description": "
|
|
564
|
-
"input": [
|
|
565
|
-
{
|
|
566
|
-
"name": "deviceName",
|
|
567
|
-
"type": "string",
|
|
568
|
-
"info": "An Appliance Device Name",
|
|
569
|
-
"required": true,
|
|
570
|
-
"schema": {
|
|
571
|
-
"title": "deviceName",
|
|
572
|
-
"type": "string"
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
],
|
|
925
|
+
"name": "iapRunAdapterLint",
|
|
926
|
+
"summary": "Run the adapter lint script to return the results",
|
|
927
|
+
"description": "Run the adapter lint script to return the results",
|
|
928
|
+
"input": [],
|
|
576
929
|
"output": {
|
|
577
930
|
"name": "result",
|
|
578
|
-
"type": "
|
|
579
|
-
"description": "A
|
|
931
|
+
"type": "string",
|
|
932
|
+
"description": "A string containing the run results",
|
|
580
933
|
"schema": {
|
|
581
934
|
"title": "result",
|
|
582
|
-
"type": "
|
|
935
|
+
"type": "string"
|
|
583
936
|
}
|
|
584
937
|
},
|
|
585
938
|
"roles": [
|
|
586
939
|
"admin"
|
|
587
940
|
],
|
|
588
941
|
"route": {
|
|
589
|
-
"verb": "
|
|
590
|
-
"path": "/
|
|
942
|
+
"verb": "GET",
|
|
943
|
+
"path": "/iapRunAdapterLint"
|
|
591
944
|
},
|
|
592
|
-
"task":
|
|
945
|
+
"task": true
|
|
593
946
|
},
|
|
594
947
|
{
|
|
595
|
-
"name": "
|
|
596
|
-
"summary": "
|
|
597
|
-
"description": "
|
|
598
|
-
"input": [
|
|
599
|
-
{
|
|
600
|
-
"name": "deviceName",
|
|
601
|
-
"type": "string",
|
|
602
|
-
"info": "An Appliance Device Name",
|
|
603
|
-
"required": true,
|
|
604
|
-
"schema": {
|
|
605
|
-
"title": "deviceName",
|
|
606
|
-
"type": "string"
|
|
607
|
-
}
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
"name": "format",
|
|
611
|
-
"type": "string",
|
|
612
|
-
"info": "The format to be returned - this is ignored as we always return json",
|
|
613
|
-
"required": false,
|
|
614
|
-
"schema": {
|
|
615
|
-
"title": "format",
|
|
616
|
-
"type": "string"
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
],
|
|
948
|
+
"name": "iapRunAdapterTests",
|
|
949
|
+
"summary": "Run the adapter test scripts (baseunit and unit) to return the results",
|
|
950
|
+
"description": "Run the adapter test scripts (baseunit and unit) to return the results",
|
|
951
|
+
"input": [],
|
|
620
952
|
"output": {
|
|
621
953
|
"name": "result",
|
|
622
954
|
"type": "object",
|
|
@@ -630,15 +962,15 @@
|
|
|
630
962
|
"admin"
|
|
631
963
|
],
|
|
632
964
|
"route": {
|
|
633
|
-
"verb": "
|
|
634
|
-
"path": "/
|
|
965
|
+
"verb": "GET",
|
|
966
|
+
"path": "/iapRunAdapterTests"
|
|
635
967
|
},
|
|
636
|
-
"task":
|
|
968
|
+
"task": true
|
|
637
969
|
},
|
|
638
970
|
{
|
|
639
|
-
"name": "
|
|
640
|
-
"summary": "
|
|
641
|
-
"description": "
|
|
971
|
+
"name": "iapGetAdapterInventory",
|
|
972
|
+
"summary": "Provide inventory information abbout the adapter",
|
|
973
|
+
"description": "Provide inventory information abbout the adapter",
|
|
642
974
|
"input": [],
|
|
643
975
|
"output": {
|
|
644
976
|
"name": "result",
|
|
@@ -653,10 +985,10 @@
|
|
|
653
985
|
"admin"
|
|
654
986
|
],
|
|
655
987
|
"route": {
|
|
656
|
-
"verb": "
|
|
657
|
-
"path": "/
|
|
988
|
+
"verb": "GET",
|
|
989
|
+
"path": "/iapGetAdapterInventory"
|
|
658
990
|
},
|
|
659
|
-
"task":
|
|
991
|
+
"task": true
|
|
660
992
|
},
|
|
661
993
|
{
|
|
662
994
|
"name": "createNetwork",
|
|
@@ -1213,6 +1545,40 @@
|
|
|
1213
1545
|
},
|
|
1214
1546
|
"task": true
|
|
1215
1547
|
},
|
|
1548
|
+
{
|
|
1549
|
+
"name": "listNetworkContainers",
|
|
1550
|
+
"summary": "listNetworkContainers",
|
|
1551
|
+
"description": "listNetworkContainers will get a list of containers",
|
|
1552
|
+
"input": [ {
|
|
1553
|
+
"name": "query",
|
|
1554
|
+
"type": "object",
|
|
1555
|
+
"info": "query parameters for the request, e.g.: _schema, _return_type, _return_fields, _method...",
|
|
1556
|
+
"required": false,
|
|
1557
|
+
"schema": {
|
|
1558
|
+
"title": "query",
|
|
1559
|
+
"type": "object"
|
|
1560
|
+
}
|
|
1561
|
+
}
|
|
1562
|
+
],
|
|
1563
|
+
"output": {
|
|
1564
|
+
"type": "object",
|
|
1565
|
+
"name": "result",
|
|
1566
|
+
"description": "",
|
|
1567
|
+
"schema": {
|
|
1568
|
+
"title": "result",
|
|
1569
|
+
"type": "object"
|
|
1570
|
+
}
|
|
1571
|
+
},
|
|
1572
|
+
"roles": [
|
|
1573
|
+
"admin",
|
|
1574
|
+
"pronghorn_admin"
|
|
1575
|
+
],
|
|
1576
|
+
"route": {
|
|
1577
|
+
"verb": "POST",
|
|
1578
|
+
"path": "/listNetworkContainers"
|
|
1579
|
+
},
|
|
1580
|
+
"task": true
|
|
1581
|
+
},
|
|
1216
1582
|
{
|
|
1217
1583
|
"name": "getNetworkContainerDetailsWithQuery",
|
|
1218
1584
|
"summary": "getNetworkContainerDetails",
|