luchunliang commented on code in PR #4938:
URL: https://github.com/apache/inlong/pull/4938#discussion_r924011657
##########
inlong-manager/manager-web/src/main/java/org/apache/inlong/manager/web/controller/openapi/DataProxyController.java:
##########
@@ -82,4 +87,25 @@ public String getAllConfig(@RequestParam String clusterName,
@RequestParam(requi
return clusterService.getAllConfig(clusterName, md5);
}
+ /**
+ * changeClusterTag
+ */
+ @RequestMapping(value = "/changeClusterTag", method = RequestMethod.GET)
+ @ApiOperation(value = "Change cluster tag and topic of a inlong group id.")
+ public Response<String> changeClusterTag(@RequestParam String
inlongGroupId, @RequestParam String clusterTag,
+ @RequestParam String topic) {
+ String result =
dataProxyConfigRepository.changeClusterTag(inlongGroupId, clusterTag, topic);
+ return Response.success(result);
+ }
+
+ /**
+ * removeSecondClusterTag
+ */
+ @RequestMapping(value = "/removeSecondClusterTag", method =
RequestMethod.GET)
Review Comment:
This is a modified operation.
change RequestMethod.GET to RequestMethod.PUT.
--
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]