leosanqing commented on code in PR #5563:
URL: https://github.com/apache/inlong/pull/5563#discussion_r947888183
##########
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:
Is this "taskId"?
--
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]