@itentialopensource/adapter-f5_bigiq 0.3.4 → 0.4.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 (50) hide show
  1. package/AUTH.md +13 -14
  2. package/CALLS.md +2099 -22
  3. package/CHANGELOG.md +16 -0
  4. package/CONTRIBUTING.md +1 -160
  5. package/ENHANCE.md +2 -2
  6. package/README.md +32 -23
  7. package/SYSTEMINFO.md +14 -6
  8. package/adapter.js +401 -333
  9. package/adapterBase.js +549 -879
  10. package/changelogs/CHANGELOG.MD +48 -0
  11. package/entities/.system/action.json +1 -1
  12. package/entities/DeviceUpgrades/action.json +62 -0
  13. package/entities/DeviceUpgrades/mockdatafiles/getAllUpgradeInstances-default.json +58 -0
  14. package/entities/DeviceUpgrades/mockdatafiles/getUpgradeInstancesById-default.json +15 -0
  15. package/entities/DeviceUpgrades/mockdatafiles/updateDeviceUpgrade-default.json +15 -0
  16. package/entities/DeviceUpgrades/schema.json +4 -1
  17. package/metadata.json +72 -0
  18. package/package.json +24 -25
  19. package/pronghorn.json +624 -201
  20. package/propertiesSchema.json +431 -31
  21. package/refs?service=git-upload-pack +0 -0
  22. package/report/adapter-openapi.json +13524 -0
  23. package/report/adapter-openapi.yaml +9517 -0
  24. package/report/adapterInfo.json +8 -8
  25. package/report/updateReport1691507623236.json +120 -0
  26. package/report/updateReport1692202627551.json +120 -0
  27. package/report/updateReport1694462181107.json +120 -0
  28. package/report/updateReport1698421056669.json +120 -0
  29. package/sampleProperties.json +65 -4
  30. package/test/integration/adapterTestBasicGet.js +2 -4
  31. package/test/integration/adapterTestConnectivity.js +91 -42
  32. package/test/integration/adapterTestIntegration.js +232 -2
  33. package/test/unit/adapterBaseTestUnit.js +388 -313
  34. package/test/unit/adapterTestUnit.js +408 -112
  35. package/utils/adapterInfo.js +1 -1
  36. package/utils/addAuth.js +1 -1
  37. package/utils/artifactize.js +1 -1
  38. package/utils/checkMigrate.js +1 -1
  39. package/utils/entitiesToDB.js +2 -2
  40. package/utils/findPath.js +1 -1
  41. package/utils/methodDocumentor.js +273 -0
  42. package/utils/modify.js +13 -15
  43. package/utils/packModificationScript.js +1 -1
  44. package/utils/pre-commit.sh +2 -0
  45. package/utils/taskMover.js +309 -0
  46. package/utils/tbScript.js +89 -34
  47. package/utils/tbUtils.js +41 -21
  48. package/utils/testRunner.js +1 -1
  49. package/utils/troubleshootingAdapter.js +9 -6
  50. package/workflows/README.md +0 -3
package/pronghorn.json CHANGED
@@ -62,47 +62,22 @@
62
62
  "title": "action",
63
63
  "type": "string"
64
64
  }
65
- }
66
- ],
67
- "output": {
68
- "name": "result",
69
- "type": "object",
70
- "description": "A JSON Object containing status, code and the result",
71
- "schema": {
72
- "title": "result",
73
- "type": "object"
74
- }
75
- },
76
- "roles": [
77
- "admin"
78
- ],
79
- "route": {
80
- "verb": "POST",
81
- "path": "/iapUpdateAdapterConfiguration"
82
- },
83
- "task": true
84
- },
85
- {
86
- "name": "iapFindAdapterPath",
87
- "summary": "Provides the ability to see if a particular API path is supported by the adapter",
88
- "description": "Provides the ability to see if a particular API path is supported by the adapter",
89
- "input": [
65
+ },
90
66
  {
91
- "name": "apiPath",
92
- "type": "string",
93
- "info": "The API Path you want to check - make sure to not include base path and version",
94
- "description": "The API Path you want to check - make sure to not include base path and version",
67
+ "name" : "replace",
68
+ "type": "boolean",
69
+ "info": "True to replace entire mock data, false to merge/append",
70
+ "required": false,
95
71
  "schema": {
96
- "title": "apiPath",
97
- "type": "string"
98
- },
99
- "required": true
72
+ "title": "replace",
73
+ "type": "boolean"
74
+ }
100
75
  }
101
76
  ],
102
77
  "output": {
103
78
  "name": "result",
104
79
  "type": "object",
105
- "description": "A JSON Object containing the result",
80
+ "description": "A JSON Object containing status, code and the result",
106
81
  "schema": {
107
82
  "title": "result",
108
83
  "type": "object"
@@ -113,7 +88,7 @@
113
88
  ],
114
89
  "route": {
115
90
  "verb": "POST",
116
- "path": "/iapFindAdapterPath"
91
+ "path": "/iapUpdateAdapterConfiguration"
117
92
  },
118
93
  "task": true
119
94
  },
@@ -202,6 +177,41 @@
202
177
  },
203
178
  "task": true
204
179
  },
180
+ {
181
+ "name": "iapFindAdapterPath",
182
+ "summary": "Provides the ability to see if a particular API path is supported by the adapter",
183
+ "description": "Provides the ability to see if a particular API path is supported by the adapter",
184
+ "input": [
185
+ {
186
+ "name": "apiPath",
187
+ "type": "string",
188
+ "info": "The API Path you want to check - make sure to not include base path and version",
189
+ "description": "The API Path you want to check - make sure to not include base path and version",
190
+ "schema": {
191
+ "title": "apiPath",
192
+ "type": "string"
193
+ },
194
+ "required": true
195
+ }
196
+ ],
197
+ "output": {
198
+ "name": "result",
199
+ "type": "object",
200
+ "description": "A JSON Object containing the result",
201
+ "schema": {
202
+ "title": "result",
203
+ "type": "object"
204
+ }
205
+ },
206
+ "roles": [
207
+ "admin"
208
+ ],
209
+ "route": {
210
+ "verb": "POST",
211
+ "path": "/iapFindAdapterPath"
212
+ },
213
+ "task": true
214
+ },
205
215
  {
206
216
  "name": "iapTroubleshootAdapter",
207
217
  "summary": "Runs troubleshoot script for adapter",
@@ -221,7 +231,11 @@
221
231
  "name": "persistFlag",
222
232
  "type": "boolean",
223
233
  "info": "Whether the input properties should be saved",
224
- "required": true
234
+ "required": true,
235
+ "schema": {
236
+ "title": "persistFlag",
237
+ "type": "boolean"
238
+ }
225
239
  }
226
240
  ],
227
241
  "output": {
@@ -250,7 +264,11 @@
250
264
  "output": {
251
265
  "name": "result",
252
266
  "type": "boolean",
253
- "description": "Whether healthcheck passed or failed"
267
+ "description": "Whether healthcheck passed or failed",
268
+ "schema": {
269
+ "title": "result",
270
+ "type": "boolean"
271
+ }
254
272
  },
255
273
  "roles": [
256
274
  "admin"
@@ -274,25 +292,462 @@
274
292
  "title": "result",
275
293
  "type": "object"
276
294
  }
277
- },
278
- "roles": [
279
- "admin"
295
+ },
296
+ "roles": [
297
+ "admin"
298
+ ],
299
+ "route": {
300
+ "verb": "POST",
301
+ "path": "/iapRunAdapterConnectivity"
302
+ },
303
+ "task": true
304
+ },
305
+ {
306
+ "name": "iapRunAdapterBasicGet",
307
+ "summary": "Runs basicGet script for adapter",
308
+ "description": "Runs basicGet script for adapter",
309
+ "input": [],
310
+ "output": {
311
+ "name": "result",
312
+ "type": "object",
313
+ "description": "A JSON Object containing the test results",
314
+ "schema": {
315
+ "title": "result",
316
+ "type": "object"
317
+ }
318
+ },
319
+ "roles": [
320
+ "admin"
321
+ ],
322
+ "route": {
323
+ "verb": "POST",
324
+ "path": "/iapRunAdapterBasicGet"
325
+ },
326
+ "task": true
327
+ },
328
+ {
329
+ "name": "iapMoveAdapterEntitiesToDB",
330
+ "summary": "Moves entities from an adapter into the IAP database",
331
+ "description": "Moves entities from an adapter into the IAP database",
332
+ "input": [],
333
+ "output": {
334
+ "name": "res",
335
+ "type": "object",
336
+ "description": "A JSON Object containing status, code and the response from the mongo transaction",
337
+ "schema": {
338
+ "title": "res",
339
+ "type": "object"
340
+ }
341
+ },
342
+ "roles": [
343
+ "admin"
344
+ ],
345
+ "route": {
346
+ "verb": "POST",
347
+ "path": "/iapMoveAdapterEntitiesToDB"
348
+ },
349
+ "task": true
350
+ },
351
+ {
352
+ "name": "iapDeactivateTasks",
353
+ "summary": "Deactivate the inputted tasks",
354
+ "description": "Deactivate the inputted tasks",
355
+ "input": [
356
+ {
357
+ "name": "tasks",
358
+ "type": "array",
359
+ "description": "Tasks to deactivate",
360
+ "schema": {
361
+ "title": "tasks",
362
+ "type": "array"
363
+ }
364
+ }
365
+ ],
366
+ "output": {
367
+ "name": "result",
368
+ "type": "object",
369
+ "description": "A JSON Object containing success status",
370
+ "schema": {
371
+ "title": "result",
372
+ "type": "object"
373
+ }
374
+ },
375
+ "roles": [
376
+ "admin"
377
+ ],
378
+ "route": {
379
+ "verb": "POST",
380
+ "path": "/iapDeactivateTasks"
381
+ },
382
+ "task": true
383
+ },
384
+ {
385
+ "name": "iapActivateTasks",
386
+ "summary": "Activate the inputted tasks",
387
+ "description": "activate the inputted tasks",
388
+ "input": [
389
+ {
390
+ "name": "tasks",
391
+ "type": "array",
392
+ "description": "Tasks to activate",
393
+ "schema": {
394
+ "title": "tasks",
395
+ "type": "array"
396
+ }
397
+ }
398
+ ],
399
+ "output": {
400
+ "name": "result",
401
+ "type": "object",
402
+ "description": "A JSON Object containing success status",
403
+ "schema": {
404
+ "title": "result",
405
+ "type": "object"
406
+ }
407
+ },
408
+ "roles": [
409
+ "admin"
410
+ ],
411
+ "route": {
412
+ "verb": "POST",
413
+ "path": "/iapActivateTasks"
414
+ },
415
+ "task": true
416
+ },
417
+ {
418
+ "name": "iapPopulateEntityCache",
419
+ "summary": "Populate the cache for the given entities",
420
+ "description": "Populate the cache for the given entities",
421
+ "input": [
422
+ {
423
+ "name": "entityTypes",
424
+ "type": "array",
425
+ "info": "the entity type(s) to populate",
426
+ "required": true,
427
+ "schema": {
428
+ "title": "entityTypes",
429
+ "type": "array"
430
+ }
431
+ }
432
+ ],
433
+ "output": {
434
+ "name": "result",
435
+ "type": "object",
436
+ "description": "A JSON Object containing status, code and the result",
437
+ "schema": {
438
+ "title": "result",
439
+ "type": "object"
440
+ }
441
+ },
442
+ "roles": [
443
+ "admin"
444
+ ],
445
+ "route": {
446
+ "verb": "POST",
447
+ "path": "/iapPopulateEntityCache"
448
+ },
449
+ "task": true
450
+ },
451
+ {
452
+ "name": "iapRetrieveEntitiesCache",
453
+ "summary": "Retrieves data from cache for specified entity type",
454
+ "description": "Retrieves data from cache for specified entity type",
455
+ "input": [
456
+ {
457
+ "name": "entityType",
458
+ "type": "string",
459
+ "info": "entity of which to retrieve",
460
+ "required": true,
461
+ "schema": {
462
+ "title": "entityType",
463
+ "type": "string"
464
+ }
465
+ },
466
+ {
467
+ "name": "options",
468
+ "type": "object",
469
+ "info": "settings of which data to return and how to return it",
470
+ "required": false,
471
+ "schema": {
472
+ "title": "options",
473
+ "type": "object"
474
+ }
475
+ }
476
+ ],
477
+ "output": {
478
+ "name": "result",
479
+ "type": "object",
480
+ "description": "A JSON Object containing status, code and the result",
481
+ "schema": {
482
+ "title": "result",
483
+ "type": "object"
484
+ }
485
+ },
486
+ "roles": [
487
+ "admin"
488
+ ],
489
+ "route": {
490
+ "verb": "POST",
491
+ "path": "/iapRetrieveEntitiesCache"
492
+ },
493
+ "task": true
494
+ },
495
+ {
496
+ "name": "getDevice",
497
+ "summary": "Get the Appliance",
498
+ "description": "Get the Appliance",
499
+ "input": [
500
+ {
501
+ "name": "deviceName",
502
+ "type": "string",
503
+ "info": "An Appliance Device Name",
504
+ "required": true,
505
+ "schema": {
506
+ "title": "deviceName",
507
+ "type": "string"
508
+ }
509
+ }
510
+ ],
511
+ "output": {
512
+ "name": "result",
513
+ "type": "object",
514
+ "description": "A JSON Object containing status, code and the result",
515
+ "schema": {
516
+ "title": "result",
517
+ "type": "object"
518
+ }
519
+ },
520
+ "roles": [
521
+ "admin"
522
+ ],
523
+ "route": {
524
+ "verb": "POST",
525
+ "path": "/getDevice"
526
+ },
527
+ "task": false
528
+ },
529
+ {
530
+ "name": "getDevicesFiltered",
531
+ "summary": "Get Appliances that match the filter",
532
+ "description": "Get Appliances that match the filter",
533
+ "input": [
534
+ {
535
+ "name": "options",
536
+ "type": "object",
537
+ "info": "options - e.g. { 'start': 1, 'limit': 20, 'filter': { 'name': 'abc123' } }",
538
+ "required": true,
539
+ "schema": {
540
+ "title": "options",
541
+ "type": "object"
542
+ }
543
+ }
544
+ ],
545
+ "output": {
546
+ "name": "result",
547
+ "type": "array",
548
+ "description": "A JSON Object containing status, code and the result",
549
+ "schema": {
550
+ "title": "result",
551
+ "type": "array"
552
+ }
553
+ },
554
+ "roles": [
555
+ "admin"
556
+ ],
557
+ "route": {
558
+ "verb": "POST",
559
+ "path": "/getDevicesFiltered"
560
+ },
561
+ "task": false
562
+ },
563
+ {
564
+ "name": "isAlive",
565
+ "summary": "Checks the status for the provided Appliance",
566
+ "description": "Checks the status for the provided Appliance",
567
+ "input": [
568
+ {
569
+ "name": "deviceName",
570
+ "type": "string",
571
+ "info": "An Appliance Device Name",
572
+ "required": true,
573
+ "schema": {
574
+ "title": "deviceName",
575
+ "type": "string"
576
+ }
577
+ }
578
+ ],
579
+ "output": {
580
+ "name": "result",
581
+ "type": "boolean",
582
+ "description": "A JSON Object containing status, code and the result",
583
+ "schema": {
584
+ "title": "result",
585
+ "type": "boolean"
586
+ }
587
+ },
588
+ "roles": [
589
+ "admin"
590
+ ],
591
+ "route": {
592
+ "verb": "POST",
593
+ "path": "/isAlive"
594
+ },
595
+ "task": false
596
+ },
597
+ {
598
+ "name": "getConfig",
599
+ "summary": "Gets a config for the provided Appliance",
600
+ "description": "Gets a config for the provided Appliance",
601
+ "input": [
602
+ {
603
+ "name": "deviceName",
604
+ "type": "string",
605
+ "info": "An Appliance Device Name",
606
+ "required": true,
607
+ "schema": {
608
+ "title": "deviceName",
609
+ "type": "string"
610
+ }
611
+ },
612
+ {
613
+ "name": "format",
614
+ "type": "string",
615
+ "info": "The format to be returned - this is ignored as we always return json",
616
+ "required": false,
617
+ "schema": {
618
+ "title": "format",
619
+ "type": "string"
620
+ }
621
+ }
622
+ ],
623
+ "output": {
624
+ "name": "result",
625
+ "type": "object",
626
+ "description": "A JSON Object containing status, code and the result",
627
+ "schema": {
628
+ "title": "result",
629
+ "type": "object"
630
+ }
631
+ },
632
+ "roles": [
633
+ "admin"
634
+ ],
635
+ "route": {
636
+ "verb": "POST",
637
+ "path": "/getConfig"
638
+ },
639
+ "task": false
640
+ },
641
+ {
642
+ "name": "iapGetDeviceCount",
643
+ "summary": "Gets a device count from the system",
644
+ "description": "Gets a device count from the system",
645
+ "input": [],
646
+ "output": {
647
+ "name": "result",
648
+ "type": "object",
649
+ "description": "A JSON Object containing status, code and the result",
650
+ "schema": {
651
+ "title": "result",
652
+ "type": "object"
653
+ }
654
+ },
655
+ "roles": [
656
+ "admin"
657
+ ],
658
+ "route": {
659
+ "verb": "POST",
660
+ "path": "/iapGetDeviceCount"
661
+ },
662
+ "task": false
663
+ },
664
+ {
665
+ "name": "iapExpandedGenericAdapterRequest",
666
+ "summary": "Makes the requested generic call with additional options",
667
+ "description": "Makes the requested generic call with additional options via metadata",
668
+ "input": [
669
+ {
670
+ "name": "metadata",
671
+ "type": "object",
672
+ "info": "metadata for the call (optional)",
673
+ "description": "metadata for the call - allows for many enhancements (optional)",
674
+ "schema": {
675
+ "title": "metadata",
676
+ "type": "object"
677
+ },
678
+ "required": false
679
+ },
680
+ {
681
+ "name": "uriPath",
682
+ "type": "string",
683
+ "info": "the path of the api call - do not include the host, port, base path or version",
684
+ "description": "the path of the api call",
685
+ "schema": {
686
+ "title": "uriPath",
687
+ "type": "string"
688
+ },
689
+ "required": false
690
+ },
691
+ {
692
+ "name": "restMethod",
693
+ "type": "string",
694
+ "info": "the rest method (GET, POST, PUT, PATCH, DELETE)",
695
+ "description": "the rest method (GET, POST, PUT, PATCH, DELETE)",
696
+ "schema": {
697
+ "title": "restMethod",
698
+ "type": "string"
699
+ },
700
+ "required": false
701
+ },
702
+ {
703
+ "name": "pathVars",
704
+ "type": "object",
705
+ "info": "the parameters to be put within the url path (optional)",
706
+ "description": "the parameters to be put within the url path (optional)",
707
+ "schema": {
708
+ "title": "pathVars",
709
+ "type": "object"
710
+ },
711
+ "required": false
712
+ },
713
+ {
714
+ "name": "queryData",
715
+ "type": "object",
716
+ "info": "the query parameters to be put on the url (optional)",
717
+ "description": "the query parameters to be put on the url (optional)",
718
+ "schema": {
719
+ "title": "queryData",
720
+ "type": "object"
721
+ },
722
+ "required": false
723
+ },
724
+ {
725
+ "name": "requestBody",
726
+ "type": "object",
727
+ "info": "the payload to be sent with the request (optional)",
728
+ "description": "the payload to be sent with the request (optional)",
729
+ "schema": {
730
+ "title": "requestBody",
731
+ "type": "object"
732
+ },
733
+ "required": false
734
+ },
735
+ {
736
+ "name": "addlHeaders",
737
+ "type": "object",
738
+ "info": "additional headers to be put on the call (optional)",
739
+ "description": "additional headers to be put on the call (optional)",
740
+ "schema": {
741
+ "title": "addlHeaders",
742
+ "type": "object"
743
+ },
744
+ "required": false
745
+ }
280
746
  ],
281
- "route": {
282
- "verb": "POST",
283
- "path": "/iapRunAdapterConnectivity"
284
- },
285
- "task": true
286
- },
287
- {
288
- "name": "iapRunAdapterBasicGet",
289
- "summary": "Runs basicGet script for adapter",
290
- "description": "Runs basicGet script for adapter",
291
- "input": [],
292
747
  "output": {
293
748
  "name": "result",
294
749
  "type": "object",
295
- "description": "A JSON Object containing the test results",
750
+ "description": "A JSON Object containing status, code and the result",
296
751
  "schema": {
297
752
  "title": "result",
298
753
  "type": "object"
@@ -303,30 +758,7 @@
303
758
  ],
304
759
  "route": {
305
760
  "verb": "POST",
306
- "path": "/iapRunAdapterBasicGet"
307
- },
308
- "task": true
309
- },
310
- {
311
- "name": "iapMoveAdapterEntitiesToDB",
312
- "summary": "Moves entities from an adapter into the IAP database",
313
- "description": "Moves entities from an adapter into the IAP database",
314
- "input": [],
315
- "output": {
316
- "name": "res",
317
- "type": "object",
318
- "description": "A JSON Object containing status, code and the response from the mongo transaction",
319
- "schema": {
320
- "title": "res",
321
- "type": "object"
322
- }
323
- },
324
- "roles": [
325
- "admin"
326
- ],
327
- "route": {
328
- "verb": "POST",
329
- "path": "/iapMoveAdapterEntitiesToDB"
761
+ "path": "/iapExpandedGenericAdapterRequest"
330
762
  },
331
763
  "task": true
332
764
  },
@@ -411,8 +843,8 @@
411
843
  },
412
844
  {
413
845
  "name": "genericAdapterRequestNoBasePath",
414
- "summary": "Makes the requested generic call with no base path or version",
415
- "description": "Makes the requested generic call with no base path or version",
846
+ "summary": "Makes the requested generic call",
847
+ "description": "Makes the requested generic call",
416
848
  "input": [
417
849
  {
418
850
  "name": "uriPath",
@@ -489,133 +921,33 @@
489
921
  "task": true
490
922
  },
491
923
  {
492
- "name": "getDevice",
493
- "summary": "Get the Appliance",
494
- "description": "Get the Appliance",
495
- "input": [
496
- {
497
- "name": "deviceName",
498
- "type": "string",
499
- "info": "An Appliance Device Name",
500
- "required": true,
501
- "schema": {
502
- "title": "deviceName",
503
- "type": "string"
504
- }
505
- }
506
- ],
507
- "output": {
508
- "name": "result",
509
- "type": "object",
510
- "description": "A JSON Object containing status, code and the result",
511
- "schema": {
512
- "title": "result",
513
- "type": "object"
514
- }
515
- },
516
- "roles": [
517
- "admin"
518
- ],
519
- "route": {
520
- "verb": "POST",
521
- "path": "/getDevice"
522
- },
523
- "task": false
524
- },
525
- {
526
- "name": "getDevicesFiltered",
527
- "summary": "Get Appliances that match the filter",
528
- "description": "Get Appliances that match the filter",
529
- "input": [
530
- {
531
- "name": "options",
532
- "type": "object",
533
- "info": "options - e.g. { 'start': 1, 'limit': 20, 'filter': { 'name': 'abc123' } }",
534
- "required": true,
535
- "schema": {
536
- "title": "options",
537
- "type": "object"
538
- }
539
- }
540
- ],
541
- "output": {
542
- "name": "result",
543
- "type": "array",
544
- "description": "A JSON Object containing status, code and the result",
545
- "schema": {
546
- "title": "result",
547
- "type": "array"
548
- }
549
- },
550
- "roles": [
551
- "admin"
552
- ],
553
- "route": {
554
- "verb": "POST",
555
- "path": "/getDevicesFiltered"
556
- },
557
- "task": false
558
- },
559
- {
560
- "name": "isAlive",
561
- "summary": "Checks the status for the provided Appliance",
562
- "description": "Checks the status for the provided Appliance",
563
- "input": [
564
- {
565
- "name": "deviceName",
566
- "type": "string",
567
- "info": "An Appliance Device Name",
568
- "required": true,
569
- "schema": {
570
- "title": "deviceName",
571
- "type": "string"
572
- }
573
- }
574
- ],
924
+ "name": "iapRunAdapterLint",
925
+ "summary": "Run the adapter lint script to return the results",
926
+ "description": "Run the adapter lint script to return the results",
927
+ "input": [],
575
928
  "output": {
576
929
  "name": "result",
577
- "type": "boolean",
578
- "description": "A JSON Object containing status, code and the result",
930
+ "type": "string",
931
+ "description": "A string containing the run results",
579
932
  "schema": {
580
933
  "title": "result",
581
- "type": "boolean"
934
+ "type": "string"
582
935
  }
583
936
  },
584
937
  "roles": [
585
938
  "admin"
586
939
  ],
587
940
  "route": {
588
- "verb": "POST",
589
- "path": "/isAlive"
941
+ "verb": "GET",
942
+ "path": "/iapRunAdapterLint"
590
943
  },
591
- "task": false
944
+ "task": true
592
945
  },
593
946
  {
594
- "name": "getConfig",
595
- "summary": "Gets a config for the provided Appliance",
596
- "description": "Gets a config for the provided Appliance",
597
- "input": [
598
- {
599
- "name": "deviceName",
600
- "type": "string",
601
- "info": "An Appliance Device Name",
602
- "required": true,
603
- "schema": {
604
- "title": "deviceName",
605
- "type": "string"
606
- }
607
- },
608
- {
609
- "name": "format",
610
- "type": "string",
611
- "info": "The format to be returned - this is ignored as we always return json",
612
- "required": false,
613
- "schema": {
614
- "title": "format",
615
- "type": "string"
616
- }
617
- }
618
- ],
947
+ "name": "iapRunAdapterTests",
948
+ "summary": "Run the adapter test scripts (baseunit and unit) to return the results",
949
+ "description": "Run the adapter test scripts (baseunit and unit) to return the results",
950
+ "input": [],
619
951
  "output": {
620
952
  "name": "result",
621
953
  "type": "object",
@@ -629,15 +961,15 @@
629
961
  "admin"
630
962
  ],
631
963
  "route": {
632
- "verb": "POST",
633
- "path": "/getConfig"
964
+ "verb": "GET",
965
+ "path": "/iapRunAdapterTests"
634
966
  },
635
- "task": false
967
+ "task": true
636
968
  },
637
969
  {
638
- "name": "iapGetDeviceCount",
639
- "summary": "Gets a device count from the system",
640
- "description": "Gets a device count from the system",
970
+ "name": "iapGetAdapterInventory",
971
+ "summary": "Provide inventory information abbout the adapter",
972
+ "description": "Provide inventory information abbout the adapter",
641
973
  "input": [],
642
974
  "output": {
643
975
  "name": "result",
@@ -652,10 +984,10 @@
652
984
  "admin"
653
985
  ],
654
986
  "route": {
655
- "verb": "POST",
656
- "path": "/iapGetDeviceCount"
987
+ "verb": "GET",
988
+ "path": "/iapGetAdapterInventory"
657
989
  },
658
- "task": false
990
+ "task": true
659
991
  },
660
992
  {
661
993
  "name": "getAlertRule",
@@ -12995,6 +13327,97 @@
12995
13327
  "path": "/getRemoveDeviceTrustStatusById"
12996
13328
  },
12997
13329
  "task": true
13330
+ },
13331
+ {
13332
+ "name": "updateDeviceUpgrade",
13333
+ "summary": "Update Device Upgrade",
13334
+ "description": "Update Device Upgrade",
13335
+ "input": [
13336
+ {
13337
+ "name": "body",
13338
+ "type": "object",
13339
+ "info": ": object",
13340
+ "required": true,
13341
+ "schema": {
13342
+ "title": "body",
13343
+ "type": "object"
13344
+ }
13345
+ }
13346
+ ],
13347
+ "output": {
13348
+ "name": "result",
13349
+ "type": "object",
13350
+ "description": "A JSON Object containing status, code and the result",
13351
+ "schema": {
13352
+ "title": "result",
13353
+ "type": "object"
13354
+ }
13355
+ },
13356
+ "roles": [
13357
+ "admin"
13358
+ ],
13359
+ "route": {
13360
+ "verb": "POST",
13361
+ "path": "/updateDeviceUpgrade"
13362
+ },
13363
+ "task": true
13364
+ },
13365
+ {
13366
+ "name": "getAllUpgradeInstances",
13367
+ "summary": "Get All Upgrade Instances",
13368
+ "description": "Get All Upgrade Instances",
13369
+ "input": [],
13370
+ "output": {
13371
+ "name": "result",
13372
+ "type": "object",
13373
+ "description": "A JSON Object containing status, code and the result",
13374
+ "schema": {
13375
+ "title": "body",
13376
+ "type": "object"
13377
+ }
13378
+ },
13379
+ "roles": [
13380
+ "admin"
13381
+ ],
13382
+ "route": {
13383
+ "verb": "GET",
13384
+ "path": "/getAllUpgradeInstances"
13385
+ },
13386
+ "task": true
13387
+ },
13388
+ {
13389
+ "name": "getUpgradeInstancesById",
13390
+ "summary": "Get Upgrade Instance By Id",
13391
+ "description": "Get Upgrade Instance By Id",
13392
+ "input": [
13393
+ {
13394
+ "name": "upgradeTaskId",
13395
+ "type": "string",
13396
+ "info": ": string",
13397
+ "required": true,
13398
+ "schema": {
13399
+ "title": "upgradeTaskId",
13400
+ "type": "string"
13401
+ }
13402
+ }
13403
+ ],
13404
+ "output": {
13405
+ "name": "result",
13406
+ "type": "object",
13407
+ "description": "A JSON Object containing status, code and the result",
13408
+ "schema": {
13409
+ "title": "result",
13410
+ "type": "object"
13411
+ }
13412
+ },
13413
+ "roles": [
13414
+ "admin"
13415
+ ],
13416
+ "route": {
13417
+ "verb": "POST",
13418
+ "path": "/getUpgradeInstancesById"
13419
+ },
13420
+ "task": true
12998
13421
  }
12999
13422
  ],
13000
13423
  "views": []