fjtirado commented on code in PR #4213:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4213#discussion_r2997475547
##########
kogito-workitems/kogito-rest-workitem/src/main/java/org/kogito/workitem/rest/decorators/RequestDecorator.java:
##########
@@ -21,9 +21,10 @@
import java.util.Map;
import org.kie.kogito.internal.process.workitem.KogitoWorkItem;
+import org.kie.kogito.internal.process.workitem.KogitoWorkItemHandler;
import io.vertx.mutiny.ext.web.client.HttpRequest;
public interface RequestDecorator {
- public void decorate(KogitoWorkItem item, Map<String, Object> parameters,
HttpRequest<?> request);
+ public void decorate(KogitoWorkItem item, Map<String, Object> parameters,
HttpRequest<?> request, KogitoWorkItemHandler handler);
Review Comment:
I do not think there is need to change the interface and all implementation
classes, see comments below
--
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]