aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/main/resources/onap.properties
diff options
context:
space:
mode:
authorKanagaraj Manickam <kanagaraj.manickam@huawei.com>2017-08-18 07:17:00 +0000
committerGerrit Code Review <gerrit@onap.org>2017-08-18 07:17:00 +0000
commit68f717bc5d832aabe44c12c28eff8ceaeff3ae19 (patch)
treeef2de5fc4a0f939f06f15b08b2aab4c60d19d29a /framework/src/main/resources/onap.properties
parent29ede3adb4aedb3810b19d7a6c2ad1f60bcdc79d (diff)
parent8d3d394a5effe4127e8480c812de82d81fe5e5ae (diff)
Merge changes I8fdb8450,I68855caf
* changes: Move schema validation to load schema Move schema validation to load schema
Diffstat (limited to 'framework/src/main/resources/onap.properties')
-rw-r--r--framework/src/main/resources/onap.properties27
1 files changed, 26 insertions, 1 deletions
diff --git a/framework/src/main/resources/onap.properties b/framework/src/main/resources/onap.properties
index 84a86e83..8a2756e4 100644
--- a/framework/src/main/resources/onap.properties
+++ b/framework/src/main/resources/onap.properties
@@ -21,4 +21,29 @@ cli.http.basic.common_headers.x-app-id=X-FromAppId
cli.http.basic.common_headers.x-app-id.value=onap-cli
#TODO mrkanag add support for aaf like defined above for basic
-#cli.service.auth=aaf \ No newline at end of file
+#cli.service.auth=aaf
+
+#schema validation
+cli.schema.top_level_params_list=onap_cmd_schema_version,name,description,service,parameters,results,http
+cli.schema.top_level_mandatory_list=onap_cmd_schema_version
+
+cli.schema.service_params_list=name,version,auth,mode
+cli.schema.service_params_mandatory_list=name,version
+
+cli.schema.input_params_list=name,description,type,short_option,long_option, is_optional,default_value,is_secured
+cli.schema.input_params_mandatory_list=name,description,type
+
+cli.schema.result_params_list=name,description,scope,type,is_secured
+cli.schema.result_params_mandatory_list=name, description, type
+
+cli.schema.http_sections=request,success_codes,result_map,sample_response
+cli.schema.http_mandatory_sections=equest, success_codes
+
+cli.schema.http_request_params=uri,method,body,headers,queries
+cli.schema.http_request_mandatory_params=uri,method
+
+cli.schema.http_methods=post,get,delete,put,head
+
+cli.schema.boolean_values=true,false
+cli.schema.auth_values=none,basic
+cli.schema.mode_values=direct,catalog \ No newline at end of file