Add support for config file parsing and watching
[ric-plt/xapp-frame-cpp.git] / test / config1.json
1 {
2    "comment":  "test config; this one is complete and legit",
3    "xapp_name": "mcxapp",
4    "version": "1.0.11",
5    "containers": [
6         {
7             "name": "mcxapp",
8             "image": {
9                 "registry": "ranco-dev-tools.eastus.cloudapp.azure.com:10001",
10                 "name": "ric-app-mc",
11                 "tag": "1.1.3"
12             },
13             "command": [ "/bin/bash", "-c", "--" ],
14         "args": [ "/playpen/bin/container_start.sh" ]
15         }
16     ],
17     "messaging": {
18         "ports": [
19             {
20                 "name": "rmr-data-in",
21                 "container": "mcxapp",
22                 "port": 4560,
23                 "rxMessages": [
24                     "RIC_UE_CONTEXT_RELEASE",
25                     "RIC_SGNB_ADDITION_REQ",
26                     "RIC_SGNB_ADDITION_ACK",
27                     "RIC_SGNB_ADDITION_REJECT",
28                     "RIC_SGNB_RECONF_COMPLETE",
29                     "RIC_RRC_TRANSFER",
30                     "RIC_SGNB_MOD_REQUEST",
31                     "RIC_SGNB_MOD_REQUEST_ACK",
32                     "RIC_SGNB_MOD_REQUEST_REJ",
33                     "RIC_SGNB_MOD_REQUIRED",
34                     "RIC_SGNB_MOD_CONFIRM",
35                     "RIC_SGNB_MOD_REFUSE",
36                     "RIC_SGNB_RELEASE_REQUEST",
37                     "RIC_SGNB_RELEASE_REQUEST_ACK",
38                     "RIC_SGNB_RELEASE_REQUIRED",
39                     "RIC_SGNB_RELEASE_CONFIRM",
40                     "RIC_SECONDARY_RAT_DATA_USAGE_REPORT"
41                 ],
42                 "txMessages": [],
43                 "policies": [],
44                 "description": "rmr receive data port for mcxapp"
45             },
46             {
47                 "name": "rmr-data-out",
48                 "container": "mcxapp",
49                 "port": 4562,
50                 "txMessages": [
51                     "MC_REPORT"
52                 ],
53                 "rxMessages": [],
54                 "policies": [],
55                 "description": "rmr send data port for mcxapp"
56             },
57             {
58                 "name": "rmr-route",
59                 "container": "mcxapp",
60                 "port": 4561,
61                 "description": "rmr route port for mcxapp"
62             }
63         ]
64     },
65
66     "controls": {
67         "ves_collector_address": "10.53.183.214:8888",
68         "measurement_interval": 1000,
69         "debug_mode": true,
70         "tbool": true,
71         "fbool": false,
72         "simulator_mode": true
73     },
74
75     "rmr": {
76         "protPort": "tcp:4560",
77         "maxSize": 2072,
78         "numWorkers": 1,
79         "txMessages": [
80             "MC_REPORT"
81         ],
82         "rxMessages": [
83             "RIC_UE_CONTEXT_RELEASE",
84             "RIC_SGNB_ADDITION_REQ",
85             "RIC_SGNB_ADDITION_ACK",
86             "RIC_SGNB_ADDITION_REJECT",
87             "RIC_SGNB_RECONF_COMPLETE",
88             "RIC_RRC_TRANSFER",
89             "RIC_SGNB_MOD_REQUEST",
90             "RIC_SGNB_MOD_REQUEST_ACK",
91             "RIC_SGNB_MOD_REQUEST_REJ",
92             "RIC_SGNB_MOD_REQUIRED",
93             "RIC_SGNB_MOD_CONFIRM",
94             "RIC_SGNB_MOD_REFUSE",
95             "RIC_SGNB_RELEASE_REQUEST",
96             "RIC_SGNB_RELEASE_REQUEST_ACK",
97             "RIC_SGNB_RELEASE_REQUIRED",
98             "RIC_SGNB_RELEASE_CONFIRM",
99             "RIC_SECONDARY_RAT_DATA_USAGE_REPORT"
100         ]
101     }
102 }
103