From eacd90cf3e2d7342cf9f2ae73cce2f550ce8145b Mon Sep 17 00:00:00 2001 From: Mustafa Baser Date: Wed, 2 Aug 2023 11:40:01 +0300 Subject: [PATCH] fix(jans-linux-setup): load test data with setup.properties --- .../jans_setup/setup_app/utils/properties_utils.py | 3 +++ 1 file changed, 3 insertions(+) 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 372169af842..c746841ba18 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 @@ -208,6 +208,9 @@ def load_properties(self, prop_file, no_update=[]): if p.get('enable-script'): base.argsp.enable_script = p['enable-script'].split() + if p.get('loadTestData'): + base.argsp.t = True + if p.get('rdbm_type') == 'pgsql' and not p.get('rdbm_port'): p['rdbm_port'] = '5432'