cimbalek commented on code in PR #4273:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4273#discussion_r3361773938
##########
api/kogito-api/src/main/java/org/kie/kogito/usertask/UserTaskService.java:
##########
@@ -34,13 +37,15 @@ public interface UserTaskService {
List<UserTaskView> list(IdentityProvider identity);
+ List<UserTaskInfoView> listTasks(IdentityProvider identity, UserTaskFilter
filter);
+
Optional<UserTaskView> transition(String taskId, String transitionId,
Map<String, Object> data, IdentityProvider identity);
List<UserTaskTransitionView> allowedTransitions(String taskId,
IdentityProvider identity);
- Optional<UserTaskView> setOutputs(String taskId, Map<String, Object> data,
IdentityProvider identity);
+ Optional<UserTaskOutputsView> setOutputs(String taskId, Map<String,
Object> data, IdentityProvider identity);
- Optional<UserTaskView> setInputs(String taskId, Map<String, Object> data,
IdentityProvider identity);
+ Optional<UserTaskInputsView> setInputs(String taskId, Map<String, Object>
data, IdentityProvider identity);
Review Comment:
Aren't these chages breaking backward compatibility? And do we need all
those new views?
--
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]