@itentialopensource/adapter-nokia_nsp_device_administrator 0.1.4

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 (70) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/AUTH.md +39 -0
  5. package/BROKER.md +199 -0
  6. package/CALLS.md +326 -0
  7. package/CHANGELOG.md +32 -0
  8. package/CODE_OF_CONDUCT.md +43 -0
  9. package/CONTRIBUTING.md +172 -0
  10. package/ENHANCE.md +69 -0
  11. package/LICENSE +201 -0
  12. package/PROPERTIES.md +641 -0
  13. package/README.md +337 -0
  14. package/SUMMARY.md +9 -0
  15. package/SYSTEMINFO.md +11 -0
  16. package/TROUBLESHOOT.md +47 -0
  17. package/adapter.js +3059 -0
  18. package/adapterBase.js +1787 -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/NeControlDiscovery/action.json +125 -0
  28. package/entities/NeControlDiscovery/schema.json +24 -0
  29. package/entities/NeControlDiscoveryRule/action.json +167 -0
  30. package/entities/NeControlDiscoveryRule/schema.json +26 -0
  31. package/entities/NeMediationPolicy/action.json +127 -0
  32. package/entities/NeMediationPolicy/schema.json +24 -0
  33. package/entities/NeProtocol/action.json +64 -0
  34. package/entities/NeProtocol/schema.json +21 -0
  35. package/entities/NeUser/action.json +64 -0
  36. package/entities/NeUser/schema.json +21 -0
  37. package/error.json +190 -0
  38. package/package.json +86 -0
  39. package/pronghorn.json +1616 -0
  40. package/propertiesDecorators.json +14 -0
  41. package/propertiesSchema.json +1248 -0
  42. package/refs?service=git-upload-pack +0 -0
  43. package/report/adapterInfo.json +10 -0
  44. package/report/creationReport.json +400 -0
  45. package/report/device-administrator-22.11-v1.json-OpenApi3Json.json +1358 -0
  46. package/sampleProperties.json +195 -0
  47. package/test/integration/adapterTestBasicGet.js +83 -0
  48. package/test/integration/adapterTestConnectivity.js +93 -0
  49. package/test/integration/adapterTestIntegration.js +1018 -0
  50. package/test/unit/adapterBaseTestUnit.js +949 -0
  51. package/test/unit/adapterTestUnit.js +2150 -0
  52. package/utils/adapterInfo.js +206 -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 +178 -0
  58. package/utils/findPath.js +74 -0
  59. package/utils/methodDocumentor.js +225 -0
  60. package/utils/modify.js +154 -0
  61. package/utils/packModificationScript.js +35 -0
  62. package/utils/patches2bundledDeps.js +90 -0
  63. package/utils/pre-commit.sh +32 -0
  64. package/utils/removeHooks.js +20 -0
  65. package/utils/setup.js +33 -0
  66. package/utils/tbScript.js +246 -0
  67. package/utils/tbUtils.js +490 -0
  68. package/utils/testRunner.js +298 -0
  69. package/utils/troubleshootingAdapter.js +195 -0
  70. package/workflows/README.md +3 -0
@@ -0,0 +1,1358 @@
1
+ {
2
+ "openapi": "3.0.0",
3
+ "info": {
4
+ "title": "Device Administrator API Reference ",
5
+ "description": "[A brief sandbox description of the NSP Application and its REST interfaces]<br /><br />For access authorization and authentication for sandbox, see <a href=\"auth.html\">REST API Authentication</a>.<br />",
6
+ "contact": {},
7
+ "version": "1.0"
8
+ },
9
+ "servers": [
10
+ {
11
+ "url": "https://145.40.97.58:8548/mdm-necontrol-rest-api-app/api",
12
+ "variables": {}
13
+ }
14
+ ],
15
+ "paths": {
16
+ "/neControl/discover/alarmDictionaryChecker/{alarmDictName}": {
17
+ "post": {
18
+ "tags": [
19
+ "ne-control-discovery"
20
+ ],
21
+ "summary": "alarmDictionaryCheckerUsingPOST",
22
+ "description": "alarmDictionaryChecker",
23
+ "operationId": "alarmDictionaryCheckerUsingPOST",
24
+ "parameters": [
25
+ {
26
+ "name": "alarmDictName",
27
+ "in": "path",
28
+ "description": "alarmDictName",
29
+ "required": true,
30
+ "style": "simple",
31
+ "schema": {
32
+ "type": "string"
33
+ }
34
+ }
35
+ ],
36
+ "requestBody": {
37
+ "description": "aInAlarmDictionaryCheckerInfo",
38
+ "content": {
39
+ "application/json": {
40
+ "schema": {
41
+ "type": "string",
42
+ "description": "aInAlarmDictionaryCheckerInfo"
43
+ }
44
+ }
45
+ },
46
+ "required": true
47
+ },
48
+ "responses": {
49
+ "200": {
50
+ "description": "OK",
51
+ "headers": {},
52
+ "content": {
53
+ "*/*": {
54
+ "schema": {}
55
+ }
56
+ }
57
+ }
58
+ },
59
+ "deprecated": false,
60
+ "security": [
61
+ {
62
+ "RESTToken": [
63
+ "global"
64
+ ]
65
+ }
66
+ ]
67
+ }
68
+ },
69
+ "/neControl/discover/discoverNes": {
70
+ "post": {
71
+ "tags": [
72
+ "ne-control-discovery"
73
+ ],
74
+ "summary": "discoverNesUsingPOST",
75
+ "description": "discoverNes",
76
+ "operationId": "discoverNesUsingPOST",
77
+ "parameters": [],
78
+ "requestBody": {
79
+ "description": "discRuleJson",
80
+ "content": {
81
+ "application/json": {
82
+ "schema": {
83
+ "type": "object",
84
+ "description": "discRuleJson"
85
+ }
86
+ }
87
+ },
88
+ "required": true
89
+ },
90
+ "responses": {
91
+ "200": {
92
+ "description": "OK",
93
+ "headers": {},
94
+ "content": {
95
+ "application/json": {
96
+ "schema": {
97
+ "$ref": "#/components/schemas/ResponseDatastring"
98
+ }
99
+ }
100
+ }
101
+ }
102
+ },
103
+ "deprecated": false,
104
+ "security": [
105
+ {
106
+ "RESTToken": [
107
+ "global"
108
+ ]
109
+ }
110
+ ]
111
+ }
112
+ },
113
+ "/neControl/discover/listNes": {
114
+ "get": {
115
+ "tags": [
116
+ "ne-control-discovery"
117
+ ],
118
+ "summary": "listDiscoveredNesUsingGET",
119
+ "description": "listDiscoveredNes",
120
+ "operationId": "listDiscoveredNesUsingGET",
121
+ "parameters": [],
122
+ "responses": {
123
+ "200": {
124
+ "description": "OK",
125
+ "headers": {},
126
+ "content": {
127
+ "*/*": {
128
+ "schema": {}
129
+ }
130
+ }
131
+ }
132
+ },
133
+ "deprecated": false,
134
+ "security": [
135
+ {
136
+ "RESTToken": [
137
+ "global"
138
+ ]
139
+ }
140
+ ]
141
+ }
142
+ },
143
+ "/neControl/discover/{fdn}/fullresync/": {
144
+ "put": {
145
+ "tags": [
146
+ "ne-control-discovery"
147
+ ],
148
+ "summary": "fullNeResyncUsingPUT",
149
+ "description": "fullNeResync",
150
+ "operationId": "fullNeResyncUsingPUT",
151
+ "parameters": [
152
+ {
153
+ "name": "fdn",
154
+ "in": "path",
155
+ "description": "fdn",
156
+ "required": true,
157
+ "style": "simple",
158
+ "schema": {
159
+ "type": "string"
160
+ }
161
+ },
162
+ {
163
+ "name": "Content-Type",
164
+ "in": "header",
165
+ "description": "",
166
+ "required": true,
167
+ "style": "simple",
168
+ "schema": {
169
+ "enum": [
170
+ "application/json"
171
+ ],
172
+ "type": "string"
173
+ }
174
+ }
175
+ ],
176
+ "responses": {
177
+ "200": {
178
+ "description": "OK",
179
+ "headers": {},
180
+ "content": {
181
+ "application/json": {
182
+ "schema": {
183
+ "$ref": "#/components/schemas/ResponseDatastring"
184
+ }
185
+ }
186
+ }
187
+ }
188
+ },
189
+ "deprecated": false,
190
+ "security": [
191
+ {
192
+ "RESTToken": [
193
+ "global"
194
+ ]
195
+ }
196
+ ]
197
+ }
198
+ },
199
+ "/neControl/discover/{fdn}/nes/": {
200
+ "post": {
201
+ "tags": [
202
+ "ne-control-discovery"
203
+ ],
204
+ "summary": "discoverNesUsingPOST_1",
205
+ "description": "discoverNes",
206
+ "operationId": "discoverNesUsingPOST_1",
207
+ "parameters": [
208
+ {
209
+ "name": "fdn",
210
+ "in": "path",
211
+ "description": "fdn",
212
+ "required": true,
213
+ "style": "simple",
214
+ "schema": {
215
+ "type": "string"
216
+ }
217
+ },
218
+ {
219
+ "name": "Content-Type",
220
+ "in": "header",
221
+ "description": "",
222
+ "required": true,
223
+ "style": "simple",
224
+ "schema": {
225
+ "enum": [
226
+ "application/json"
227
+ ],
228
+ "type": "string"
229
+ }
230
+ }
231
+ ],
232
+ "responses": {
233
+ "200": {
234
+ "description": "OK",
235
+ "headers": {},
236
+ "content": {
237
+ "application/json": {
238
+ "schema": {
239
+ "$ref": "#/components/schemas/ResponseDataJsonNode"
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "deprecated": false,
246
+ "security": [
247
+ {
248
+ "RESTToken": [
249
+ "global"
250
+ ]
251
+ }
252
+ ]
253
+ }
254
+ },
255
+ "/neControl/discover/{fdn}/unmanage/": {
256
+ "put": {
257
+ "tags": [
258
+ "ne-control-discovery"
259
+ ],
260
+ "summary": "unmanageNesUsingPUT",
261
+ "description": "unmanageNes",
262
+ "operationId": "unmanageNesUsingPUT",
263
+ "parameters": [
264
+ {
265
+ "name": "fdn",
266
+ "in": "path",
267
+ "description": "fdn",
268
+ "required": true,
269
+ "style": "simple",
270
+ "schema": {
271
+ "type": "string"
272
+ }
273
+ },
274
+ {
275
+ "name": "Content-Type",
276
+ "in": "header",
277
+ "description": "",
278
+ "required": true,
279
+ "style": "simple",
280
+ "schema": {
281
+ "enum": [
282
+ "application/json"
283
+ ],
284
+ "type": "string"
285
+ }
286
+ }
287
+ ],
288
+ "responses": {
289
+ "200": {
290
+ "description": "OK",
291
+ "headers": {},
292
+ "content": {
293
+ "application/json": {
294
+ "schema": {
295
+ "$ref": "#/components/schemas/ResponseDatastring"
296
+ }
297
+ }
298
+ }
299
+ }
300
+ },
301
+ "deprecated": false,
302
+ "security": [
303
+ {
304
+ "RESTToken": [
305
+ "global"
306
+ ]
307
+ }
308
+ ]
309
+ }
310
+ },
311
+ "/neControl/discoveryrule": {
312
+ "post": {
313
+ "tags": [
314
+ "ne-control-discovery-rule"
315
+ ],
316
+ "summary": "createUsingPOST",
317
+ "description": "create",
318
+ "operationId": "createUsingPOST",
319
+ "parameters": [],
320
+ "requestBody": {
321
+ "description": "aInJson",
322
+ "content": {
323
+ "application/json": {
324
+ "schema": {
325
+ "type": "object",
326
+ "description": "aInJson"
327
+ }
328
+ }
329
+ },
330
+ "required": true
331
+ },
332
+ "responses": {
333
+ "200": {
334
+ "description": "OK",
335
+ "headers": {},
336
+ "content": {
337
+ "application/json": {
338
+ "schema": {
339
+ "$ref": "#/components/schemas/ResponseDataJsonNode"
340
+ }
341
+ }
342
+ }
343
+ }
344
+ },
345
+ "deprecated": false,
346
+ "security": [
347
+ {
348
+ "RESTToken": [
349
+ "global"
350
+ ]
351
+ }
352
+ ]
353
+ }
354
+ },
355
+ "/neControl/discoveryrule/addAll/{fdn}/": {
356
+ "put": {
357
+ "tags": [
358
+ "ne-control-discovery-rule"
359
+ ],
360
+ "summary": "addAllUsingPUT",
361
+ "description": "addAll",
362
+ "operationId": "addAllUsingPUT",
363
+ "parameters": [
364
+ {
365
+ "name": "fdn",
366
+ "in": "path",
367
+ "description": "fdn",
368
+ "required": true,
369
+ "style": "simple",
370
+ "schema": {
371
+ "type": "string"
372
+ }
373
+ }
374
+ ],
375
+ "requestBody": {
376
+ "description": "aInJson",
377
+ "content": {
378
+ "application/json": {
379
+ "schema": {
380
+ "type": "object",
381
+ "description": "aInJson"
382
+ }
383
+ }
384
+ },
385
+ "required": true
386
+ },
387
+ "responses": {
388
+ "200": {
389
+ "description": "OK",
390
+ "headers": {},
391
+ "content": {
392
+ "application/json": {
393
+ "schema": {
394
+ "$ref": "#/components/schemas/ResponseDataJsonNode"
395
+ }
396
+ }
397
+ }
398
+ }
399
+ },
400
+ "deprecated": false,
401
+ "security": [
402
+ {
403
+ "RESTToken": [
404
+ "global"
405
+ ]
406
+ }
407
+ ]
408
+ }
409
+ },
410
+ "/neControl/discoveryrule/allDiscoveredNes": {
411
+ "get": {
412
+ "tags": [
413
+ "ne-control-discovery-rule"
414
+ ],
415
+ "summary": "getAllDiscoveredNesUsingGET",
416
+ "description": "getAllDiscoveredNes",
417
+ "operationId": "getAllDiscoveredNesUsingGET",
418
+ "parameters": [],
419
+ "responses": {
420
+ "200": {
421
+ "description": "OK",
422
+ "headers": {},
423
+ "content": {
424
+ "*/*": {
425
+ "schema": {}
426
+ }
427
+ }
428
+ }
429
+ },
430
+ "deprecated": false,
431
+ "security": [
432
+ {
433
+ "RESTToken": [
434
+ "global"
435
+ ]
436
+ }
437
+ ]
438
+ }
439
+ },
440
+ "/neControl/discoveryrule/detail/": {
441
+ "get": {
442
+ "tags": [
443
+ "ne-control-discovery-rule"
444
+ ],
445
+ "summary": "findNeDiscoveryRuleByFDNUsingGET",
446
+ "description": "findNeDiscoveryRuleByFDN",
447
+ "operationId": "findNeDiscoveryRuleByFDNUsingGET",
448
+ "parameters": [
449
+ {
450
+ "name": "fdn",
451
+ "in": "query",
452
+ "description": "fdn",
453
+ "required": true,
454
+ "style": "form",
455
+ "explode": true,
456
+ "schema": {
457
+ "type": "string"
458
+ }
459
+ }
460
+ ],
461
+ "responses": {
462
+ "200": {
463
+ "description": "OK",
464
+ "headers": {},
465
+ "content": {
466
+ "*/*": {
467
+ "schema": {}
468
+ }
469
+ }
470
+ }
471
+ },
472
+ "deprecated": false,
473
+ "security": [
474
+ {
475
+ "RESTToken": [
476
+ "global"
477
+ ]
478
+ }
479
+ ]
480
+ }
481
+ },
482
+ "/neControl/discoveryrule/removeAll/{fdn}/": {
483
+ "put": {
484
+ "tags": [
485
+ "ne-control-discovery-rule"
486
+ ],
487
+ "summary": "removeAllUsingPUT",
488
+ "description": "removeAll",
489
+ "operationId": "removeAllUsingPUT",
490
+ "parameters": [
491
+ {
492
+ "name": "fdn",
493
+ "in": "path",
494
+ "description": "fdn",
495
+ "required": true,
496
+ "style": "simple",
497
+ "schema": {
498
+ "type": "string"
499
+ }
500
+ }
501
+ ],
502
+ "requestBody": {
503
+ "description": "aInJson",
504
+ "content": {
505
+ "application/json": {
506
+ "schema": {
507
+ "type": "object",
508
+ "description": "aInJson"
509
+ }
510
+ }
511
+ },
512
+ "required": true
513
+ },
514
+ "responses": {
515
+ "200": {
516
+ "description": "OK",
517
+ "headers": {},
518
+ "content": {
519
+ "application/json": {
520
+ "schema": {
521
+ "$ref": "#/components/schemas/ResponseDataJsonNode"
522
+ }
523
+ }
524
+ }
525
+ }
526
+ },
527
+ "deprecated": false,
528
+ "security": [
529
+ {
530
+ "RESTToken": [
531
+ "global"
532
+ ]
533
+ }
534
+ ]
535
+ }
536
+ },
537
+ "/neControl/discoveryrule/{fdn}": {
538
+ "put": {
539
+ "tags": [
540
+ "ne-control-discovery-rule"
541
+ ],
542
+ "summary": "updateUsingPUT",
543
+ "description": "update",
544
+ "operationId": "updateUsingPUT",
545
+ "parameters": [
546
+ {
547
+ "name": "fdn",
548
+ "in": "path",
549
+ "description": "fdn",
550
+ "required": true,
551
+ "style": "simple",
552
+ "schema": {
553
+ "type": "string"
554
+ }
555
+ }
556
+ ],
557
+ "requestBody": {
558
+ "description": "aInJson",
559
+ "content": {
560
+ "application/json": {
561
+ "schema": {
562
+ "type": "object",
563
+ "description": "aInJson"
564
+ }
565
+ }
566
+ },
567
+ "required": true
568
+ },
569
+ "responses": {
570
+ "200": {
571
+ "description": "OK",
572
+ "headers": {},
573
+ "content": {
574
+ "application/json": {
575
+ "schema": {
576
+ "$ref": "#/components/schemas/ResponseDataJsonNode"
577
+ }
578
+ }
579
+ }
580
+ }
581
+ },
582
+ "deprecated": false,
583
+ "security": [
584
+ {
585
+ "RESTToken": [
586
+ "global"
587
+ ]
588
+ }
589
+ ]
590
+ },
591
+ "delete": {
592
+ "tags": [
593
+ "ne-control-discovery-rule"
594
+ ],
595
+ "summary": "deleteUsingDELETE",
596
+ "description": "delete",
597
+ "operationId": "deleteUsingDELETE",
598
+ "parameters": [
599
+ {
600
+ "name": "fdn",
601
+ "in": "path",
602
+ "description": "fdn",
603
+ "required": true,
604
+ "style": "simple",
605
+ "schema": {
606
+ "type": "string"
607
+ }
608
+ }
609
+ ],
610
+ "responses": {
611
+ "200": {
612
+ "description": "OK",
613
+ "headers": {},
614
+ "content": {
615
+ "application/json": {
616
+ "schema": {
617
+ "$ref": "#/components/schemas/ResponseDataJsonNode"
618
+ }
619
+ }
620
+ }
621
+ }
622
+ },
623
+ "deprecated": false,
624
+ "security": [
625
+ {
626
+ "RESTToken": [
627
+ "global"
628
+ ]
629
+ }
630
+ ]
631
+ }
632
+ },
633
+ "/neControl/discoveryrule/{fdn}/{requestType}/": {
634
+ "get": {
635
+ "tags": [
636
+ "ne-control-discovery-rule"
637
+ ],
638
+ "summary": "getDataUsingGET",
639
+ "description": "getData",
640
+ "operationId": "getDataUsingGET",
641
+ "parameters": [
642
+ {
643
+ "name": "fdn",
644
+ "in": "path",
645
+ "description": "fdn",
646
+ "required": true,
647
+ "style": "simple",
648
+ "schema": {
649
+ "type": "string"
650
+ }
651
+ },
652
+ {
653
+ "name": "requestType",
654
+ "in": "path",
655
+ "description": "requestType",
656
+ "required": true,
657
+ "style": "simple",
658
+ "schema": {
659
+ "type": "string"
660
+ }
661
+ }
662
+ ],
663
+ "responses": {
664
+ "200": {
665
+ "description": "OK",
666
+ "headers": {},
667
+ "content": {
668
+ "*/*": {
669
+ "schema": {}
670
+ }
671
+ }
672
+ }
673
+ },
674
+ "deprecated": false,
675
+ "security": [
676
+ {
677
+ "RESTToken": [
678
+ "global"
679
+ ]
680
+ }
681
+ ]
682
+ }
683
+ },
684
+ "/nemediationpolicy": {
685
+ "post": {
686
+ "tags": [
687
+ "ne-mediation-policy"
688
+ ],
689
+ "summary": "addPolicyUsingPOST",
690
+ "description": "addPolicy",
691
+ "operationId": "addPolicyUsingPOST",
692
+ "parameters": [],
693
+ "requestBody": {
694
+ "description": "nePolicyJson",
695
+ "content": {
696
+ "application/json": {
697
+ "schema": {
698
+ "type": "object",
699
+ "description": "nePolicyJson"
700
+ }
701
+ }
702
+ },
703
+ "required": true
704
+ },
705
+ "responses": {
706
+ "200": {
707
+ "description": "OK",
708
+ "headers": {},
709
+ "content": {
710
+ "application/json": {
711
+ "schema": {
712
+ "$ref": "#/components/schemas/ResponseDataJsonNode"
713
+ }
714
+ }
715
+ }
716
+ }
717
+ },
718
+ "deprecated": false,
719
+ "security": [
720
+ {
721
+ "RESTToken": [
722
+ "global"
723
+ ]
724
+ }
725
+ ]
726
+ }
727
+ },
728
+ "/nemediationpolicy/{fdn}": {
729
+ "put": {
730
+ "tags": [
731
+ "ne-mediation-policy"
732
+ ],
733
+ "summary": "updatePolicyUsingPUT",
734
+ "description": "updatePolicy",
735
+ "operationId": "updatePolicyUsingPUT",
736
+ "parameters": [
737
+ {
738
+ "name": "fdn",
739
+ "in": "path",
740
+ "description": "fdn",
741
+ "required": true,
742
+ "style": "simple",
743
+ "schema": {
744
+ "type": "string"
745
+ }
746
+ }
747
+ ],
748
+ "requestBody": {
749
+ "description": "nePolicyJson",
750
+ "content": {
751
+ "application/json": {
752
+ "schema": {
753
+ "type": "object",
754
+ "description": "nePolicyJson"
755
+ }
756
+ }
757
+ },
758
+ "required": true
759
+ },
760
+ "responses": {
761
+ "200": {
762
+ "description": "OK",
763
+ "headers": {},
764
+ "content": {
765
+ "application/json": {
766
+ "schema": {
767
+ "$ref": "#/components/schemas/ResponseDataJsonNode"
768
+ }
769
+ }
770
+ }
771
+ }
772
+ },
773
+ "deprecated": false,
774
+ "security": [
775
+ {
776
+ "RESTToken": [
777
+ "global"
778
+ ]
779
+ }
780
+ ]
781
+ },
782
+ "delete": {
783
+ "tags": [
784
+ "ne-mediation-policy"
785
+ ],
786
+ "summary": "deletePolicyUsingDELETE",
787
+ "description": "deletePolicy",
788
+ "operationId": "deletePolicyUsingDELETE",
789
+ "parameters": [
790
+ {
791
+ "name": "fdn",
792
+ "in": "path",
793
+ "description": "fdn",
794
+ "required": true,
795
+ "style": "simple",
796
+ "schema": {
797
+ "type": "string"
798
+ }
799
+ }
800
+ ],
801
+ "responses": {
802
+ "200": {
803
+ "description": "OK",
804
+ "headers": {},
805
+ "content": {
806
+ "application/json": {
807
+ "schema": {
808
+ "$ref": "#/components/schemas/ResponseDataJsonNode"
809
+ }
810
+ }
811
+ }
812
+ }
813
+ },
814
+ "deprecated": false,
815
+ "security": [
816
+ {
817
+ "RESTToken": [
818
+ "global"
819
+ ]
820
+ }
821
+ ]
822
+ }
823
+ },
824
+ "/nemediationpolicy/{fdn}/detail/": {
825
+ "get": {
826
+ "tags": [
827
+ "ne-mediation-policy"
828
+ ],
829
+ "summary": "getNesUsingGET",
830
+ "description": "getNes",
831
+ "operationId": "getNesUsingGET",
832
+ "parameters": [
833
+ {
834
+ "name": "fdn",
835
+ "in": "path",
836
+ "description": "fdn",
837
+ "required": true,
838
+ "style": "simple",
839
+ "schema": {
840
+ "type": "string"
841
+ }
842
+ }
843
+ ],
844
+ "responses": {
845
+ "200": {
846
+ "description": "OK",
847
+ "headers": {},
848
+ "content": {
849
+ "*/*": {
850
+ "schema": {}
851
+ }
852
+ }
853
+ }
854
+ },
855
+ "deprecated": false,
856
+ "security": [
857
+ {
858
+ "RESTToken": [
859
+ "global"
860
+ ]
861
+ }
862
+ ]
863
+ }
864
+ },
865
+ "/nemediationpolicy/{fdn}/getNes/{accessType}/": {
866
+ "get": {
867
+ "tags": [
868
+ "ne-mediation-policy"
869
+ ],
870
+ "summary": "getNesUsingGET_1",
871
+ "description": "getNes",
872
+ "operationId": "getNesUsingGET_1",
873
+ "parameters": [
874
+ {
875
+ "name": "accessType",
876
+ "in": "path",
877
+ "description": "accessType",
878
+ "required": true,
879
+ "style": "simple",
880
+ "schema": {
881
+ "type": "string"
882
+ }
883
+ },
884
+ {
885
+ "name": "fdn",
886
+ "in": "path",
887
+ "description": "fdn",
888
+ "required": true,
889
+ "style": "simple",
890
+ "schema": {
891
+ "type": "string"
892
+ }
893
+ }
894
+ ],
895
+ "responses": {
896
+ "200": {
897
+ "description": "OK",
898
+ "headers": {},
899
+ "content": {
900
+ "*/*": {
901
+ "schema": {}
902
+ }
903
+ }
904
+ }
905
+ },
906
+ "deprecated": false,
907
+ "security": [
908
+ {
909
+ "RESTToken": [
910
+ "global"
911
+ ]
912
+ }
913
+ ]
914
+ }
915
+ },
916
+ "/nemediationpolicy/{neid}/policies": {
917
+ "get": {
918
+ "tags": [
919
+ "ne-mediation-policy"
920
+ ],
921
+ "summary": "getPoliciesForReadOnlyNeUsingGET",
922
+ "description": "getPoliciesForReadOnlyNe",
923
+ "operationId": "getPoliciesForReadOnlyNeUsingGET",
924
+ "parameters": [
925
+ {
926
+ "name": "neid",
927
+ "in": "path",
928
+ "description": "neid",
929
+ "required": true,
930
+ "style": "simple",
931
+ "schema": {
932
+ "type": "string"
933
+ }
934
+ },
935
+ {
936
+ "name": "type",
937
+ "in": "query",
938
+ "description": "type",
939
+ "style": "form",
940
+ "explode": true,
941
+ "schema": {
942
+ "type": "string"
943
+ }
944
+ }
945
+ ],
946
+ "responses": {
947
+ "200": {
948
+ "description": "OK",
949
+ "headers": {},
950
+ "content": {
951
+ "*/*": {
952
+ "schema": {}
953
+ }
954
+ }
955
+ }
956
+ },
957
+ "deprecated": false,
958
+ "security": [
959
+ {
960
+ "RESTToken": [
961
+ "global"
962
+ ]
963
+ }
964
+ ]
965
+ }
966
+ },
967
+ "/neprotocol": {
968
+ "post": {
969
+ "tags": [
970
+ "ne-protocol"
971
+ ],
972
+ "summary": "addNeProtocolUsingPOST",
973
+ "description": "addNeProtocol",
974
+ "operationId": "addNeProtocolUsingPOST",
975
+ "parameters": [],
976
+ "requestBody": {
977
+ "description": "neUserJson",
978
+ "content": {
979
+ "application/json": {
980
+ "schema": {
981
+ "type": "object",
982
+ "description": "neUserJson"
983
+ }
984
+ }
985
+ },
986
+ "required": true
987
+ },
988
+ "responses": {
989
+ "200": {
990
+ "description": "OK",
991
+ "headers": {},
992
+ "content": {
993
+ "application/json": {
994
+ "schema": {
995
+ "$ref": "#/components/schemas/ResponseDataJsonNode"
996
+ }
997
+ }
998
+ }
999
+ }
1000
+ },
1001
+ "deprecated": false,
1002
+ "security": [
1003
+ {
1004
+ "RESTToken": [
1005
+ "global"
1006
+ ]
1007
+ }
1008
+ ]
1009
+ },
1010
+ "put": {
1011
+ "tags": [
1012
+ "ne-protocol"
1013
+ ],
1014
+ "summary": "updateProtocolUsingPUT",
1015
+ "description": "updateProtocol",
1016
+ "operationId": "updateProtocolUsingPUT",
1017
+ "parameters": [],
1018
+ "requestBody": {
1019
+ "description": "neProtocolJson",
1020
+ "content": {
1021
+ "application/json": {
1022
+ "schema": {
1023
+ "type": "object",
1024
+ "description": "neProtocolJson"
1025
+ }
1026
+ }
1027
+ },
1028
+ "required": true
1029
+ },
1030
+ "responses": {
1031
+ "200": {
1032
+ "description": "OK",
1033
+ "headers": {},
1034
+ "content": {
1035
+ "application/json": {
1036
+ "schema": {
1037
+ "$ref": "#/components/schemas/ResponseDataJsonNode"
1038
+ }
1039
+ }
1040
+ }
1041
+ }
1042
+ },
1043
+ "deprecated": false,
1044
+ "security": [
1045
+ {
1046
+ "RESTToken": [
1047
+ "global"
1048
+ ]
1049
+ }
1050
+ ]
1051
+ }
1052
+ },
1053
+ "/neprotocol/{fdn}/": {
1054
+ "delete": {
1055
+ "tags": [
1056
+ "ne-protocol"
1057
+ ],
1058
+ "summary": "deletePolicyUsingDELETE_1",
1059
+ "description": "deletePolicy",
1060
+ "operationId": "deletePolicyUsingDELETE_1",
1061
+ "parameters": [
1062
+ {
1063
+ "name": "fdn",
1064
+ "in": "path",
1065
+ "description": "fdn",
1066
+ "required": true,
1067
+ "style": "simple",
1068
+ "schema": {
1069
+ "type": "string"
1070
+ }
1071
+ }
1072
+ ],
1073
+ "responses": {
1074
+ "200": {
1075
+ "description": "OK",
1076
+ "headers": {},
1077
+ "content": {
1078
+ "application/json": {
1079
+ "schema": {
1080
+ "$ref": "#/components/schemas/ResponseDataJsonNode"
1081
+ }
1082
+ }
1083
+ }
1084
+ }
1085
+ },
1086
+ "deprecated": false,
1087
+ "security": [
1088
+ {
1089
+ "RESTToken": [
1090
+ "global"
1091
+ ]
1092
+ }
1093
+ ]
1094
+ }
1095
+ },
1096
+ "/neuser": {
1097
+ "post": {
1098
+ "tags": [
1099
+ "ne-user"
1100
+ ],
1101
+ "summary": "addNeUserUsingPOST",
1102
+ "description": "Add NE User",
1103
+ "operationId": "addNeUserUsingPOST",
1104
+ "parameters": [],
1105
+ "requestBody": {
1106
+ "description": "neUserJson",
1107
+ "content": {
1108
+ "application/json": {
1109
+ "schema": {
1110
+ "type": "object",
1111
+ "description": "neUserJson"
1112
+ }
1113
+ }
1114
+ },
1115
+ "required": true
1116
+ },
1117
+ "responses": {
1118
+ "200": {
1119
+ "description": "Ne User created successfully",
1120
+ "headers": {},
1121
+ "content": {
1122
+ "application/json": {
1123
+ "schema": {
1124
+ "$ref": "#/components/schemas/ResponseDataJsonNode"
1125
+ }
1126
+ }
1127
+ }
1128
+ }
1129
+ },
1130
+ "deprecated": false,
1131
+ "security": [
1132
+ {
1133
+ "RESTToken": [
1134
+ "global"
1135
+ ]
1136
+ }
1137
+ ]
1138
+ },
1139
+ "put": {
1140
+ "tags": [
1141
+ "ne-user"
1142
+ ],
1143
+ "summary": "updateNeUserUsingPUT",
1144
+ "description": "Update NE User",
1145
+ "operationId": "updateNeUserUsingPUT",
1146
+ "parameters": [],
1147
+ "requestBody": {
1148
+ "description": "neUserJson",
1149
+ "content": {
1150
+ "application/json": {
1151
+ "schema": {
1152
+ "type": "object",
1153
+ "description": "neUserJson"
1154
+ }
1155
+ }
1156
+ },
1157
+ "required": true
1158
+ },
1159
+ "responses": {
1160
+ "200": {
1161
+ "description": "Ne User Updated successfully",
1162
+ "headers": {},
1163
+ "content": {
1164
+ "application/json": {
1165
+ "schema": {
1166
+ "$ref": "#/components/schemas/ResponseDataJsonNode"
1167
+ }
1168
+ }
1169
+ }
1170
+ }
1171
+ },
1172
+ "deprecated": false,
1173
+ "security": [
1174
+ {
1175
+ "RESTToken": [
1176
+ "global"
1177
+ ]
1178
+ }
1179
+ ]
1180
+ }
1181
+ },
1182
+ "/neuser/{fdn}/": {
1183
+ "delete": {
1184
+ "tags": [
1185
+ "ne-user"
1186
+ ],
1187
+ "summary": "deletePolicyUsingDELETE_2",
1188
+ "description": "Delete NE User",
1189
+ "operationId": "deletePolicyUsingDELETE_2",
1190
+ "parameters": [
1191
+ {
1192
+ "name": "fdn",
1193
+ "in": "path",
1194
+ "description": "fdn",
1195
+ "required": true,
1196
+ "style": "simple",
1197
+ "schema": {
1198
+ "type": "string"
1199
+ }
1200
+ }
1201
+ ],
1202
+ "responses": {
1203
+ "200": {
1204
+ "description": "Ne User Deleted successfully",
1205
+ "headers": {},
1206
+ "content": {
1207
+ "application/json": {
1208
+ "schema": {
1209
+ "$ref": "#/components/schemas/ResponseDataJsonNode"
1210
+ }
1211
+ }
1212
+ }
1213
+ }
1214
+ },
1215
+ "deprecated": false,
1216
+ "security": [
1217
+ {
1218
+ "RESTToken": [
1219
+ "global"
1220
+ ]
1221
+ }
1222
+ ]
1223
+ }
1224
+ }
1225
+ },
1226
+ "components": {
1227
+ "schemas": {
1228
+ "ResponseDataJsonNode": {
1229
+ "title": "ResponseDataJsonNode",
1230
+ "type": "object",
1231
+ "properties": {
1232
+ "response": {
1233
+ "$ref": "#/components/schemas/ResponseJsonNode"
1234
+ }
1235
+ }
1236
+ },
1237
+ "ResponseDatastring": {
1238
+ "title": "ResponseDatastring",
1239
+ "type": "object",
1240
+ "properties": {
1241
+ "response": {
1242
+ "$ref": "#/components/schemas/Responsestring"
1243
+ }
1244
+ }
1245
+ },
1246
+ "ResponseJsonNode": {
1247
+ "title": "ResponseJsonNode",
1248
+ "type": "object",
1249
+ "properties": {
1250
+ "data": {
1251
+ "type": "object"
1252
+ },
1253
+ "endRow": {
1254
+ "type": "integer",
1255
+ "format": "int64"
1256
+ },
1257
+ "errors": {
1258
+ "type": "array",
1259
+ "items": {
1260
+ "type": "object"
1261
+ },
1262
+ "description": ""
1263
+ },
1264
+ "nextPage": {
1265
+ "type": "string",
1266
+ "description": "(Optional) A paged URL request pointing to the next page of data, or \"null\" if there is no next page."
1267
+ },
1268
+ "previousPage": {
1269
+ "type": "string",
1270
+ "description": "(Optional) A paged URL request pointing to the previous page of data, or \"null\" if there is no previous page."
1271
+ },
1272
+ "startRow": {
1273
+ "type": "integer",
1274
+ "format": "int64"
1275
+ },
1276
+ "status": {
1277
+ "type": "integer",
1278
+ "format": "int32"
1279
+ },
1280
+ "totalRows": {
1281
+ "type": "integer",
1282
+ "format": "int64"
1283
+ }
1284
+ }
1285
+ },
1286
+ "Responsestring": {
1287
+ "title": "Responsestring",
1288
+ "type": "object",
1289
+ "properties": {
1290
+ "data": {
1291
+ "type": "string"
1292
+ },
1293
+ "endRow": {
1294
+ "type": "integer",
1295
+ "format": "int64"
1296
+ },
1297
+ "errors": {
1298
+ "type": "array",
1299
+ "items": {
1300
+ "type": "object"
1301
+ },
1302
+ "description": ""
1303
+ },
1304
+ "nextPage": {
1305
+ "type": "string",
1306
+ "description": "(Optional) A paged URL request pointing to the next page of data, or \"null\" if there is no next page."
1307
+ },
1308
+ "previousPage": {
1309
+ "type": "string",
1310
+ "description": "(Optional) A paged URL request pointing to the previous page of data, or \"null\" if there is no previous page."
1311
+ },
1312
+ "startRow": {
1313
+ "type": "integer",
1314
+ "format": "int64"
1315
+ },
1316
+ "status": {
1317
+ "type": "integer",
1318
+ "format": "int32"
1319
+ },
1320
+ "totalRows": {
1321
+ "type": "integer",
1322
+ "format": "int64"
1323
+ }
1324
+ }
1325
+ }
1326
+ },
1327
+ "securitySchemes": {
1328
+ "RESTToken": {
1329
+ "type": "apiKey",
1330
+ "name": "Authorization",
1331
+ "in": "header"
1332
+ }
1333
+ }
1334
+ },
1335
+ "security": [],
1336
+ "tags": [
1337
+ {
1338
+ "name": "ne-control-discovery",
1339
+ "description": "Ne Control Discovery Rest Controller"
1340
+ },
1341
+ {
1342
+ "name": "ne-control-discovery-rule",
1343
+ "description": "Ne Discovery Rule Controller"
1344
+ },
1345
+ {
1346
+ "name": "ne-mediation-policy",
1347
+ "description": "Mediation Policy Controller"
1348
+ },
1349
+ {
1350
+ "name": "ne-protocol",
1351
+ "description": "Rest interface to access Mediation NE Protocol "
1352
+ },
1353
+ {
1354
+ "name": "ne-user",
1355
+ "description": "Rest interface to access Mediation policy NeUser"
1356
+ }
1357
+ ]
1358
+ }