zuul-route-health-spring-cloud-starter

Spring Cloud Netflix Zuul route health indicator

License

License

Categories

Categories

Zuul Application Layer Libs Distributed Applications
GroupId

GroupId

io.jmnarloch
ArtifactId

ArtifactId

zuul-route-health-spring-cloud-starter
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

zuul-route-health-spring-cloud-starter
Spring Cloud Netflix Zuul route health indicator
Project URL

Project URL

https://github.com/jmnarloch/zuul-route-health-spring-cloud-starter
Source Code Management

Source Code Management

https://github.com/jmnarloch/zuul-route-health-spring-cloud-starter.git

Download zuul-route-health-spring-cloud-starter

How to add to project

<!-- https://jarcasting.com/artifacts/io.jmnarloch/zuul-route-health-spring-cloud-starter/ -->
<dependency>
    <groupId>io.jmnarloch</groupId>
    <artifactId>zuul-route-health-spring-cloud-starter</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.jmnarloch/zuul-route-health-spring-cloud-starter/
implementation 'io.jmnarloch:zuul-route-health-spring-cloud-starter:1.1.0'
// https://jarcasting.com/artifacts/io.jmnarloch/zuul-route-health-spring-cloud-starter/
implementation ("io.jmnarloch:zuul-route-health-spring-cloud-starter:1.1.0")
'io.jmnarloch:zuul-route-health-spring-cloud-starter:jar:1.1.0'
<dependency org="io.jmnarloch" name="zuul-route-health-spring-cloud-starter" rev="1.1.0">
  <artifact name="zuul-route-health-spring-cloud-starter" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.jmnarloch', module='zuul-route-health-spring-cloud-starter', version='1.1.0')
)
libraryDependencies += "io.jmnarloch" % "zuul-route-health-spring-cloud-starter" % "1.1.0"
[io.jmnarloch/zuul-route-health-spring-cloud-starter "1.1.0"]

Dependencies

compile (3)

Group / Artifact Type Version
org.springframework.boot : spring-boot-configuration-processor Optional jar 1.2.5.RELEASE
org.springframework.boot : spring-boot-starter-actuator jar 1.2.5.RELEASE
org.springframework.cloud : spring-cloud-starter-zuul jar 1.0.3.RELEASE

test (3)

Group / Artifact Type Version
org.mockito : mockito-all jar 1.10.19
junit : junit jar 4.12
org.springframework.boot : spring-boot-starter-test jar 1.2.5.RELEASE

Project Modules

There are no modules declared in this project.

Spring Cloud Netflix Zuul route health

A Spring Cloud Zuul health indicator

Build Status Coverage Status

Features

Configures Spring Boot's Actuator health indicator that indicates if for every explicitly configured route a backing service exists in the discovery service.

Setup

Add the Spring Cloud starter to your project:

<dependency>
  <groupId>io.jmnarloch</groupId>
  <artifactId>zuul-route-health-spring-cloud-starter</artifactId>
  <version>1.1.0</version>
</dependency>

Properties

Property zuul.health.enabled let's you enable this extension.

zuul.health.enabled=true # true by default

Health endpoint

The health indicator is auto registered and will be triggered whenever the Actuator's health endpoint will be accessed:

Zuul routes

License

Apache 2.0

Versions

Version
1.1.0
1.0.0