From c9900c712bb44a9b8bab5febf1ff994dc614b119 Mon Sep 17 00:00:00 2001 From: Mustafa Baser Date: Fri, 2 Sep 2022 09:02:43 +0300 Subject: [PATCH 1/2] fix: jans-linux-setup config api prompt --- jans-linux-setup/jans_setup/setup_app/utils/properties_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jans-linux-setup/jans_setup/setup_app/utils/properties_utils.py b/jans-linux-setup/jans_setup/setup_app/utils/properties_utils.py index 6dd7e70f6df..9d10f11546d 100644 --- a/jans-linux-setup/jans_setup/setup_app/utils/properties_utils.py +++ b/jans-linux-setup/jans_setup/setup_app/utils/properties_utils.py @@ -595,7 +595,7 @@ def promptForConfigApi(self): if Config.installed_instance and Config.install_config_api: return - promptForConfigApi = self.getPrompt("Install Jans Auth Config Api?", + promptForConfigApi = self.getPrompt("Install Jans Config API?", self.getDefaultOption(Config.install_config_api) )[0].lower() From 6914749b1e8210fb54a4a7258ad3036863993fbd Mon Sep 17 00:00:00 2001 From: Mustafa Baser Date: Fri, 2 Sep 2022 09:16:39 +0300 Subject: [PATCH 2/2] fix: jans-linux-setup api to API --- jans-linux-setup/jans_setup/setup_app/installers/jans.py | 2 +- .../jans_setup/setup_app/utils/properties_utils.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jans-linux-setup/jans_setup/setup_app/installers/jans.py b/jans-linux-setup/jans_setup/setup_app/installers/jans.py index e977f3d8409..29b56e4f439 100644 --- a/jans-linux-setup/jans_setup/setup_app/installers/jans.py +++ b/jans-linux-setup/jans_setup/setup_app/installers/jans.py @@ -74,7 +74,7 @@ def __repr__(self): if Config.profile == 'jans': txt += 'Install Fido2 Server'.ljust(30) + repr(Config.installFido2).rjust(35) + (' *' if 'installFido2' in Config.addPostSetupService else '') + "\n" txt += 'Install Scim Server'.ljust(30) + repr(Config.install_scim_server).rjust(35) + (' *' if 'install_scim_server' in Config.addPostSetupService else '') + "\n" - txt += 'Install Jans Client Api'.ljust(30) + repr(Config.install_client_api).rjust(35) + (' *' if 'install_client_api' in Config.addPostSetupService else '') + "\n" + txt += 'Install Jans Client API'.ljust(30) + repr(Config.install_client_api).rjust(35) + (' *' if 'install_client_api' in Config.addPostSetupService else '') + "\n" #txt += 'Install Oxd '.ljust(30) + repr(Config.installOxd).rjust(35) + (' *' if 'installOxd' in Config.addPostSetupService else '') + "\n" if Config.profile == 'jans' and Config.installEleven: diff --git a/jans-linux-setup/jans_setup/setup_app/utils/properties_utils.py b/jans-linux-setup/jans_setup/setup_app/utils/properties_utils.py index 9d10f11546d..62656629727 100644 --- a/jans-linux-setup/jans_setup/setup_app/utils/properties_utils.py +++ b/jans-linux-setup/jans_setup/setup_app/utils/properties_utils.py @@ -607,7 +607,7 @@ def promptForConfigApi(self): def prompt_for_client_api(self): - prompt = self.getPrompt("Install Jans Client Api?", + prompt = self.getPrompt("Install Jans Client API?", self.getDefaultOption(Config.install_client_api) )[0].lower() @@ -617,7 +617,7 @@ def prompt_for_client_api(self): Config.addPostSetupService.append('install_client_api') if Config.install_client_api: - prompt = self.getPrompt(" Use Jans Storage for Client Api?", 'y')[0].lower() + prompt = self.getPrompt(" Use Jans Storage for Client API?", 'y')[0].lower() if prompt == 'n': Config.client_api_storage_type = 'h2'