Koha/C4/SIP
Nick Clemens d85ae826c6 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>
2021-05-17 12:34:33 +02:00
..
ILS Bug 26995: Drop column relationship from borrowers, deletedborrowers and borrower_modifications tables 2021-05-10 15:46:55 +02:00
Sip Bug 28320: Add DB connection check to the SIP SC status message 2021-05-17 12:34:33 +02:00
t
ILS.pm Bug 26591: SIP option prevcheckout_block_checkout to block checkout of previously checked-out documents 2021-03-01 15:14:22 +01:00
ILS.pod
Logger.pm
Makefile
README
Sip.pm
SIPServer.pm Bug 28054: Reinstate the shebang in SIPServer.pm 2021-04-01 18:51:37 +02:00
Trapper.pm

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.