control section added 60/7260/1
authorrajalakshmisv <rajalakshmisv@gmail.com>
Tue, 7 Dec 2021 11:09:50 +0000 (11:09 +0000)
committerrajalakshmisv <rajalakshmisv@gmail.com>
Tue, 7 Dec 2021 11:10:25 +0000 (11:10 +0000)
Signed-off-by: rajalakshmisv <rajalakshmisv@gmail.com>
Change-Id: I641f5ed9575059a7b9e85f72a078008c8dea0f16

xapp-descriptor/config.json
xapp-descriptor/controls-schema.json [new file with mode: 0644]

index 5c9ed9c..87ac5cc 100644 (file)
@@ -1,31 +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",
diff --git a/xapp-descriptor/controls-schema.json b/xapp-descriptor/controls-schema.json
new file mode 100644 (file)
index 0000000..6447d9b
--- /dev/null
@@ -0,0 +1,29 @@
+{
+"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]
+      }
+    }
+    }
+  }
+}