PLT-6976: Elasticsearch capitalisation and tests. (#6839)

* Fixes Elasticsearch to have consistent capitalisation everywhere
  across the code and UI (except the config file unfortunately).
* Adds basic unit tests for Elastichsearch.
* Adds a Elasticsearch docker image to the Makefile to enable testing
  the Elasticsearch feature.
Этот коммит содержится в:
George Goldberg
2017-07-07 15:36:17 +01:00
коммит произвёл GitHub
родитель 0495a51949
Коммит db2f6cf076
9 изменённых файлов: 62 добавлений и 27 удалений

Просмотреть файл

@@ -120,8 +120,8 @@ func runServer(configFileLocation string) {
einterfaces.GetMetricsInterface().StartServer()
}
if einterfaces.GetElasticSearchInterface() != nil {
if err := einterfaces.GetElasticSearchInterface().Start(); err != nil {
if einterfaces.GetElasticsearchInterface() != nil {
if err := einterfaces.GetElasticsearchInterface().Start(); err != nil {
l4g.Error(err.Error())
}
}