Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #3575

Category None
Changed by Mike Rylander <mrylanderohnoyoudont@gmail.com>
Changed at Tue 20 Sep 2016 14:01:59
Repository git://git.evergreen-ils.org/Evergreen.git
Project Evergreen
Branch master
Revision 89c78443a481a3561ae5ff6bc83c94d8e6af67c0


LP#1623541: Booking will fail if its router isn't called "router"
The circ code checks to see if the booking app is running, and if not, it
skips some booking-related logic. This is a useful performance enhancement
where booking is not in use. It does this by asking the OpenSRF router if
the "open-ils.booking" app has registered with it. Most of the time the
OpenSRF router will be called, unimaginatively, "router" but when it's not,
booking will not be considered by the circ module even if it's running.

Instead of assuming "router" we should simply look up the router's name.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>

Changed files