Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Java MicroProfile template - generated 'health' endpoint collides with Liberty's #3

Open
ericdylanpeters opened this issue Jun 25, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@ericdylanpeters
Copy link

ericdylanpeters commented Jun 25, 2019

  1. create a new MicroProfile project
  2. update generated /<project_name>/src/main/java/application/HealthEndpoint.java to return something other than 'UP' (e.g. "{"status":"UP and DOWN and UP"}" )
  3. pinging http://localhost:32769/health shows ’{“checks”:[],“outcome”:“UP”}’ instead of what I’ve defined in HealthEndpoint.java

I believe it’s because the Liberty image contains its own built in health endpoint now.

@tobespc tobespc added the enhancement New feature or request label Jun 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants