24f38e61fba7888efed4db6eb06c37e077f604ff
[ric-app/hw-go.git] / config / config-file.json
1 {
2     "name": "hw-go",
3     "version": "1.0.0",
4     "containers": [
5         {
6             "name": "hw-go",
7             "image": {
8                 "registry": "nexus3.o-ran-sc.org:10004",
9                 "name": "o-ran-sc/ric-app-hw-go",
10                 "tag": "1.1.0"
11             }
12         }
13     ],
14     "livenessProbe": {
15         "httpGet": {
16             "path": "ric/v1/health/alive",
17             "port": 8080
18         },
19         "initialDelaySeconds": 5,
20         "periodSeconds": 15
21     },
22     "readinessProbe": {
23         "httpGet": {
24             "path": "ric/v1/health/ready",
25             "port": 8080
26         },
27         "initialDelaySeconds": 5,
28         "periodSeconds": 15
29     },
30     "messaging": {
31         "ports": [
32             {
33                 "name": "http",
34                 "container": "hw-go",
35                 "port": 8080,
36                 "description": "http service"
37             },
38             {
39                 "name": "rmrroute",
40                 "container": "hw-go",
41                 "port": 4561,
42                 "description": "rmr route port for hw-go xapp"
43             },
44             {
45                 "name": "rmrdata",
46                 "container": "hw-go",
47                 "port": 4560,
48                 "rxMessages": ["RIC_SUB_RESP", "RIC_SUB_FAILURE", "RIC_SUB_DEL_RESP", "RIC_INDICATION"],
49                 "txMessages": ["RIC_SUB_REQ", "RIC_SUB_DEL_REQ", "RIC_SGNB_ADDITION_REQ", "RIC_SGNB_ADDITION_ACK"],
50                 "mtypes" : [
51                         {"name":"TESTNAME1","id":55555},
52                         {"name":"TESTNAME2","id":55556}
53                 ],
54                 "policies": [1],
55                 "description": "rmr data port for hw-go"
56             }
57         ]
58     },
59     "rmr": {
60         "protPort": "tcp:4560",
61         "maxSize": 2072,
62         "numWorkers": 1,
63         "txMessages": [
64             "RIC_SUB_REQ", "A1_POLICY_RESP", "A1_POLICY_QUERY", "RIC_HEALTH_CHECK_RESP"
65         ],
66         "rxMessages": [
67             "RIC_SUB_RESP",
68             "A1_POLICY_REQ", "RIC_HEALTH_CHECK_REQ"
69         ],
70     "policies": [1]
71     },
72     "controls": {
73            "fileStrorage": false,
74            "logger": {
75                    "level": 3
76            }
77     },
78     "db" : {
79             "waitForSdl": false
80     }
81 }