control section added
Signed-off-by: rajalakshmisv <rajalakshmisv@gmail.com>
Change-Id: I641f5ed9575059a7b9e85f72a078008c8dea0f16
diff --git a/xapp-descriptor/controls-schema.json b/xapp-descriptor/controls-schema.json
new file mode 100644
index 0000000..6447d9b
--- /dev/null
+++ b/xapp-descriptor/controls-schema.json
@@ -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]
+ }
+ }
+ }
+ }
+}