Koha/debian/scripts
Tomas Cohen Arazi b2649cbcba Bug 12750: koha-create should be able to configure the Z39.50/SRU server
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
Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-11-20 19:07:15 -03:00
..
koha-create Bug 12750: koha-create should be able to configure the Z39.50/SRU server 2014-11-20 19:07:15 -03:00
koha-create-dirs
koha-disable
koha-dump
koha-dump-defaults
koha-email-disable
koha-email-enable
koha-enable
koha-enable-sip
koha-foreach
koha-functions.sh
koha-indexer
koha-list
koha-mysql
koha-mysqlcheck
koha-rebuild-zebra
koha-remove
koha-reset-passwd
koha-restart-zebra
koha-restore
koha-run-backups
koha-shell
koha-start-sip
koha-start-zebra
koha-stop-sip
koha-stop-zebra
koha-translate
koha-upgrade-schema
koha-upgrade-to-3.4