aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/main/resources')
-rw-r--r--framework/src/main/resources/default_input_parameters.yaml8
-rw-r--r--framework/src/main/resources/onap.properties6
2 files changed, 7 insertions, 7 deletions
diff --git a/framework/src/main/resources/default_input_parameters.yaml b/framework/src/main/resources/default_input_parameters.yaml
index cc56ee2c..c65f4d8d 100644
--- a/framework/src/main/resources/default_input_parameters.yaml
+++ b/framework/src/main/resources/default_input_parameters.yaml
@@ -5,14 +5,14 @@ parameters:
description: Onap user name
short_option: u
long_option: onap-username
- default_value: ${ONAP_USERNAME}
+ default_value: $s{env:ONAP_USERNAME}
is_optional: false
- name: onap-password
type: string
description: Onap user password
short_option: p
long_option: onap-password
- default_value: ${ONAP_PASSWORD}
+ default_value: $s{env:ONAP_PASSWORD}
is_secured: true
is_optional: false
- name: host-url
@@ -21,7 +21,7 @@ parameters:
short_option: m
long_option: host-url
is_optional: false
- default_value: ${HOST_URL}
+ default_value: $s{env:HOST_URL}
- name: help
type: string
description: print help message
@@ -57,7 +57,7 @@ parameters:
description: whether to print title or not
short_option: t
long_option: no-title
- default_value: true
+ default_value: false
- name: no-auth
type: bool
description: whether to authenticate user or not
diff --git a/framework/src/main/resources/onap.properties b/framework/src/main/resources/onap.properties
index 786f2d29..a963b386 100644
--- a/framework/src/main/resources/onap.properties
+++ b/framework/src/main/resources/onap.properties
@@ -38,11 +38,11 @@ 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.result_params_list=name,description,scope,type,is_secured, default_value
+cli.schema.result_params_mandatory_list=name, description, type, scope
cli.schema.http_sections=request,success_codes,result_map,sample_response
-cli.schema.http_mandatory_sections=equest, success_codes
+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