leosanqing commented on code in PR #4743:
URL: https://github.com/apache/inlong/pull/4743#discussion_r904474799
##########
inlong-manager/manager-web/src/main/java/org/apache/inlong/manager/web/controller/InlongGroupController.java:
##########
@@ -166,4 +167,10 @@ public Response<InlongGroupTopicInfo>
getTopic(@PathVariable String groupId) {
return Response.success(groupService.getTopic(groupId));
}
+ @RequestMapping(value = "reset", method = RequestMethod.POST)
+ @ApiOperation(value = "Reset group status when group is in
CONFIG_ING|SUSPENDING|RESTARTING|DELETING")
+ public Response<Boolean> reset(@RequestBody InlongGroupResetRequest
request) {
Review Comment:
Add @Validation before @RequestBody, otherwise the validation will not take
effect
--
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]