elguardian commented on code in PR #3403:
URL: 
https://github.com/apache/incubator-kie-kogito-runtimes/pull/3403#discussion_r1533401165


##########
api/kogito-api/src/main/java/org/kie/kogito/process/ProcessInstances.java:
##########
@@ -33,9 +33,18 @@ default Optional<ProcessInstance<T>> 
findByBusinessKey(String id) {
         return stream().filter(pi -> id.equals(pi.businessKey())).findAny();
     }
 
+    default void migrate(String targetProcessId, String targetProcessVersion, 
String... processIds) throws UnsupportedOperationException {
+        throw new UnsupportedOperationException();
+    }
+
+    default long migrate(String targetProcessId, String targetProcessVersion) 
throws UnsupportedOperationException {

Review Comment:
   Hi, this is related to encapsulate the operations related to the process 
instance themselves in the same place. and this belongs to the update of the 
process (CRUD). Mind to elaborate why do you think is something  not related to 
the update of the process ¿?



-- 
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]

Reply via email to