]> git.evergreen-ils.org Git - working/OpenSRF.git/commit
LP1204123 opensrf.settings reload file option
authorBill Erickson <berick@esilibrary.com>
Tue, 23 Jul 2013 15:31:34 +0000 (11:31 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 23 Jul 2013 15:31:34 +0000 (11:31 -0400)
commit6ad78d622cd10c6d9d29dcecbd3e112073448e2d
tree5e6e6a14055fab91b9a7161da7b2a9e47c9c0eb9
parent79783023e3f5973bcedf2c903ca1904105cb02dd
LP1204123 opensrf.settings reload file option

opensrf.settings API calls

opensrf.settings.host_config.get
opensrf.settings.default_config.get

now sport an additional "reload" boolean parameter.  When set, the settings
file (opensrf.xml) will be reloaded from the file system to pick up any
changes which have occurred since the last load/reload.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
src/perl/lib/OpenSRF/Application/Settings.pm
src/perl/lib/OpenSRF/Utils/SettingsClient.pm
src/perl/lib/OpenSRF/Utils/SettingsParser.pm