5c9ed9c708a5cde818dc426a7fa5765ea9cbc597
[ric-app/rc.git] / xapp-descriptor / config.json
1 {
2   "controls-schema.json": {
3         "$schema": "http://json-schema.org/draft-07/schema#", "$id": "#/controls",
4         "type": "object",
5         "title": "Controls Section Schema",
6         "required": [
7                 "ricHOControlgRpcServerPort",
8                 "logLevel"
9         ],
10         "properties": {
11            "ricHOControlgRpcServerPort": {
12            "$id": "#/properties/ricHOControlgRpcServerPort",
13            "type": "string",
14            "title": "GRPC Port",
15            "default": "7777",
16            "examples": [
17            "7777" 
18       ],
19       "logLevel" : {
20       "$id": "#/properties/logLevel",
21       "type": "int",
22       "title": "log level",
23       "default":3,
24        "examples": [3]
25       }
26     }
27     }
28   },
29   "config-file.json":{
30   "xapp_name": "rc",
31   "version": "1.0.0",
32   "containers": [
33     {
34       "name": "rc",
35       "image": {
36         "registry": "nexus3.o-ran-sc.org:10002",
37         "name": "o-ran-sc/ric-app-rc",
38         "tag": "1.0.0"
39       }
40     }
41   ],
42   "messaging": {
43     "ports": [
44      {
45         "name": "rmr-data",
46         "container": "rc",
47         "port": 4560,
48         "rxMessages": ["RIC_CONTROL_ACK, RIC_CONTROL_FAILURE, RIC_ERROR_INDICATION"],
49         "txMessages": ["RIC_CONTROL_REQ"],
50         "policies": [],
51         "description": "rmr receive data port for rc"
52       },
53       {
54         "name": "rmr-route",
55         "container": "rc",
56         "port": 4561,
57         "description": "rmr route port for rc"
58       }
59     ]
60   },
61   "rmr": {
62     "protPort": "tcp:4560",
63     "maxSize": 2072,
64     "numWorkers": 1,
65     "rxMessages": ["RIC_CONTROL_ACK, RIC_CONTROL_FAILURE, RIC_ERROR_INDICATION"],
66     "txMessages": ["RIC_CONTROL_REQ"],
67     "policies": []
68   },
69    "controls": {
70            "ricHOControlgRpcServerPort" : "7777",
71            "logLevel": 4
72    }
73 }
74 }