First version of NonRT RIC Controlpanel
[portal/nonrtric-controlpanel.git] / webapp-frontend / src / assets / mockdata / config.json
1 [
2   {
3     "metadata": {
4       "name": "Automatic Neighbor Relation",
5       "configName": "anr-appconfig",
6       "namespace": "ricxapp"
7     },
8     "descriptor": {
9       "$id": "http://example.com/root.json",
10       "$schema": "http://json-schema.org/draft-07/schema#",
11       "definitions": {},
12       "properties": {
13         "controls": {
14           "$id": "#/properties/controls",
15           "properties": {
16             "active": {
17               "$id": "#/properties/controls/properties/active",
18               "default": false,
19               "examples": [
20                 true
21               ],
22               "title": "The Active Schema",
23               "type": "boolean"
24             },
25             "interfaceId": {
26               "$id": "#/properties/controls/properties/interfaceId",
27               "properties": {
28                 "globalENBId": {
29                   "$id": "#/properties/controls/properties/interfaceId/properties/globalENBId",
30                   "properties": {
31                     "bits": {
32                       "$id": "#/properties/controls/properties/interfaceId/properties/globalENBId/properties/bits",
33                       "default": 0,
34                       "examples": [
35                         28
36                       ],
37                       "title": "The Bits Schema",
38                       "maximum": 1024,
39                       "type": "integer"
40                     },
41                     "id": {
42                       "$id": "#/properties/controls/properties/interfaceId/properties/globalENBId/properties/id",
43                       "default": 0,
44                       "examples": [
45                         202251
46                       ],
47                       "title": "The Id Schema",
48                       "type": "integer"
49                     },
50                     "plmnid": {
51                       "$id": "#/properties/controls/properties/interfaceId/properties/globalENBId/properties/plmnid",
52                       "default": "",
53                       "examples": [
54                         "310150"
55                       ],
56                       "pattern": "^(.*)$",
57                       "title": "The Plmnid Schema",
58                       "type": "string"
59                     }
60                   },
61                   "required": [
62                     "plmnid",
63                     "id",
64                     "bits"
65                   ],
66                   "title": "The Globalenbid Schema",
67                   "type": "object"
68                 }
69               },
70               "required": [
71                 "globalENBId"
72               ],
73               "title": "The Interfaceid Schema",
74               "type": "object"
75             },
76             "subscription": {
77               "$id": "#/properties/controls/properties/subscription",
78               "properties": {
79                 "retries": {
80                   "$id": "#/properties/controls/properties/subscription/properties/retries",
81                   "default": 0,
82                   "examples": [
83                     1
84                   ],
85                   "title": "The Retries Schema",
86                   "type": "integer"
87                 },
88                 "retryto": {
89                   "$id": "#/properties/controls/properties/subscription/properties/retryto",
90                   "default": 0,
91                   "examples": [
92                     2
93                   ],
94                   "title": "The Retryto Schema",
95                   "type": "integer"
96                 }
97               },
98               "required": [
99                 "retries",
100                 "retryto"
101               ],
102               "title": "The Subscription Schema",
103               "type": "object"
104             }
105           },
106           "required": [
107             "active",
108             "subscription",
109             "interfaceId"
110           ],
111           "title": "The Controls Schema",
112           "type": "object"
113         },
114         "db": {
115           "$id": "#/properties/db",
116           "properties": {
117             "host": {
118               "$id": "#/properties/db/properties/host",
119               "default": "",
120               "examples": [
121                 "localhost"
122               ],
123               "pattern": "^(.*)$",
124               "title": "The Host Schema",
125               "type": "string"
126             },
127             "namespaces": {
128               "$id": "#/properties/db/properties/namespaces",
129               "items": {
130                 "$id": "#/properties/db/properties/namespaces/items",
131                 "default": "",
132                 "examples": [
133                   "sdl",
134                   "rnib"
135                 ],
136                 "pattern": "^(.*)$",
137                 "title": "The Items Schema",
138                 "type": "string"
139               },
140               "title": "The Namespaces Schema",
141               "type": "array"
142             },
143             "port": {
144               "$id": "#/properties/db/properties/port",
145               "default": 0,
146               "examples": [
147                 6379
148               ],
149               "title": "The Port Schema",
150               "type": "integer"
151             }
152           },
153           "required": [
154             "host",
155             "port",
156             "namespaces"
157           ],
158           "title": "The Db Schema",
159           "type": "object"
160         },
161         "local": {
162           "$id": "#/properties/local",
163           "properties": {
164             "host": {
165               "$id": "#/properties/local/properties/host",
166               "default": "",
167               "examples": [
168                 ":8080"
169               ],
170               "pattern": "^(.*)$",
171               "title": "The Host Schema",
172               "type": "string"
173             }
174           },
175           "required": [
176             "host"
177           ],
178           "title": "The Local Schema",
179           "type": "object"
180         },
181         "logger": {
182           "$id": "#/properties/logger",
183           "properties": {
184             "level": {
185               "$id": "#/properties/logger/properties/level",
186               "default": 0,
187               "examples": [
188                 3
189               ],
190               "title": "The Level Schema",
191               "type": "integer"
192             }
193           },
194           "required": [
195             "level"
196           ],
197           "title": "The Logger Schema",
198           "type": "object"
199         },
200         "metrics": {
201           "$id": "#/properties/metrics",
202           "items": {
203             "$id": "#/properties/metrics/items",
204             "properties": {
205               "description": {
206                 "$id": "#/properties/metrics/items/properties/description",
207                 "default": "",
208                 "examples": [
209                   "The total number of UE context creation events"
210                 ],
211                 "pattern": "^(.*)$",
212                 "title": "The Description Schema",
213                 "type": "string"
214               },
215               "enabled": {
216                 "$id": "#/properties/metrics/items/properties/enabled",
217                 "default": false,
218                 "examples": [
219                   true
220                 ],
221                 "title": "The Enabled Schema",
222                 "type": "boolean"
223               },
224               "name": {
225                 "$id": "#/properties/metrics/items/properties/name",
226                 "default": "",
227                 "examples": [
228                   "UEContextCreated"
229                 ],
230                 "pattern": "^(.*)$",
231                 "title": "The Name Schema",
232                 "type": "string"
233               },
234               "type": {
235                 "$id": "#/properties/metrics/items/properties/type",
236                 "default": "",
237                 "examples": [
238                   "counter"
239                 ],
240                 "pattern": "^(.*)$",
241                 "title": "The Type Schema",
242                 "type": "string"
243               }
244             },
245             "required": [
246               "name",
247               "type",
248               "enabled",
249               "description"
250             ],
251             "title": "The Items Schema",
252             "type": "object"
253           },
254           "title": "The Metrics Schema",
255           "type": "array"
256         },
257         "rmr": {
258           "$id": "#/properties/rmr",
259           "properties": {
260             "maxSize": {
261               "$id": "#/properties/rmr/properties/maxSize",
262               "default": 0,
263               "examples": [
264                 2072
265               ],
266               "title": "The Maxsize Schema",
267               "type": "integer"
268             },
269             "numWorkers": {
270               "$id": "#/properties/rmr/properties/numWorkers",
271               "default": 0,
272               "examples": [
273                 1
274               ],
275               "title": "The Numworkers Schema",
276               "type": "integer"
277             },
278             "protPort": {
279               "$id": "#/properties/rmr/properties/protPort",
280               "default": "",
281               "examples": [
282                 "tcp:4560"
283               ],
284               "pattern": "^(.*)$",
285               "title": "The Protport Schema",
286               "type": "string"
287             },
288             "rxMessages": {
289               "$id": "#/properties/rmr/properties/rxMessages",
290               "items": {
291                 "$id": "#/properties/rmr/properties/rxMessages/items",
292                 "default": "",
293                 "examples": [
294                   "RIC_SUB_RESP",
295                   "RIC_SUB_FAILURE",
296                   "RIC_SUB_DEL_RESP",
297                   "RIC_SUB_DEL_FAILURE",
298                   "RIC_INDICATION"
299                 ],
300                 "pattern": "^(.*)$",
301                 "title": "The Items Schema",
302                 "type": "string"
303               },
304               "title": "The Rxmessages Schema",
305               "type": "array"
306             },
307             "txMessages": {
308               "$id": "#/properties/rmr/properties/txMessages",
309               "items": {
310                 "$id": "#/properties/rmr/properties/txMessages/items",
311                 "default": "",
312                 "examples": [
313                   "RIC_SUB_REQ",
314                   "RIC_SUB_DEL_REQ"
315                 ],
316                 "pattern": "^(.*)$",
317                 "title": "The Items Schema",
318                 "type": "string"
319               },
320               "title": "The Txmessages Schema",
321               "type": "array"
322             }
323           },
324           "required": [
325             "protPort",
326             "maxSize",
327             "numWorkers",
328             "txMessages",
329             "rxMessages"
330           ],
331           "title": "The Rmr Schema",
332           "type": "object"
333         }
334       },
335       "required": [
336         "local",
337         "logger",
338         "rmr",
339         "db",
340         "controls",
341         "metrics"
342       ],
343       "title": "The Root Schema",
344       "type": "object"
345     },
346     "config": {
347       "controls": {
348         "active": true,
349         "interfaceId": {
350           "globalENBId": {
351             "bits": 28,
352             "id": 202251,
353             "plmnid": "310150"
354           }
355         },
356         "subscription": {
357           "retries": 1,
358           "retryto": 2
359         }
360       },
361       "db": {
362         "host": "localhost",
363         "namespaces": [
364           "sdl",
365           "rnib"
366         ],
367         "port": 6379
368       },
369       "local": {
370         "host": ":8080"
371       },
372       "logger": {
373         "level": 3
374       },
375       "metrics": [
376         {
377           "description": "The total number of UE context creation events",
378           "enabled": true,
379           "name": "UEContextCreated",
380           "type": "counter"
381         },
382         {
383           "description": "The total number of UE context release events",
384           "enabled": true,
385           "name": "UEContextReleased",
386           "type": "counter"
387         }
388       ],
389       "rmr": {
390         "maxSize": 2072,
391         "numWorkers": 1,
392         "protPort": "tcp:4560",
393         "rxMessages": [
394           "RIC_SUB_RESP",
395           "RIC_SUB_FAILURE",
396           "RIC_SUB_DEL_RESP",
397           "RIC_SUB_DEL_FAILURE",
398           "RIC_INDICATION"
399         ],
400         "txMessages": [
401           "RIC_SUB_REQ",
402           "RIC_SUB_DEL_REQ"
403         ]
404       }
405     },
406     "layout": [
407       {
408         "key": "controls.active",
409         "title": "Active"
410       },
411       {
412         "key": "controls.interfaceId.globalENBId",
413         "title": "Global ENB Id"
414       },
415       {
416         "type": "flex",
417         "flex-flow": "row wrap",
418         "items": [
419           {
420             "key": "controls.interfaceId.globalENBId.plmnid",
421             "title": "Plmn Id"
422           },
423           {
424             "key": "controls.interfaceId.globalENBId.id",
425             "title": "Id"
426
427           },
428           {
429             "key": "controls.interfaceId.globalENBId.bits",
430             "title": "Bits"
431           }
432         ]
433       },
434       {
435         "key": "controls.subscription",
436         "title": "Subscription"
437       },
438       {
439         "type": "flex",
440         "flex-flow": "row wrap",
441         "items": [
442           {
443             "key": "controls.subscription.retries",
444             "title": "Retries"
445           },
446           {
447             "key": "controls.subscription.retryto",
448             "title": "Retry to"
449           }
450         ]
451       }
452     ]
453   },
454   {
455     "metadata": {
456       "name": "UE Event Collector",
457       "configName": "UEEC-appconfig",
458       "namespace": "ricxapp"
459     },
460     "descriptor": {
461       "definitions": {},
462       "$schema": "http://json-schema.org/draft-07/schema#",
463       "$id": "http://example.com/root.json",
464       "type": "object",
465       "title": "The Root Schema",
466       "required": [
467         "local",
468         "logger",
469         "rmr",
470         "db",
471         "controls",
472         "metrics"
473       ],
474       "properties": {
475         "local": {
476           "$id": "#/properties/local",
477           "type": "object",
478           "title": "The Local Schema",
479           "required": [
480             "host"
481           ],
482           "properties": {
483             "host": {
484               "$id": "#/properties/local/properties/host",
485               "type": "string",
486               "title": "The Host Schema",
487               "default": "",
488               "examples": [
489                 ":8080"
490               ],
491               "pattern": "^(.*)$"
492             }
493           }
494         },
495         "logger": {
496           "$id": "#/properties/logger",
497           "type": "object",
498           "title": "The Logger Schema",
499           "required": [
500             "level"
501           ],
502           "properties": {
503             "level": {
504               "$id": "#/properties/logger/properties/level",
505               "type": "integer",
506               "title": "The Level Schema",
507               "default": 0,
508               "examples": [
509                 3
510               ]
511             }
512           }
513         },
514         "rmr": {
515           "$id": "#/properties/rmr",
516           "type": "object",
517           "title": "The Rmr Schema",
518           "required": [
519             "protPort",
520             "maxSize",
521             "numWorkers",
522             "txMessages",
523             "rxMessages"
524           ],
525           "properties": {
526             "protPort": {
527               "$id": "#/properties/rmr/properties/protPort",
528               "type": "string",
529               "title": "The Protport Schema",
530               "default": "",
531               "examples": [
532                 "tcp:4560"
533               ],
534               "pattern": "^(.*)$"
535             },
536             "maxSize": {
537               "$id": "#/properties/rmr/properties/maxSize",
538               "type": "integer",
539               "title": "The Maxsize Schema",
540               "default": 0,
541               "examples": [
542                 2072
543               ]
544             },
545             "numWorkers": {
546               "$id": "#/properties/rmr/properties/numWorkers",
547               "type": "integer",
548               "title": "The Numworkers Schema",
549               "default": 0,
550               "examples": [
551                 1
552               ]
553             },
554             "txMessages": {
555               "$id": "#/properties/rmr/properties/txMessages",
556               "type": "array",
557               "title": "The Txmessages Schema",
558               "items": {
559                 "$id": "#/properties/rmr/properties/txMessages/items",
560                 "type": "string",
561                 "title": "The Items Schema",
562                 "default": "",
563                 "examples": [
564                   "RIC_SUB_REQ",
565                   "RIC_SUB_DEL_REQ"
566                 ],
567                 "pattern": "^(.*)$"
568               }
569             },
570             "rxMessages": {
571               "$id": "#/properties/rmr/properties/rxMessages",
572               "type": "array",
573               "title": "The Rxmessages Schema",
574               "items": {
575                 "$id": "#/properties/rmr/properties/rxMessages/items",
576                 "type": "string",
577                 "title": "The Items Schema",
578                 "default": "",
579                 "examples": [
580                   "RIC_SUB_RESP",
581                   "RIC_SUB_FAILURE",
582                   "RIC_SUB_DEL_RESP",
583                   "RIC_SUB_DEL_FAILURE",
584                   "RIC_INDICATION"
585                 ],
586                 "pattern": "^(.*)$"
587               }
588             }
589           }
590         },
591         "db": {
592           "$id": "#/properties/db",
593           "type": "object",
594           "title": "The Db Schema",
595           "required": [
596             "host",
597             "port",
598             "namespaces"
599           ],
600           "properties": {
601             "host": {
602               "$id": "#/properties/db/properties/host",
603               "type": "string",
604               "title": "The Host Schema",
605               "default": "",
606               "examples": [
607                 "localhost"
608               ],
609               "pattern": "^(.*)$"
610             },
611             "port": {
612               "$id": "#/properties/db/properties/port",
613               "type": "integer",
614               "title": "The Port Schema",
615               "default": 0,
616               "examples": [
617                 6379
618               ]
619             },
620             "namespaces": {
621               "$id": "#/properties/db/properties/namespaces",
622               "type": "array",
623               "title": "The Namespaces Schema",
624               "items": {
625                 "$id": "#/properties/db/properties/namespaces/items",
626                 "type": "string",
627                 "title": "The Items Schema",
628                 "default": "",
629                 "examples": [
630                   "sdl",
631                   "rnib"
632                 ],
633                 "pattern": "^(.*)$"
634               }
635             }
636           }
637         },
638         "controls": {
639           "$id": "#/properties/controls",
640           "type": "object",
641           "title": "The Controls Schema",
642           "required": [
643             "active",
644             "requestorId",
645             "ranFunctionId",
646             "ricActionId",
647             "interfaceId"
648           ],
649           "properties": {
650             "active": {
651               "$id": "#/properties/controls/properties/active",
652               "type": "boolean",
653               "title": "The Active Schema",
654               "default": false,
655               "examples": [
656                 true
657               ]
658             },
659             "requestorId": {
660               "$id": "#/properties/controls/properties/requestorId",
661               "type": "integer",
662               "title": "The Requestorid Schema",
663               "default": 0,
664               "examples": [
665                 66
666               ]
667             },
668             "ranFunctionId": {
669               "$id": "#/properties/controls/properties/ranFunctionId",
670               "type": "integer",
671               "title": "The Ranfunctionid Schema",
672               "default": 0,
673               "examples": [
674                 1
675               ]
676             },
677             "ricActionId": {
678               "$id": "#/properties/controls/properties/ricActionId",
679               "type": "integer",
680               "title": "The Ricactionid Schema",
681               "default": 0,
682               "examples": [
683                 0
684               ]
685             },
686             "interfaceId": {
687               "$id": "#/properties/controls/properties/interfaceId",
688               "type": "object",
689               "title": "The Interfaceid Schema",
690               "required": [
691                 "globalENBId"
692               ],
693               "properties": {
694                 "globalENBId": {
695                   "$id": "#/properties/controls/properties/interfaceId/properties/globalENBId",
696                   "type": "object",
697                   "title": "The Globalenbid Schema",
698                   "required": [
699                     "plmnId",
700                     "eNBId"
701                   ],
702                   "properties": {
703                     "plmnId": {
704                       "$id": "#/properties/controls/properties/interfaceId/properties/globalENBId/properties/plmnId",
705                       "type": "string",
706                       "title": "The Plmnid Schema",
707                       "default": "",
708                       "examples": [
709                         "43962"
710                       ],
711                       "pattern": "^(.*)$"
712                     },
713                     "eNBId": {
714                       "$id": "#/properties/controls/properties/interfaceId/properties/globalENBId/properties/eNBId",
715                       "type": "string",
716                       "title": "The Enbid Schema",
717                       "default": "",
718                       "examples": [
719                         "43962"
720                       ],
721                       "pattern": "^(.*)$"
722                     }
723                   }
724                 }
725               }
726             }
727           }
728         },
729         "metrics": {
730           "$id": "#/properties/metrics",
731           "type": "array",
732           "title": "The Metrics Schema",
733           "items": {
734             "$id": "#/properties/metrics/items",
735             "type": "object",
736             "title": "The Items Schema",
737             "required": [
738               "name",
739               "type",
740               "enabled",
741               "description"
742             ],
743             "properties": {
744               "name": {
745                 "$id": "#/properties/metrics/items/properties/name",
746                 "type": "string",
747                 "title": "The Name Schema",
748                 "default": "",
749                 "examples": [
750                   "UEContextCreated"
751                 ],
752                 "pattern": "^(.*)$"
753               },
754               "type": {
755                 "$id": "#/properties/metrics/items/properties/type",
756                 "type": "string",
757                 "title": "The Type Schema",
758                 "default": "",
759                 "examples": [
760                   "counter"
761                 ],
762                 "pattern": "^(.*)$"
763               },
764               "enabled": {
765                 "$id": "#/properties/metrics/items/properties/enabled",
766                 "type": "boolean",
767                 "title": "The Enabled Schema",
768                 "default": false,
769                 "examples": [
770                   true
771                 ]
772               },
773               "description": {
774                 "$id": "#/properties/metrics/items/properties/description",
775                 "type": "string",
776                 "title": "The Description Schema",
777                 "default": "",
778                 "examples": [
779                   "The total number of UE context creation events"
780                 ],
781                 "pattern": "^(.*)$"
782               }
783             }
784           }
785         }
786       }
787     },
788     "config": {
789       "local": {
790         "host": ":8080"
791       },
792       "logger": {
793         "level": 3
794       },
795       "rmr": {
796         "protPort": "tcp:4560",
797         "maxSize": 2072,
798         "numWorkers": 1,
799         "txMessages": [ "RIC_SUB_REQ", "RIC_SUB_DEL_REQ" ],
800         "rxMessages": [ "RIC_SUB_RESP", "RIC_SUB_FAILURE", "RIC_SUB_DEL_RESP", "RIC_SUB_DEL_FAILURE", "RIC_INDICATION" ]
801       },
802       "db": {
803         "host": "localhost",
804         "port": 6379,
805         "namespaces": [ "sdl", "rnib" ]
806       },
807       "controls": {
808         "active": true,
809         "requestorId": 66,
810         "ranFunctionId": 1,
811         "ricActionId": 0,
812         "interfaceId": {
813           "globalENBId": {
814             "plmnId": "43962",
815             "eNBId": "43962"
816           }
817         }
818       },
819       "metrics": [
820         {
821           "name": "UEContextCreated",
822           "type": "counter",
823           "enabled": true,
824           "description": "The total number of UE context creation events"
825         },
826         {
827           "name": "UEContextReleased",
828           "type": "counter",
829           "enabled": true,
830           "description": "The total number of UE context release events"
831         }
832       ]
833     },
834     "layout": [
835       {
836         "key": "controls.active",
837         "title": "Active"
838       },
839       {
840         "key": "controls.requestorId",
841         "title": "Requestor Id"
842       },
843       {
844         "key": "controls.ranFunctionId",
845         "title": "RAN Function Id"
846       },
847       {
848         "key": "controls.ricActionId",
849         "title": "RIC Action Id"
850       },
851       {
852         "key": "controls.interfaceId.globalENBId",
853         "title": "Global ENB Id"
854       },
855       {
856         "type": "flex",
857         "flex-flow": "row wrap",
858         "items": [
859           {
860             "key": "controls.interfaceId.globalENBId.plmnId",
861             "title": "Plmn Id"
862           },
863           {
864             "key": "controls.interfaceId.globalENBId.eNBId",
865             "title": "ENB Id"
866
867           }
868         ]
869       }
870     ]
871   }
872 ]