summaryrefslogtreecommitdiffstats
path: root/framework/src/main/resources
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-08-16 15:58:16 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-08-16 16:07:43 +0530
commit6e5f1c2fed28eecd2a749bcd6dd2748082de1b42 (patch)
tree72cfc0226fe382c71932480cb5bb7c4146020e20 /framework/src/main/resources
parent5a0dadc2c7439719142db3c7e2200d12face4b45 (diff)
Add auth mode in service
ONAP is using basic auth already for some services and AAF is being used as well. so there are more than one auth type being used across. to support it, new property call auth is introduced in service section. also no-auth is now migrated as auth: none CLI-29 Change-Id: I151a4669151f67884f9875f47c8df396836ae25b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'framework/src/main/resources')
-rw-r--r--framework/src/main/resources/onap.properties2
-rw-r--r--framework/src/main/resources/schema-refresh.yaml2
-rw-r--r--framework/src/main/resources/schema-validate.yaml2
3 files changed, 3 insertions, 3 deletions
diff --git a/framework/src/main/resources/onap.properties b/framework/src/main/resources/onap.properties
index 47b02c8c..7eb8e598 100644
--- a/framework/src/main/resources/onap.properties
+++ b/framework/src/main/resources/onap.properties
@@ -11,4 +11,4 @@ cli.auth_service=auth
cli.exclude_params_internal_cmd=onap-username,onap-password,host-url,no-auth
cli.no_auth_disable_include_params_external_cmd=onap-username,onap-password,host-url,no-auth
cli.no_auth_enable_exclude_params_external_cmd=onap-username,onap-password,no-auth
-cli.no_auth_enable_include_params_external_cmd=host-url \ No newline at end of file
+cli.no_auth_enable_include_params_external_cmd=host-url
diff --git a/framework/src/main/resources/schema-refresh.yaml b/framework/src/main/resources/schema-refresh.yaml
index f64b0545..59f2496c 100644
--- a/framework/src/main/resources/schema-refresh.yaml
+++ b/framework/src/main/resources/schema-refresh.yaml
@@ -2,7 +2,7 @@ onap_cmd_schema_version: 1.0
name: schema-refresh
description: Onap command to refresh schemas stored in onap_cli_schema folders.
service:
- no-auth: true
+ auth: none
name: onap-cli
version: 1.0.0
results:
diff --git a/framework/src/main/resources/schema-validate.yaml b/framework/src/main/resources/schema-validate.yaml
index 66787912..76945793 100644
--- a/framework/src/main/resources/schema-validate.yaml
+++ b/framework/src/main/resources/schema-validate.yaml
@@ -2,7 +2,7 @@ onap_cmd_schema_version: 1.0
name: schema-validate
description: Onap command to validate schema
service:
- no-auth: true
+ auth: none
name: onap-cli
version: 1.0.0
default_parameters: