The classes that use Koha::SIP2::Object as base update the config_timestamp server param whenever an object of said classes is inserted, updated or deleted. This patch considers that, and performs a check to see if the config_timestamp is more recent than the one which the SIP server was started with. If it is, config is fetched from the database for up to date configurations. Note: The classes currently using Koha::SIP2::Object as base are as follows: Koha::SIP2::Account Koha::SIP2::Institution Koha::SIP2::SystemPreferenceOverride The 2 classes that are left out are: Koha::SIP2::Listener Koha::SIP2::ServerParam A UI message is shown when CRUDing any of the 2 above informing that a SIP server restart is required for the changes to take effect. The reason these 2 are left out is because they're loaded and only utilized when the SIP server is launched. Co-authored-by: Mark Hofstetter <mark@hofstetter.at> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Lisette Scheer <lisette@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> |
||
|---|---|---|
| .. | ||
| ILS | ||
| Sip | ||
| ILS.pm | ||
| Logger.pm | ||
| Makefile | ||
| README | ||
| SIPServer.pm | ||
| Sip.pm | ||
| Trapper.pm | ||
README
README for Open NSIP 3M-SIP Server
DEPENDENCIES
SIPServer is written entirely in Perl, but it require these CPAN
perl modules to run:
Net::Server - The SIP server is a Net::Server::Prefork server
XML::LibXML
XML::Parser
XML::Simple - for parsing the config file
UNIVERSAL::require - for loading the correct ILS interface module
Clone - for running the test cases
LOGGING
SIPServer uses Koha::Logger for status and debugging messages.