Koha-clms/C4/SIP
Nick Clemens a4ae376b4e Bug 28320: Add DB connection check to the SIP SC status message
This patch adds a lookup of the sip user during an SC status, confirming that
our DB ocnnection is working, and that our user is still valid

Additionally, it adds support for SC status to the sip_cli_emulator and adds basic
test coverage for the SC status message

To test:
1 - Apply patch
2 - Restart SP server
3 - perl misc/sip_cli_emulator.pl -a localhost -p 6001 -l CPL -m sc_status_request -su term1 -sp term1
4 - prove -v t/db_dependent/SIP/Message.t

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit d85ae826c6)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 06a99ac9bb)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
2021-05-25 13:47:33 +00:00
..
ILS Bug 27014: Enable C4::SIP::ILS::Patron::new to accept a hash 2021-03-05 16:16:06 +00:00
Sip Bug 28320: Add DB connection check to the SIP SC status message 2021-05-25 13:47:33 +00:00
t
…
ILS.pm Bug 27014: Enable C4::SIP::ILS::Patron::new to accept a hash 2021-03-05 16:16:06 +00:00
ILS.pod
…
Logger.pm Bug 26673: Remove shebangs from Perl modules 2020-11-13 21:04:25 +00:00
Makefile
…
README
…
SIPServer.pm Bug 28054: Reinstate the shebang in SIPServer.pm 2021-04-24 16:05:58 +00:00
Sip.pm
…
Trapper.pm
…
acstest.py
…
example_institution_dump.sh
…
interactive_item_dump.pl
…
interactive_patron_check_password.pl
…
interactive_patron_dump.pl
…
interactive_renew_all_dump.pl
…
test.txt
…
xmlparse.pl
…

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.