[Koha-bugs] [Bug 12750] koha-create should be able to configure SRU server for the created instance

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 12 16:19:17 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12750

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 30735
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=30735&action=edit
Bug 12750: koha-create should be able to configure SRU server for the created
instance

This patch adds two parameters to the koha-create command:

 --enable-sru: makes the koha-create script enabled the SRU server for
               the created instance

 --sru-port:   lets the user specify a desired port for the SRU server
               to listen at. It defaults to 7090

To test:
- Apply the patch on top of master
- Build your own package and install / can be tested just using the koha-create
  command on a 3.16+ packages install
- Create an instance as usual (i.e. without --enable-sru and --sru-port)
=> SUCCESS: The instance is created, the publicserver sections are
            both commented out. The first publicserver section has 7090 set as
the
            listening port.
- Create an instance as usual, passing --sru-port 456
=> SUCCESS: The instance is created, the port is set but the publicserver
sections
            are commented out
- Create an instance with --enable-sru (with and without --sru-port)
=> SUCCESS: Verify the instance is created as expected, with the SRU server
enabled
            (port 7090 if no --sru-port passed, the one we chose otherwise).
- Verify that the docs also talk about this new parameters addition.
- Sign off :-D

Regards
To+

Sponsored-by: Universidad Nacional de Cordoba

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list