Bug 37958

Summary: SIP CLI emulator should be able to read local config
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: SIP2Assignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: kyle, martin.renvoize, saiful
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Nick Clemens (kidclamp) 2024-09-18 18:09:44 UTC
When testing with the SIP CLI emulator you must enter account details, server details, etc.

It would be nice if the tool could read the SIPconfig.xml file and pull server/credential information to make testing accounts easier
Comment 1 Saiful Amin 2025-11-27 04:31:07 UTC
(In reply to Nick Clemens (kidclamp) from comment #0)
> It would be nice if the tool could read the SIPconfig.xml file and pull
> server/credential information to make testing accounts easier

I think it's better if it reads base config (host, port, credential) from ENV instead. I do that in my private .Net SIP2 CLI client. It is quite useful.

I can try to write a patch, if it is acceptable.