]> git.evergreen-ils.org Git - OpenSRF.git/commit
Patch from Dan Scott to move perl OpenSRF core bootstrapping settings into
authormiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 29 Jun 2007 03:55:37 +0000 (03:55 +0000)
committermiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 29 Jun 2007 03:55:37 +0000 (03:55 +0000)
commit5c9dde4da24396c92b2e88a9297460004f6fe638
tree5d09e45f8b11adda6da2636ec6b5318cc037884a
parent95c9e63f1202ac90f1b05cadc98a18c8a99a55fd
Patch from Dan Scott to move perl OpenSRF core bootstrapping settings into
opensrf_core.xml.  This removes the dependency on the INI style bootstrap.conf
file:

Building on Nathan Eady's suggestion / intention from December
(http://list.georgialibraries.org/pipermail/open-ils-dev/2006-December/000177.html),
here is a patch that enables OpenSRF to avoid duplicating settings in
opensrf_core.xml and bootstrap.conf by having both Perl and C apps
read from opensrf_core.xml

The major limitation is that I've hardcoded /config/opensrf to appear as
the 'bootstrap' section of config for compatibility with the expectations of
the rest of OpenSRF. A broader patch would convert all of those other calls
from config->bootstrap->blah to config->opensrf->blah and make the
siblings of /config/opensrf visible in the config as well, as a more
generally useful approach.

Applied with minor changes to avoid API regressions and remove unneeded code.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@982 9efc2488-bf62-4759-914b-345cdb29e865
bin/osrf_ctl.sh
examples/opensrf_core.xml.example
src/perlmods/OpenSRF/Utils/Config.pm
src/perlmods/OpenSRF/Utils/Logger.pm