@itentialopensource/adapter-metaswitch 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 (71) 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 +170 -0
  7. package/CHANGELOG.md +9 -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 +1173 -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/EAS/action.json +24 -0
  28. package/entities/EAS/mockdatafiles/postMetaSphereEAS-default.json +39 -0
  29. package/entities/EAS/schema.json +19 -0
  30. package/entities/Metaview/action.json +24 -0
  31. package/entities/Metaview/mockdatafiles/postMetaview-default.json +174 -0
  32. package/entities/Metaview/schema.json +19 -0
  33. package/entities/NSeries/action.json +24 -0
  34. package/entities/NSeries/mockdatafiles/postNSeries-default.json +54 -0
  35. package/entities/NSeries/schema.json +19 -0
  36. package/entities/NWSAP/action.json +24 -0
  37. package/entities/NWSAP/mockdatafiles/postNWSAP-default.json +193 -0
  38. package/entities/NWSAP/schema.json +19 -0
  39. package/error.json +190 -0
  40. package/package.json +85 -0
  41. package/pronghorn.json +1818 -0
  42. package/propertiesDecorators.json +14 -0
  43. package/propertiesSchema.json +1248 -0
  44. package/refs?service=git-upload-pack +0 -0
  45. package/report/Metaswitch.json +1615 -0
  46. package/report/creationReport.json +254 -0
  47. package/sampleProperties.json +197 -0
  48. package/test/integration/adapterTestBasicGet.js +83 -0
  49. package/test/integration/adapterTestConnectivity.js +93 -0
  50. package/test/integration/adapterTestIntegration.js +451 -0
  51. package/test/unit/adapterBaseTestUnit.js +949 -0
  52. package/test/unit/adapterTestUnit.js +1427 -0
  53. package/utils/adapterInfo.js +206 -0
  54. package/utils/addAuth.js +94 -0
  55. package/utils/artifactize.js +146 -0
  56. package/utils/basicGet.js +50 -0
  57. package/utils/checkMigrate.js +63 -0
  58. package/utils/entitiesToDB.js +178 -0
  59. package/utils/findPath.js +74 -0
  60. package/utils/methodDocumentor.js +225 -0
  61. package/utils/modify.js +154 -0
  62. package/utils/packModificationScript.js +35 -0
  63. package/utils/patches2bundledDeps.js +90 -0
  64. package/utils/pre-commit.sh +32 -0
  65. package/utils/removeHooks.js +20 -0
  66. package/utils/setup.js +33 -0
  67. package/utils/tbScript.js +246 -0
  68. package/utils/tbUtils.js +490 -0
  69. package/utils/testRunner.js +298 -0
  70. package/utils/troubleshootingAdapter.js +195 -0
  71. package/workflows/README.md +3 -0
package/pronghorn.json ADDED
@@ -0,0 +1,1818 @@
1
+ {
2
+ "id": "@itentialopensource/adapter-metaswitch",
3
+ "type": "Adapter",
4
+ "export": "Metaswitch",
5
+ "title": "Metaswitch",
6
+ "src": "adapter.js",
7
+ "roles": [
8
+ "admin"
9
+ ],
10
+ "methods": [
11
+ {
12
+ "name": "iapUpdateAdapterConfiguration",
13
+ "summary": "Updates the adapter configuration",
14
+ "description": "Updates the adapter configuration file with the provided changes",
15
+ "input": [
16
+ {
17
+ "name": "configFile",
18
+ "type": "string",
19
+ "info": "The name of the file to change",
20
+ "required": true,
21
+ "schema": {
22
+ "title": "configFile",
23
+ "type": "string"
24
+ }
25
+ },
26
+ {
27
+ "name": "changes",
28
+ "type": "object",
29
+ "info": "JSON object containing the configuration changes",
30
+ "required": true,
31
+ "schema": {
32
+ "title": "changes",
33
+ "type": "object"
34
+ }
35
+ },
36
+ {
37
+ "name": "entity",
38
+ "type": "string",
39
+ "info": "The entity in which the changes are being made",
40
+ "required": false,
41
+ "schema": {
42
+ "title": "entity",
43
+ "type": "string"
44
+ }
45
+ },
46
+ {
47
+ "name": "type",
48
+ "type": "string",
49
+ "info": "The type of file to change - action, schema, or mock",
50
+ "required": false,
51
+ "schema": {
52
+ "title": "type",
53
+ "type": "string"
54
+ }
55
+ },
56
+ {
57
+ "name": "action",
58
+ "type": "string",
59
+ "info": "The action to be changed",
60
+ "required": false,
61
+ "schema": {
62
+ "title": "action",
63
+ "type": "string"
64
+ }
65
+ }
66
+ ],
67
+ "output": {
68
+ "name": "result",
69
+ "type": "object",
70
+ "description": "A JSON Object containing status, code and the result",
71
+ "schema": {
72
+ "title": "result",
73
+ "type": "object"
74
+ }
75
+ },
76
+ "roles": [
77
+ "admin"
78
+ ],
79
+ "route": {
80
+ "verb": "POST",
81
+ "path": "/iapUpdateAdapterConfiguration"
82
+ },
83
+ "task": true
84
+ },
85
+ {
86
+ "name": "iapFindAdapterPath",
87
+ "summary": "Provides the ability to see if a particular API path is supported by the adapter",
88
+ "description": "Provides the ability to see if a particular API path is supported by the adapter",
89
+ "input": [
90
+ {
91
+ "name": "apiPath",
92
+ "type": "string",
93
+ "info": "The API Path you want to check - make sure to not include base path and version",
94
+ "description": "The API Path you want to check - make sure to not include base path and version",
95
+ "schema": {
96
+ "title": "apiPath",
97
+ "type": "string"
98
+ },
99
+ "required": true
100
+ }
101
+ ],
102
+ "output": {
103
+ "name": "result",
104
+ "type": "object",
105
+ "description": "A JSON Object containing the result",
106
+ "schema": {
107
+ "title": "result",
108
+ "type": "object"
109
+ }
110
+ },
111
+ "roles": [
112
+ "admin"
113
+ ],
114
+ "route": {
115
+ "verb": "POST",
116
+ "path": "/iapFindAdapterPath"
117
+ },
118
+ "task": true
119
+ },
120
+ {
121
+ "name": "iapSuspendAdapter",
122
+ "summary": "Suspends the adapter",
123
+ "description": "Suspends the adapter",
124
+ "input": [
125
+ {
126
+ "name": "mode",
127
+ "type": "enum",
128
+ "enumerals": [
129
+ "pause",
130
+ "error"
131
+ ],
132
+ "info": "How incoming requests are handled. Defaults to 'pause'",
133
+ "description": "How incoming requests are handled. Defaults to 'pause'",
134
+ "schema": {
135
+ "title": "mode",
136
+ "type": "string"
137
+ },
138
+ "required": false
139
+ }
140
+ ],
141
+ "output": {
142
+ "name": "result",
143
+ "type": "object",
144
+ "description": "A JSON Object containing the adapter suspended status",
145
+ "schema": {
146
+ "title": "result",
147
+ "type": "object"
148
+ }
149
+ },
150
+ "roles": [
151
+ "admin"
152
+ ],
153
+ "route": {
154
+ "verb": "POST",
155
+ "path": "/iapSuspendAdapter"
156
+ },
157
+ "task": true
158
+ },
159
+ {
160
+ "name": "iapUnsuspendAdapter",
161
+ "summary": "Unsuspends the adapter",
162
+ "description": "Unsuspends the adapter",
163
+ "input": [],
164
+ "output": {
165
+ "name": "result",
166
+ "type": "object",
167
+ "description": "A JSON Object containing the adapter suspended status",
168
+ "schema": {
169
+ "title": "result",
170
+ "type": "object"
171
+ }
172
+ },
173
+ "roles": [
174
+ "admin"
175
+ ],
176
+ "route": {
177
+ "verb": "POST",
178
+ "path": "/iapUnsuspendAdapter"
179
+ },
180
+ "task": true
181
+ },
182
+ {
183
+ "name": "iapGetAdapterQueue",
184
+ "summary": "Return the requests that are waiting in the queue if throttling is enabled",
185
+ "description": "Return the requests that are waiting in the queue if throttling is enabled",
186
+ "input": [],
187
+ "output": {
188
+ "name": "result",
189
+ "type": "object",
190
+ "description": "A JSON Object containing the adapter queue",
191
+ "schema": {
192
+ "title": "result",
193
+ "type": "object"
194
+ }
195
+ },
196
+ "roles": [
197
+ "admin"
198
+ ],
199
+ "route": {
200
+ "verb": "POST",
201
+ "path": "/iapGetAdapterQueue"
202
+ },
203
+ "task": true
204
+ },
205
+ {
206
+ "name": "iapTroubleshootAdapter",
207
+ "summary": "Runs troubleshoot script for adapter",
208
+ "description": "Runs troubleshoot script for adapter",
209
+ "input": [
210
+ {
211
+ "name": "props",
212
+ "type": "object",
213
+ "info": "Object containing configuration, healthcheck and auth properties {'connProps':{'host': 'api.service.com', 'base_path': '/', 'protocol': 'http', 'port': 443, 'version': 'v1'},'healthCheckEndpoint': '/healthcheck', 'auth': {'auth_method': 'no authentication', 'username': 'username', 'password': 'password'}}",
214
+ "required": true,
215
+ "schema": {
216
+ "title": "props",
217
+ "type": "object"
218
+ }
219
+ },
220
+ {
221
+ "name": "persistFlag",
222
+ "type": "boolean",
223
+ "info": "Whether the input properties should be saved",
224
+ "required": true
225
+ }
226
+ ],
227
+ "output": {
228
+ "name": "result",
229
+ "type": "object",
230
+ "description": "A JSON Object containing the test results",
231
+ "schema": {
232
+ "title": "result",
233
+ "type": "object"
234
+ }
235
+ },
236
+ "roles": [
237
+ "admin"
238
+ ],
239
+ "route": {
240
+ "verb": "POST",
241
+ "path": "/iapTroubleshootAdapter"
242
+ },
243
+ "task": true
244
+ },
245
+ {
246
+ "name": "iapRunAdapterHealthcheck",
247
+ "summary": "Runs healthcheck script for adapter",
248
+ "description": "Runs healthcheck script for adapter",
249
+ "input": [],
250
+ "output": {
251
+ "name": "result",
252
+ "type": "boolean",
253
+ "description": "Whether healthcheck passed or failed"
254
+ },
255
+ "roles": [
256
+ "admin"
257
+ ],
258
+ "route": {
259
+ "verb": "POST",
260
+ "path": "/iapRunAdapterHealthcheck"
261
+ },
262
+ "task": true
263
+ },
264
+ {
265
+ "name": "iapRunAdapterConnectivity",
266
+ "summary": "Runs connectivity check script for adapter",
267
+ "description": "Runs connectivity check script for adapter",
268
+ "input": [],
269
+ "output": {
270
+ "name": "result",
271
+ "type": "object",
272
+ "description": "A JSON Object containing the test results",
273
+ "schema": {
274
+ "title": "result",
275
+ "type": "object"
276
+ }
277
+ },
278
+ "roles": [
279
+ "admin"
280
+ ],
281
+ "route": {
282
+ "verb": "POST",
283
+ "path": "/iapRunAdapterConnectivity"
284
+ },
285
+ "task": true
286
+ },
287
+ {
288
+ "name": "iapRunAdapterBasicGet",
289
+ "summary": "Runs basicGet script for adapter",
290
+ "description": "Runs basicGet script for adapter",
291
+ "input": [],
292
+ "output": {
293
+ "name": "result",
294
+ "type": "object",
295
+ "description": "A JSON Object containing the test results",
296
+ "schema": {
297
+ "title": "result",
298
+ "type": "object"
299
+ }
300
+ },
301
+ "roles": [
302
+ "admin"
303
+ ],
304
+ "route": {
305
+ "verb": "POST",
306
+ "path": "/iapRunAdapterBasicGet"
307
+ },
308
+ "task": true
309
+ },
310
+ {
311
+ "name": "iapMoveAdapterEntitiesToDB",
312
+ "summary": "Moves entities from an adapter into the IAP database",
313
+ "description": "Moves entities from an adapter into the IAP database",
314
+ "input": [],
315
+ "output": {
316
+ "name": "res",
317
+ "type": "object",
318
+ "description": "A JSON Object containing status, code and the response from the mongo transaction",
319
+ "schema": {
320
+ "title": "res",
321
+ "type": "object"
322
+ }
323
+ },
324
+ "roles": [
325
+ "admin"
326
+ ],
327
+ "route": {
328
+ "verb": "POST",
329
+ "path": "/iapMoveAdapterEntitiesToDB"
330
+ },
331
+ "task": true
332
+ },
333
+ {
334
+ "name": "genericAdapterRequest",
335
+ "summary": "Makes the requested generic call",
336
+ "description": "Makes the requested generic call",
337
+ "input": [
338
+ {
339
+ "name": "uriPath",
340
+ "type": "string",
341
+ "info": "the path of the api call - do not include the host, port, base path or version",
342
+ "description": "the path of the api call",
343
+ "schema": {
344
+ "title": "uriPath",
345
+ "type": "string"
346
+ },
347
+ "required": true
348
+ },
349
+ {
350
+ "name": "restMethod",
351
+ "type": "string",
352
+ "info": "the rest method (GET, POST, PUT, PATCH, DELETE)",
353
+ "description": "the rest method (GET, POST, PUT, PATCH, DELETE)",
354
+ "schema": {
355
+ "title": "restMethod",
356
+ "type": "string"
357
+ },
358
+ "required": true
359
+ },
360
+ {
361
+ "name": "queryData",
362
+ "type": "object",
363
+ "info": "the query parameters to be put on the url (optional)",
364
+ "description": "the query parameters to be put on the url (optional)",
365
+ "schema": {
366
+ "title": "queryData",
367
+ "type": "object"
368
+ },
369
+ "required": false
370
+ },
371
+ {
372
+ "name": "requestBody",
373
+ "type": "object",
374
+ "info": "the payload to be sent with the request (optional)",
375
+ "description": "the payload to be sent with the request (optional)",
376
+ "schema": {
377
+ "title": "requestBody",
378
+ "type": "object"
379
+ },
380
+ "required": false
381
+ },
382
+ {
383
+ "name": "addlHeaders",
384
+ "type": "object",
385
+ "info": "additional headers to be put on the call (optional)",
386
+ "description": "additional headers to be put on the call (optional)",
387
+ "schema": {
388
+ "title": "addlHeaders",
389
+ "type": "object"
390
+ },
391
+ "required": false
392
+ }
393
+ ],
394
+ "output": {
395
+ "name": "result",
396
+ "type": "object",
397
+ "description": "A JSON Object containing status, code and the result",
398
+ "schema": {
399
+ "title": "result",
400
+ "type": "object"
401
+ }
402
+ },
403
+ "roles": [
404
+ "admin"
405
+ ],
406
+ "route": {
407
+ "verb": "POST",
408
+ "path": "/genericAdapterRequest"
409
+ },
410
+ "task": true
411
+ },
412
+ {
413
+ "name": "genericAdapterRequestNoBasePath",
414
+ "summary": "Makes the requested generic call",
415
+ "description": "Makes the requested generic call",
416
+ "input": [
417
+ {
418
+ "name": "uriPath",
419
+ "type": "string",
420
+ "info": "the path of the api call - do not include the host, port, base path or version",
421
+ "description": "the path of the api call",
422
+ "schema": {
423
+ "title": "uriPath",
424
+ "type": "string"
425
+ },
426
+ "required": true
427
+ },
428
+ {
429
+ "name": "restMethod",
430
+ "type": "string",
431
+ "info": "the rest method (GET, POST, PUT, PATCH, DELETE)",
432
+ "description": "the rest method (GET, POST, PUT, PATCH, DELETE)",
433
+ "schema": {
434
+ "title": "restMethod",
435
+ "type": "string"
436
+ },
437
+ "required": true
438
+ },
439
+ {
440
+ "name": "queryData",
441
+ "type": "object",
442
+ "info": "the query parameters to be put on the url (optional)",
443
+ "description": "the query parameters to be put on the url (optional)",
444
+ "schema": {
445
+ "title": "queryData",
446
+ "type": "object"
447
+ },
448
+ "required": false
449
+ },
450
+ {
451
+ "name": "requestBody",
452
+ "type": "object",
453
+ "info": "the payload to be sent with the request (optional)",
454
+ "description": "the payload to be sent with the request (optional)",
455
+ "schema": {
456
+ "title": "requestBody",
457
+ "type": "object"
458
+ },
459
+ "required": false
460
+ },
461
+ {
462
+ "name": "addlHeaders",
463
+ "type": "object",
464
+ "info": "additional headers to be put on the call (optional)",
465
+ "description": "additional headers to be put on the call (optional)",
466
+ "schema": {
467
+ "title": "addlHeaders",
468
+ "type": "object"
469
+ },
470
+ "required": false
471
+ }
472
+ ],
473
+ "output": {
474
+ "name": "result",
475
+ "type": "object",
476
+ "description": "A JSON Object containing status, code and the result",
477
+ "schema": {
478
+ "title": "result",
479
+ "type": "object"
480
+ }
481
+ },
482
+ "roles": [
483
+ "admin"
484
+ ],
485
+ "route": {
486
+ "verb": "POST",
487
+ "path": "/genericAdapterRequestNoBasePath"
488
+ },
489
+ "task": true
490
+ },
491
+ {
492
+ "name": "getDevice",
493
+ "summary": "Get the Appliance",
494
+ "description": "Get the Appliance",
495
+ "input": [
496
+ {
497
+ "name": "deviceName",
498
+ "type": "string",
499
+ "info": "An Appliance Device Name",
500
+ "required": true,
501
+ "schema": {
502
+ "title": "deviceName",
503
+ "type": "string"
504
+ }
505
+ }
506
+ ],
507
+ "output": {
508
+ "name": "result",
509
+ "type": "object",
510
+ "description": "A JSON Object containing status, code and the result",
511
+ "schema": {
512
+ "title": "result",
513
+ "type": "object"
514
+ }
515
+ },
516
+ "roles": [
517
+ "admin"
518
+ ],
519
+ "route": {
520
+ "verb": "POST",
521
+ "path": "/getDevice"
522
+ },
523
+ "task": true
524
+ },
525
+ {
526
+ "name": "getDevicesFiltered",
527
+ "summary": "Get Appliances that match the filter",
528
+ "description": "Get Appliances that match the filter",
529
+ "input": [
530
+ {
531
+ "name": "options",
532
+ "type": "object",
533
+ "info": "options - e.g. { 'start': 1, 'limit': 20, 'filter': { 'name': 'abc123' } }",
534
+ "required": true,
535
+ "schema": {
536
+ "title": "options",
537
+ "type": "object"
538
+ }
539
+ }
540
+ ],
541
+ "output": {
542
+ "name": "result",
543
+ "type": "array",
544
+ "description": "A JSON Object containing status, code and the result",
545
+ "schema": {
546
+ "title": "result",
547
+ "type": "array"
548
+ }
549
+ },
550
+ "roles": [
551
+ "admin"
552
+ ],
553
+ "route": {
554
+ "verb": "POST",
555
+ "path": "/getDevicesFiltered"
556
+ },
557
+ "task": true
558
+ },
559
+ {
560
+ "name": "isAlive",
561
+ "summary": "Checks the status for the provided Appliance",
562
+ "description": "Checks the status for the provided Appliance",
563
+ "input": [
564
+ {
565
+ "name": "deviceName",
566
+ "type": "string",
567
+ "info": "An Appliance Device Name",
568
+ "required": true,
569
+ "schema": {
570
+ "title": "deviceName",
571
+ "type": "string"
572
+ }
573
+ }
574
+ ],
575
+ "output": {
576
+ "name": "result",
577
+ "type": "boolean",
578
+ "description": "A JSON Object containing status, code and the result",
579
+ "schema": {
580
+ "title": "result",
581
+ "type": "boolean"
582
+ }
583
+ },
584
+ "roles": [
585
+ "admin"
586
+ ],
587
+ "route": {
588
+ "verb": "POST",
589
+ "path": "/isAlive"
590
+ },
591
+ "task": true
592
+ },
593
+ {
594
+ "name": "getConfig",
595
+ "summary": "Gets a config for the provided Appliance",
596
+ "description": "Gets a config for the provided Appliance",
597
+ "input": [
598
+ {
599
+ "name": "deviceName",
600
+ "type": "string",
601
+ "info": "An Appliance Device Name",
602
+ "required": true,
603
+ "schema": {
604
+ "title": "deviceName",
605
+ "type": "string"
606
+ }
607
+ },
608
+ {
609
+ "name": "format",
610
+ "type": "string",
611
+ "info": "The format to be returned - this is ignored as we always return json",
612
+ "required": false,
613
+ "schema": {
614
+ "title": "format",
615
+ "type": "string"
616
+ }
617
+ }
618
+ ],
619
+ "output": {
620
+ "name": "result",
621
+ "type": "object",
622
+ "description": "A JSON Object containing status, code and the result",
623
+ "schema": {
624
+ "title": "result",
625
+ "type": "object"
626
+ }
627
+ },
628
+ "roles": [
629
+ "admin"
630
+ ],
631
+ "route": {
632
+ "verb": "POST",
633
+ "path": "/getConfig"
634
+ },
635
+ "task": true
636
+ },
637
+ {
638
+ "name": "iapGetDeviceCount",
639
+ "summary": "Gets a device count from the system",
640
+ "description": "Gets a device count from the system",
641
+ "input": [],
642
+ "output": {
643
+ "name": "result",
644
+ "type": "object",
645
+ "description": "A JSON Object containing status, code and the result",
646
+ "schema": {
647
+ "title": "result",
648
+ "type": "object"
649
+ }
650
+ },
651
+ "roles": [
652
+ "admin"
653
+ ],
654
+ "route": {
655
+ "verb": "POST",
656
+ "path": "/iapGetDeviceCount"
657
+ },
658
+ "task": true
659
+ },
660
+ {
661
+ "name": "postMetaSphereEAS",
662
+ "summary": "EAS",
663
+ "description": "EAS",
664
+ "input": [
665
+ {
666
+ "name": "body",
667
+ "type": "string",
668
+ "info": ": string",
669
+ "required": true
670
+ }
671
+ ],
672
+ "output": {
673
+ "name": "result",
674
+ "type": "object",
675
+ "description": "A JSON Object containing status, code and the result",
676
+ "schema": {
677
+ "allOf": [
678
+ {
679
+ "title": "ShPullResponse1",
680
+ "required": [
681
+ "ShPullResponse"
682
+ ],
683
+ "type": "object",
684
+ "properties": {
685
+ "ShPullResponse": {
686
+ "allOf": [
687
+ {
688
+ "title": "ShPullResponse",
689
+ "required": [
690
+ "ResultCode",
691
+ "ExtendedResult"
692
+ ],
693
+ "type": "object",
694
+ "properties": {
695
+ "ResultCode": {
696
+ "maximum": 9999,
697
+ "minimum": 1000,
698
+ "type": "integer",
699
+ "xml": {
700
+ "name": "ResultCode",
701
+ "namespace": "http://www.metaswitch.com/sdp/soap/sh",
702
+ "prefix": "tns",
703
+ "attribute": false,
704
+ "wrapped": false
705
+ }
706
+ },
707
+ "ExtendedResult": {
708
+ "allOf": [
709
+ {
710
+ "title": "tExtendedResult",
711
+ "required": [
712
+ "ExtendedResultCode",
713
+ "ExtendedSubResults"
714
+ ],
715
+ "type": "object",
716
+ "properties": {
717
+ "ExtendedResultCode": {
718
+ "type": "integer",
719
+ "xml": {
720
+ "name": "ExtendedResultCode",
721
+ "namespace": "http://www.metaswitch.com/sdp/soap/sh",
722
+ "prefix": "tns",
723
+ "attribute": false,
724
+ "wrapped": false
725
+ }
726
+ },
727
+ "ExtendedResultDetail": {
728
+ "type": "string",
729
+ "xml": {
730
+ "name": "ExtendedResultDetail",
731
+ "namespace": "http://www.metaswitch.com/sdp/soap/sh",
732
+ "prefix": "tns",
733
+ "attribute": false,
734
+ "wrapped": false
735
+ }
736
+ },
737
+ "ExtendedSubResults": {
738
+ "allOf": [
739
+ {
740
+ "title": "tExtendedSubResults",
741
+ "type": "object",
742
+ "properties": {
743
+ "SubResult": {
744
+ "type": "array",
745
+ "items": {
746
+ "title": "tSubResult",
747
+ "required": [
748
+ "SubResultCode",
749
+ "SubResultDetail",
750
+ "SubResultSource"
751
+ ],
752
+ "type": "object",
753
+ "properties": {
754
+ "SubResultCode": {
755
+ "type": "integer",
756
+ "xml": {
757
+ "name": "SubResultCode",
758
+ "namespace": "http://www.metaswitch.com/sdp/soap/sh",
759
+ "prefix": "tns",
760
+ "attribute": false,
761
+ "wrapped": false
762
+ }
763
+ },
764
+ "SubResultDetail": {
765
+ "type": "string",
766
+ "xml": {
767
+ "name": "SubResultDetail",
768
+ "namespace": "http://www.metaswitch.com/sdp/soap/sh",
769
+ "prefix": "tns",
770
+ "attribute": false,
771
+ "wrapped": false
772
+ }
773
+ },
774
+ "SubResultSource": {
775
+ "type": "string",
776
+ "xml": {
777
+ "name": "SubResultSource",
778
+ "namespace": "http://www.metaswitch.com/sdp/soap/sh",
779
+ "prefix": "tns",
780
+ "attribute": false,
781
+ "wrapped": false
782
+ }
783
+ },
784
+ "SubResultSystem": {
785
+ "type": "string",
786
+ "xml": {
787
+ "name": "SubResultSystem",
788
+ "namespace": "http://www.metaswitch.com/sdp/soap/sh",
789
+ "prefix": "tns",
790
+ "attribute": false,
791
+ "wrapped": false
792
+ }
793
+ }
794
+ },
795
+ "description": "",
796
+ "xml": {
797
+ "name": "tSubResult",
798
+ "namespace": "http://www.metaswitch.com/sdp/soap/sh",
799
+ "prefix": "tns",
800
+ "attribute": false,
801
+ "wrapped": false
802
+ }
803
+ },
804
+ "description": "",
805
+ "xml": {
806
+ "namespace": "http://www.metaswitch.com/sdp/soap/sh",
807
+ "prefix": "tns",
808
+ "attribute": false,
809
+ "wrapped": false
810
+ }
811
+ }
812
+ },
813
+ "description": "",
814
+ "xml": {
815
+ "name": "tExtendedSubResults",
816
+ "namespace": "http://www.metaswitch.com/sdp/soap/sh",
817
+ "prefix": "tns",
818
+ "attribute": false,
819
+ "wrapped": false
820
+ }
821
+ },
822
+ {
823
+ "xml": {
824
+ "name": "ExtendedSubResults",
825
+ "namespace": "http://www.metaswitch.com/sdp/soap/sh",
826
+ "prefix": "tns",
827
+ "attribute": false,
828
+ "wrapped": false
829
+ }
830
+ }
831
+ ]
832
+ },
833
+ "ExtendedResultSystem": {
834
+ "type": "string",
835
+ "xml": {
836
+ "name": "ExtendedResultSystem",
837
+ "namespace": "http://www.metaswitch.com/sdp/soap/sh",
838
+ "prefix": "tns",
839
+ "attribute": false,
840
+ "wrapped": false
841
+ }
842
+ }
843
+ },
844
+ "description": "",
845
+ "xml": {
846
+ "name": "tExtendedResult",
847
+ "namespace": "http://www.metaswitch.com/sdp/soap/sh",
848
+ "prefix": "tns",
849
+ "attribute": false,
850
+ "wrapped": false
851
+ }
852
+ },
853
+ {
854
+ "xml": {
855
+ "name": "ExtendedResult",
856
+ "namespace": "http://www.metaswitch.com/sdp/soap/sh",
857
+ "prefix": "tns",
858
+ "attribute": false,
859
+ "wrapped": false
860
+ }
861
+ }
862
+ ]
863
+ },
864
+ "UserData": {
865
+ "type": "string",
866
+ "xml": {
867
+ "name": "UserData",
868
+ "namespace": "http://www.metaswitch.com/sdp/soap/sh",
869
+ "prefix": "tns",
870
+ "attribute": false,
871
+ "wrapped": false
872
+ }
873
+ }
874
+ },
875
+ "description": "",
876
+ "xml": {
877
+ "name": "ShPullResponse",
878
+ "namespace": "http://www.metaswitch.com/sdp/soap/sh",
879
+ "prefix": "tns",
880
+ "attribute": false,
881
+ "wrapped": false
882
+ }
883
+ },
884
+ {
885
+ "xml": {
886
+ "name": "ShPullResponse",
887
+ "attribute": false,
888
+ "wrapped": false
889
+ }
890
+ }
891
+ ]
892
+ }
893
+ },
894
+ "xml": {
895
+ "name": "ShPullResponse",
896
+ "attribute": false,
897
+ "wrapped": false
898
+ }
899
+ },
900
+ {
901
+ "xml": {
902
+ "name": "ShPullResponse",
903
+ "attribute": false,
904
+ "wrapped": false
905
+ }
906
+ }
907
+ ]
908
+ }
909
+ },
910
+ "roles": [
911
+ "admin"
912
+ ],
913
+ "route": {
914
+ "verb": "POST",
915
+ "path": "/postMetaSphereEAS"
916
+ },
917
+ "task": true
918
+ },
919
+ {
920
+ "name": "postNSeries",
921
+ "summary": "postNSeries",
922
+ "description": "postNSeries",
923
+ "input": [
924
+ {
925
+ "name": "body",
926
+ "type": "string",
927
+ "info": ": string",
928
+ "required": true
929
+ }
930
+ ],
931
+ "output": {
932
+ "name": "result",
933
+ "type": "object",
934
+ "description": "A JSON Object containing status, code and the result",
935
+ "schema": {
936
+ "allOf": [
937
+ {
938
+ "title": "ShPullResponse3",
939
+ "required": [
940
+ "ShPullResponse"
941
+ ],
942
+ "type": "object",
943
+ "properties": {
944
+ "ShPullResponse": {
945
+ "allOf": [
946
+ {
947
+ "title": "ShPullResponse2",
948
+ "required": [
949
+ "ResultCode",
950
+ "ExtendedResult"
951
+ ],
952
+ "type": "object",
953
+ "properties": {
954
+ "ResultCode": {
955
+ "maximum": 9999,
956
+ "minimum": 1000,
957
+ "type": "integer",
958
+ "xml": {
959
+ "name": "ResultCode",
960
+ "namespace": "http://www.metaswitch.com/nsrs/soap/sh",
961
+ "prefix": "tns",
962
+ "attribute": false,
963
+ "wrapped": false
964
+ }
965
+ },
966
+ "ExtendedResult": {
967
+ "allOf": [
968
+ {
969
+ "title": "tExtendedResult1",
970
+ "required": [
971
+ "ExtendedResultCode",
972
+ "ExtendedResultDetail",
973
+ "ExtendedSubResults"
974
+ ],
975
+ "type": "object",
976
+ "properties": {
977
+ "ExtendedResultCode": {
978
+ "type": "integer",
979
+ "xml": {
980
+ "name": "ExtendedResultCode",
981
+ "namespace": "http://www.metaswitch.com/nsrs/soap/sh",
982
+ "prefix": "tns",
983
+ "attribute": false,
984
+ "wrapped": false
985
+ }
986
+ },
987
+ "ExtendedResultDetail": {
988
+ "type": "string",
989
+ "xml": {
990
+ "name": "ExtendedResultDetail",
991
+ "namespace": "http://www.metaswitch.com/nsrs/soap/sh",
992
+ "prefix": "tns",
993
+ "attribute": false,
994
+ "wrapped": false
995
+ }
996
+ },
997
+ "ExtendedSubResults": {
998
+ "allOf": [
999
+ {
1000
+ "title": "tExtendedSubResults1",
1001
+ "type": "object",
1002
+ "properties": {
1003
+ "SubResult": {
1004
+ "type": "array",
1005
+ "items": {
1006
+ "title": "tSubResult1",
1007
+ "required": [
1008
+ "SubResultCode",
1009
+ "SubResultDetail",
1010
+ "SubResultSource"
1011
+ ],
1012
+ "type": "object",
1013
+ "properties": {
1014
+ "SubResultCode": {
1015
+ "type": "integer",
1016
+ "xml": {
1017
+ "name": "SubResultCode",
1018
+ "namespace": "http://www.metaswitch.com/nsrs/soap/sh",
1019
+ "prefix": "tns",
1020
+ "attribute": false,
1021
+ "wrapped": false
1022
+ }
1023
+ },
1024
+ "SubResultDetail": {
1025
+ "type": "string",
1026
+ "xml": {
1027
+ "name": "SubResultDetail",
1028
+ "namespace": "http://www.metaswitch.com/nsrs/soap/sh",
1029
+ "prefix": "tns",
1030
+ "attribute": false,
1031
+ "wrapped": false
1032
+ }
1033
+ },
1034
+ "SubResultSource": {
1035
+ "type": "string",
1036
+ "xml": {
1037
+ "name": "SubResultSource",
1038
+ "namespace": "http://www.metaswitch.com/nsrs/soap/sh",
1039
+ "prefix": "tns",
1040
+ "attribute": false,
1041
+ "wrapped": false
1042
+ }
1043
+ }
1044
+ },
1045
+ "description": "",
1046
+ "xml": {
1047
+ "name": "tSubResult",
1048
+ "namespace": "http://www.metaswitch.com/nsrs/soap/sh",
1049
+ "prefix": "tns",
1050
+ "attribute": false,
1051
+ "wrapped": false
1052
+ }
1053
+ },
1054
+ "description": "",
1055
+ "xml": {
1056
+ "namespace": "http://www.metaswitch.com/nsrs/soap/sh",
1057
+ "prefix": "tns",
1058
+ "attribute": false,
1059
+ "wrapped": false
1060
+ }
1061
+ }
1062
+ },
1063
+ "description": "",
1064
+ "xml": {
1065
+ "name": "tExtendedSubResults",
1066
+ "namespace": "http://www.metaswitch.com/nsrs/soap/sh",
1067
+ "prefix": "tns",
1068
+ "attribute": false,
1069
+ "wrapped": false
1070
+ }
1071
+ },
1072
+ {
1073
+ "xml": {
1074
+ "name": "ExtendedSubResults",
1075
+ "namespace": "http://www.metaswitch.com/nsrs/soap/sh",
1076
+ "prefix": "tns",
1077
+ "attribute": false,
1078
+ "wrapped": false
1079
+ }
1080
+ }
1081
+ ]
1082
+ }
1083
+ },
1084
+ "description": "",
1085
+ "xml": {
1086
+ "name": "tExtendedResult",
1087
+ "namespace": "http://www.metaswitch.com/nsrs/soap/sh",
1088
+ "prefix": "tns",
1089
+ "attribute": false,
1090
+ "wrapped": false
1091
+ }
1092
+ },
1093
+ {
1094
+ "xml": {
1095
+ "name": "ExtendedResult",
1096
+ "namespace": "http://www.metaswitch.com/nsrs/soap/sh",
1097
+ "prefix": "tns",
1098
+ "attribute": false,
1099
+ "wrapped": false
1100
+ }
1101
+ }
1102
+ ]
1103
+ },
1104
+ "UserData": {
1105
+ "allOf": [
1106
+ {
1107
+ "title": "tUserData1",
1108
+ "type": "object",
1109
+ "description": "",
1110
+ "xml": {
1111
+ "name": "tUserData",
1112
+ "namespace": "http://www.metaswitch.com/nsrs/soap/sh",
1113
+ "prefix": "tns",
1114
+ "attribute": false,
1115
+ "wrapped": false
1116
+ }
1117
+ },
1118
+ {
1119
+ "xml": {
1120
+ "name": "UserData",
1121
+ "namespace": "http://www.metaswitch.com/nsrs/soap/sh",
1122
+ "prefix": "tns",
1123
+ "attribute": false,
1124
+ "wrapped": false
1125
+ }
1126
+ }
1127
+ ]
1128
+ }
1129
+ },
1130
+ "description": "",
1131
+ "xml": {
1132
+ "name": "ShPullResponse",
1133
+ "namespace": "http://www.metaswitch.com/nsrs/soap/sh",
1134
+ "prefix": "tns",
1135
+ "attribute": false,
1136
+ "wrapped": false
1137
+ }
1138
+ },
1139
+ {
1140
+ "xml": {
1141
+ "name": "ShPullResponse",
1142
+ "attribute": false,
1143
+ "wrapped": false
1144
+ }
1145
+ }
1146
+ ]
1147
+ }
1148
+ },
1149
+ "xml": {
1150
+ "name": "ShPullResponse",
1151
+ "attribute": false,
1152
+ "wrapped": false
1153
+ }
1154
+ },
1155
+ {
1156
+ "xml": {
1157
+ "name": "ShPullResponse",
1158
+ "attribute": false,
1159
+ "wrapped": false
1160
+ }
1161
+ }
1162
+ ]
1163
+ }
1164
+ },
1165
+ "roles": [
1166
+ "admin"
1167
+ ],
1168
+ "route": {
1169
+ "verb": "POST",
1170
+ "path": "/postNSeries"
1171
+ },
1172
+ "task": true
1173
+ },
1174
+ {
1175
+ "name": "postMetaview",
1176
+ "summary": "Metaview",
1177
+ "description": "Metaview",
1178
+ "input": [
1179
+ {
1180
+ "name": "body",
1181
+ "type": "string",
1182
+ "info": ": string",
1183
+ "required": true
1184
+ }
1185
+ ],
1186
+ "output": {
1187
+ "name": "result",
1188
+ "type": "object",
1189
+ "description": "A JSON Object containing status, code and the result",
1190
+ "schema": {
1191
+ "allOf": [
1192
+ {
1193
+ "title": "ShPullResponse5",
1194
+ "required": [
1195
+ "ShPullResponse"
1196
+ ],
1197
+ "type": "object",
1198
+ "properties": {
1199
+ "ShPullResponse": {
1200
+ "allOf": [
1201
+ {
1202
+ "title": "ShPullResponse4",
1203
+ "required": [
1204
+ "ResultCode",
1205
+ "ExtendedResult"
1206
+ ],
1207
+ "type": "object",
1208
+ "properties": {
1209
+ "ResultCode": {
1210
+ "maximum": 9999,
1211
+ "minimum": 1000,
1212
+ "type": "integer",
1213
+ "xml": {
1214
+ "name": "ResultCode",
1215
+ "namespace": "http://www.metaswitch.com/ems/soap/sh",
1216
+ "prefix": "tns",
1217
+ "attribute": false,
1218
+ "wrapped": false
1219
+ }
1220
+ },
1221
+ "ExtendedResult": {
1222
+ "allOf": [
1223
+ {
1224
+ "title": "tExtendedResult2",
1225
+ "required": [
1226
+ "ExtendedResultCode",
1227
+ "ExtendedResultDetail",
1228
+ "ExtendedSubResults"
1229
+ ],
1230
+ "type": "object",
1231
+ "properties": {
1232
+ "ExtendedResultCode": {
1233
+ "type": "integer",
1234
+ "xml": {
1235
+ "name": "ExtendedResultCode",
1236
+ "namespace": "http://www.metaswitch.com/ems/soap/sh",
1237
+ "prefix": "tns",
1238
+ "attribute": false,
1239
+ "wrapped": false
1240
+ }
1241
+ },
1242
+ "ExtendedResultDetail": {
1243
+ "type": "string",
1244
+ "xml": {
1245
+ "name": "ExtendedResultDetail",
1246
+ "namespace": "http://www.metaswitch.com/ems/soap/sh",
1247
+ "prefix": "tns",
1248
+ "attribute": false,
1249
+ "wrapped": false
1250
+ }
1251
+ },
1252
+ "ExtendedSubResults": {
1253
+ "allOf": [
1254
+ {
1255
+ "title": "tExtendedSubResults2",
1256
+ "type": "object",
1257
+ "properties": {
1258
+ "SubResult": {
1259
+ "type": "array",
1260
+ "items": {
1261
+ "title": "tSubResult2",
1262
+ "required": [
1263
+ "SubResultCode",
1264
+ "SubResultDetail",
1265
+ "SubResultSource"
1266
+ ],
1267
+ "type": "object",
1268
+ "properties": {
1269
+ "SubResultCode": {
1270
+ "type": "integer",
1271
+ "xml": {
1272
+ "name": "SubResultCode",
1273
+ "namespace": "http://www.metaswitch.com/ems/soap/sh",
1274
+ "prefix": "tns",
1275
+ "attribute": false,
1276
+ "wrapped": false
1277
+ }
1278
+ },
1279
+ "SubResultDetail": {
1280
+ "type": "string",
1281
+ "xml": {
1282
+ "name": "SubResultDetail",
1283
+ "namespace": "http://www.metaswitch.com/ems/soap/sh",
1284
+ "prefix": "tns",
1285
+ "attribute": false,
1286
+ "wrapped": false
1287
+ }
1288
+ },
1289
+ "SubResultSource": {
1290
+ "type": "string",
1291
+ "xml": {
1292
+ "name": "SubResultSource",
1293
+ "namespace": "http://www.metaswitch.com/ems/soap/sh",
1294
+ "prefix": "tns",
1295
+ "attribute": false,
1296
+ "wrapped": false
1297
+ }
1298
+ },
1299
+ "SubResultSystem": {
1300
+ "type": "array",
1301
+ "items": {
1302
+ "title": "tResultSystem2",
1303
+ "type": "object",
1304
+ "properties": {
1305
+ "type": {
1306
+ "type": "string",
1307
+ "xml": {
1308
+ "name": "type",
1309
+ "prefix": "tns",
1310
+ "attribute": true,
1311
+ "wrapped": false
1312
+ }
1313
+ }
1314
+ },
1315
+ "description": "",
1316
+ "xml": {
1317
+ "name": "tResultSystem",
1318
+ "namespace": "http://www.metaswitch.com/ems/soap/sh",
1319
+ "prefix": "tns",
1320
+ "attribute": false,
1321
+ "wrapped": false
1322
+ }
1323
+ },
1324
+ "description": "",
1325
+ "xml": {
1326
+ "namespace": "http://www.metaswitch.com/ems/soap/sh",
1327
+ "prefix": "tns",
1328
+ "attribute": false,
1329
+ "wrapped": false
1330
+ }
1331
+ }
1332
+ },
1333
+ "description": "",
1334
+ "xml": {
1335
+ "name": "tSubResult",
1336
+ "namespace": "http://www.metaswitch.com/ems/soap/sh",
1337
+ "prefix": "tns",
1338
+ "attribute": false,
1339
+ "wrapped": false
1340
+ }
1341
+ },
1342
+ "description": "",
1343
+ "xml": {
1344
+ "namespace": "http://www.metaswitch.com/ems/soap/sh",
1345
+ "prefix": "tns",
1346
+ "attribute": false,
1347
+ "wrapped": false
1348
+ }
1349
+ }
1350
+ },
1351
+ "description": "",
1352
+ "xml": {
1353
+ "name": "tExtendedSubResults",
1354
+ "namespace": "http://www.metaswitch.com/ems/soap/sh",
1355
+ "prefix": "tns",
1356
+ "attribute": false,
1357
+ "wrapped": false
1358
+ }
1359
+ },
1360
+ {
1361
+ "xml": {
1362
+ "name": "ExtendedSubResults",
1363
+ "namespace": "http://www.metaswitch.com/ems/soap/sh",
1364
+ "prefix": "tns",
1365
+ "attribute": false,
1366
+ "wrapped": false
1367
+ }
1368
+ }
1369
+ ]
1370
+ },
1371
+ "ExtendedResultSystem": {
1372
+ "type": "array",
1373
+ "items": {
1374
+ "title": "tResultSystem2",
1375
+ "type": "object",
1376
+ "properties": {
1377
+ "type": {
1378
+ "type": "string",
1379
+ "xml": {
1380
+ "name": "type",
1381
+ "prefix": "tns",
1382
+ "attribute": true,
1383
+ "wrapped": false
1384
+ }
1385
+ }
1386
+ },
1387
+ "description": "",
1388
+ "xml": {
1389
+ "name": "tResultSystem",
1390
+ "namespace": "http://www.metaswitch.com/ems/soap/sh",
1391
+ "prefix": "tns",
1392
+ "attribute": false,
1393
+ "wrapped": false
1394
+ }
1395
+ },
1396
+ "description": "",
1397
+ "xml": {
1398
+ "namespace": "http://www.metaswitch.com/ems/soap/sh",
1399
+ "prefix": "tns",
1400
+ "attribute": false,
1401
+ "wrapped": false
1402
+ }
1403
+ }
1404
+ },
1405
+ "description": "",
1406
+ "xml": {
1407
+ "name": "tExtendedResult",
1408
+ "namespace": "http://www.metaswitch.com/ems/soap/sh",
1409
+ "prefix": "tns",
1410
+ "attribute": false,
1411
+ "wrapped": false
1412
+ }
1413
+ },
1414
+ {
1415
+ "xml": {
1416
+ "name": "ExtendedResult",
1417
+ "namespace": "http://www.metaswitch.com/ems/soap/sh",
1418
+ "prefix": "tns",
1419
+ "attribute": false,
1420
+ "wrapped": false
1421
+ }
1422
+ }
1423
+ ]
1424
+ },
1425
+ "UserData": {
1426
+ "allOf": [
1427
+ {
1428
+ "title": "tUserData2",
1429
+ "type": "object",
1430
+ "description": "",
1431
+ "xml": {
1432
+ "name": "tUserData",
1433
+ "namespace": "http://www.metaswitch.com/ems/soap/sh",
1434
+ "prefix": "tns",
1435
+ "attribute": false,
1436
+ "wrapped": false
1437
+ }
1438
+ },
1439
+ {
1440
+ "xml": {
1441
+ "name": "UserData",
1442
+ "namespace": "http://www.metaswitch.com/ems/soap/sh",
1443
+ "prefix": "tns",
1444
+ "attribute": false,
1445
+ "wrapped": false
1446
+ }
1447
+ }
1448
+ ]
1449
+ }
1450
+ },
1451
+ "description": "",
1452
+ "xml": {
1453
+ "name": "ShPullResponse",
1454
+ "namespace": "http://www.metaswitch.com/ems/soap/sh",
1455
+ "prefix": "tns",
1456
+ "attribute": false,
1457
+ "wrapped": false
1458
+ }
1459
+ },
1460
+ {
1461
+ "xml": {
1462
+ "name": "ShPullResponse",
1463
+ "attribute": false,
1464
+ "wrapped": false
1465
+ }
1466
+ }
1467
+ ]
1468
+ }
1469
+ },
1470
+ "xml": {
1471
+ "name": "ShPullResponse",
1472
+ "attribute": false,
1473
+ "wrapped": false
1474
+ }
1475
+ },
1476
+ {
1477
+ "xml": {
1478
+ "name": "ShPullResponse",
1479
+ "attribute": false,
1480
+ "wrapped": false
1481
+ }
1482
+ }
1483
+ ]
1484
+ }
1485
+ },
1486
+ "roles": [
1487
+ "admin"
1488
+ ],
1489
+ "route": {
1490
+ "verb": "POST",
1491
+ "path": "/postMetaview"
1492
+ },
1493
+ "task": true
1494
+ },
1495
+ {
1496
+ "name": "postNWSAP",
1497
+ "summary": "NWSAP",
1498
+ "description": "NWSAP",
1499
+ "input": [
1500
+ {
1501
+ "name": "body",
1502
+ "type": "string",
1503
+ "info": ": string",
1504
+ "required": true
1505
+ }
1506
+ ],
1507
+ "output": {
1508
+ "name": "result",
1509
+ "type": "object",
1510
+ "description": "A JSON Object containing status, code and the result",
1511
+ "schema": {
1512
+ "allOf": [
1513
+ {
1514
+ "title": "ShPullResponse7",
1515
+ "required": [
1516
+ "ShPullResponse"
1517
+ ],
1518
+ "type": "object",
1519
+ "properties": {
1520
+ "ShPullResponse": {
1521
+ "allOf": [
1522
+ {
1523
+ "title": "ShPullResponse6",
1524
+ "required": [
1525
+ "ResultCode",
1526
+ "ExtendedResult"
1527
+ ],
1528
+ "type": "object",
1529
+ "properties": {
1530
+ "ResultCode": {
1531
+ "maximum": 9999,
1532
+ "minimum": 1000,
1533
+ "type": "integer",
1534
+ "xml": {
1535
+ "name": "ResultCode",
1536
+ "namespace": "http://www.metaswitch.com/srb/soap/sh",
1537
+ "prefix": "tns",
1538
+ "attribute": false,
1539
+ "wrapped": false
1540
+ }
1541
+ },
1542
+ "ExtendedResult": {
1543
+ "allOf": [
1544
+ {
1545
+ "title": "tExtendedResult3",
1546
+ "required": [
1547
+ "ExtendedResultCode",
1548
+ "ExtendedResultDetail",
1549
+ "ExtendedSubResults"
1550
+ ],
1551
+ "type": "object",
1552
+ "properties": {
1553
+ "ExtendedResultCode": {
1554
+ "type": "integer",
1555
+ "xml": {
1556
+ "name": "ExtendedResultCode",
1557
+ "namespace": "http://www.metaswitch.com/srb/soap/sh",
1558
+ "prefix": "tns",
1559
+ "attribute": false,
1560
+ "wrapped": false
1561
+ }
1562
+ },
1563
+ "ExtendedResultDetail": {
1564
+ "type": "string",
1565
+ "xml": {
1566
+ "name": "ExtendedResultDetail",
1567
+ "namespace": "http://www.metaswitch.com/srb/soap/sh",
1568
+ "prefix": "tns",
1569
+ "attribute": false,
1570
+ "wrapped": false
1571
+ }
1572
+ },
1573
+ "ExtendedSubResults": {
1574
+ "allOf": [
1575
+ {
1576
+ "title": "tExtendedSubResults3",
1577
+ "type": "object",
1578
+ "properties": {
1579
+ "SubResult": {
1580
+ "type": "array",
1581
+ "items": {
1582
+ "title": "tSubResult3",
1583
+ "required": [
1584
+ "SubResultCode",
1585
+ "SubResultDetail",
1586
+ "SubResultSource"
1587
+ ],
1588
+ "type": "object",
1589
+ "properties": {
1590
+ "SubResultCode": {
1591
+ "type": "integer",
1592
+ "xml": {
1593
+ "name": "SubResultCode",
1594
+ "namespace": "http://www.metaswitch.com/srb/soap/sh",
1595
+ "prefix": "tns",
1596
+ "attribute": false,
1597
+ "wrapped": false
1598
+ }
1599
+ },
1600
+ "SubResultDetail": {
1601
+ "type": "string",
1602
+ "xml": {
1603
+ "name": "SubResultDetail",
1604
+ "namespace": "http://www.metaswitch.com/srb/soap/sh",
1605
+ "prefix": "tns",
1606
+ "attribute": false,
1607
+ "wrapped": false
1608
+ }
1609
+ },
1610
+ "SubResultSource": {
1611
+ "type": "string",
1612
+ "xml": {
1613
+ "name": "SubResultSource",
1614
+ "namespace": "http://www.metaswitch.com/srb/soap/sh",
1615
+ "prefix": "tns",
1616
+ "attribute": false,
1617
+ "wrapped": false
1618
+ }
1619
+ },
1620
+ "SubResultSystem": {
1621
+ "type": "array",
1622
+ "items": {
1623
+ "title": "tResultSystem3",
1624
+ "type": "object",
1625
+ "properties": {
1626
+ "type": {
1627
+ "type": "string",
1628
+ "xml": {
1629
+ "name": "type",
1630
+ "prefix": "tns",
1631
+ "attribute": true,
1632
+ "wrapped": false
1633
+ }
1634
+ }
1635
+ },
1636
+ "description": "",
1637
+ "xml": {
1638
+ "name": "tResultSystem",
1639
+ "namespace": "http://www.metaswitch.com/srb/soap/sh",
1640
+ "prefix": "tns",
1641
+ "attribute": false,
1642
+ "wrapped": false
1643
+ }
1644
+ },
1645
+ "description": "",
1646
+ "xml": {
1647
+ "namespace": "http://www.metaswitch.com/srb/soap/sh",
1648
+ "prefix": "tns",
1649
+ "attribute": false,
1650
+ "wrapped": false
1651
+ }
1652
+ }
1653
+ },
1654
+ "description": "",
1655
+ "xml": {
1656
+ "name": "tSubResult",
1657
+ "namespace": "http://www.metaswitch.com/srb/soap/sh",
1658
+ "prefix": "tns",
1659
+ "attribute": false,
1660
+ "wrapped": false
1661
+ }
1662
+ },
1663
+ "description": "",
1664
+ "xml": {
1665
+ "namespace": "http://www.metaswitch.com/srb/soap/sh",
1666
+ "prefix": "tns",
1667
+ "attribute": false,
1668
+ "wrapped": false
1669
+ }
1670
+ }
1671
+ },
1672
+ "description": "",
1673
+ "xml": {
1674
+ "name": "tExtendedSubResults",
1675
+ "namespace": "http://www.metaswitch.com/srb/soap/sh",
1676
+ "prefix": "tns",
1677
+ "attribute": false,
1678
+ "wrapped": false
1679
+ }
1680
+ },
1681
+ {
1682
+ "xml": {
1683
+ "name": "ExtendedSubResults",
1684
+ "namespace": "http://www.metaswitch.com/srb/soap/sh",
1685
+ "prefix": "tns",
1686
+ "attribute": false,
1687
+ "wrapped": false
1688
+ }
1689
+ }
1690
+ ]
1691
+ },
1692
+ "ExtendedResultSystem": {
1693
+ "type": "array",
1694
+ "items": {
1695
+ "title": "tResultSystem3",
1696
+ "type": "object",
1697
+ "properties": {
1698
+ "type": {
1699
+ "type": "string",
1700
+ "xml": {
1701
+ "name": "type",
1702
+ "prefix": "tns",
1703
+ "attribute": true,
1704
+ "wrapped": false
1705
+ }
1706
+ }
1707
+ },
1708
+ "description": "",
1709
+ "xml": {
1710
+ "name": "tResultSystem",
1711
+ "namespace": "http://www.metaswitch.com/srb/soap/sh",
1712
+ "prefix": "tns",
1713
+ "attribute": false,
1714
+ "wrapped": false
1715
+ }
1716
+ },
1717
+ "description": "",
1718
+ "xml": {
1719
+ "namespace": "http://www.metaswitch.com/srb/soap/sh",
1720
+ "prefix": "tns",
1721
+ "attribute": false,
1722
+ "wrapped": false
1723
+ }
1724
+ }
1725
+ },
1726
+ "description": "",
1727
+ "xml": {
1728
+ "name": "tExtendedResult",
1729
+ "namespace": "http://www.metaswitch.com/srb/soap/sh",
1730
+ "prefix": "tns",
1731
+ "attribute": false,
1732
+ "wrapped": false
1733
+ }
1734
+ },
1735
+ {
1736
+ "xml": {
1737
+ "name": "ExtendedResult",
1738
+ "namespace": "http://www.metaswitch.com/srb/soap/sh",
1739
+ "prefix": "tns",
1740
+ "attribute": false,
1741
+ "wrapped": false
1742
+ }
1743
+ }
1744
+ ]
1745
+ },
1746
+ "UserData": {
1747
+ "allOf": [
1748
+ {
1749
+ "title": "tUserData3",
1750
+ "type": "object",
1751
+ "description": "",
1752
+ "xml": {
1753
+ "name": "tUserData",
1754
+ "namespace": "http://www.metaswitch.com/srb/soap/sh",
1755
+ "prefix": "tns",
1756
+ "attribute": false,
1757
+ "wrapped": false
1758
+ }
1759
+ },
1760
+ {
1761
+ "xml": {
1762
+ "name": "UserData",
1763
+ "namespace": "http://www.metaswitch.com/srb/soap/sh",
1764
+ "prefix": "tns",
1765
+ "attribute": false,
1766
+ "wrapped": false
1767
+ }
1768
+ }
1769
+ ]
1770
+ }
1771
+ },
1772
+ "description": "",
1773
+ "xml": {
1774
+ "name": "ShPullResponse",
1775
+ "namespace": "http://www.metaswitch.com/srb/soap/sh",
1776
+ "prefix": "tns",
1777
+ "attribute": false,
1778
+ "wrapped": false
1779
+ }
1780
+ },
1781
+ {
1782
+ "xml": {
1783
+ "name": "ShPullResponse",
1784
+ "attribute": false,
1785
+ "wrapped": false
1786
+ }
1787
+ }
1788
+ ]
1789
+ }
1790
+ },
1791
+ "xml": {
1792
+ "name": "ShPullResponse",
1793
+ "attribute": false,
1794
+ "wrapped": false
1795
+ }
1796
+ },
1797
+ {
1798
+ "xml": {
1799
+ "name": "ShPullResponse",
1800
+ "attribute": false,
1801
+ "wrapped": false
1802
+ }
1803
+ }
1804
+ ]
1805
+ }
1806
+ },
1807
+ "roles": [
1808
+ "admin"
1809
+ ],
1810
+ "route": {
1811
+ "verb": "POST",
1812
+ "path": "/postNWSAP"
1813
+ },
1814
+ "task": true
1815
+ }
1816
+ ],
1817
+ "views": []
1818
+ }