[Koha-bugs] [Bug 19542] Koha should display Elasticsearch information in the about page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 3 21:03:45 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19542

David Bourgault <david.bourgault at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #68861|0                           |1
        is obsolete|                            |

--- Comment #5 from David Bourgault <david.bourgault at inlibro.com> ---
Created attachment 68935
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68935&action=edit
Bug 19542: Add a check for ES configuration health

This patch adds a new statuc function to Koha::SearchEngine::ElasticSearch
which is instended to replace most of get_elasticsearch_params. This function
reads the configuration from C4::Context->config('elasticsearch') and raises
relevant exceptions when mandatory entries are missing.

Its behaviour is covered by tests.

To test:
- Run:
  $ kshell
 k$ prove t/Koha/SearchEngine/Elasticsearch.t
=> SUCCESS: Tests pass!
- Sign off :-D

Signed-off-by: David Bourgault <david.bourgault at inlibro.com>

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


More information about the Koha-bugs mailing list