From 0d97a835fa2052ded5a31e8921baf641c8e9bb57 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Mon, 11 Dec 2017 20:34:44 +0530 Subject: Make Http as separate plugin Issue-ID: CLI-66 Change-Id: I8ad78f417f6dbb00e29effdd3ed8ec1939aee81d Signed-off-by: Kanagaraj Manickam k00365106 --- framework/src/main/resources/open-cli.properties | 29 ++++++------------------ 1 file changed, 7 insertions(+), 22 deletions(-) (limited to 'framework/src/main/resources/open-cli.properties') diff --git a/framework/src/main/resources/open-cli.properties b/framework/src/main/resources/open-cli.properties index b009472b..c8792835 100644 --- a/framework/src/main/resources/open-cli.properties +++ b/framework/src/main/resources/open-cli.properties @@ -1,8 +1,6 @@ -cli.ignore_auth=false -cli.http.api_key_use_cookies=true -cli.discover_always=false cli.product_name=open-cli cli.version=1.0 +cli.discover_always=false #schema validation cli.schema.top_level_params_list=open_cli_schema_version,name,description,parameters,results,http,info @@ -17,29 +15,16 @@ cli.schema.input_params_mandatory_list=name,description,type cli.schema.result_params_list=name,description,scope,type,is_secured, default_value cli.schema.result_params_mandatory_list=name, description, type, scope -#http -cli.schema.http_sections=request,service,success_codes,result_map,sample_response -cli.schema.http_mandatory_sections=request, success_codes - -cli.schema.http_request_params=uri,method,body,headers,queries,multipart_entity_name -cli.schema.http_request_mandatory_params=uri,method - -cli.schema.service_params_list=name,version,auth,mode -cli.schema.service_params_mandatory_list=auth,mode - -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 cli.command.type=cmd,auth,catalog -#product version -cli.product.version=open-cli - # moco properties -cli.sample.gen.enable=false +cli.sample.gen.enable=true cli.sample.gen.target=. # mrkanag Move this to db, once exteranl command registration is supported in place of discovery -cli.schema.type.supported=http +cli.schema.type.supported= + +#other properties to load (it should be hanled when plugins are made as externally register-able +#when command plugin management support is enabled in oclip +cli.plugins-prps= \ No newline at end of file -- cgit 1.2.3-korg