From 6e5f1c2fed28eecd2a749bcd6dd2748082de1b42 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Wed, 16 Aug 2017 15:58:16 +0530 Subject: 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 --- framework/src/main/resources/onap.properties | 2 +- framework/src/main/resources/schema-refresh.yaml | 2 +- framework/src/main/resources/schema-validate.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'framework/src/main/resources') 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: -- cgit 1.2.3-korg