X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=xapp-descriptor%2Fconfig.json;h=dcb46d30b33b1624df14b685088b0a00925002d6;hb=refs%2Fchanges%2F62%2F9762%2F1;hp=adae08c353f4c7a9a3e1ba99a2173bb64ddba83a;hpb=21b61dd76570beb43afc74289296e831914d9060;p=ric-app%2Frc.git diff --git a/xapp-descriptor/config.json b/xapp-descriptor/config.json index adae08c..dcb46d3 100644 --- a/xapp-descriptor/config.json +++ b/xapp-descriptor/config.json @@ -1,46 +1,74 @@ -{ - "xapp_name": "rc", - "version": "1.0.0", - "configPath": "/opt/ric/config/", - "containers": [ - { - "name": "rc", - "image": { - "registry": "nexus3.o-ran-sc.org:10002", - "name": "o-ran-sc/scp-ric-app-rc", - "tag": "1.0.0" - } - } - ], - "messaging": { - "ports": [ - { - "name": "rmr-data", - "container": "rc", - "port": 4560, - "rxMessages": ["RIC_CONTROL_RESP"], - "txMessages": ["RIC_CONTROL_REQ"], - "policies": [], - "description": "rmr receive data port for rc" - }, - { - "name": "rmr-route", - "container": "rc", - "port": 4561, - "description": "rmr route port for rc" - } - ] - }, - "rmr": { - "protPort": "tcp:4560", - "maxSize": 2072, - "numWorkers": 1, - "rxMessages": ["RIC_CONTROL_RESP"], - "txMessages": ["RIC_CONTROL_REQ"], - "policies": [] - }, - "controls": { - "ricHOControlgRpcServerPort" : "7777" -} - -} +{ + "name": "rc", + "version": "1.0.0", + "containers": [ + { + "name": "rc", + "image": { + "registry": "nexus3.o-ran-sc.org:10002", + "name": "o-ran-sc/ric-app-rc", + "tag": "1.0.4" + } + } + ], + "livenessProbe": { + "httpGet": { + "path": "ric/v1/health/alive", + "port": 8080 + }, + "initialDelaySeconds": 5, + "periodSeconds": 15 + }, + "readinessProbe": { + "httpGet": { + "path": "ric/v1/health/ready", + "port": 8080 + }, + "initialDelaySeconds": 5, + "periodSeconds": 15 + }, + "messaging": { + "ports": [ + { + "name": "http", + "container": "rc", + "port": 8080, + "description": "http service" + }, + { + "name": "grpc-server", + "container": "rc", + "port": 7777, + "targetPort": 7777 + }, + { + "name": "rmr-data", + "container": "rc", + "port": 4560, + "rxMessages": ["RIC_CONTROL_ACK, RIC_CONTROL_FAILURE, RIC_ERROR_INDICATION"], + "txMessages": ["RIC_CONTROL_REQ"], + "policies": [], + "description": "rmr receive data port for rc" + }, + { + "name": "rmr-route", + "container": "rc", + "port": 4561, + "description": "rmr route port for rc" + } + ] + }, + "rmr": { + "protPort": "tcp:4560", + "maxSize": 2072, + "numWorkers": 1, + "rxMessages": ["RIC_CONTROL_ACK, RIC_CONTROL_FAILURE, RIC_ERROR_INDICATION"], + "txMessages": ["RIC_CONTROL_REQ"], + "policies": [] + }, + "controls": { + "ricHOControlgRpcServerPort" : "7777", + "logLevel": 3, + "controlAckTimer" : 2 + } +}