jerryshao commented on code in PR #12523:
URL: https://github.com/apache/gravitino/pull/12523#discussion_r3841049749
##########
server-common/src/main/java/org/apache/gravitino/server/web/HealthCheckPathMatcher.java:
##########
@@ -56,6 +65,7 @@ public boolean isHealthCheckPath(String path) {
|| path.startsWith("/health/")
|| path.equals("/health.html")
|| path.equals("/api/health")
- || path.startsWith("/api/health/");
+ || path.startsWith("/api/health/")
+ || path.equals("/api/version");
Review Comment:
@danhuawang `/ap/version` doesn't belong to this class `HealthCheck...`. You
should figure out a different way to put this API into the authorization
exclusion filter.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]