neo4j-health-check-plugin

Health Check Plugin for Neo4j

Лицензия

Лицензия

Категории

Категории

Neo4J Данные Базы данных
Группа

Группа

com.brinkus.labs
Идентификатор

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

neo4j-health-check-plugin
Последняя версия

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

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

neo4j-health-check-plugin
Health Check Plugin for Neo4j
Ссылка на сайт

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

https://github.com/bbrinkus/neo4j-health-check-plugin.git
Система контроля версий

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

https://github.com/bbrinkus/neo4j-health-check-plugin

Скачать neo4j-health-check-plugin

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.brinkus.labs/neo4j-health-check-plugin/ -->
<dependency>
    <groupId>com.brinkus.labs</groupId>
    <artifactId>neo4j-health-check-plugin</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.brinkus.labs/neo4j-health-check-plugin/
implementation 'com.brinkus.labs:neo4j-health-check-plugin:1.0.0'
// https://jarcasting.com/artifacts/com.brinkus.labs/neo4j-health-check-plugin/
implementation ("com.brinkus.labs:neo4j-health-check-plugin:1.0.0")
'com.brinkus.labs:neo4j-health-check-plugin:jar:1.0.0'
<dependency org="com.brinkus.labs" name="neo4j-health-check-plugin" rev="1.0.0">
  <artifact name="neo4j-health-check-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.brinkus.labs', module='neo4j-health-check-plugin', version='1.0.0')
)
libraryDependencies += "com.brinkus.labs" % "neo4j-health-check-plugin" % "1.0.0"
[com.brinkus.labs/neo4j-health-check-plugin "1.0.0"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
com.fasterxml.jackson.core : jackson-databind jar 2.7.4

provided (1)

Идентификатор библиотеки Тип Версия
org.neo4j : server-api jar 3.0.4

test (4)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12
org.hamcrest : hamcrest-library jar 1.3
org.mockito : mockito-all jar 1.10.19
org.neo4j.test : neo4j-harness jar 3.0.4

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

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

Health Check Plugin for Neo4j

Query result

The health check has 4 different results depending from the server's state:

  • UP
    • The server is up and running. Also the server has nodes.
    • {"status":"UP","description":"Neo4j health check was success."}
  • OUT_OF_SERVICE
    • The server is up and running but it has 0 nodes.
    • {"status":"OUT_OF_SERVICE","description":"Neo4j has no available node!"}
  • DOWN
    • The server is not available.
    • {"status":"DOWN","description":"Neo4j health check result was invalid!"}
  • OUT_OF_SERVICE
    • An error occurred during the query state.
    • {"status":"OUT_OF_SERVICE","description":"Neo4j health check failed!","error":"java.lang.NullPointerException: detail"}

Installation

Neo4j (3.0+)

NEO4J_HOME/conf/neo4j.conf

dbms.security.auth_enabled=false
dbms.unmanaged_extension_classes=com.brinkus.labs.neo4j.health.unmanaged=/labs

Neo4j (<3.0)

NEO4J_HOME/conf/neo4j-server.properties

dbms.security.auth_enabled=false
org.neo4j.server.thirdparty_jaxrs_classes=com.brinkus.labs.neo4j.health.unmanaged=/labs

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

Версия
1.0.0