aboutsummaryrefslogtreecommitdiffstats
path: root/profiles/http/src
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/http/src')
-rw-r--r--profiles/http/src/main/java/org/onap/cli/fw/http/conf/OnapCommandHttpConstants.java10
-rw-r--r--profiles/http/src/main/resources/open-cli-http.properties18
-rw-r--r--profiles/http/src/test/resources/open-cli.properties22
3 files changed, 25 insertions, 25 deletions
diff --git a/profiles/http/src/main/java/org/onap/cli/fw/http/conf/OnapCommandHttpConstants.java b/profiles/http/src/main/java/org/onap/cli/fw/http/conf/OnapCommandHttpConstants.java
index 38688abb..cd10849b 100644
--- a/profiles/http/src/main/java/org/onap/cli/fw/http/conf/OnapCommandHttpConstants.java
+++ b/profiles/http/src/main/java/org/onap/cli/fw/http/conf/OnapCommandHttpConstants.java
@@ -24,11 +24,11 @@ public class OnapCommandHttpConstants {
public static final String CONF = "open-cli-http.properties";
public static final String OPEN_IGNORE_AUTH = "cli.ignore_auth";
public static final String HTTP_API_KEY_USE_COOKIES = "cli.http.api_key_use_cookies";
- public static final String HTTP_SECTIONS = "cli.schema.http_sections";
- public static final String HTTP_MANDATORY_SECTIONS = "cli.schema.http_mandatory_sections";
- public static final String HTTP_REQUEST_PARAMS = "cli.schema.http_request_params";
- public static final String HTTP_REQUEST_MANDATORY_PARAMS = "cli.schema.http_request_mandatory_params";
- public static final String HTTP_METHODS = "cli.schema.http_methods";
+ public static final String HTTP_SECTIONS = "cli.schema.http.sections";
+ public static final String HTTP_MANDATORY_SECTIONS = "cli.schema.http.sections.mandatory";
+ public static final String HTTP_REQUEST_PARAMS = "cli.schema.http.request.sections";
+ public static final String HTTP_REQUEST_MANDATORY_PARAMS = "cli.schema.http.request.sections.mandatory";
+ public static final String HTTP_METHODS = "cli.schema.http.request.method.values";
//http connection
public static final String SSLCONTEST_TLS = "TLSV1.2";
public static final String APPLICATION_JSON = "application/json";
diff --git a/profiles/http/src/main/resources/open-cli-http.properties b/profiles/http/src/main/resources/open-cli-http.properties
index caeb4a95..db19d088 100644
--- a/profiles/http/src/main/resources/open-cli-http.properties
+++ b/profiles/http/src/main/resources/open-cli-http.properties
@@ -3,16 +3,16 @@ cli.http.api_key_use_cookies=true
#schema validation
#http
-cli.schema.http_sections=request,service,success_codes,result_map,sample_response
-cli.schema.http_mandatory_sections=request, success_codes
+cli.schema.http.sections=request,service,success_codes,result_map,sample_response
+cli.schema.http.sections.mandatory=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.http.request.sections=uri,method,body,headers,queries,multipart_entity_name
+cli.schema.http.request.sections.mandatory=uri,method
-cli.schema.service_params_list=name,version,auth,mode
-cli.schema.service_params_mandatory_list=auth,mode
+cli.schema.http.service.sections=name,version,auth,mode
+cli.schema.http.service.sections.mandatory=auth,mode
-cli.schema.http_methods=post,get,delete,put,head
+cli.schema.http.request.method.values=post,get,delete,put,head
-cli.schema.auth_values=none,basic
-cli.schema.mode_values=direct,catalog
+cli.schema.http.service.auth.values=none,basic
+cli.schema.http.service.mode.values=direct,catalog
diff --git a/profiles/http/src/test/resources/open-cli.properties b/profiles/http/src/test/resources/open-cli.properties
index 026b1f13..d64069a1 100644
--- a/profiles/http/src/test/resources/open-cli.properties
+++ b/profiles/http/src/test/resources/open-cli.properties
@@ -4,28 +4,28 @@ 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
-cli.schema.top_level_mandatory_list=open_cli_schema_version
+cli.schema.base.sections=open_cli_schema_version,name,description,parameters,results,http,info
+cli.schema.base.sections.mandatory=open_cli_schema_version
-cli.schema.info_params_list=product,service,type,author,ignore
-cli.schema.info_params_mandatory_list=product,service
+cli.schema.base.info.sections=product,service,type,author,ignore
+cli.schema.base.info.sections.mandatory=product,service
-cli.schema.input_params_list=name,description,type,short_option,long_option, is_optional,default_value,is_secured,is_include
-cli.schema.input_params_mandatory_list=name,description,type
+cli.schema.base.parameters.sections=name,description,type,short_option,long_option, is_optional,default_value,is_secured,is_include
+cli.schema.base.parameters.sections.mandatory=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
+cli.schema.base.results.sections=name,description,scope,type,is_secured, default_value
+cli.schema.base.results.sections.mandatory=name, description, type, scope
cli.schema.boolean_values=true,false
-cli.command.type=cmd,auth,catalog
+cli.schema.command.type=cmd,auth,catalog
# moco properties
cli.sample.gen.enable=false
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.profile.available=http
#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=open-cli-http.properties \ No newline at end of file
+cli.schema.profile.confs=open-cli-http.properties \ No newline at end of file