diff options
author | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2017-08-18 12:09:45 +0530 |
---|---|---|
committer | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2017-08-18 07:05:17 +0000 |
commit | 7fcf1e84c6e2a1b8bfbeaff52b8baa9bc8d418d6 (patch) | |
tree | 79dd1c0f3bc0266275f219ede31f8d32a2f46508 /framework/src/test/resources/onap.properties | |
parent | a2b0adac6b2d29011e543e460a3286ed51a49aa4 (diff) |
Move schema validation to load schema
Move schema validation to load schema.
Issue-Id: CLI-25
Change-Id: I68855caf80cf1b55b41916e124a53b53e7af93d3
Signed-off-by: Subhash Kumar Singh <Subhash.Kumar.Singh@huawei.com>
Diffstat (limited to 'framework/src/test/resources/onap.properties')
-rw-r--r-- | framework/src/test/resources/onap.properties | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/framework/src/test/resources/onap.properties b/framework/src/test/resources/onap.properties index 84a86e83..8a2756e4 100644 --- a/framework/src/test/resources/onap.properties +++ b/framework/src/test/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 |