From 5d8a34950b02f1170bb27c6fcb6198f27fb8cb86 Mon Sep 17 00:00:00 2001 From: rajalakshmisv Date: Tue, 7 Dec 2021 11:09:50 +0000 Subject: [PATCH] control section added Signed-off-by: rajalakshmisv Change-Id: I641f5ed9575059a7b9e85f72a078008c8dea0f16 --- xapp-descriptor/config.json | 27 --------------------------- xapp-descriptor/controls-schema.json | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 27 deletions(-) create mode 100644 xapp-descriptor/controls-schema.json diff --git a/xapp-descriptor/config.json b/xapp-descriptor/config.json index 5c9ed9c..87ac5cc 100644 --- a/xapp-descriptor/config.json +++ b/xapp-descriptor/config.json @@ -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 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] + } + } + } + } +} -- 2.16.6