X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=xapp-descriptor%2Fconfig.json;h=5052ceac960620d190d8caa4e108eb3a56b81cce;hb=fe544b0b74b77465c9b5da87526ebe204a32b7ff;hp=87ac5cc27845b6d05b2e4dc50acb986da2ae926e;hpb=5d8a34950b02f1170bb27c6fcb6198f27fb8cb86;p=ric-app%2Frc.git diff --git a/xapp-descriptor/config.json b/xapp-descriptor/config.json index 87ac5cc..5052cea 100644 --- a/xapp-descriptor/config.json +++ b/xapp-descriptor/config.json @@ -1,5 +1,4 @@ { - "config-file.json":{ "xapp_name": "rc", "version": "1.0.0", "containers": [ @@ -12,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", @@ -44,4 +71,3 @@ "logLevel": 4 } } -}