pefernan commented on code in PR #4273:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4273#discussion_r3335609528
##########
kogito-codegen-modules/kogito-codegen-processes/src/main/resources/class-templates/usertask/RestResourceUserTaskSpringTemplate.java:
##########
@@ -92,15 +99,54 @@ public void init() {
}
@GetMapping(produces = MediaType.APPLICATION_JSON_VALUE, consumes =
MediaType.ALL_VALUE)
- public List<UserTaskView> list(
- @RequestParam(value = "user", required = false) String user,
- @RequestParam(value = "group", required = false) List<String>
groups) {
- return
userTaskService.list(identityProviderFactory.getOrImpersonateIdentity(user,
groups));
+ public Object list(
+ @RequestParam(value = "user", required = false) String user,
+ @RequestParam(value = "group", required = false) List<String>
groups,
+ @RequestParam(value = "format", required = false) String format,
+ @RequestParam(value = "processId", required = false) String
processId,
+ @RequestParam(value = "processInstanceId", required = false)
String processInstanceId,
+ @RequestParam(value = "status", required = false) List<String>
status,
+ @RequestParam(value = "taskName", required = false) String
taskName) {
Review Comment:
Task Name is a business name that the user gives to a task (or tasks), I
think it is good to have it here.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]