@itentialopensource/adapter-adtran_mosaic_devicemanager 0.1.1

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 (69) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/CHANGELOG.md +9 -0
  5. package/CODE_OF_CONDUCT.md +48 -0
  6. package/CONTRIBUTING.md +158 -0
  7. package/ENHANCE.md +69 -0
  8. package/LICENSE +201 -0
  9. package/PROPERTIES.md +247 -0
  10. package/README.md +257 -0
  11. package/SUMMARY.md +9 -0
  12. package/TROUBLESHOOT.md +46 -0
  13. package/adapter.js +9118 -0
  14. package/adapterBase.js +1299 -0
  15. package/entities/.generic/action.json +109 -0
  16. package/entities/.generic/schema.json +23 -0
  17. package/entities/.system/action.json +50 -0
  18. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  19. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  20. package/entities/.system/schema.json +19 -0
  21. package/entities/.system/schemaTokenReq.json +53 -0
  22. package/entities/.system/schemaTokenResp.json +53 -0
  23. package/entities/DeviceAPI/action.json +1030 -0
  24. package/entities/DeviceAPI/mockdatafiles/configureDeviceLoggingLevel-default.json +3 -0
  25. package/entities/DeviceAPI/mockdatafiles/createDeviceAttributes-default.json +3 -0
  26. package/entities/DeviceAPI/mockdatafiles/createDevicePOST-default.json +4 -0
  27. package/entities/DeviceAPI/mockdatafiles/deviceTraceLevel-default.json +3 -0
  28. package/entities/DeviceAPI/mockdatafiles/modifyDeviceAttributes-default.json +3 -0
  29. package/entities/DeviceAPI/mockdatafiles/requestDeviceAttributeRefresh-default.json +4 -0
  30. package/entities/DeviceAPI/schema.json +68 -0
  31. package/entities/SubscriberAPI/action.json +901 -0
  32. package/entities/SubscriberAPI/mockdatafiles/deleteSubscriberAttributes-default.json +6 -0
  33. package/entities/SubscriberAPI/mockdatafiles/getUserRoles-default.json +4 -0
  34. package/entities/SubscriberAPI/mockdatafiles/modifySubscriber-default.json +4 -0
  35. package/entities/SubscriberAPI/mockdatafiles/statisticsForSpecificSubscriber-default.json +5 -0
  36. package/entities/SubscriberAPI/mockdatafiles/statisticsForSubscribers-default.json +3 -0
  37. package/entities/SubscriberAPI/schema.json +73 -0
  38. package/error.json +190 -0
  39. package/package.json +87 -0
  40. package/pronghorn.json +4935 -0
  41. package/propertiesDecorators.json +14 -0
  42. package/propertiesSchema.json +1204 -0
  43. package/refs?service=git-upload-pack +0 -0
  44. package/report/creationReport.json +599 -0
  45. package/report/openapi.json +7211 -0
  46. package/report/updateReport1651531040781.json +114 -0
  47. package/sampleProperties.json +106 -0
  48. package/test/integration/adapterTestBasicGet.js +85 -0
  49. package/test/integration/adapterTestConnectivity.js +93 -0
  50. package/test/integration/adapterTestIntegration.js +3582 -0
  51. package/test/unit/adapterBaseTestUnit.js +942 -0
  52. package/test/unit/adapterTestUnit.js +5053 -0
  53. package/utils/addAuth.js +94 -0
  54. package/utils/artifactize.js +146 -0
  55. package/utils/basicGet.js +50 -0
  56. package/utils/checkMigrate.js +63 -0
  57. package/utils/entitiesToDB.js +224 -0
  58. package/utils/findPath.js +74 -0
  59. package/utils/modify.js +154 -0
  60. package/utils/packModificationScript.js +35 -0
  61. package/utils/patches2bundledDeps.js +90 -0
  62. package/utils/pre-commit.sh +27 -0
  63. package/utils/removeHooks.js +20 -0
  64. package/utils/setup.js +33 -0
  65. package/utils/tbScript.js +169 -0
  66. package/utils/tbUtils.js +464 -0
  67. package/utils/testRunner.js +298 -0
  68. package/utils/troubleshootingAdapter.js +190 -0
  69. package/workflows/README.md +3 -0
@@ -0,0 +1,1030 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "updateListOfDevicesConnectedToACS",
5
+ "protocol": "REST",
6
+ "method": "PUT",
7
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/?{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": "listOfDeviceTypesDefindedInACS",
25
+ "protocol": "REST",
26
+ "method": "GET",
27
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/types?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "sendGetBody": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "createDeviceType",
46
+ "protocol": "REST",
47
+ "method": "PUT",
48
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/types?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "requestDatatype": "JSON",
54
+ "responseDatatype": "JSON",
55
+ "headers": {},
56
+ "responseObjects": [
57
+ {
58
+ "type": "default",
59
+ "key": "",
60
+ "mockFile": ""
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "listOfDeviceTypesCheckingInToACS",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/types/{pathv1}?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "sendGetBody": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": ""
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "modifyDeviceType",
87
+ "protocol": "REST",
88
+ "method": "POST",
89
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/types/{pathv1}?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "requestDatatype": "JSON",
95
+ "responseDatatype": "JSON",
96
+ "headers": {},
97
+ "responseObjects": [
98
+ {
99
+ "type": "default",
100
+ "key": "",
101
+ "mockFile": ""
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "name": "removeDeviceType",
107
+ "protocol": "REST",
108
+ "method": "DELETE",
109
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/types/{pathv1}?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "name": "deviceStatisticsByManufacturer",
127
+ "protocol": "REST",
128
+ "method": "GET",
129
+ "entitypath": "{base_path}/{version}/prime-home/portal/stats/manufacturers?{query}",
130
+ "requestSchema": "schema.json",
131
+ "responseSchema": "schema.json",
132
+ "timeout": 0,
133
+ "sendEmpty": false,
134
+ "sendGetBody": false,
135
+ "requestDatatype": "JSON",
136
+ "responseDatatype": "JSON",
137
+ "headers": {},
138
+ "responseObjects": [
139
+ {
140
+ "type": "default",
141
+ "key": "",
142
+ "mockFile": ""
143
+ }
144
+ ]
145
+ },
146
+ {
147
+ "name": "countsOfDeviceClassesByManufacturer",
148
+ "protocol": "REST",
149
+ "method": "GET",
150
+ "entitypath": "{base_path}/{version}/prime-home/portal/stats/manufacturers/{pathv1}?{query}",
151
+ "requestSchema": "schema.json",
152
+ "responseSchema": "schema.json",
153
+ "timeout": 0,
154
+ "sendEmpty": false,
155
+ "sendGetBody": false,
156
+ "requestDatatype": "JSON",
157
+ "responseDatatype": "JSON",
158
+ "headers": {},
159
+ "responseObjects": [
160
+ {
161
+ "type": "default",
162
+ "key": "",
163
+ "mockFile": ""
164
+ }
165
+ ]
166
+ },
167
+ {
168
+ "name": "dailyDeviceCountsFor7Days",
169
+ "protocol": "REST",
170
+ "method": "GET",
171
+ "entitypath": "{base_path}/{version}/prime-home/portal/stats/recentActivity/newDevices?{query}",
172
+ "requestSchema": "schema.json",
173
+ "responseSchema": "schema.json",
174
+ "timeout": 0,
175
+ "sendEmpty": false,
176
+ "sendGetBody": false,
177
+ "requestDatatype": "JSON",
178
+ "responseDatatype": "JSON",
179
+ "headers": {},
180
+ "responseObjects": [
181
+ {
182
+ "type": "default",
183
+ "key": "",
184
+ "mockFile": ""
185
+ }
186
+ ]
187
+ },
188
+ {
189
+ "name": "countOfDevicesCheckedInFor7Days",
190
+ "protocol": "REST",
191
+ "method": "GET",
192
+ "entitypath": "{base_path}/{version}/prime-home/portal/stats/recentActivity/devicesInforming?{query}",
193
+ "requestSchema": "schema.json",
194
+ "responseSchema": "schema.json",
195
+ "timeout": 0,
196
+ "sendEmpty": false,
197
+ "sendGetBody": false,
198
+ "requestDatatype": "JSON",
199
+ "responseDatatype": "JSON",
200
+ "headers": {},
201
+ "responseObjects": [
202
+ {
203
+ "type": "default",
204
+ "key": "",
205
+ "mockFile": ""
206
+ }
207
+ ]
208
+ },
209
+ {
210
+ "name": "countOfDevicesByDeviceType",
211
+ "protocol": "REST",
212
+ "method": "GET",
213
+ "entitypath": "{base_path}/{version}/prime-home/portal/stats/deviceTypes?{query}",
214
+ "requestSchema": "schema.json",
215
+ "responseSchema": "schema.json",
216
+ "timeout": 0,
217
+ "sendEmpty": false,
218
+ "sendGetBody": false,
219
+ "requestDatatype": "JSON",
220
+ "responseDatatype": "JSON",
221
+ "headers": {},
222
+ "responseObjects": [
223
+ {
224
+ "type": "default",
225
+ "key": "",
226
+ "mockFile": ""
227
+ }
228
+ ]
229
+ },
230
+ {
231
+ "name": "countOfSubscribersByLabel",
232
+ "protocol": "REST",
233
+ "method": "GET",
234
+ "entitypath": "{base_path}/{version}/prime-home/portal/stats/labels/subscriberCounts?{query}",
235
+ "requestSchema": "schema.json",
236
+ "responseSchema": "schema.json",
237
+ "timeout": 0,
238
+ "sendEmpty": false,
239
+ "sendGetBody": false,
240
+ "requestDatatype": "JSON",
241
+ "responseDatatype": "JSON",
242
+ "headers": {},
243
+ "responseObjects": [
244
+ {
245
+ "type": "default",
246
+ "key": "",
247
+ "mockFile": ""
248
+ }
249
+ ]
250
+ },
251
+ {
252
+ "name": "deviceSolicitStatus",
253
+ "protocol": "REST",
254
+ "method": "GET",
255
+ "entitypath": "{base_path}/{version}/prime-home/portal/stats/solicits?{query}",
256
+ "requestSchema": "schema.json",
257
+ "responseSchema": "schema.json",
258
+ "timeout": 0,
259
+ "sendEmpty": false,
260
+ "sendGetBody": 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": "updateDeviceStatus",
274
+ "protocol": "REST",
275
+ "method": "PUT",
276
+ "entitypath": "{base_path}/{version}/prime-home/portal/stats/solicits/{pathv1}?{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": "firmwareResourceListByDeviceType",
294
+ "protocol": "REST",
295
+ "method": "GET",
296
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/types/{pathv1}/firmware?{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": "addFirmwareResourceByDeviceType",
315
+ "protocol": "REST",
316
+ "method": "PUT",
317
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/types/{pathv1}/firmware?{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": "firmwareDescription",
335
+ "protocol": "REST",
336
+ "method": "GET",
337
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/types/{pathv1}/firmware/{pathv2}?{query}",
338
+ "requestSchema": "schema.json",
339
+ "responseSchema": "schema.json",
340
+ "timeout": 0,
341
+ "sendEmpty": false,
342
+ "sendGetBody": false,
343
+ "requestDatatype": "JSON",
344
+ "responseDatatype": "JSON",
345
+ "headers": {},
346
+ "responseObjects": [
347
+ {
348
+ "type": "default",
349
+ "key": "",
350
+ "mockFile": ""
351
+ }
352
+ ]
353
+ },
354
+ {
355
+ "name": "removeFirmwareDescription",
356
+ "protocol": "REST",
357
+ "method": "DELETE",
358
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/types/{pathv1}/firmware/{pathv2}?{query}",
359
+ "requestSchema": "schema.json",
360
+ "responseSchema": "schema.json",
361
+ "timeout": 0,
362
+ "sendEmpty": false,
363
+ "requestDatatype": "JSON",
364
+ "responseDatatype": "JSON",
365
+ "headers": {},
366
+ "responseObjects": [
367
+ {
368
+ "type": "default",
369
+ "key": "",
370
+ "mockFile": ""
371
+ }
372
+ ]
373
+ },
374
+ {
375
+ "name": "modifyFirmwareDescription",
376
+ "protocol": "REST",
377
+ "method": "POST",
378
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/types/{pathv1}/firmware/{pathv2}?{query}",
379
+ "requestSchema": "schema.json",
380
+ "responseSchema": "schema.json",
381
+ "timeout": 0,
382
+ "sendEmpty": false,
383
+ "requestDatatype": "JSON",
384
+ "responseDatatype": "JSON",
385
+ "headers": {},
386
+ "responseObjects": [
387
+ {
388
+ "type": "default",
389
+ "key": "",
390
+ "mockFile": ""
391
+ }
392
+ ]
393
+ },
394
+ {
395
+ "name": "firmwareResourceLabelsByIDForDeviceType",
396
+ "protocol": "REST",
397
+ "method": "GET",
398
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/types/{pathv1}/firmware/{pathv2}/labels?{query}",
399
+ "requestSchema": "schema.json",
400
+ "responseSchema": "schema.json",
401
+ "timeout": 0,
402
+ "sendEmpty": false,
403
+ "sendGetBody": false,
404
+ "requestDatatype": "JSON",
405
+ "responseDatatype": "JSON",
406
+ "headers": {},
407
+ "responseObjects": [
408
+ {
409
+ "type": "default",
410
+ "key": "",
411
+ "mockFile": ""
412
+ }
413
+ ]
414
+ },
415
+ {
416
+ "name": "modifyFirmwareLabels",
417
+ "protocol": "REST",
418
+ "method": "POST",
419
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/types/{pathv1}/firmware/{pathv2}/labels?{query}",
420
+ "requestSchema": "schema.json",
421
+ "responseSchema": "schema.json",
422
+ "timeout": 0,
423
+ "sendEmpty": false,
424
+ "requestDatatype": "JSON",
425
+ "responseDatatype": "JSON",
426
+ "headers": {},
427
+ "responseObjects": [
428
+ {
429
+ "type": "default",
430
+ "key": "",
431
+ "mockFile": ""
432
+ }
433
+ ]
434
+ },
435
+ {
436
+ "name": "countOfDevicesInACSByDeviceType",
437
+ "protocol": "REST",
438
+ "method": "GET",
439
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/summary?{query}",
440
+ "requestSchema": "schema.json",
441
+ "responseSchema": "schema.json",
442
+ "timeout": 0,
443
+ "sendEmpty": false,
444
+ "sendGetBody": false,
445
+ "requestDatatype": "JSON",
446
+ "responseDatatype": "JSON",
447
+ "headers": {},
448
+ "responseObjects": [
449
+ {
450
+ "type": "default",
451
+ "key": "",
452
+ "mockFile": ""
453
+ }
454
+ ]
455
+ },
456
+ {
457
+ "name": "deviceDetailsGET",
458
+ "protocol": "REST",
459
+ "method": "GET",
460
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}?{query}",
461
+ "requestSchema": "schema.json",
462
+ "responseSchema": "schema.json",
463
+ "timeout": 0,
464
+ "sendEmpty": false,
465
+ "sendGetBody": false,
466
+ "requestDatatype": "JSON",
467
+ "responseDatatype": "JSON",
468
+ "headers": {},
469
+ "responseObjects": [
470
+ {
471
+ "type": "default",
472
+ "key": "",
473
+ "mockFile": ""
474
+ }
475
+ ]
476
+ },
477
+ {
478
+ "name": "getDeviceTemplate",
479
+ "protocol": "REST",
480
+ "method": "GET",
481
+ "entitypath": "{base_path}/{version}/prime-home/api/v1/templates/device?{query}",
482
+ "requestSchema": "schema.json",
483
+ "responseSchema": "schema.json",
484
+ "timeout": 0,
485
+ "sendEmpty": false,
486
+ "sendGetBody": false,
487
+ "requestDatatype": "JSON",
488
+ "responseDatatype": "JSON",
489
+ "headers": {},
490
+ "responseObjects": [
491
+ {
492
+ "type": "default",
493
+ "key": "",
494
+ "mockFile": ""
495
+ }
496
+ ]
497
+ },
498
+ {
499
+ "name": "createDevicePOST",
500
+ "protocol": "REST",
501
+ "method": "POST",
502
+ "entitypath": "{base_path}/{version}/prime-home/api/v1/devices?{query}",
503
+ "requestSchema": "schema.json",
504
+ "responseSchema": "schema.json",
505
+ "timeout": 0,
506
+ "sendEmpty": false,
507
+ "requestDatatype": "JSON",
508
+ "responseDatatype": "JSON",
509
+ "headers": {},
510
+ "responseObjects": [
511
+ {
512
+ "type": "default",
513
+ "key": "",
514
+ "mockFile": "mockdatafiles/createDevicePOST-default.json"
515
+ }
516
+ ]
517
+ },
518
+ {
519
+ "name": "deleteDevice",
520
+ "protocol": "REST",
521
+ "method": "DELETE",
522
+ "entitypath": "{base_path}/{version}/prime-home/api/v1/devices/{pathv1}?{query}",
523
+ "requestSchema": "schema.json",
524
+ "responseSchema": "schema.json",
525
+ "timeout": 0,
526
+ "sendEmpty": false,
527
+ "requestDatatype": "JSON",
528
+ "responseDatatype": "JSON",
529
+ "headers": {},
530
+ "responseObjects": [
531
+ {
532
+ "type": "default",
533
+ "key": "",
534
+ "mockFile": ""
535
+ }
536
+ ]
537
+ },
538
+ {
539
+ "name": "lockDevice",
540
+ "protocol": "REST",
541
+ "method": "POST",
542
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/lockDevice?{query}",
543
+ "requestSchema": "schema.json",
544
+ "responseSchema": "schema.json",
545
+ "timeout": 0,
546
+ "sendEmpty": false,
547
+ "requestDatatype": "JSON",
548
+ "responseDatatype": "JSON",
549
+ "headers": {},
550
+ "responseObjects": [
551
+ {
552
+ "type": "default",
553
+ "key": "",
554
+ "mockFile": ""
555
+ }
556
+ ]
557
+ },
558
+ {
559
+ "name": "deviceAttributeList",
560
+ "protocol": "REST",
561
+ "method": "GET",
562
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/attributes/?{query}",
563
+ "requestSchema": "schema.json",
564
+ "responseSchema": "schema.json",
565
+ "timeout": 0,
566
+ "sendEmpty": false,
567
+ "sendGetBody": false,
568
+ "requestDatatype": "JSON",
569
+ "responseDatatype": "JSON",
570
+ "headers": {},
571
+ "responseObjects": [
572
+ {
573
+ "type": "default",
574
+ "key": "",
575
+ "mockFile": ""
576
+ }
577
+ ]
578
+ },
579
+ {
580
+ "name": "modifyDeviceAttributes",
581
+ "protocol": "REST",
582
+ "method": "POST",
583
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/attributes/?{query}",
584
+ "requestSchema": "schema.json",
585
+ "responseSchema": "schema.json",
586
+ "timeout": 0,
587
+ "sendEmpty": false,
588
+ "requestDatatype": "JSON",
589
+ "responseDatatype": "JSON",
590
+ "headers": {},
591
+ "responseObjects": [
592
+ {
593
+ "type": "default",
594
+ "key": "",
595
+ "mockFile": "mockdatafiles/modifyDeviceAttributes-default.json"
596
+ }
597
+ ]
598
+ },
599
+ {
600
+ "name": "createDeviceAttributes",
601
+ "protocol": "REST",
602
+ "method": "PUT",
603
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/attributes/?{query}",
604
+ "requestSchema": "schema.json",
605
+ "responseSchema": "schema.json",
606
+ "timeout": 0,
607
+ "sendEmpty": false,
608
+ "requestDatatype": "JSON",
609
+ "responseDatatype": "JSON",
610
+ "headers": {},
611
+ "responseObjects": [
612
+ {
613
+ "type": "default",
614
+ "key": "",
615
+ "mockFile": "mockdatafiles/createDeviceAttributes-default.json"
616
+ }
617
+ ]
618
+ },
619
+ {
620
+ "name": "removeDeviceAttributes",
621
+ "protocol": "REST",
622
+ "method": "DELETE",
623
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/attributes/?{query}",
624
+ "requestSchema": "schema.json",
625
+ "responseSchema": "schema.json",
626
+ "timeout": 0,
627
+ "sendEmpty": false,
628
+ "requestDatatype": "JSON",
629
+ "responseDatatype": "JSON",
630
+ "headers": {},
631
+ "responseObjects": [
632
+ {
633
+ "type": "default",
634
+ "key": "",
635
+ "mockFile": ""
636
+ }
637
+ ]
638
+ },
639
+ {
640
+ "name": "requestDeviceAttributeRefresh",
641
+ "protocol": "REST",
642
+ "method": "PUT",
643
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/attributes/sync?{query}",
644
+ "requestSchema": "schema.json",
645
+ "responseSchema": "schema.json",
646
+ "timeout": 0,
647
+ "sendEmpty": false,
648
+ "requestDatatype": "JSON",
649
+ "responseDatatype": "JSON",
650
+ "headers": {},
651
+ "responseObjects": [
652
+ {
653
+ "type": "default",
654
+ "key": "",
655
+ "mockFile": "mockdatafiles/requestDeviceAttributeRefresh-default.json"
656
+ }
657
+ ]
658
+ },
659
+ {
660
+ "name": "deviceNewActionList",
661
+ "protocol": "REST",
662
+ "method": "GET",
663
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/actions?{query}",
664
+ "requestSchema": "schema.json",
665
+ "responseSchema": "schema.json",
666
+ "timeout": 0,
667
+ "sendEmpty": false,
668
+ "sendGetBody": false,
669
+ "requestDatatype": "JSON",
670
+ "responseDatatype": "JSON",
671
+ "headers": {},
672
+ "responseObjects": [
673
+ {
674
+ "type": "default",
675
+ "key": "",
676
+ "mockFile": ""
677
+ }
678
+ ]
679
+ },
680
+ {
681
+ "name": "queuedActionDetail",
682
+ "protocol": "REST",
683
+ "method": "GET",
684
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/actions/{pathv2}?{query}",
685
+ "requestSchema": "schema.json",
686
+ "responseSchema": "schema.json",
687
+ "timeout": 0,
688
+ "sendEmpty": false,
689
+ "sendGetBody": false,
690
+ "requestDatatype": "JSON",
691
+ "responseDatatype": "JSON",
692
+ "headers": {},
693
+ "responseObjects": [
694
+ {
695
+ "type": "default",
696
+ "key": "",
697
+ "mockFile": ""
698
+ }
699
+ ]
700
+ },
701
+ {
702
+ "name": "modifyScriptIDAndParametersForQueuedAction",
703
+ "protocol": "REST",
704
+ "method": "POST",
705
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/actions/{pathv2}?{query}",
706
+ "requestSchema": "schema.json",
707
+ "responseSchema": "schema.json",
708
+ "timeout": 0,
709
+ "sendEmpty": false,
710
+ "requestDatatype": "JSON",
711
+ "responseDatatype": "JSON",
712
+ "headers": {},
713
+ "responseObjects": [
714
+ {
715
+ "type": "default",
716
+ "key": "",
717
+ "mockFile": ""
718
+ }
719
+ ]
720
+ },
721
+ {
722
+ "name": "queuedAction",
723
+ "protocol": "REST",
724
+ "method": "DELETE",
725
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/actions/{pathv2}?{query}",
726
+ "requestSchema": "schema.json",
727
+ "responseSchema": "schema.json",
728
+ "timeout": 0,
729
+ "sendEmpty": false,
730
+ "requestDatatype": "JSON",
731
+ "responseDatatype": "JSON",
732
+ "headers": {},
733
+ "responseObjects": [
734
+ {
735
+ "type": "default",
736
+ "key": "",
737
+ "mockFile": ""
738
+ }
739
+ ]
740
+ },
741
+ {
742
+ "name": "triggerDeviceEvent",
743
+ "protocol": "REST",
744
+ "method": "PUT",
745
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/events?{query}",
746
+ "requestSchema": "schema.json",
747
+ "responseSchema": "schema.json",
748
+ "timeout": 0,
749
+ "sendEmpty": false,
750
+ "requestDatatype": "JSON",
751
+ "responseDatatype": "JSON",
752
+ "headers": {},
753
+ "responseObjects": [
754
+ {
755
+ "type": "default",
756
+ "key": "",
757
+ "mockFile": ""
758
+ }
759
+ ]
760
+ },
761
+ {
762
+ "name": "deviceLabels",
763
+ "protocol": "REST",
764
+ "method": "GET",
765
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/labels?{query}",
766
+ "requestSchema": "schema.json",
767
+ "responseSchema": "schema.json",
768
+ "timeout": 0,
769
+ "sendEmpty": false,
770
+ "sendGetBody": false,
771
+ "requestDatatype": "JSON",
772
+ "responseDatatype": "JSON",
773
+ "headers": {},
774
+ "responseObjects": [
775
+ {
776
+ "type": "default",
777
+ "key": "",
778
+ "mockFile": ""
779
+ }
780
+ ]
781
+ },
782
+ {
783
+ "name": "modifyDeviceLabels",
784
+ "protocol": "REST",
785
+ "method": "POST",
786
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/labels?{query}",
787
+ "requestSchema": "schema.json",
788
+ "responseSchema": "schema.json",
789
+ "timeout": 0,
790
+ "sendEmpty": false,
791
+ "requestDatatype": "JSON",
792
+ "responseDatatype": "JSON",
793
+ "headers": {},
794
+ "responseObjects": [
795
+ {
796
+ "type": "default",
797
+ "key": "",
798
+ "mockFile": ""
799
+ }
800
+ ]
801
+ },
802
+ {
803
+ "name": "createDeviceLabels",
804
+ "protocol": "REST",
805
+ "method": "PUT",
806
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/labels?{query}",
807
+ "requestSchema": "schema.json",
808
+ "responseSchema": "schema.json",
809
+ "timeout": 0,
810
+ "sendEmpty": false,
811
+ "requestDatatype": "JSON",
812
+ "responseDatatype": "JSON",
813
+ "headers": {},
814
+ "responseObjects": [
815
+ {
816
+ "type": "default",
817
+ "key": "",
818
+ "mockFile": ""
819
+ }
820
+ ]
821
+ },
822
+ {
823
+ "name": "deviceStatisticsSummary",
824
+ "protocol": "REST",
825
+ "method": "GET",
826
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/activity?{query}",
827
+ "requestSchema": "schema.json",
828
+ "responseSchema": "schema.json",
829
+ "timeout": 0,
830
+ "sendEmpty": false,
831
+ "sendGetBody": false,
832
+ "requestDatatype": "JSON",
833
+ "responseDatatype": "JSON",
834
+ "headers": {},
835
+ "responseObjects": [
836
+ {
837
+ "type": "default",
838
+ "key": "",
839
+ "mockFile": ""
840
+ }
841
+ ]
842
+ },
843
+ {
844
+ "name": "solicitStatus",
845
+ "protocol": "REST",
846
+ "method": "GET",
847
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/solicit?{query}",
848
+ "requestSchema": "schema.json",
849
+ "responseSchema": "schema.json",
850
+ "timeout": 0,
851
+ "sendEmpty": false,
852
+ "sendGetBody": false,
853
+ "requestDatatype": "JSON",
854
+ "responseDatatype": "JSON",
855
+ "headers": {},
856
+ "responseObjects": [
857
+ {
858
+ "type": "default",
859
+ "key": "",
860
+ "mockFile": ""
861
+ }
862
+ ]
863
+ },
864
+ {
865
+ "name": "createDeviceUpdateQueue",
866
+ "protocol": "REST",
867
+ "method": "PUT",
868
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/solicit?{query}",
869
+ "requestSchema": "schema.json",
870
+ "responseSchema": "schema.json",
871
+ "timeout": 0,
872
+ "sendEmpty": false,
873
+ "requestDatatype": "JSON",
874
+ "responseDatatype": "JSON",
875
+ "headers": {},
876
+ "responseObjects": [
877
+ {
878
+ "type": "default",
879
+ "key": "",
880
+ "mockFile": ""
881
+ }
882
+ ]
883
+ },
884
+ {
885
+ "name": "deviceSessionTraceList",
886
+ "protocol": "REST",
887
+ "method": "GET",
888
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/trace?{query}",
889
+ "requestSchema": "schema.json",
890
+ "responseSchema": "schema.json",
891
+ "timeout": 0,
892
+ "sendEmpty": false,
893
+ "sendGetBody": false,
894
+ "requestDatatype": "JSON",
895
+ "responseDatatype": "JSON",
896
+ "headers": {},
897
+ "responseObjects": [
898
+ {
899
+ "type": "default",
900
+ "key": "",
901
+ "mockFile": ""
902
+ }
903
+ ]
904
+ },
905
+ {
906
+ "name": "createDeviceTraceLog",
907
+ "protocol": "REST",
908
+ "method": "PUT",
909
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/trace?{query}",
910
+ "requestSchema": "schema.json",
911
+ "responseSchema": "schema.json",
912
+ "timeout": 0,
913
+ "sendEmpty": false,
914
+ "requestDatatype": "JSON",
915
+ "responseDatatype": "JSON",
916
+ "headers": {},
917
+ "responseObjects": [
918
+ {
919
+ "type": "default",
920
+ "key": "",
921
+ "mockFile": ""
922
+ }
923
+ ]
924
+ },
925
+ {
926
+ "name": "deviceTraceLevel",
927
+ "protocol": "REST",
928
+ "method": "GET",
929
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/trace/level?{query}",
930
+ "requestSchema": "schema.json",
931
+ "responseSchema": "schema.json",
932
+ "timeout": 0,
933
+ "sendEmpty": false,
934
+ "sendGetBody": false,
935
+ "requestDatatype": "JSON",
936
+ "responseDatatype": "JSON",
937
+ "headers": {},
938
+ "responseObjects": [
939
+ {
940
+ "type": "default",
941
+ "key": "",
942
+ "mockFile": "mockdatafiles/deviceTraceLevel-default.json"
943
+ }
944
+ ]
945
+ },
946
+ {
947
+ "name": "configureDeviceLoggingLevel",
948
+ "protocol": "REST",
949
+ "method": "POST",
950
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/trace/level?{query}",
951
+ "requestSchema": "schema.json",
952
+ "responseSchema": "schema.json",
953
+ "timeout": 0,
954
+ "sendEmpty": false,
955
+ "requestDatatype": "JSON",
956
+ "responseDatatype": "JSON",
957
+ "headers": {},
958
+ "responseObjects": [
959
+ {
960
+ "type": "default",
961
+ "key": "",
962
+ "mockFile": "mockdatafiles/configureDeviceLoggingLevel-default.json"
963
+ }
964
+ ]
965
+ },
966
+ {
967
+ "name": "deviceSessionTraceSummary",
968
+ "protocol": "REST",
969
+ "method": "GET",
970
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/trace/level/{pathv2}?{query}",
971
+ "requestSchema": "schema.json",
972
+ "responseSchema": "schema.json",
973
+ "timeout": 0,
974
+ "sendEmpty": false,
975
+ "sendGetBody": false,
976
+ "requestDatatype": "JSON",
977
+ "responseDatatype": "JSON",
978
+ "headers": {},
979
+ "responseObjects": [
980
+ {
981
+ "type": "default",
982
+ "key": "",
983
+ "mockFile": ""
984
+ }
985
+ ]
986
+ },
987
+ {
988
+ "name": "deviceSessionTraceDetail",
989
+ "protocol": "REST",
990
+ "method": "GET",
991
+ "entitypath": "{base_path}/{version}/prime-home/portal/devices/{pathv1}/trace/level{pathv2}/log?{query}",
992
+ "requestSchema": "schema.json",
993
+ "responseSchema": "schema.json",
994
+ "timeout": 0,
995
+ "sendEmpty": false,
996
+ "sendGetBody": false,
997
+ "requestDatatype": "JSON",
998
+ "responseDatatype": "JSON",
999
+ "headers": {},
1000
+ "responseObjects": [
1001
+ {
1002
+ "type": "default",
1003
+ "key": "",
1004
+ "mockFile": ""
1005
+ }
1006
+ ]
1007
+ },
1008
+ {
1009
+ "name": "accessDevicesOnActivationServer",
1010
+ "protocol": "REST",
1011
+ "method": "GET",
1012
+ "entitypath": "{base_path}/{version}/prime-home/portal/activation/devices?{query}",
1013
+ "requestSchema": "schema.json",
1014
+ "responseSchema": "schema.json",
1015
+ "timeout": 0,
1016
+ "sendEmpty": false,
1017
+ "sendGetBody": false,
1018
+ "requestDatatype": "JSON",
1019
+ "responseDatatype": "JSON",
1020
+ "headers": {},
1021
+ "responseObjects": [
1022
+ {
1023
+ "type": "default",
1024
+ "key": "",
1025
+ "mockFile": ""
1026
+ }
1027
+ ]
1028
+ }
1029
+ ]
1030
+ }