kishoreg commented on a change in pull request #5687: URL: https://github.com/apache/incubator-pinot/pull/5687#discussion_r454112144
########## File path: pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotClusterConfigs.java ########## @@ -57,6 +57,17 @@ @Inject PinotHelixResourceManager pinotHelixResourceManager; + @GET + @Path("/cluster/info") + @Produces(MediaType.APPLICATION_JSON) + @ApiOperation(value = "Get cluster Ingo", notes = "Get cluster Info") + @ApiResponses(value = {@ApiResponse(code = 200, message = "Success"), @ApiResponse(code = 500, message = "Internal server error")}) + public String getClusterInfo() { + ObjectNode ret = JsonUtils.newObjectNode(); + ret.put("clusterName", pinotHelixResourceManager.getHelixClusterName()); Review comment: yes. We can enhance later. There was no way to get the cluster name ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org