haifxu commented on code in PR #5563: URL: https://github.com/apache/inlong/pull/5563#discussion_r948576574
########## inlong-manager/manager-client/src/main/java/org/apache/inlong/manager/client/api/service/WorkflowApi.java: ########## @@ -37,8 +40,29 @@ public interface WorkflowApi { @POST("workflow/approve/{taskId}") Call<Response<WorkflowResult>> startInlongGroup(@Path("taskId") Integer taskId, @Body Map<String, Object> request); - @GET("workflow/event/list") - Call<Response<PageInfo<EventLogResponse>>> getInlongGroupError(@Query("inlongGroupId") String groupId, - @Query("status") Integer status); + @POST("workflow/start") + Call<Response<WorkflowResult>> start(@Body WorkflowOperationRequest request); + + @POST("workflow/cancel/{taskId}") + Call<Response<WorkflowResult>> cancel(@Path("processId") Integer processId, @Body WorkflowOperationRequest request); Review Comment: Done -- 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: commits-unsubscr...@inlong.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org