healchow commented on code in PR #4938:
URL: https://github.com/apache/inlong/pull/4938#discussion_r916454199


##########
inlong-manager/manager-web/src/main/java/org/apache/inlong/manager/web/controller/openapi/DataProxyController.java:
##########
@@ -80,4 +82,73 @@ public String getAllConfig(@RequestParam String clusterName, 
@RequestParam(requi
         return clusterService.getAllConfig(clusterName, md5);
     }
 
+    /**
+     * changeClusterTag
+     */
+    @RequestMapping(value = "/changeClusterTag", method = RequestMethod.POST)
+    @ApiOperation(value = "Change cluster tag and topic of a inlong group id.")
+    public Response<String> changeClusterTag(@RequestBody InlongGroupEntity 
groupInfo) {

Review Comment:
   In the request, it's recommended to use `XxxRequest` rather than 
`XxxEntity`, because the `XxxEntity` is a persistent object.



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

Reply via email to