integrate with xapp-frame v0.8.3
[ric-app/rc.git] / xapp-descriptor / config.json
index 5c9ed9c..65bd1ec 100644 (file)
@@ -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": [
       }
     }
   ],
+  "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": "rchandler",
+       "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
    }
 }
-}