pkuwm commented on a change in pull request #757: Add write REST endpoints to 
helix rest for metadata store directory
URL: https://github.com/apache/helix/pull/757#discussion_r378480908
 
 

 ##########
 File path: 
helix-rest/src/main/java/org/apache/helix/rest/server/resources/metadatastore/MetadataStoreDirectoryAccessor.java
 ##########
 @@ -84,6 +86,31 @@ public Response getAllMetadataStoreRealms() {
     return JSONRepresentation(responseMap);
   }
 
+  @PUT
+  @Path("/metadata-store-realms/{realm}")
+  public Response addMetadataStoreRealm(@PathParam("realm") String realm) {
+    try {
+      LOG.error("updating {} {}", _namespace, realm);
 
 Review comment:
   It was left for me to debug. I've removed it before you finished the review. 
But somehow you still saw it.

----------------------------------------------------------------
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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@helix.apache.org
For additional commands, e-mail: reviews-h...@helix.apache.org

Reply via email to