You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are unable to list vertx-web rest endpoints and various others endpoints eg swagger, metrics, health.
Also, if we change the http root path via quarkus.http.root-path to something else (other than /) and try to load localhost:8080/ we get Resource not found generated by vertx instead of the error page.
Implementation ideas
Add a DisplayableEndpointBuildItem.
add a 404 failure handler in vertx-http to intercept 404 http codes
make resteasy, undertow, vertx-web and spring-web and other extensions produce the build item so that can be propery consumed and listed from the vertx-http in case of a 404 error.
Description
Current the
NotFound
error page is handled byresteasy
via https://github.com/quarkusio/quarkus/blob/44e029ba5f100594f1fe235c63c3aee280f253b9/extensions/resteasy/runtime/src/main/java/io/quarkus/resteasy/runtime/NotFoundExceptionMapper.java.This presents two setbacks:
vertx-web
rest endpoints and various others endpoints eg swagger, metrics, health.Resource not found
generated byvertx
instead of the error page.Implementation ideas
DisplayableEndpointBuildItem
.404 failure handler
invertx-http
to intercept 404 http codesresteasy
,undertow
,vertx-web
andspring-web
and other extensions produce the build item so that can be propery consumed and listed from thevertx-http
in case of a 404 error./cc @gsmet @stuartwdouglas .
The text was updated successfully, but these errors were encountered: