http://HOST:PORT/health
) receives an inbound request./health
, so that a fully qualified URL to your health impoementation looks like http://<HOST:<PORT>/health"
--
You received this message because you are subscribed to the Google Groups "Eclipse MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/088efc10-847d-4032-b728-645d4c68f6bc%40googlegroups.com.
Hi AdamCould you report this on the TomEE mailing list? I'd be happy to take a look.CheersJon
On Tue, Oct 1, 2019 at 2:34 AM Adam Wisniewski <adam.wis...@gmail.com> wrote:
--Hi,I have a basic health check set up using TomEE. My HealthCheck implementation is annotated with @Health and @ApplicationScoped, and my jaxrs Application implementation has an @ApplicationPath annotation set. What is the expected url regarding the /health endpoint? My understanding is that the endpoint should be scoped to the context root for the application, ignoring whatever is set for @ApplicationPath. However, on TomEE I notice the health endpoint is appended to the application path. For example, if I have @ApplicationPath(“groups”), the health check url is <host>:<port>/groups/health, not <host>:<port>/health. With other runtimes, the health check url does not include the application path (i.e. “groups”). Is this just a difference in implementation or should this behavior be consistent?Thanks!
You received this message because you are subscribed to the Google Groups "Eclipse MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/088efc10-847d-4032-b728-645d4c68f6bc%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/b63675b7-7bbf-4eed-952f-c3f5a7b9f147%40googlegroups.com.