@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,841 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getAllConfig",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/config?{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": "getCpeAutoUpgradeByDevice",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/config/device/{pathv1}/cpe-auto-upgrade?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "sendGetBody": false,
34
+ "requestDatatype": "JSON",
35
+ "responseDatatype": "JSON",
36
+ "headers": {},
37
+ "responseObjects": [
38
+ {
39
+ "type": "default",
40
+ "key": "",
41
+ "mockFile": ""
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "name": "createCpeAutoUpgradeByDevice",
47
+ "protocol": "REST",
48
+ "method": "POST",
49
+ "entitypath": "{base_path}/{version}/config/device/{pathv1}/cpe-auto-upgrade/{pathv2}?{query}",
50
+ "requestSchema": "schema.json",
51
+ "responseSchema": "schema.json",
52
+ "timeout": 0,
53
+ "sendEmpty": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": ""
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "name": "getAllServiceTemplate",
67
+ "protocol": "REST",
68
+ "method": "GET",
69
+ "entitypath": "{base_path}/{version}/config/service-template?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "sendGetBody": false,
75
+ "requestDatatype": "JSON",
76
+ "responseDatatype": "JSON",
77
+ "headers": {},
78
+ "responseObjects": [
79
+ {
80
+ "type": "default",
81
+ "key": "",
82
+ "mockFile": ""
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "name": "createServiceTemplate",
88
+ "protocol": "REST",
89
+ "method": "POST",
90
+ "entitypath": "{base_path}/{version}/config/service-template?{query}",
91
+ "requestSchema": "schema.json",
92
+ "responseSchema": "schema.json",
93
+ "timeout": 0,
94
+ "sendEmpty": false,
95
+ "requestDatatype": "JSON",
96
+ "responseDatatype": "JSON",
97
+ "headers": {},
98
+ "responseObjects": [
99
+ {
100
+ "type": "default",
101
+ "key": "",
102
+ "mockFile": ""
103
+ }
104
+ ]
105
+ },
106
+ {
107
+ "name": "updateServiceTemplate",
108
+ "protocol": "REST",
109
+ "method": "PUT",
110
+ "entitypath": "{base_path}/{version}/config/service-template?{query}",
111
+ "requestSchema": "schema.json",
112
+ "responseSchema": "schema.json",
113
+ "timeout": 0,
114
+ "sendEmpty": 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": "getServiceTemplate",
128
+ "protocol": "REST",
129
+ "method": "GET",
130
+ "entitypath": "{base_path}/{version}/config/service-template/{pathv1}?{query}",
131
+ "requestSchema": "schema.json",
132
+ "responseSchema": "schema.json",
133
+ "timeout": 0,
134
+ "sendEmpty": false,
135
+ "sendGetBody": false,
136
+ "requestDatatype": "JSON",
137
+ "responseDatatype": "JSON",
138
+ "headers": {},
139
+ "responseObjects": [
140
+ {
141
+ "type": "default",
142
+ "key": "",
143
+ "mockFile": ""
144
+ }
145
+ ]
146
+ },
147
+ {
148
+ "name": "deleteServiceTemplate",
149
+ "protocol": "REST",
150
+ "method": "DELETE",
151
+ "entitypath": "{base_path}/{version}/config/service-template/{pathv1}?{query}",
152
+ "requestSchema": "schema.json",
153
+ "responseSchema": "schema.json",
154
+ "timeout": 0,
155
+ "sendEmpty": 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": "getAllCpeUpgradesTemplate",
169
+ "protocol": "REST",
170
+ "method": "GET",
171
+ "entitypath": "{base_path}/{version}/config/template/cpe-upgrades-template?{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": "createCpeUpgradesTemplate",
190
+ "protocol": "REST",
191
+ "method": "POST",
192
+ "entitypath": "{base_path}/{version}/config/template/cpe-upgrades-template?{query}",
193
+ "requestSchema": "schema.json",
194
+ "responseSchema": "schema.json",
195
+ "timeout": 0,
196
+ "sendEmpty": false,
197
+ "requestDatatype": "JSON",
198
+ "responseDatatype": "JSON",
199
+ "headers": {},
200
+ "responseObjects": [
201
+ {
202
+ "type": "default",
203
+ "key": "",
204
+ "mockFile": ""
205
+ }
206
+ ]
207
+ },
208
+ {
209
+ "name": "updateCpeUpgradesTemplate",
210
+ "protocol": "REST",
211
+ "method": "PUT",
212
+ "entitypath": "{base_path}/{version}/config/template/cpe-upgrades-template?{query}",
213
+ "requestSchema": "schema.json",
214
+ "responseSchema": "schema.json",
215
+ "timeout": 0,
216
+ "sendEmpty": false,
217
+ "requestDatatype": "JSON",
218
+ "responseDatatype": "JSON",
219
+ "headers": {},
220
+ "responseObjects": [
221
+ {
222
+ "type": "default",
223
+ "key": "",
224
+ "mockFile": ""
225
+ }
226
+ ]
227
+ },
228
+ {
229
+ "name": "createAutoUpgradeByDevice",
230
+ "protocol": "REST",
231
+ "method": "POST",
232
+ "entitypath": "{base_path}/{version}/config/template/cpe-upgrades-template/device-name/{pathv1}/auto-upgrade/{pathv2}?{query}",
233
+ "requestSchema": "schema.json",
234
+ "responseSchema": "schema.json",
235
+ "timeout": 0,
236
+ "sendEmpty": false,
237
+ "requestDatatype": "JSON",
238
+ "responseDatatype": "JSON",
239
+ "headers": {},
240
+ "responseObjects": [
241
+ {
242
+ "type": "default",
243
+ "key": "",
244
+ "mockFile": ""
245
+ }
246
+ ]
247
+ },
248
+ {
249
+ "name": "getCpeUpgradesTemplate",
250
+ "protocol": "REST",
251
+ "method": "GET",
252
+ "entitypath": "{base_path}/{version}/config/template/cpe-upgrades-template/{pathv1}?{query}",
253
+ "requestSchema": "schema.json",
254
+ "responseSchema": "schema.json",
255
+ "timeout": 0,
256
+ "sendEmpty": false,
257
+ "sendGetBody": false,
258
+ "requestDatatype": "JSON",
259
+ "responseDatatype": "JSON",
260
+ "headers": {},
261
+ "responseObjects": [
262
+ {
263
+ "type": "default",
264
+ "key": "",
265
+ "mockFile": ""
266
+ }
267
+ ]
268
+ },
269
+ {
270
+ "name": "deleteCpeUpgradesTemplate",
271
+ "protocol": "REST",
272
+ "method": "DELETE",
273
+ "entitypath": "{base_path}/{version}/config/template/cpe-upgrades-template/{pathv1}?{query}",
274
+ "requestSchema": "schema.json",
275
+ "responseSchema": "schema.json",
276
+ "timeout": 0,
277
+ "sendEmpty": false,
278
+ "requestDatatype": "JSON",
279
+ "responseDatatype": "JSON",
280
+ "headers": {},
281
+ "responseObjects": [
282
+ {
283
+ "type": "default",
284
+ "key": "",
285
+ "mockFile": ""
286
+ }
287
+ ]
288
+ },
289
+ {
290
+ "name": "createPortByDevice",
291
+ "protocol": "REST",
292
+ "method": "POST",
293
+ "entitypath": "{base_path}/{version}/config/template/cpe-upgrades-template/{pathv1}/apply-on/device-name/{pathv2}/port/{pathv3}?{query}",
294
+ "requestSchema": "schema.json",
295
+ "responseSchema": "schema.json",
296
+ "timeout": 0,
297
+ "sendEmpty": false,
298
+ "requestDatatype": "JSON",
299
+ "responseDatatype": "JSON",
300
+ "headers": {},
301
+ "responseObjects": [
302
+ {
303
+ "type": "default",
304
+ "key": "",
305
+ "mockFile": ""
306
+ }
307
+ ]
308
+ },
309
+ {
310
+ "name": "getAllMegTemplate",
311
+ "protocol": "REST",
312
+ "method": "GET",
313
+ "entitypath": "{base_path}/{version}/config/template/meg-template?{query}",
314
+ "requestSchema": "schema.json",
315
+ "responseSchema": "schema.json",
316
+ "timeout": 0,
317
+ "sendEmpty": false,
318
+ "sendGetBody": false,
319
+ "requestDatatype": "JSON",
320
+ "responseDatatype": "JSON",
321
+ "headers": {},
322
+ "responseObjects": [
323
+ {
324
+ "type": "default",
325
+ "key": "",
326
+ "mockFile": ""
327
+ }
328
+ ]
329
+ },
330
+ {
331
+ "name": "createMegTemplate",
332
+ "protocol": "REST",
333
+ "method": "POST",
334
+ "entitypath": "{base_path}/{version}/config/template/meg-template?{query}",
335
+ "requestSchema": "schema.json",
336
+ "responseSchema": "schema.json",
337
+ "timeout": 0,
338
+ "sendEmpty": false,
339
+ "requestDatatype": "JSON",
340
+ "responseDatatype": "JSON",
341
+ "headers": {},
342
+ "responseObjects": [
343
+ {
344
+ "type": "default",
345
+ "key": "",
346
+ "mockFile": ""
347
+ }
348
+ ]
349
+ },
350
+ {
351
+ "name": "updateMegTemplate",
352
+ "protocol": "REST",
353
+ "method": "PUT",
354
+ "entitypath": "{base_path}/{version}/config/template/meg-template?{query}",
355
+ "requestSchema": "schema.json",
356
+ "responseSchema": "schema.json",
357
+ "timeout": 0,
358
+ "sendEmpty": false,
359
+ "requestDatatype": "JSON",
360
+ "responseDatatype": "JSON",
361
+ "headers": {},
362
+ "responseObjects": [
363
+ {
364
+ "type": "default",
365
+ "key": "",
366
+ "mockFile": ""
367
+ }
368
+ ]
369
+ },
370
+ {
371
+ "name": "getMegTemplate",
372
+ "protocol": "REST",
373
+ "method": "GET",
374
+ "entitypath": "{base_path}/{version}/config/template/meg-template/{pathv1}?{query}",
375
+ "requestSchema": "schema.json",
376
+ "responseSchema": "schema.json",
377
+ "timeout": 0,
378
+ "sendEmpty": false,
379
+ "sendGetBody": false,
380
+ "requestDatatype": "JSON",
381
+ "responseDatatype": "JSON",
382
+ "headers": {},
383
+ "responseObjects": [
384
+ {
385
+ "type": "default",
386
+ "key": "",
387
+ "mockFile": ""
388
+ }
389
+ ]
390
+ },
391
+ {
392
+ "name": "deleteMegTemplate",
393
+ "protocol": "REST",
394
+ "method": "DELETE",
395
+ "entitypath": "{base_path}/{version}/config/template/meg-template/{pathv1}?{query}",
396
+ "requestSchema": "schema.json",
397
+ "responseSchema": "schema.json",
398
+ "timeout": 0,
399
+ "sendEmpty": false,
400
+ "requestDatatype": "JSON",
401
+ "responseDatatype": "JSON",
402
+ "headers": {},
403
+ "responseObjects": [
404
+ {
405
+ "type": "default",
406
+ "key": "",
407
+ "mockFile": ""
408
+ }
409
+ ]
410
+ },
411
+ {
412
+ "name": "getAllNodeTemplate",
413
+ "protocol": "REST",
414
+ "method": "GET",
415
+ "entitypath": "{base_path}/{version}/config/template/node-template?{query}",
416
+ "requestSchema": "schema.json",
417
+ "responseSchema": "schema.json",
418
+ "timeout": 0,
419
+ "sendEmpty": false,
420
+ "sendGetBody": false,
421
+ "requestDatatype": "JSON",
422
+ "responseDatatype": "JSON",
423
+ "headers": {},
424
+ "responseObjects": [
425
+ {
426
+ "type": "default",
427
+ "key": "",
428
+ "mockFile": ""
429
+ }
430
+ ]
431
+ },
432
+ {
433
+ "name": "createNodeTemplate",
434
+ "protocol": "REST",
435
+ "method": "POST",
436
+ "entitypath": "{base_path}/{version}/config/template/node-template?{query}",
437
+ "requestSchema": "schema.json",
438
+ "responseSchema": "schema.json",
439
+ "timeout": 0,
440
+ "sendEmpty": false,
441
+ "requestDatatype": "JSON",
442
+ "responseDatatype": "JSON",
443
+ "headers": {},
444
+ "responseObjects": [
445
+ {
446
+ "type": "default",
447
+ "key": "",
448
+ "mockFile": ""
449
+ }
450
+ ]
451
+ },
452
+ {
453
+ "name": "updateNodeTemplate",
454
+ "protocol": "REST",
455
+ "method": "PUT",
456
+ "entitypath": "{base_path}/{version}/config/template/node-template?{query}",
457
+ "requestSchema": "schema.json",
458
+ "responseSchema": "schema.json",
459
+ "timeout": 0,
460
+ "sendEmpty": false,
461
+ "requestDatatype": "JSON",
462
+ "responseDatatype": "JSON",
463
+ "headers": {},
464
+ "responseObjects": [
465
+ {
466
+ "type": "default",
467
+ "key": "",
468
+ "mockFile": ""
469
+ }
470
+ ]
471
+ },
472
+ {
473
+ "name": "getNodeTemplate",
474
+ "protocol": "REST",
475
+ "method": "GET",
476
+ "entitypath": "{base_path}/{version}/config/template/node-template/{pathv1}?{query}",
477
+ "requestSchema": "schema.json",
478
+ "responseSchema": "schema.json",
479
+ "timeout": 0,
480
+ "sendEmpty": false,
481
+ "sendGetBody": false,
482
+ "requestDatatype": "JSON",
483
+ "responseDatatype": "JSON",
484
+ "headers": {},
485
+ "responseObjects": [
486
+ {
487
+ "type": "default",
488
+ "key": "",
489
+ "mockFile": ""
490
+ }
491
+ ]
492
+ },
493
+ {
494
+ "name": "deleteNodeTemplate",
495
+ "protocol": "REST",
496
+ "method": "DELETE",
497
+ "entitypath": "{base_path}/{version}/config/template/node-template/{pathv1}?{query}",
498
+ "requestSchema": "schema.json",
499
+ "responseSchema": "schema.json",
500
+ "timeout": 0,
501
+ "sendEmpty": false,
502
+ "requestDatatype": "JSON",
503
+ "responseDatatype": "JSON",
504
+ "headers": {},
505
+ "responseObjects": [
506
+ {
507
+ "type": "default",
508
+ "key": "",
509
+ "mockFile": ""
510
+ }
511
+ ]
512
+ },
513
+ {
514
+ "name": "getAllOntTemplate",
515
+ "protocol": "REST",
516
+ "method": "GET",
517
+ "entitypath": "{base_path}/{version}/config/template/ont-template?{query}",
518
+ "requestSchema": "schema.json",
519
+ "responseSchema": "schema.json",
520
+ "timeout": 0,
521
+ "sendEmpty": false,
522
+ "sendGetBody": false,
523
+ "requestDatatype": "JSON",
524
+ "responseDatatype": "JSON",
525
+ "headers": {},
526
+ "responseObjects": [
527
+ {
528
+ "type": "default",
529
+ "key": "",
530
+ "mockFile": ""
531
+ }
532
+ ]
533
+ },
534
+ {
535
+ "name": "createOntTemplate",
536
+ "protocol": "REST",
537
+ "method": "POST",
538
+ "entitypath": "{base_path}/{version}/config/template/ont-template?{query}",
539
+ "requestSchema": "schema.json",
540
+ "responseSchema": "schema.json",
541
+ "timeout": 0,
542
+ "sendEmpty": false,
543
+ "requestDatatype": "JSON",
544
+ "responseDatatype": "JSON",
545
+ "headers": {},
546
+ "responseObjects": [
547
+ {
548
+ "type": "default",
549
+ "key": "",
550
+ "mockFile": ""
551
+ }
552
+ ]
553
+ },
554
+ {
555
+ "name": "updateOntTemplate",
556
+ "protocol": "REST",
557
+ "method": "PUT",
558
+ "entitypath": "{base_path}/{version}/config/template/ont-template?{query}",
559
+ "requestSchema": "schema.json",
560
+ "responseSchema": "schema.json",
561
+ "timeout": 0,
562
+ "sendEmpty": false,
563
+ "requestDatatype": "JSON",
564
+ "responseDatatype": "JSON",
565
+ "headers": {},
566
+ "responseObjects": [
567
+ {
568
+ "type": "default",
569
+ "key": "",
570
+ "mockFile": ""
571
+ }
572
+ ]
573
+ },
574
+ {
575
+ "name": "getOntTemplate",
576
+ "protocol": "REST",
577
+ "method": "GET",
578
+ "entitypath": "{base_path}/{version}/config/template/ont-template/{pathv1}?{query}",
579
+ "requestSchema": "schema.json",
580
+ "responseSchema": "schema.json",
581
+ "timeout": 0,
582
+ "sendEmpty": false,
583
+ "sendGetBody": false,
584
+ "requestDatatype": "JSON",
585
+ "responseDatatype": "JSON",
586
+ "headers": {},
587
+ "responseObjects": [
588
+ {
589
+ "type": "default",
590
+ "key": "",
591
+ "mockFile": ""
592
+ }
593
+ ]
594
+ },
595
+ {
596
+ "name": "deleteOntTemplate",
597
+ "protocol": "REST",
598
+ "method": "DELETE",
599
+ "entitypath": "{base_path}/{version}/config/template/ont-template/{pathv1}?{query}",
600
+ "requestSchema": "schema.json",
601
+ "responseSchema": "schema.json",
602
+ "timeout": 0,
603
+ "sendEmpty": false,
604
+ "requestDatatype": "JSON",
605
+ "responseDatatype": "JSON",
606
+ "headers": {},
607
+ "responseObjects": [
608
+ {
609
+ "type": "default",
610
+ "key": "",
611
+ "mockFile": ""
612
+ }
613
+ ]
614
+ },
615
+ {
616
+ "name": "getAllPortTemplate",
617
+ "protocol": "REST",
618
+ "method": "GET",
619
+ "entitypath": "{base_path}/{version}/config/template/port-template?{query}",
620
+ "requestSchema": "schema.json",
621
+ "responseSchema": "schema.json",
622
+ "timeout": 0,
623
+ "sendEmpty": false,
624
+ "sendGetBody": false,
625
+ "requestDatatype": "JSON",
626
+ "responseDatatype": "JSON",
627
+ "headers": {},
628
+ "responseObjects": [
629
+ {
630
+ "type": "default",
631
+ "key": "",
632
+ "mockFile": ""
633
+ }
634
+ ]
635
+ },
636
+ {
637
+ "name": "createPortTemplate",
638
+ "protocol": "REST",
639
+ "method": "POST",
640
+ "entitypath": "{base_path}/{version}/config/template/port-template?{query}",
641
+ "requestSchema": "schema.json",
642
+ "responseSchema": "schema.json",
643
+ "timeout": 0,
644
+ "sendEmpty": false,
645
+ "requestDatatype": "JSON",
646
+ "responseDatatype": "JSON",
647
+ "headers": {},
648
+ "responseObjects": [
649
+ {
650
+ "type": "default",
651
+ "key": "",
652
+ "mockFile": ""
653
+ }
654
+ ]
655
+ },
656
+ {
657
+ "name": "updatePortTemplate",
658
+ "protocol": "REST",
659
+ "method": "PUT",
660
+ "entitypath": "{base_path}/{version}/config/template/port-template?{query}",
661
+ "requestSchema": "schema.json",
662
+ "responseSchema": "schema.json",
663
+ "timeout": 0,
664
+ "sendEmpty": false,
665
+ "requestDatatype": "JSON",
666
+ "responseDatatype": "JSON",
667
+ "headers": {},
668
+ "responseObjects": [
669
+ {
670
+ "type": "default",
671
+ "key": "",
672
+ "mockFile": ""
673
+ }
674
+ ]
675
+ },
676
+ {
677
+ "name": "getPortType",
678
+ "protocol": "REST",
679
+ "method": "GET",
680
+ "entitypath": "{base_path}/{version}/config/template/port-template/port-type/{pathv1}?{query}",
681
+ "requestSchema": "schema.json",
682
+ "responseSchema": "schema.json",
683
+ "timeout": 0,
684
+ "sendEmpty": false,
685
+ "sendGetBody": false,
686
+ "requestDatatype": "JSON",
687
+ "responseDatatype": "JSON",
688
+ "headers": {},
689
+ "responseObjects": [
690
+ {
691
+ "type": "default",
692
+ "key": "",
693
+ "mockFile": ""
694
+ }
695
+ ]
696
+ },
697
+ {
698
+ "name": "getPortTemplate",
699
+ "protocol": "REST",
700
+ "method": "GET",
701
+ "entitypath": "{base_path}/{version}/config/template/port-template/{pathv1}?{query}",
702
+ "requestSchema": "schema.json",
703
+ "responseSchema": "schema.json",
704
+ "timeout": 0,
705
+ "sendEmpty": false,
706
+ "sendGetBody": false,
707
+ "requestDatatype": "JSON",
708
+ "responseDatatype": "JSON",
709
+ "headers": {},
710
+ "responseObjects": [
711
+ {
712
+ "type": "default",
713
+ "key": "",
714
+ "mockFile": ""
715
+ }
716
+ ]
717
+ },
718
+ {
719
+ "name": "deletePortTemplate",
720
+ "protocol": "REST",
721
+ "method": "DELETE",
722
+ "entitypath": "{base_path}/{version}/config/template/port-template/{pathv1}?{query}",
723
+ "requestSchema": "schema.json",
724
+ "responseSchema": "schema.json",
725
+ "timeout": 0,
726
+ "sendEmpty": false,
727
+ "requestDatatype": "JSON",
728
+ "responseDatatype": "JSON",
729
+ "headers": {},
730
+ "responseObjects": [
731
+ {
732
+ "type": "default",
733
+ "key": "",
734
+ "mockFile": ""
735
+ }
736
+ ]
737
+ },
738
+ {
739
+ "name": "getAllServiceTemplate1",
740
+ "protocol": "REST",
741
+ "method": "GET",
742
+ "entitypath": "{base_path}/{version}/config/template/service-template?{query}",
743
+ "requestSchema": "schema.json",
744
+ "responseSchema": "schema.json",
745
+ "timeout": 0,
746
+ "sendEmpty": false,
747
+ "sendGetBody": false,
748
+ "requestDatatype": "JSON",
749
+ "responseDatatype": "JSON",
750
+ "headers": {},
751
+ "responseObjects": [
752
+ {
753
+ "type": "default",
754
+ "key": "",
755
+ "mockFile": ""
756
+ }
757
+ ]
758
+ },
759
+ {
760
+ "name": "createServiceTemplate1",
761
+ "protocol": "REST",
762
+ "method": "POST",
763
+ "entitypath": "{base_path}/{version}/config/template/service-template?{query}",
764
+ "requestSchema": "schema.json",
765
+ "responseSchema": "schema.json",
766
+ "timeout": 0,
767
+ "sendEmpty": false,
768
+ "requestDatatype": "JSON",
769
+ "responseDatatype": "JSON",
770
+ "headers": {},
771
+ "responseObjects": [
772
+ {
773
+ "type": "default",
774
+ "key": "",
775
+ "mockFile": ""
776
+ }
777
+ ]
778
+ },
779
+ {
780
+ "name": "updateServiceTemplate1",
781
+ "protocol": "REST",
782
+ "method": "PUT",
783
+ "entitypath": "{base_path}/{version}/config/template/service-template?{query}",
784
+ "requestSchema": "schema.json",
785
+ "responseSchema": "schema.json",
786
+ "timeout": 0,
787
+ "sendEmpty": false,
788
+ "requestDatatype": "JSON",
789
+ "responseDatatype": "JSON",
790
+ "headers": {},
791
+ "responseObjects": [
792
+ {
793
+ "type": "default",
794
+ "key": "",
795
+ "mockFile": ""
796
+ }
797
+ ]
798
+ },
799
+ {
800
+ "name": "getServiceTemplate1",
801
+ "protocol": "REST",
802
+ "method": "GET",
803
+ "entitypath": "{base_path}/{version}/config/template/service-template/{pathv1}?{query}",
804
+ "requestSchema": "schema.json",
805
+ "responseSchema": "schema.json",
806
+ "timeout": 0,
807
+ "sendEmpty": false,
808
+ "sendGetBody": false,
809
+ "requestDatatype": "JSON",
810
+ "responseDatatype": "JSON",
811
+ "headers": {},
812
+ "responseObjects": [
813
+ {
814
+ "type": "default",
815
+ "key": "",
816
+ "mockFile": ""
817
+ }
818
+ ]
819
+ },
820
+ {
821
+ "name": "deleteServiceTemplate1",
822
+ "protocol": "REST",
823
+ "method": "DELETE",
824
+ "entitypath": "{base_path}/{version}/config/template/service-template/{pathv1}?{query}",
825
+ "requestSchema": "schema.json",
826
+ "responseSchema": "schema.json",
827
+ "timeout": 0,
828
+ "sendEmpty": false,
829
+ "requestDatatype": "JSON",
830
+ "responseDatatype": "JSON",
831
+ "headers": {},
832
+ "responseObjects": [
833
+ {
834
+ "type": "default",
835
+ "key": "",
836
+ "mockFile": ""
837
+ }
838
+ ]
839
+ }
840
+ ]
841
+ }