X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=xapp-descriptor%2Fconfig.json;h=5052ceac960620d190d8caa4e108eb3a56b81cce;hb=fe544b0b74b77465c9b5da87526ebe204a32b7ff;hp=5c9ed9c708a5cde818dc426a7fa5765ea9cbc597;hpb=23512eca8339e67b319c61e3f4ba596044e0ec78;p=ric-app%2Frc.git diff --git a/xapp-descriptor/config.json b/xapp-descriptor/config.json index 5c9ed9c..5052cea 100644 --- a/xapp-descriptor/config.json +++ b/xapp-descriptor/config.json @@ -1,32 +1,4 @@ { - "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", "version": "1.0.0", "containers": [ @@ -39,8 +11,36 @@ } } ], + "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", @@ -71,4 +71,3 @@ "logLevel": 4 } } -}