-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade SmallRye Health to 2.2.3 and add Health UI #10828
Upgrade SmallRye Health to 2.2.3 and add Health UI #10828
Conversation
@xstefank - please have a look |
.../deployment/src/main/java/io/quarkus/smallrye/health/deployment/SmallRyeHealthProcessor.java
Show resolved
Hide resolved
.../deployment/src/main/java/io/quarkus/smallrye/health/deployment/SmallRyeHealthProcessor.java
Show resolved
Hide resolved
.../deployment/src/main/java/io/quarkus/smallrye/health/deployment/SmallRyeHealthProcessor.java
Show resolved
Hide resolved
.../deployment/src/main/java/io/quarkus/smallrye/health/deployment/SmallRyeHealthProcessor.java
Show resolved
Hide resolved
...-health/deployment/src/test/java/io/quarkus/smallrye/health/test/ui/ErroneousConfigTest.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed with @phillip-kruger offline and everything was explained. Approving.
.../deployment/src/main/java/io/quarkus/smallrye/health/deployment/SmallRyeHealthProcessor.java
Outdated
Show resolved
Hide resolved
This is awesome, but comparing to openapi/swagger-ui, wouldn't be worth moving |
Hi @gastaldi - I actually want to do the reverse :) Move swagger-ui to openapi. We included this UI similar to the GraphQL UI |
This makes sense to me, as they are directly related. +1 to that |
Can we have some documentation in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but it would be nice to have the documentation too in this same PR if possible (could be in a separate commit)
@xstefank - w.d.y.t ? Do you want to update the documentation, or can I give it a shot ? |
Not a blocker, but we need to rethink the documentation from a SmallRye perspective. For instance, talking about the Health UI doesn't really belong in a doc about MP Health. Maybe it's just the file name, but we need to be clear about what is MP and what isn't |
@phillip-kruger in Quarkus we can change Swagger UI path, enable it or not, etc. with the following properties. Do you think of doing the same ?
|
Hi @agoncal . Yes you already can - it follows the same pattern as swagger-ui (and graphiql):
We will update the documentation soon. |
.../deployment/src/main/java/io/quarkus/smallrye/health/deployment/SmallRyeHealthProcessor.java
Show resolved
Hide resolved
.../deployment/src/main/java/io/quarkus/smallrye/health/deployment/SmallRyeHealthProcessor.java
Outdated
Show resolved
Hide resolved
@gastaldi - I added the documentation as requested. |
We have SR Health documentation on the roadmap and I think that Quarkus documenation should then point out to that when its ready. However, the doc is really about MP Health and mentioning additional features only available in SR/Quarkus may be confusing for someone who reads this doc as first thing as an intro to the spec. I would suggest to add some mention that UI is not part of the spec. |
Thanks @xstefank - Can you suggest where/what in the PR ? |
Signed-off-by: Phillip Kruger <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally. Works great! Good job @phillip-kruger
This PR upgrade the SmallRye Health to the latest 2.2.3 version and also add the new Health UI
Signed-off-by: Phillip Kruger [email protected]