dongxiaoman commented on code in PR #8830:
URL: https://github.com/apache/pinot/pull/8830#discussion_r889385536
##########
pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotControllerHealthCheck.java:
##########
@@ -37,8 +38,10 @@
import org.apache.pinot.controller.BaseControllerStarter;
import org.apache.pinot.controller.ControllerConf;
+import static
org.apache.pinot.spi.utils.CommonConstants.SWAGGER_AUTHORIZATION_KEY;
-@Api(tags = Constants.HEALTH_TAG)
+
+@Api(tags = Constants.HEALTH_TAG, authorizations = {@Authorization(value =
SWAGGER_AUTHORIZATION_KEY)})
@Path("/")
Review Comment:
Yes good catch. I was thinking maybe health check does not need authz but
clearly this is for Swagger so it does not matter
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]