solr-actuators

Xenit endpoint to retrieve solr readiness

Лицензия

Лицензия

Группа

Группа

eu.xenit.solr-actuators
Идентификатор

Идентификатор

solr-actuators
Последняя версия

Последняя версия

0.0.2
Дата

Дата

Тип

Тип

pom.sha512
Описание

Описание

solr-actuators
Xenit endpoint to retrieve solr readiness
Ссылка на сайт

Ссылка на сайт

https://github.com/xenit-eu/solr-actuators
Система контроля версий

Система контроля версий

https://github.com/xenit-eu/solr-actuators.git

Скачать solr-actuators

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

Solr actuators

Readiness endpoint to be used as load balancer check.

Solr is considered ready when it is "almost" ready with tracking alfresco.
This is computed subjectivelly using the lag reported by the SUMMARY screen: solr is ready when the lag is smaller than MAX_LAG.

The script is available at:

alfresco/xenit/actuators/readiness

In order to check the health of solr server, the out-of-the-box ping handler can be used.

alfresco/admin/ping

Usage

Status code is to be used for the health check: 200 if ready or 503 if not yet ready.

The output of the script offers additional information if being ready as well as information about current tracker status (when parameter info is appended to the query).

How to run integration tests

./gradlew integrationTest
eu.xenit.solr-actuators

Xenit

Версии библиотеки

Версия
0.0.2
0.0.1