Koha-clms/misc
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
..
admin Bug 21395: Fix misc/admin/koha-preferences 2020-07-13 17:13:29 +00:00
bin Bug 21395: Make perlcritic happy 2020-07-13 16:44:43 +00:00
cronjobs Bug 27562: itiva notices break if record title contains quotes 2021-05-25 13:22:46 +00:00
devel Bug 25549: Remove plugin methods for broken plugins 2020-11-13 16:20:49 +00:00
interface_customization Bug 23148: Replace Bridge icons with transparent PNG files 2020-07-27 15:54:52 +00:00
load_testing Bug 17829: Move GetMember to Koha::Patron 2017-07-10 13:14:19 -03:00
maintenance Bug 27963: (bug 23463 follow-up) Fix touch_all_items.pl 2021-04-24 12:32:31 +00:00
migration_tools Bug 24564: Use the same tab as the other subfields within a field 2021-05-25 12:17:41 +00:00
release_notes Update release notes for 20.05.11 release 2021-04-26 19:46:05 +00:00
search_tools Bug 26312: (follow-up) Fix passing of exception messages 2021-04-25 15:23:38 +00:00
translator Translation fix again for 20.05.11 2021-04-26 19:36:41 +00:00
add_date_fields_to_marc_records.pl Bug 22509: (RM follow-up) Add use of Koha::Script base class 2019-06-24 15:08:33 +01:00
batchCompareMARCvsFrameworks.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
batchDeleteUnusedSubfields.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
batchImportMARCWithBiblionumbers.pl Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls 2019-07-15 11:28:08 +01:00
batchRebuildBiblioTables.pl Bug 24827: Standardise on 'UTF-8' as the encoding name 2020-03-16 14:45:39 +00:00
batchRebuildItemsTables.pl Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls 2019-07-15 11:28:08 +01:00
batchRepairMissingBiblionumbers.pl Bug 21395: Make perlcritic happy 2020-07-13 16:44:43 +00:00
batchdeletebiblios.pl Bug 21395: Make perlcritic happy 2020-07-13 16:44:43 +00:00
check_sysprefs.pl Bug 21395: Make perlcritic happy 2020-07-13 16:44:43 +00:00
commit_file.pl Bug 17845: Adjust few other occurrences 2020-03-10 15:18:28 +00:00
export_borrowers.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
export_records.pl Bug 26175: Remove warn if undefined barcode in misc/export_records.pl 2020-09-04 20:17:30 +00:00
exportauth.pl Bug 21395: Make perlcritic happy 2020-07-13 16:44:43 +00:00
import_patrons.pl Bug 27586: Import patrons script has a confirm switch that doesn't nothing! 2021-02-17 19:38:56 +00:00
koha-install-log Bug 17851: Add Elasticsearch config to koha-conf.xml - Add missing entries to koha-install-log 2019-10-07 14:09:10 +01:00
kohalib.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
link_bibs_to_authorities.pl Bug 21395: Make perlcritic happy 2020-07-13 16:44:43 +00:00
load_yaml.pl Bug 24883: (RM follow-up) Use Koha::Script 2020-03-27 12:12:31 +00:00
mod_zebraqueue.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
perlmodule_ls.pl
…
perlmodule_rm.pl Bug 21395: Make perlcritic happy 2020-07-13 16:44:43 +00:00
recreateIssueStatistics.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
sax_parser_print.pl Bug 17626 (QA followup) 2016-11-22 11:29:07 +00:00
sax_parser_test.pl
…
sip_cli_emulator.pl Bug 28320: Add DB connection check to the SIP SC status message 2021-05-25 13:47:33 +00:00
stage_file.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
z3950_responder.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00