X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=xapp-descriptor%2Fconfig.json;h=dcb46d30b33b1624df14b685088b0a00925002d6;hb=5cb831298a1866a9800ce235f5486075e83ae85f;hp=5c9ed9c708a5cde818dc426a7fa5765ea9cbc597;hpb=23512eca8339e67b319c61e3f4ba596044e0ec78;p=ric-app%2Frc.git diff --git a/xapp-descriptor/config.json b/xapp-descriptor/config.json index 5c9ed9c..dcb46d3 100644 --- a/xapp-descriptor/config.json +++ b/xapp-descriptor/config.json @@ -1,33 +1,5 @@ { - "controls-schema.json": { - "$schema": "http://json-schema.org/draft-07/schema#", "$id": "#/controls", - "type": "object", - "title": "Controls Section Schema", - "required": [ - "ricHOControlgRpcServerPort", - "logLevel" - ], - "properties": { - "ricHOControlgRpcServerPort": { - "$id": "#/properties/ricHOControlgRpcServerPort", - "type": "string", - "title": "GRPC Port", - "default": "7777", - "examples": [ - "7777" - ], - "logLevel" : { - "$id": "#/properties/logLevel", - "type": "int", - "title": "log level", - "default":3, - "examples": [3] - } - } - } - }, - "config-file.json":{ - "xapp_name": "rc", + "name": "rc", "version": "1.0.0", "containers": [ { @@ -35,12 +7,40 @@ "image": { "registry": "nexus3.o-ran-sc.org:10002", "name": "o-ran-sc/ric-app-rc", - "tag": "1.0.0" + "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", @@ -68,7 +68,7 @@ }, "controls": { "ricHOControlgRpcServerPort" : "7777", - "logLevel": 4 + "logLevel": 3, + "controlAckTimer" : 2 } } -}