fdaeb3e481f4515d99865647088692ed0b144c19
[ric-app/hw-python.git] / init / config-file.json
1 {
2     "name": "hw-python",
3     "version": "1.0.0",
4     "containers": [
5         {
6             "name": "hw-python",
7             "image": {
8                 "registry": "nexus3.o-ran-sc.org:10004",
9                 "name": "o-ran-sc/ric-app-hw-python",
10                 "tag": "1.0.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-python",
35                 "port": 8080,
36                 "description": "http service"
37             },
38             {
39                 "name": "rmrroute",
40                 "container": "hw-python",
41                 "port": 4561,
42                 "description": "rmr route port for hw-python xapp"
43             },
44             {
45                 "name": "rmrdata",
46                 "container": "hw-python",
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-python"
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     },
75     "db" : {
76             "waitForSdl": false
77     }
78 }