martinweiler commented on code in PR #4273:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4273#discussion_r3205003486
##########
kogito-codegen-modules/kogito-codegen-processes/src/main/resources/class-templates/usertask/RestResourceUserTaskQuarkusTemplate.java:
##########
@@ -86,20 +102,54 @@ public void init() {
}
@GET
+ @Path("/instance")
@Produces(MediaType.APPLICATION_JSON)
- public List<UserTaskView> list(@QueryParam("user") String user,
@QueryParam("group") List<String> groups) {
- return
userTaskService.list(identityProviderFactory.getOrImpersonateIdentity(user,
groups));
+ public Object list(
+ @QueryParam("user") String user,
+ @QueryParam("group") List<String> groups,
+ @QueryParam("format") String format,
+ @QueryParam("processId") String processId,
+ @QueryParam("processInstanceId") String processInstanceId,
+ @QueryParam("status") String status,
Review Comment:
Should we support a list of `status` elements?
--
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]