@itentialopensource/adapter-calix_smx 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 (86) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +19 -0
  3. package/.jshintrc +3 -0
  4. package/AUTH.md +42 -0
  5. package/BROKER.md +211 -0
  6. package/CALLS.md +207 -0
  7. package/CODE_OF_CONDUCT.md +43 -0
  8. package/CONTRIBUTING.md +13 -0
  9. package/ENHANCE.md +69 -0
  10. package/LICENSE +201 -0
  11. package/PROPERTIES.md +676 -0
  12. package/README.md +344 -0
  13. package/SUMMARY.md +9 -0
  14. package/SYSTEMINFO.md +35 -0
  15. package/TROUBLESHOOT.md +56 -0
  16. package/UTILITIES.md +473 -0
  17. package/adapter.js +189915 -0
  18. package/adapterBase.js +1526 -0
  19. package/entities/.generic/action.json +214 -0
  20. package/entities/.generic/schema.json +28 -0
  21. package/entities/.system/action.json +50 -0
  22. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  23. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  24. package/entities/.system/schema.json +19 -0
  25. package/entities/.system/schemaTokenReq.json +53 -0
  26. package/entities/.system/schemaTokenResp.json +53 -0
  27. package/entities/Config/action.json +861 -0
  28. package/entities/Config/schema.json +136 -0
  29. package/entities/ConfigDevice/action.json +12813 -0
  30. package/entities/ConfigDevice/schema.json +1281 -0
  31. package/entities/ConfigProfile/action.json +2608 -0
  32. package/entities/ConfigProfile/schema.json +164 -0
  33. package/entities/ConfigTemplate/action.json +841 -0
  34. package/entities/ConfigTemplate/schema.json +147 -0
  35. package/entities/EMS/action.json +1565 -0
  36. package/entities/EMS/schema.json +182 -0
  37. package/entities/EMSProfile/action.json +14871 -0
  38. package/entities/EMSProfile/schema.json +1001 -0
  39. package/entities/EMSRegion/action.json +127 -0
  40. package/entities/EMSRegion/schema.json +24 -0
  41. package/entities/EMSService/action.json +855 -0
  42. package/entities/EMSService/schema.json +269 -0
  43. package/entities/EMSSubscriber/action.json +190 -0
  44. package/entities/EMSSubscriber/schema.json +104 -0
  45. package/entities/Fault/action.json +209 -0
  46. package/entities/Fault/schema.json +61 -0
  47. package/entities/Log/action.json +25 -0
  48. package/entities/Log/schema.json +19 -0
  49. package/entities/PerformanceMonitoring/action.json +1114 -0
  50. package/entities/PerformanceMonitoring/schema.json +302 -0
  51. package/entities/Port/action.json +24 -0
  52. package/entities/Port/schema.json +30 -0
  53. package/error.json +190 -0
  54. package/metadata.json +81 -0
  55. package/package.json +76 -0
  56. package/pronghorn.json +119022 -0
  57. package/propertiesDecorators.json +18 -0
  58. package/propertiesSchema.json +1765 -0
  59. package/report/creationReport.json +9189 -0
  60. package/report/smx_modified_rename.json +97860 -0
  61. package/report/updateReport1766175812348.json +120 -0
  62. package/sampleProperties.json +263 -0
  63. package/test/integration/adapterTestBasicGet.js +117 -0
  64. package/test/integration/adapterTestConnectivity.js +117 -0
  65. package/test/integration/adapterTestIntegration.js +45491 -0
  66. package/test/unit/adapterBaseTestUnit.js +1628 -0
  67. package/test/unit/adapterTestUnit.js +66088 -0
  68. package/utils/adapterInfo.js +156 -0
  69. package/utils/argParser.js +44 -0
  70. package/utils/checkMigrate.js +102 -0
  71. package/utils/entitiesToDB.js +190 -0
  72. package/utils/findPath.js +74 -0
  73. package/utils/logger.js +26 -0
  74. package/utils/methodDocumentor.js +273 -0
  75. package/utils/modify.js +153 -0
  76. package/utils/mongoDbConnection.js +79 -0
  77. package/utils/mongoUtils.js +162 -0
  78. package/utils/pre-commit.sh +32 -0
  79. package/utils/removeHooks.js +20 -0
  80. package/utils/setup.js +33 -0
  81. package/utils/taskMover.js +308 -0
  82. package/utils/tbScript.js +103 -0
  83. package/utils/tbUtils.js +347 -0
  84. package/utils/testRunner.js +298 -0
  85. package/utils/troubleshootingAdapter.js +177 -0
  86. package/utils/updateAdapterConfig.js +158 -0
@@ -0,0 +1,855 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getAllEthService",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/ems/eth-service?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "createEthService",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/ems/eth-service?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": 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": "updateEthService",
46
+ "protocol": "REST",
47
+ "method": "PUT",
48
+ "entitypath": "{base_path}/{version}/ems/eth-service?{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": "getDeviceByDevice1",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "{base_path}/{version}/ems/eth-service/device/{pathv1}/{pathv2}?{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": "deleteDeviceByDevice",
87
+ "protocol": "REST",
88
+ "method": "DELETE",
89
+ "entitypath": "{base_path}/{version}/ems/eth-service/device/{pathv1}/{pathv2}?{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": "getEthService",
107
+ "protocol": "REST",
108
+ "method": "GET",
109
+ "entitypath": "{base_path}/{version}/ems/eth-service/{pathv1}?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "sendGetBody": false,
115
+ "requestDatatype": "JSON",
116
+ "responseDatatype": "JSON",
117
+ "headers": {},
118
+ "responseObjects": [
119
+ {
120
+ "type": "default",
121
+ "key": "",
122
+ "mockFile": ""
123
+ }
124
+ ]
125
+ },
126
+ {
127
+ "name": "updateEthService1",
128
+ "protocol": "REST",
129
+ "method": "PUT",
130
+ "entitypath": "{base_path}/{version}/ems/eth-service/{pathv1}?{query}",
131
+ "requestSchema": "schema.json",
132
+ "responseSchema": "schema.json",
133
+ "timeout": 0,
134
+ "sendEmpty": 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": "deleteInterfaceByDevice",
148
+ "protocol": "REST",
149
+ "method": "DELETE",
150
+ "entitypath": "{base_path}/{version}/ems/eth-service/{pathv1}/device/{pathv2}/interface/{pathv3}?{query}",
151
+ "requestSchema": "schema.json",
152
+ "responseSchema": "schema.json",
153
+ "timeout": 0,
154
+ "sendEmpty": 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": "deleteEthServiceByDevice",
168
+ "protocol": "REST",
169
+ "method": "DELETE",
170
+ "entitypath": "{base_path}/{version}/ems/eth-service/{pathv1}/{pathv2}?{query}",
171
+ "requestSchema": "schema.json",
172
+ "responseSchema": "schema.json",
173
+ "timeout": 0,
174
+ "sendEmpty": false,
175
+ "requestDatatype": "JSON",
176
+ "responseDatatype": "JSON",
177
+ "headers": {},
178
+ "responseObjects": [
179
+ {
180
+ "type": "default",
181
+ "key": "",
182
+ "mockFile": ""
183
+ }
184
+ ]
185
+ },
186
+ {
187
+ "name": "deleteEthService",
188
+ "protocol": "REST",
189
+ "method": "DELETE",
190
+ "entitypath": "{base_path}/{version}/ems/eth-service/{pathv1}?{query}",
191
+ "requestSchema": "schema.json",
192
+ "responseSchema": "schema.json",
193
+ "timeout": 0,
194
+ "sendEmpty": false,
195
+ "requestDatatype": "JSON",
196
+ "responseDatatype": "JSON",
197
+ "headers": {},
198
+ "responseObjects": [
199
+ {
200
+ "type": "default",
201
+ "key": "",
202
+ "mockFile": ""
203
+ }
204
+ ]
205
+ },
206
+ {
207
+ "name": "getAllEvc",
208
+ "protocol": "REST",
209
+ "method": "GET",
210
+ "entitypath": "{base_path}/{version}/ems/evc?{query}",
211
+ "requestSchema": "schema.json",
212
+ "responseSchema": "schema.json",
213
+ "timeout": 0,
214
+ "sendEmpty": false,
215
+ "sendGetBody": false,
216
+ "requestDatatype": "JSON",
217
+ "responseDatatype": "JSON",
218
+ "headers": {},
219
+ "responseObjects": [
220
+ {
221
+ "type": "default",
222
+ "key": "",
223
+ "mockFile": ""
224
+ }
225
+ ]
226
+ },
227
+ {
228
+ "name": "createEvc",
229
+ "protocol": "REST",
230
+ "method": "POST",
231
+ "entitypath": "{base_path}/{version}/ems/evc?{query}",
232
+ "requestSchema": "schema.json",
233
+ "responseSchema": "schema.json",
234
+ "timeout": 0,
235
+ "sendEmpty": false,
236
+ "requestDatatype": "JSON",
237
+ "responseDatatype": "JSON",
238
+ "headers": {},
239
+ "responseObjects": [
240
+ {
241
+ "type": "default",
242
+ "key": "",
243
+ "mockFile": ""
244
+ }
245
+ ]
246
+ },
247
+ {
248
+ "name": "updateEvc",
249
+ "protocol": "REST",
250
+ "method": "PUT",
251
+ "entitypath": "{base_path}/{version}/ems/evc?{query}",
252
+ "requestSchema": "schema.json",
253
+ "responseSchema": "schema.json",
254
+ "timeout": 0,
255
+ "sendEmpty": false,
256
+ "requestDatatype": "JSON",
257
+ "responseDatatype": "JSON",
258
+ "headers": {},
259
+ "responseObjects": [
260
+ {
261
+ "type": "default",
262
+ "key": "",
263
+ "mockFile": ""
264
+ }
265
+ ]
266
+ },
267
+ {
268
+ "name": "deleteEvc",
269
+ "protocol": "REST",
270
+ "method": "DELETE",
271
+ "entitypath": "{base_path}/{version}/ems/evc?{query}",
272
+ "requestSchema": "schema.json",
273
+ "responseSchema": "schema.json",
274
+ "timeout": 0,
275
+ "sendEmpty": false,
276
+ "requestDatatype": "JSON",
277
+ "responseDatatype": "JSON",
278
+ "headers": {},
279
+ "responseObjects": [
280
+ {
281
+ "type": "default",
282
+ "key": "",
283
+ "mockFile": ""
284
+ }
285
+ ]
286
+ },
287
+ {
288
+ "name": "getAllService",
289
+ "protocol": "REST",
290
+ "method": "GET",
291
+ "entitypath": "{base_path}/{version}/ems/evc/service?{query}",
292
+ "requestSchema": "schema.json",
293
+ "responseSchema": "schema.json",
294
+ "timeout": 0,
295
+ "sendEmpty": false,
296
+ "sendGetBody": false,
297
+ "requestDatatype": "JSON",
298
+ "responseDatatype": "JSON",
299
+ "headers": {},
300
+ "responseObjects": [
301
+ {
302
+ "type": "default",
303
+ "key": "",
304
+ "mockFile": ""
305
+ }
306
+ ]
307
+ },
308
+ {
309
+ "name": "createService",
310
+ "protocol": "REST",
311
+ "method": "POST",
312
+ "entitypath": "{base_path}/{version}/ems/evc/service?{query}",
313
+ "requestSchema": "schema.json",
314
+ "responseSchema": "schema.json",
315
+ "timeout": 0,
316
+ "sendEmpty": false,
317
+ "requestDatatype": "JSON",
318
+ "responseDatatype": "JSON",
319
+ "headers": {},
320
+ "responseObjects": [
321
+ {
322
+ "type": "default",
323
+ "key": "",
324
+ "mockFile": ""
325
+ }
326
+ ]
327
+ },
328
+ {
329
+ "name": "updateService",
330
+ "protocol": "REST",
331
+ "method": "PUT",
332
+ "entitypath": "{base_path}/{version}/ems/evc/service?{query}",
333
+ "requestSchema": "schema.json",
334
+ "responseSchema": "schema.json",
335
+ "timeout": 0,
336
+ "sendEmpty": false,
337
+ "requestDatatype": "JSON",
338
+ "responseDatatype": "JSON",
339
+ "headers": {},
340
+ "responseObjects": [
341
+ {
342
+ "type": "default",
343
+ "key": "",
344
+ "mockFile": ""
345
+ }
346
+ ]
347
+ },
348
+ {
349
+ "name": "deleteService",
350
+ "protocol": "REST",
351
+ "method": "DELETE",
352
+ "entitypath": "{base_path}/{version}/ems/evc/service?{query}",
353
+ "requestSchema": "schema.json",
354
+ "responseSchema": "schema.json",
355
+ "timeout": 0,
356
+ "sendEmpty": false,
357
+ "requestDatatype": "JSON",
358
+ "responseDatatype": "JSON",
359
+ "headers": {},
360
+ "responseObjects": [
361
+ {
362
+ "type": "default",
363
+ "key": "",
364
+ "mockFile": ""
365
+ }
366
+ ]
367
+ },
368
+ {
369
+ "name": "getOntServiceTemplate",
370
+ "protocol": "REST",
371
+ "method": "GET",
372
+ "entitypath": "{base_path}/{version}/ems/ont-service-template/{pathv1}?{query}",
373
+ "requestSchema": "schema.json",
374
+ "responseSchema": "schema.json",
375
+ "timeout": 0,
376
+ "sendEmpty": false,
377
+ "sendGetBody": false,
378
+ "requestDatatype": "JSON",
379
+ "responseDatatype": "JSON",
380
+ "headers": {},
381
+ "responseObjects": [
382
+ {
383
+ "type": "default",
384
+ "key": "",
385
+ "mockFile": ""
386
+ }
387
+ ]
388
+ },
389
+ {
390
+ "name": "getAllPortConfig",
391
+ "protocol": "REST",
392
+ "method": "GET",
393
+ "entitypath": "{base_path}/{version}/ems/ont/eth/port-config?{query}",
394
+ "requestSchema": "schema.json",
395
+ "responseSchema": "schema.json",
396
+ "timeout": 0,
397
+ "sendEmpty": false,
398
+ "sendGetBody": false,
399
+ "requestDatatype": "JSON",
400
+ "responseDatatype": "JSON",
401
+ "headers": {},
402
+ "responseObjects": [
403
+ {
404
+ "type": "default",
405
+ "key": "",
406
+ "mockFile": ""
407
+ }
408
+ ]
409
+ },
410
+ {
411
+ "name": "createPortConfig",
412
+ "protocol": "REST",
413
+ "method": "POST",
414
+ "entitypath": "{base_path}/{version}/ems/ont/eth/port-config?{query}",
415
+ "requestSchema": "schema.json",
416
+ "responseSchema": "schema.json",
417
+ "timeout": 0,
418
+ "sendEmpty": false,
419
+ "requestDatatype": "JSON",
420
+ "responseDatatype": "JSON",
421
+ "headers": {},
422
+ "responseObjects": [
423
+ {
424
+ "type": "default",
425
+ "key": "",
426
+ "mockFile": ""
427
+ }
428
+ ]
429
+ },
430
+ {
431
+ "name": "deletePortByDevice3",
432
+ "protocol": "REST",
433
+ "method": "DELETE",
434
+ "entitypath": "{base_path}/{version}/ems/ont/eth/port-config/device/{pathv1}/ont/{pathv2}/port/{pathv3}?{query}",
435
+ "requestSchema": "schema.json",
436
+ "responseSchema": "schema.json",
437
+ "timeout": 0,
438
+ "sendEmpty": false,
439
+ "requestDatatype": "JSON",
440
+ "responseDatatype": "JSON",
441
+ "headers": {},
442
+ "responseObjects": [
443
+ {
444
+ "type": "default",
445
+ "key": "",
446
+ "mockFile": ""
447
+ }
448
+ ]
449
+ },
450
+ {
451
+ "name": "deletePortByDevice4",
452
+ "protocol": "REST",
453
+ "method": "DELETE",
454
+ "entitypath": "{base_path}/{version}/ems/ont/eth/port-config/device/{pathv1}/shelf/{pathv2}/slot/{pathv3}/port/{pathv4}?{query}",
455
+ "requestSchema": "schema.json",
456
+ "responseSchema": "schema.json",
457
+ "timeout": 0,
458
+ "sendEmpty": false,
459
+ "requestDatatype": "JSON",
460
+ "responseDatatype": "JSON",
461
+ "headers": {},
462
+ "responseObjects": [
463
+ {
464
+ "type": "default",
465
+ "key": "",
466
+ "mockFile": ""
467
+ }
468
+ ]
469
+ },
470
+ {
471
+ "name": "getAllPortConfig1",
472
+ "protocol": "REST",
473
+ "method": "GET",
474
+ "entitypath": "{base_path}/{version}/ems/port-config?{query}",
475
+ "requestSchema": "schema.json",
476
+ "responseSchema": "schema.json",
477
+ "timeout": 0,
478
+ "sendEmpty": false,
479
+ "sendGetBody": false,
480
+ "requestDatatype": "JSON",
481
+ "responseDatatype": "JSON",
482
+ "headers": {},
483
+ "responseObjects": [
484
+ {
485
+ "type": "default",
486
+ "key": "",
487
+ "mockFile": ""
488
+ }
489
+ ]
490
+ },
491
+ {
492
+ "name": "createPortConfig1",
493
+ "protocol": "REST",
494
+ "method": "POST",
495
+ "entitypath": "{base_path}/{version}/ems/port-config?{query}",
496
+ "requestSchema": "schema.json",
497
+ "responseSchema": "schema.json",
498
+ "timeout": 0,
499
+ "sendEmpty": false,
500
+ "requestDatatype": "JSON",
501
+ "responseDatatype": "JSON",
502
+ "headers": {},
503
+ "responseObjects": [
504
+ {
505
+ "type": "default",
506
+ "key": "",
507
+ "mockFile": ""
508
+ }
509
+ ]
510
+ },
511
+ {
512
+ "name": "getAllService1",
513
+ "protocol": "REST",
514
+ "method": "GET",
515
+ "entitypath": "{base_path}/{version}/ems/service?{query}",
516
+ "requestSchema": "schema.json",
517
+ "responseSchema": "schema.json",
518
+ "timeout": 0,
519
+ "sendEmpty": false,
520
+ "sendGetBody": false,
521
+ "requestDatatype": "JSON",
522
+ "responseDatatype": "JSON",
523
+ "headers": {},
524
+ "responseObjects": [
525
+ {
526
+ "type": "default",
527
+ "key": "",
528
+ "mockFile": ""
529
+ }
530
+ ]
531
+ },
532
+ {
533
+ "name": "createService1",
534
+ "protocol": "REST",
535
+ "method": "POST",
536
+ "entitypath": "{base_path}/{version}/ems/service?{query}",
537
+ "requestSchema": "schema.json",
538
+ "responseSchema": "schema.json",
539
+ "timeout": 0,
540
+ "sendEmpty": false,
541
+ "requestDatatype": "JSON",
542
+ "responseDatatype": "JSON",
543
+ "headers": {},
544
+ "responseObjects": [
545
+ {
546
+ "type": "default",
547
+ "key": "",
548
+ "mockFile": ""
549
+ }
550
+ ]
551
+ },
552
+ {
553
+ "name": "updateService1",
554
+ "protocol": "REST",
555
+ "method": "PUT",
556
+ "entitypath": "{base_path}/{version}/ems/service?{query}",
557
+ "requestSchema": "schema.json",
558
+ "responseSchema": "schema.json",
559
+ "timeout": 0,
560
+ "sendEmpty": false,
561
+ "requestDatatype": "JSON",
562
+ "responseDatatype": "JSON",
563
+ "headers": {},
564
+ "responseObjects": [
565
+ {
566
+ "type": "default",
567
+ "key": "",
568
+ "mockFile": ""
569
+ }
570
+ ]
571
+ },
572
+ {
573
+ "name": "deleteService1",
574
+ "protocol": "REST",
575
+ "method": "DELETE",
576
+ "entitypath": "{base_path}/{version}/ems/service?{query}",
577
+ "requestSchema": "schema.json",
578
+ "responseSchema": "schema.json",
579
+ "timeout": 0,
580
+ "sendEmpty": false,
581
+ "requestDatatype": "JSON",
582
+ "responseDatatype": "JSON",
583
+ "headers": {},
584
+ "responseObjects": [
585
+ {
586
+ "type": "default",
587
+ "key": "",
588
+ "mockFile": ""
589
+ }
590
+ ]
591
+ },
592
+ {
593
+ "name": "createPortByDevice1",
594
+ "protocol": "REST",
595
+ "method": "POST",
596
+ "entitypath": "{base_path}/{version}/ems/service/device/{pathv1}/ont/{pathv2}/port/{pathv3}?{query}",
597
+ "requestSchema": "schema.json",
598
+ "responseSchema": "schema.json",
599
+ "timeout": 0,
600
+ "sendEmpty": false,
601
+ "requestDatatype": "JSON",
602
+ "responseDatatype": "JSON",
603
+ "headers": {},
604
+ "responseObjects": [
605
+ {
606
+ "type": "default",
607
+ "key": "",
608
+ "mockFile": ""
609
+ }
610
+ ]
611
+ },
612
+ {
613
+ "name": "deletePortByDevice5",
614
+ "protocol": "REST",
615
+ "method": "DELETE",
616
+ "entitypath": "{base_path}/{version}/ems/service/device/{pathv1}/ont/{pathv2}/port/{pathv3}?{query}",
617
+ "requestSchema": "schema.json",
618
+ "responseSchema": "schema.json",
619
+ "timeout": 0,
620
+ "sendEmpty": false,
621
+ "requestDatatype": "JSON",
622
+ "responseDatatype": "JSON",
623
+ "headers": {},
624
+ "responseObjects": [
625
+ {
626
+ "type": "default",
627
+ "key": "",
628
+ "mockFile": ""
629
+ }
630
+ ]
631
+ },
632
+ {
633
+ "name": "deleteGlobalvlanByDevice",
634
+ "protocol": "REST",
635
+ "method": "DELETE",
636
+ "entitypath": "{base_path}/{version}/ems/service/device/{pathv1}/ont/{pathv2}/port/{pathv3}/globalvlan/{pathv4}?{query}",
637
+ "requestSchema": "schema.json",
638
+ "responseSchema": "schema.json",
639
+ "timeout": 0,
640
+ "sendEmpty": false,
641
+ "requestDatatype": "JSON",
642
+ "responseDatatype": "JSON",
643
+ "headers": {},
644
+ "responseObjects": [
645
+ {
646
+ "type": "default",
647
+ "key": "",
648
+ "mockFile": ""
649
+ }
650
+ ]
651
+ },
652
+ {
653
+ "name": "deleteNameByDeviceByName",
654
+ "protocol": "REST",
655
+ "method": "DELETE",
656
+ "entitypath": "{base_path}/{version}/ems/service/device/{pathv1}/ont/{pathv2}/port/{pathv3}/name/{pathv4}?{query}",
657
+ "requestSchema": "schema.json",
658
+ "responseSchema": "schema.json",
659
+ "timeout": 0,
660
+ "sendEmpty": false,
661
+ "requestDatatype": "JSON",
662
+ "responseDatatype": "JSON",
663
+ "headers": {},
664
+ "responseObjects": [
665
+ {
666
+ "type": "default",
667
+ "key": "",
668
+ "mockFile": ""
669
+ }
670
+ ]
671
+ },
672
+ {
673
+ "name": "createVlanByDevice1",
674
+ "protocol": "REST",
675
+ "method": "POST",
676
+ "entitypath": "{base_path}/{version}/ems/service/device/{pathv1}/ont/{pathv2}/port/{pathv3}/vlan/{pathv4}?{query}",
677
+ "requestSchema": "schema.json",
678
+ "responseSchema": "schema.json",
679
+ "timeout": 0,
680
+ "sendEmpty": false,
681
+ "requestDatatype": "JSON",
682
+ "responseDatatype": "JSON",
683
+ "headers": {},
684
+ "responseObjects": [
685
+ {
686
+ "type": "default",
687
+ "key": "",
688
+ "mockFile": ""
689
+ }
690
+ ]
691
+ },
692
+ {
693
+ "name": "updateVlanByDevice1",
694
+ "protocol": "REST",
695
+ "method": "PUT",
696
+ "entitypath": "{base_path}/{version}/ems/service/device/{pathv1}/ont/{pathv2}/port/{pathv3}/vlan/{pathv4}?{query}",
697
+ "requestSchema": "schema.json",
698
+ "responseSchema": "schema.json",
699
+ "timeout": 0,
700
+ "sendEmpty": false,
701
+ "requestDatatype": "JSON",
702
+ "responseDatatype": "JSON",
703
+ "headers": {},
704
+ "responseObjects": [
705
+ {
706
+ "type": "default",
707
+ "key": "",
708
+ "mockFile": ""
709
+ }
710
+ ]
711
+ },
712
+ {
713
+ "name": "deleteCvlanByDevice",
714
+ "protocol": "REST",
715
+ "method": "DELETE",
716
+ "entitypath": "{base_path}/{version}/ems/service/device/{pathv1}/ont/{pathv2}/port/{pathv3}/vlan/{pathv4}/cvlan/{pathv5}?{query}",
717
+ "requestSchema": "schema.json",
718
+ "responseSchema": "schema.json",
719
+ "timeout": 0,
720
+ "sendEmpty": false,
721
+ "requestDatatype": "JSON",
722
+ "responseDatatype": "JSON",
723
+ "headers": {},
724
+ "responseObjects": [
725
+ {
726
+ "type": "default",
727
+ "key": "",
728
+ "mockFile": ""
729
+ }
730
+ ]
731
+ },
732
+ {
733
+ "name": "deletePortByDevice6",
734
+ "protocol": "REST",
735
+ "method": "DELETE",
736
+ "entitypath": "{base_path}/{version}/ems/service/device/{pathv1}/shelf/{pathv2}/slot/{pathv3}/port/{pathv4}?{query}",
737
+ "requestSchema": "schema.json",
738
+ "responseSchema": "schema.json",
739
+ "timeout": 0,
740
+ "sendEmpty": false,
741
+ "requestDatatype": "JSON",
742
+ "responseDatatype": "JSON",
743
+ "headers": {},
744
+ "responseObjects": [
745
+ {
746
+ "type": "default",
747
+ "key": "",
748
+ "mockFile": ""
749
+ }
750
+ ]
751
+ },
752
+ {
753
+ "name": "getServiceconfigByDevice",
754
+ "protocol": "REST",
755
+ "method": "GET",
756
+ "entitypath": "{base_path}/{version}/ems/service/device/{pathv1}/shelf/{pathv2}/slot/{pathv3}/port/{pathv4}/serviceconfig?{query}",
757
+ "requestSchema": "schema.json",
758
+ "responseSchema": "schema.json",
759
+ "timeout": 0,
760
+ "sendEmpty": false,
761
+ "sendGetBody": false,
762
+ "requestDatatype": "JSON",
763
+ "responseDatatype": "JSON",
764
+ "headers": {},
765
+ "responseObjects": [
766
+ {
767
+ "type": "default",
768
+ "key": "",
769
+ "mockFile": ""
770
+ }
771
+ ]
772
+ },
773
+ {
774
+ "name": "deleteVlanByDevice2",
775
+ "protocol": "REST",
776
+ "method": "DELETE",
777
+ "entitypath": "{base_path}/{version}/ems/service/device/{pathv1}/shelf/{pathv2}/slot/{pathv3}/port/{pathv4}/vlan/{pathv5}?{query}",
778
+ "requestSchema": "schema.json",
779
+ "responseSchema": "schema.json",
780
+ "timeout": 0,
781
+ "sendEmpty": false,
782
+ "requestDatatype": "JSON",
783
+ "responseDatatype": "JSON",
784
+ "headers": {},
785
+ "responseObjects": [
786
+ {
787
+ "type": "default",
788
+ "key": "",
789
+ "mockFile": ""
790
+ }
791
+ ]
792
+ },
793
+ {
794
+ "name": "createOntByDevice1",
795
+ "protocol": "REST",
796
+ "method": "POST",
797
+ "entitypath": "{base_path}/{version}/ems/service/device/{pathv1}/subscriber/{pathv2}/ont/{pathv3}?{query}",
798
+ "requestSchema": "schema.json",
799
+ "responseSchema": "schema.json",
800
+ "timeout": 0,
801
+ "sendEmpty": false,
802
+ "requestDatatype": "JSON",
803
+ "responseDatatype": "JSON",
804
+ "headers": {},
805
+ "responseObjects": [
806
+ {
807
+ "type": "default",
808
+ "key": "",
809
+ "mockFile": ""
810
+ }
811
+ ]
812
+ },
813
+ {
814
+ "name": "deleteOntByDevice1",
815
+ "protocol": "REST",
816
+ "method": "DELETE",
817
+ "entitypath": "{base_path}/{version}/ems/service/device/{pathv1}/subscriber/{pathv2}/ont/{pathv3}?{query}",
818
+ "requestSchema": "schema.json",
819
+ "responseSchema": "schema.json",
820
+ "timeout": 0,
821
+ "sendEmpty": false,
822
+ "requestDatatype": "JSON",
823
+ "responseDatatype": "JSON",
824
+ "headers": {},
825
+ "responseObjects": [
826
+ {
827
+ "type": "default",
828
+ "key": "",
829
+ "mockFile": ""
830
+ }
831
+ ]
832
+ },
833
+ {
834
+ "name": "getAllSubscriber1",
835
+ "protocol": "REST",
836
+ "method": "GET",
837
+ "entitypath": "{base_path}/{version}/ems/view/subscriber?{query}",
838
+ "requestSchema": "schema.json",
839
+ "responseSchema": "schema.json",
840
+ "timeout": 0,
841
+ "sendEmpty": false,
842
+ "sendGetBody": false,
843
+ "requestDatatype": "JSON",
844
+ "responseDatatype": "JSON",
845
+ "headers": {},
846
+ "responseObjects": [
847
+ {
848
+ "type": "default",
849
+ "key": "",
850
+ "mockFile": ""
851
+ }
852
+ ]
853
+ }
854
+ ]
855
+ }