wangxj3 commented on a change in pull request #7491:
URL: https://github.com/apache/dolphinscheduler/pull/7491#discussion_r774920127
##########
File path:
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/TaskGroupController.java
##########
@@ -287,9 +316,13 @@ public Result wakeCompulsively(@ApiIgnore
@RequestAttribute(value = Constants.SE
@AccessLogAnnotation(ignoreRequestArgs = "loginUser")
public Result queryTasksByGroupId(@ApiIgnore @RequestAttribute(value =
Constants.SESSION_USER) User loginUser,
@RequestParam("groupId") Integer groupId,
+ @RequestParam(value =
"taskInstanceName",required = false) String taskName,
+ @RequestParam(value =
"processInstanceName",required = false) String processName,
+ @RequestParam(value = "status",required
= false) Integer status,
@RequestParam("pageNo") Integer pageNo,
@RequestParam("pageSize") Integer
pageSize) {
- Map<String, Object> result =
taskGroupQueueService.queryTasksByGroupId(loginUser, groupId, pageNo, pageSize);
+ Map<String, Object> result =
taskGroupQueueService.queryTasksByGroupId(loginUser,
taskName,processName,status,
Review comment:
I will submit it again as an improved PR
--
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]