@itentialopensource/adapter-tmf641_service_ordering_management 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/AUTH.md +39 -0
  5. package/BROKER.md +199 -0
  6. package/CALLS.md +290 -0
  7. package/CHANGELOG.md +16 -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 +2487 -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/CancelServiceOrder/action.json +66 -0
  28. package/entities/CancelServiceOrder/mockdatafiles/listCancelServiceOrder-default.json +95 -0
  29. package/entities/CancelServiceOrder/schema.json +21 -0
  30. package/entities/EventsSubscription/action.json +44 -0
  31. package/entities/EventsSubscription/schema.json +20 -0
  32. package/entities/NotificationListenersClientSide/action.json +204 -0
  33. package/entities/NotificationListenersClientSide/schema.json +28 -0
  34. package/entities/ServiceOrder/action.json +106 -0
  35. package/entities/ServiceOrder/schema.json +23 -0
  36. package/error.json +190 -0
  37. package/package.json +85 -0
  38. package/pronghorn.json +1646 -0
  39. package/propertiesDecorators.json +14 -0
  40. package/propertiesSchema.json +1248 -0
  41. package/refs?service=git-upload-pack +0 -0
  42. package/report/adapterInfo.json +10 -0
  43. package/report/creationReport.json +350 -0
  44. package/report/test641.json +10238 -0
  45. package/sampleProperties.json +195 -0
  46. package/test/integration/adapterTestBasicGet.js +83 -0
  47. package/test/integration/adapterTestConnectivity.js +93 -0
  48. package/test/integration/adapterTestIntegration.js +866 -0
  49. package/test/unit/adapterBaseTestUnit.js +949 -0
  50. package/test/unit/adapterTestUnit.js +1874 -0
  51. package/utils/adapterInfo.js +206 -0
  52. package/utils/addAuth.js +94 -0
  53. package/utils/artifactize.js +146 -0
  54. package/utils/basicGet.js +50 -0
  55. package/utils/checkMigrate.js +63 -0
  56. package/utils/entitiesToDB.js +178 -0
  57. package/utils/findPath.js +74 -0
  58. package/utils/methodDocumentor.js +225 -0
  59. package/utils/modify.js +154 -0
  60. package/utils/packModificationScript.js +35 -0
  61. package/utils/patches2bundledDeps.js +90 -0
  62. package/utils/pre-commit.sh +32 -0
  63. package/utils/removeHooks.js +20 -0
  64. package/utils/setup.js +33 -0
  65. package/utils/tbScript.js +246 -0
  66. package/utils/tbUtils.js +490 -0
  67. package/utils/testRunner.js +298 -0
  68. package/utils/troubleshootingAdapter.js +195 -0
  69. package/workflows/README.md +3 -0
package/pronghorn.json ADDED
@@ -0,0 +1,1646 @@
1
+ {
2
+ "id": "@itentialopensource/adapter-tmf641_service_ordering_management",
3
+ "type": "Adapter",
4
+ "export": "Tmf641ServiceOrderingManagement",
5
+ "title": "tmf641_service_ordering_management",
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": "listServiceOrder",
662
+ "summary": "listServiceOrder",
663
+ "description": "This operation list or find ServiceOrder entities",
664
+ "input": [
665
+ {
666
+ "name": "fields",
667
+ "type": "string",
668
+ "info": "Comma-separated properties to be provided in response: string",
669
+ "required": false,
670
+ "schema": {
671
+ "title": "fields",
672
+ "type": "string"
673
+ }
674
+ },
675
+ {
676
+ "name": "offset",
677
+ "type": "number",
678
+ "info": "Requested index for start of resources to be provided in response: 123",
679
+ "required": false,
680
+ "schema": {
681
+ "title": "offset",
682
+ "type": "number"
683
+ }
684
+ },
685
+ {
686
+ "name": "limit",
687
+ "type": "number",
688
+ "info": "Requested number of resources to be provided in response: 123",
689
+ "required": false,
690
+ "schema": {
691
+ "title": "limit",
692
+ "type": "number"
693
+ }
694
+ }
695
+ ],
696
+ "output": {
697
+ "name": "result",
698
+ "type": "object",
699
+ "description": "A JSON Object containing status, code and the result",
700
+ "schema": {
701
+ "title": "result",
702
+ "type": "object"
703
+ }
704
+ },
705
+ "roles": [
706
+ "admin"
707
+ ],
708
+ "route": {
709
+ "verb": "POST",
710
+ "path": "/listServiceOrder"
711
+ },
712
+ "task": true
713
+ },
714
+ {
715
+ "name": "createServiceOrder",
716
+ "summary": "createServiceOrder",
717
+ "description": "This operation creates a ServiceOrder entity.",
718
+ "input": [
719
+ {
720
+ "name": "body",
721
+ "type": "object",
722
+ "info": "The ServiceOrder to be created: object",
723
+ "required": true,
724
+ "schema": {
725
+ "allOf": [
726
+ {
727
+ "type": "object"
728
+ },
729
+ {
730
+ "description": "The ServiceOrder to be created"
731
+ }
732
+ ],
733
+ "definitions": {}
734
+ }
735
+ }
736
+ ],
737
+ "output": {
738
+ "name": "result",
739
+ "type": "object",
740
+ "description": "A JSON Object containing status, code and the result",
741
+ "schema": {
742
+ "title": "result",
743
+ "type": "object"
744
+ }
745
+ },
746
+ "roles": [
747
+ "admin"
748
+ ],
749
+ "route": {
750
+ "verb": "POST",
751
+ "path": "/createServiceOrder"
752
+ },
753
+ "task": true
754
+ },
755
+ {
756
+ "name": "retrieveServiceOrder",
757
+ "summary": "retrieveServiceOrder",
758
+ "description": "This operation retrieves a ServiceOrder entity. Attribute selection is enabled for all first level attributes.",
759
+ "input": [
760
+ {
761
+ "name": "id",
762
+ "type": "string",
763
+ "info": "Identifier of the ServiceOrder: string",
764
+ "required": true,
765
+ "schema": {
766
+ "title": "id",
767
+ "type": "string"
768
+ }
769
+ },
770
+ {
771
+ "name": "fields",
772
+ "type": "string",
773
+ "info": "Comma-separated properties to provide in response: string",
774
+ "required": false,
775
+ "schema": {
776
+ "title": "fields",
777
+ "type": "string"
778
+ }
779
+ }
780
+ ],
781
+ "output": {
782
+ "name": "result",
783
+ "type": "object",
784
+ "description": "A JSON Object containing status, code and the result",
785
+ "schema": {
786
+ "title": "result",
787
+ "type": "object"
788
+ }
789
+ },
790
+ "roles": [
791
+ "admin"
792
+ ],
793
+ "route": {
794
+ "verb": "POST",
795
+ "path": "/retrieveServiceOrder"
796
+ },
797
+ "task": true
798
+ },
799
+ {
800
+ "name": "deleteServiceOrder",
801
+ "summary": "deleteServiceOrder",
802
+ "description": "This operation deletes a ServiceOrder entity.",
803
+ "input": [
804
+ {
805
+ "name": "id",
806
+ "type": "string",
807
+ "info": "Identifier of the ServiceOrder: string",
808
+ "required": true,
809
+ "schema": {
810
+ "title": "id",
811
+ "type": "string"
812
+ }
813
+ }
814
+ ],
815
+ "output": {
816
+ "name": "result",
817
+ "type": "object",
818
+ "description": "A JSON Object containing status, code and the result",
819
+ "schema": {
820
+ "title": "result",
821
+ "type": "object"
822
+ }
823
+ },
824
+ "roles": [
825
+ "admin"
826
+ ],
827
+ "route": {
828
+ "verb": "POST",
829
+ "path": "/deleteServiceOrder"
830
+ },
831
+ "task": true
832
+ },
833
+ {
834
+ "name": "patchServiceOrder",
835
+ "summary": "patchServiceOrder",
836
+ "description": "This operation updates partially a ServiceOrder entity.",
837
+ "input": [
838
+ {
839
+ "name": "id",
840
+ "type": "string",
841
+ "info": "Identifier of the ServiceOrder: string",
842
+ "required": true,
843
+ "schema": {
844
+ "title": "id",
845
+ "type": "string"
846
+ }
847
+ },
848
+ {
849
+ "name": "body",
850
+ "type": "object",
851
+ "info": "The ServiceOrder to be updated: object",
852
+ "required": true,
853
+ "schema": {
854
+ "allOf": [
855
+ {
856
+ "type": "object"
857
+ },
858
+ {
859
+ "description": "The ServiceOrder to be updated"
860
+ }
861
+ ],
862
+ "definitions": {}
863
+ }
864
+ }
865
+ ],
866
+ "output": {
867
+ "name": "result",
868
+ "type": "object",
869
+ "description": "A JSON Object containing status, code and the result",
870
+ "schema": {
871
+ "title": "result",
872
+ "type": "object"
873
+ }
874
+ },
875
+ "roles": [
876
+ "admin"
877
+ ],
878
+ "route": {
879
+ "verb": "POST",
880
+ "path": "/patchServiceOrder"
881
+ },
882
+ "task": true
883
+ },
884
+ {
885
+ "name": "listCancelServiceOrder",
886
+ "summary": "listCancelServiceOrder",
887
+ "description": "This operation list or find CancelServiceOrder entities",
888
+ "input": [
889
+ {
890
+ "name": "fields",
891
+ "type": "string",
892
+ "info": "Comma-separated properties to be provided in response: string",
893
+ "required": false,
894
+ "schema": {
895
+ "title": "fields",
896
+ "type": "string"
897
+ }
898
+ },
899
+ {
900
+ "name": "offset",
901
+ "type": "number",
902
+ "info": "Requested index for start of resources to be provided in response: 123",
903
+ "required": false,
904
+ "schema": {
905
+ "title": "offset",
906
+ "type": "number"
907
+ }
908
+ },
909
+ {
910
+ "name": "limit",
911
+ "type": "number",
912
+ "info": "Requested number of resources to be provided in response: 123",
913
+ "required": false,
914
+ "schema": {
915
+ "title": "limit",
916
+ "type": "number"
917
+ }
918
+ }
919
+ ],
920
+ "output": {
921
+ "name": "result",
922
+ "type": "object",
923
+ "description": "A JSON Object containing status, code and the result",
924
+ "schema": {
925
+ "type": "array",
926
+ "items": {
927
+ "title": "CancelServiceOrder",
928
+ "type": "object",
929
+ "properties": {
930
+ "id": {
931
+ "type": "string",
932
+ "description": "unique identifier"
933
+ },
934
+ "href": {
935
+ "type": "string",
936
+ "description": "Hyperlink reference"
937
+ },
938
+ "cancellationReason": {
939
+ "type": "string",
940
+ "description": "Reason why the order is cancelled."
941
+ },
942
+ "completionMessage": {
943
+ "type": "string",
944
+ "description": "an optional message describing the completion of the task if it is done as expected or it is denied for a reason (like order in an state of PoNR)."
945
+ },
946
+ "effectiveCancellationDate": {
947
+ "type": "string",
948
+ "description": "Date when the order is cancelled."
949
+ },
950
+ "requestedCancellationDate": {
951
+ "type": "string",
952
+ "description": "Date when the submitter wants the order to be cancelled"
953
+ },
954
+ "errorMessage": {
955
+ "title": "ErrorMessage2",
956
+ "type": "object",
957
+ "properties": {
958
+ "code": {
959
+ "type": "string",
960
+ "description": "error code"
961
+ },
962
+ "message": {
963
+ "type": "string",
964
+ "description": "More details and corrective actions related to the error"
965
+ },
966
+ "reason": {
967
+ "type": "string",
968
+ "description": "Explanation of the reason for the error"
969
+ },
970
+ "referenceError": {
971
+ "type": "string",
972
+ "description": "URI of documentation describing the error"
973
+ },
974
+ "status": {
975
+ "type": "string",
976
+ "description": "error code extension like sys-ABC-2001"
977
+ },
978
+ "@baseType": {
979
+ "type": "string",
980
+ "description": "When sub-classing, this defines the super-class"
981
+ },
982
+ "@schemaLocation": {
983
+ "type": "string",
984
+ "description": "A URI to a JSON-Schema file that defines additional attributes and relationships"
985
+ },
986
+ "@type": {
987
+ "type": "string",
988
+ "description": "When sub-classing, this defines the sub-class Extensible name"
989
+ }
990
+ }
991
+ },
992
+ "serviceOrder": {
993
+ "title": "ServiceOrder1",
994
+ "required": [
995
+ "id"
996
+ ],
997
+ "type": "object",
998
+ "properties": {
999
+ "id": {
1000
+ "type": "string",
1001
+ "description": "unique identifier"
1002
+ },
1003
+ "href": {
1004
+ "type": "string",
1005
+ "description": "Hyperlink reference"
1006
+ },
1007
+ "name": {
1008
+ "type": "string",
1009
+ "description": "Name of the related service order"
1010
+ },
1011
+ "@baseType": {
1012
+ "type": "string",
1013
+ "description": "When sub-classing, this defines the super-class"
1014
+ },
1015
+ "@schemaLocation": {
1016
+ "type": "string",
1017
+ "description": "A URI to a JSON-Schema file that defines additional attributes and relationships"
1018
+ },
1019
+ "@type": {
1020
+ "type": "string",
1021
+ "description": "When sub-classing, this defines the sub-class Extensible name"
1022
+ },
1023
+ "@referredType": {
1024
+ "type": "string",
1025
+ "description": "The actual type of the target instance when needed for disambiguation."
1026
+ }
1027
+ }
1028
+ },
1029
+ "state": {
1030
+ "allOf": [
1031
+ {
1032
+ "title": "TaskStateType",
1033
+ "enum": [
1034
+ "accepted",
1035
+ "terminatedWithError",
1036
+ "inProgress",
1037
+ "done"
1038
+ ],
1039
+ "type": "string",
1040
+ "description": "Possible values for the state of a task"
1041
+ },
1042
+ {
1043
+ "description": "Possible values for the state of a task"
1044
+ }
1045
+ ]
1046
+ },
1047
+ "@baseType": {
1048
+ "type": "string",
1049
+ "description": "When sub-classing, this defines the super-class"
1050
+ },
1051
+ "@schemaLocation": {
1052
+ "type": "string",
1053
+ "description": "A URI to a JSON-Schema file that defines additional attributes and relationships"
1054
+ },
1055
+ "@type": {
1056
+ "type": "string",
1057
+ "description": "When sub-classing, this defines the sub-class Extensible name"
1058
+ }
1059
+ },
1060
+ "description": "Request for cancellation an existing Service order"
1061
+ },
1062
+ "description": ""
1063
+ }
1064
+ },
1065
+ "roles": [
1066
+ "admin"
1067
+ ],
1068
+ "route": {
1069
+ "verb": "POST",
1070
+ "path": "/listCancelServiceOrder"
1071
+ },
1072
+ "task": true
1073
+ },
1074
+ {
1075
+ "name": "createCancelServiceOrder",
1076
+ "summary": "createCancelServiceOrder",
1077
+ "description": "This operation creates a CancelServiceOrder entity.",
1078
+ "input": [
1079
+ {
1080
+ "name": "body",
1081
+ "type": "object",
1082
+ "info": "The CancelServiceOrder to be created: object",
1083
+ "required": true,
1084
+ "schema": {
1085
+ "allOf": [
1086
+ {
1087
+ "type": "object"
1088
+ },
1089
+ {
1090
+ "description": "The CancelServiceOrder to be created"
1091
+ }
1092
+ ],
1093
+ "definitions": {}
1094
+ }
1095
+ }
1096
+ ],
1097
+ "output": {
1098
+ "name": "result",
1099
+ "type": "object",
1100
+ "description": "A JSON Object containing status, code and the result",
1101
+ "schema": {
1102
+ "title": "result",
1103
+ "type": "object"
1104
+ }
1105
+ },
1106
+ "roles": [
1107
+ "admin"
1108
+ ],
1109
+ "route": {
1110
+ "verb": "POST",
1111
+ "path": "/createCancelServiceOrder"
1112
+ },
1113
+ "task": true
1114
+ },
1115
+ {
1116
+ "name": "retrieveCancelServiceOrder",
1117
+ "summary": "retrieveCancelServiceOrder",
1118
+ "description": "This operation retrieves a CancelServiceOrder entity. Attribute selection is enabled for all first level attributes.",
1119
+ "input": [
1120
+ {
1121
+ "name": "id",
1122
+ "type": "string",
1123
+ "info": "Identifier of the CancelServiceOrder: string",
1124
+ "required": true,
1125
+ "schema": {
1126
+ "title": "id",
1127
+ "type": "string"
1128
+ }
1129
+ },
1130
+ {
1131
+ "name": "fields",
1132
+ "type": "string",
1133
+ "info": "Comma-separated properties to provide in response: string",
1134
+ "required": false,
1135
+ "schema": {
1136
+ "title": "fields",
1137
+ "type": "string"
1138
+ }
1139
+ }
1140
+ ],
1141
+ "output": {
1142
+ "name": "result",
1143
+ "type": "object",
1144
+ "description": "A JSON Object containing status, code and the result",
1145
+ "schema": {
1146
+ "title": "result",
1147
+ "type": "object"
1148
+ }
1149
+ },
1150
+ "roles": [
1151
+ "admin"
1152
+ ],
1153
+ "route": {
1154
+ "verb": "POST",
1155
+ "path": "/retrieveCancelServiceOrder"
1156
+ },
1157
+ "task": true
1158
+ },
1159
+ {
1160
+ "name": "listenToServiceOrderCreateEvent",
1161
+ "summary": "listenToServiceOrderCreateEvent",
1162
+ "description": "Example of a client listener for receiving the notification ServiceOrderCreateEvent",
1163
+ "input": [
1164
+ {
1165
+ "name": "body",
1166
+ "type": "object",
1167
+ "info": "The event data: object",
1168
+ "required": true,
1169
+ "schema": {
1170
+ "allOf": [
1171
+ {
1172
+ "type": "object"
1173
+ },
1174
+ {
1175
+ "description": "The event data"
1176
+ }
1177
+ ],
1178
+ "definitions": {}
1179
+ }
1180
+ }
1181
+ ],
1182
+ "output": {
1183
+ "name": "result",
1184
+ "type": "object",
1185
+ "description": "A JSON Object containing status, code and the result",
1186
+ "schema": {
1187
+ "title": "result",
1188
+ "type": "object"
1189
+ }
1190
+ },
1191
+ "roles": [
1192
+ "admin"
1193
+ ],
1194
+ "route": {
1195
+ "verb": "POST",
1196
+ "path": "/listenToServiceOrderCreateEvent"
1197
+ },
1198
+ "task": true
1199
+ },
1200
+ {
1201
+ "name": "listenToServiceOrderAttributeValueChangeEvent",
1202
+ "summary": "listenToServiceOrderAttributeValueChangeEvent",
1203
+ "description": "Example of a client listener for receiving the notification ServiceOrderAttributeValueChangeEvent",
1204
+ "input": [
1205
+ {
1206
+ "name": "body",
1207
+ "type": "object",
1208
+ "info": "The event data: object",
1209
+ "required": true,
1210
+ "schema": {
1211
+ "allOf": [
1212
+ {
1213
+ "type": "object"
1214
+ },
1215
+ {
1216
+ "description": "The event data"
1217
+ }
1218
+ ],
1219
+ "definitions": {}
1220
+ }
1221
+ }
1222
+ ],
1223
+ "output": {
1224
+ "name": "result",
1225
+ "type": "object",
1226
+ "description": "A JSON Object containing status, code and the result",
1227
+ "schema": {
1228
+ "title": "result",
1229
+ "type": "object"
1230
+ }
1231
+ },
1232
+ "roles": [
1233
+ "admin"
1234
+ ],
1235
+ "route": {
1236
+ "verb": "POST",
1237
+ "path": "/listenToServiceOrderAttributeValueChangeEvent"
1238
+ },
1239
+ "task": true
1240
+ },
1241
+ {
1242
+ "name": "listenToServiceOrderStateChangeEvent",
1243
+ "summary": "listenToServiceOrderStateChangeEvent",
1244
+ "description": "Example of a client listener for receiving the notification ServiceOrderStateChangeEvent",
1245
+ "input": [
1246
+ {
1247
+ "name": "body",
1248
+ "type": "object",
1249
+ "info": "The event data: object",
1250
+ "required": true,
1251
+ "schema": {
1252
+ "allOf": [
1253
+ {
1254
+ "type": "object"
1255
+ },
1256
+ {
1257
+ "description": "The event data"
1258
+ }
1259
+ ],
1260
+ "definitions": {}
1261
+ }
1262
+ }
1263
+ ],
1264
+ "output": {
1265
+ "name": "result",
1266
+ "type": "object",
1267
+ "description": "A JSON Object containing status, code and the result",
1268
+ "schema": {
1269
+ "title": "result",
1270
+ "type": "object"
1271
+ }
1272
+ },
1273
+ "roles": [
1274
+ "admin"
1275
+ ],
1276
+ "route": {
1277
+ "verb": "POST",
1278
+ "path": "/listenToServiceOrderStateChangeEvent"
1279
+ },
1280
+ "task": true
1281
+ },
1282
+ {
1283
+ "name": "listenToServiceOrderDeleteEvent",
1284
+ "summary": "listenToServiceOrderDeleteEvent",
1285
+ "description": "Example of a client listener for receiving the notification ServiceOrderDeleteEvent",
1286
+ "input": [
1287
+ {
1288
+ "name": "body",
1289
+ "type": "object",
1290
+ "info": "The event data: object",
1291
+ "required": true,
1292
+ "schema": {
1293
+ "allOf": [
1294
+ {
1295
+ "type": "object"
1296
+ },
1297
+ {
1298
+ "description": "The event data"
1299
+ }
1300
+ ],
1301
+ "definitions": {}
1302
+ }
1303
+ }
1304
+ ],
1305
+ "output": {
1306
+ "name": "result",
1307
+ "type": "object",
1308
+ "description": "A JSON Object containing status, code and the result",
1309
+ "schema": {
1310
+ "title": "result",
1311
+ "type": "object"
1312
+ }
1313
+ },
1314
+ "roles": [
1315
+ "admin"
1316
+ ],
1317
+ "route": {
1318
+ "verb": "POST",
1319
+ "path": "/listenToServiceOrderDeleteEvent"
1320
+ },
1321
+ "task": true
1322
+ },
1323
+ {
1324
+ "name": "listenToServiceOrderInformationRequiredEvent",
1325
+ "summary": "listenToServiceOrderInformationRequiredEvent",
1326
+ "description": "Example of a client listener for receiving the notification ServiceOrderInformationRequiredEvent",
1327
+ "input": [
1328
+ {
1329
+ "name": "body",
1330
+ "type": "object",
1331
+ "info": "The event data: object",
1332
+ "required": true,
1333
+ "schema": {
1334
+ "allOf": [
1335
+ {
1336
+ "type": "object"
1337
+ },
1338
+ {
1339
+ "description": "The event data"
1340
+ }
1341
+ ],
1342
+ "definitions": {}
1343
+ }
1344
+ }
1345
+ ],
1346
+ "output": {
1347
+ "name": "result",
1348
+ "type": "object",
1349
+ "description": "A JSON Object containing status, code and the result",
1350
+ "schema": {
1351
+ "title": "result",
1352
+ "type": "object"
1353
+ }
1354
+ },
1355
+ "roles": [
1356
+ "admin"
1357
+ ],
1358
+ "route": {
1359
+ "verb": "POST",
1360
+ "path": "/listenToServiceOrderInformationRequiredEvent"
1361
+ },
1362
+ "task": true
1363
+ },
1364
+ {
1365
+ "name": "listenToServiceOrderMilestoneEvent",
1366
+ "summary": "listenToServiceOrderMilestoneEvent",
1367
+ "description": "Example of a client listener for receiving the notification ServiceOrderMilestoneEvent",
1368
+ "input": [
1369
+ {
1370
+ "name": "body",
1371
+ "type": "object",
1372
+ "info": "The event data: object",
1373
+ "required": true,
1374
+ "schema": {
1375
+ "allOf": [
1376
+ {
1377
+ "type": "object"
1378
+ },
1379
+ {
1380
+ "description": "The event data"
1381
+ }
1382
+ ],
1383
+ "definitions": {}
1384
+ }
1385
+ }
1386
+ ],
1387
+ "output": {
1388
+ "name": "result",
1389
+ "type": "object",
1390
+ "description": "A JSON Object containing status, code and the result",
1391
+ "schema": {
1392
+ "title": "result",
1393
+ "type": "object"
1394
+ }
1395
+ },
1396
+ "roles": [
1397
+ "admin"
1398
+ ],
1399
+ "route": {
1400
+ "verb": "POST",
1401
+ "path": "/listenToServiceOrderMilestoneEvent"
1402
+ },
1403
+ "task": true
1404
+ },
1405
+ {
1406
+ "name": "listenToServiceOrderJeopardyEvent",
1407
+ "summary": "listenToServiceOrderJeopardyEvent",
1408
+ "description": "Example of a client listener for receiving the notification ServiceOrderJeopardyEvent",
1409
+ "input": [
1410
+ {
1411
+ "name": "body",
1412
+ "type": "object",
1413
+ "info": "The event data: object",
1414
+ "required": true,
1415
+ "schema": {
1416
+ "allOf": [
1417
+ {
1418
+ "type": "object"
1419
+ },
1420
+ {
1421
+ "description": "The event data"
1422
+ }
1423
+ ],
1424
+ "definitions": {}
1425
+ }
1426
+ }
1427
+ ],
1428
+ "output": {
1429
+ "name": "result",
1430
+ "type": "object",
1431
+ "description": "A JSON Object containing status, code and the result",
1432
+ "schema": {
1433
+ "title": "result",
1434
+ "type": "object"
1435
+ }
1436
+ },
1437
+ "roles": [
1438
+ "admin"
1439
+ ],
1440
+ "route": {
1441
+ "verb": "POST",
1442
+ "path": "/listenToServiceOrderJeopardyEvent"
1443
+ },
1444
+ "task": true
1445
+ },
1446
+ {
1447
+ "name": "listenToCancelServiceOrderCreateEvent",
1448
+ "summary": "listenToCancelServiceOrderCreateEvent",
1449
+ "description": "Example of a client listener for receiving the notification CancelServiceOrderCreateEvent",
1450
+ "input": [
1451
+ {
1452
+ "name": "body",
1453
+ "type": "object",
1454
+ "info": "The event data: object",
1455
+ "required": true,
1456
+ "schema": {
1457
+ "allOf": [
1458
+ {
1459
+ "type": "object"
1460
+ },
1461
+ {
1462
+ "description": "The event data"
1463
+ }
1464
+ ],
1465
+ "definitions": {}
1466
+ }
1467
+ }
1468
+ ],
1469
+ "output": {
1470
+ "name": "result",
1471
+ "type": "object",
1472
+ "description": "A JSON Object containing status, code and the result",
1473
+ "schema": {
1474
+ "title": "result",
1475
+ "type": "object"
1476
+ }
1477
+ },
1478
+ "roles": [
1479
+ "admin"
1480
+ ],
1481
+ "route": {
1482
+ "verb": "POST",
1483
+ "path": "/listenToCancelServiceOrderCreateEvent"
1484
+ },
1485
+ "task": true
1486
+ },
1487
+ {
1488
+ "name": "listenToCancelServiceOrderStateChangeEvent",
1489
+ "summary": "listenToCancelServiceOrderStateChangeEvent",
1490
+ "description": "Example of a client listener for receiving the notification CancelServiceOrderStateChangeEvent",
1491
+ "input": [
1492
+ {
1493
+ "name": "body",
1494
+ "type": "object",
1495
+ "info": "The event data: object",
1496
+ "required": true,
1497
+ "schema": {
1498
+ "allOf": [
1499
+ {
1500
+ "type": "object"
1501
+ },
1502
+ {
1503
+ "description": "The event data"
1504
+ }
1505
+ ],
1506
+ "definitions": {}
1507
+ }
1508
+ }
1509
+ ],
1510
+ "output": {
1511
+ "name": "result",
1512
+ "type": "object",
1513
+ "description": "A JSON Object containing status, code and the result",
1514
+ "schema": {
1515
+ "title": "result",
1516
+ "type": "object"
1517
+ }
1518
+ },
1519
+ "roles": [
1520
+ "admin"
1521
+ ],
1522
+ "route": {
1523
+ "verb": "POST",
1524
+ "path": "/listenToCancelServiceOrderStateChangeEvent"
1525
+ },
1526
+ "task": true
1527
+ },
1528
+ {
1529
+ "name": "listenToCancelServiceOrderInformationRequiredEvent",
1530
+ "summary": "listenToCancelServiceOrderInformationRequiredEvent",
1531
+ "description": "Example of a client listener for receiving the notification CancelServiceOrderInformationRequiredEvent",
1532
+ "input": [
1533
+ {
1534
+ "name": "body",
1535
+ "type": "object",
1536
+ "info": "The event data: object",
1537
+ "required": true,
1538
+ "schema": {
1539
+ "allOf": [
1540
+ {
1541
+ "type": "object"
1542
+ },
1543
+ {
1544
+ "description": "The event data"
1545
+ }
1546
+ ],
1547
+ "definitions": {}
1548
+ }
1549
+ }
1550
+ ],
1551
+ "output": {
1552
+ "name": "result",
1553
+ "type": "object",
1554
+ "description": "A JSON Object containing status, code and the result",
1555
+ "schema": {
1556
+ "title": "result",
1557
+ "type": "object"
1558
+ }
1559
+ },
1560
+ "roles": [
1561
+ "admin"
1562
+ ],
1563
+ "route": {
1564
+ "verb": "POST",
1565
+ "path": "/listenToCancelServiceOrderInformationRequiredEvent"
1566
+ },
1567
+ "task": true
1568
+ },
1569
+ {
1570
+ "name": "registerListener",
1571
+ "summary": "registerListener",
1572
+ "description": "Sets the communication endpoint address the service instance must use to deliver information about its health state, execution state, failures and metrics.",
1573
+ "input": [
1574
+ {
1575
+ "name": "body",
1576
+ "type": "object",
1577
+ "info": "Data containing the callback endpoint to deliver the information: object",
1578
+ "required": true,
1579
+ "schema": {
1580
+ "allOf": [
1581
+ {
1582
+ "type": "object"
1583
+ },
1584
+ {
1585
+ "description": "Data containing the callback endpoint to deliver the information"
1586
+ }
1587
+ ],
1588
+ "definitions": {}
1589
+ }
1590
+ }
1591
+ ],
1592
+ "output": {
1593
+ "name": "result",
1594
+ "type": "object",
1595
+ "description": "A JSON Object containing status, code and the result",
1596
+ "schema": {
1597
+ "title": "result",
1598
+ "type": "object"
1599
+ }
1600
+ },
1601
+ "roles": [
1602
+ "admin"
1603
+ ],
1604
+ "route": {
1605
+ "verb": "POST",
1606
+ "path": "/registerListener"
1607
+ },
1608
+ "task": true
1609
+ },
1610
+ {
1611
+ "name": "unregisterListener",
1612
+ "summary": "unregisterListener",
1613
+ "description": "Resets the communication endpoint address the service instance must use to deliver information about its health state, execution state, failures and metrics.",
1614
+ "input": [
1615
+ {
1616
+ "name": "id",
1617
+ "type": "string",
1618
+ "info": "The id of the registered listener: string",
1619
+ "required": true,
1620
+ "schema": {
1621
+ "title": "id",
1622
+ "type": "string"
1623
+ }
1624
+ }
1625
+ ],
1626
+ "output": {
1627
+ "name": "result",
1628
+ "type": "object",
1629
+ "description": "A JSON Object containing status, code and the result",
1630
+ "schema": {
1631
+ "title": "result",
1632
+ "type": "object"
1633
+ }
1634
+ },
1635
+ "roles": [
1636
+ "admin"
1637
+ ],
1638
+ "route": {
1639
+ "verb": "POST",
1640
+ "path": "/unregisterListener"
1641
+ },
1642
+ "task": true
1643
+ }
1644
+ ],
1645
+ "views": []
1646
+ }