chnaged container type
[ric-app/rc.git] / xapp-descriptor / config.json
index 87ac5cc..5052cea 100644 (file)
@@ -1,5 +1,4 @@
 {
-  "config-file.json":{
   "xapp_name": "rc",
   "version": "1.0.0",
   "containers": [
       }
     }
   ],
+  "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
    }
 }
-}