mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-196 Async execute API fix
This commit is contained in:
@@ -341,7 +341,7 @@ extend type Mutation {
|
||||
|
||||
asyncTaskCancel(id: String!): Boolean
|
||||
|
||||
asyncTaskInfo(id: String!, removeOnFinish: Boolean): AsyncTaskInfo!
|
||||
asyncTaskInfo(id: String!, removeOnFinish: Boolean!): AsyncTaskInfo!
|
||||
|
||||
|
||||
#### Deprecated API
|
||||
|
||||
+1
-1
@@ -113,7 +113,7 @@ public interface DBWServiceCore extends DBWService {
|
||||
WebAsyncTaskInfo getAsyncTaskStatus(WebSession webSession, String taskId) throws DBWebException;
|
||||
|
||||
@WebAction
|
||||
WebAsyncTaskInfo getAsyncTaskInfo(WebSession webSession, String taskId, boolean removeOnFinish) throws DBWebException;
|
||||
WebAsyncTaskInfo getAsyncTaskInfo(WebSession webSession, String taskId, Boolean removeOnFinish) throws DBWebException;
|
||||
|
||||
@WebAction
|
||||
boolean cancelAsyncTask(WebSession webSession, String taskId) throws DBWebException;
|
||||
|
||||
+2
-2
@@ -318,8 +318,8 @@ public class WebServiceCore implements DBWServiceCore {
|
||||
}
|
||||
|
||||
@Override
|
||||
public WebAsyncTaskInfo getAsyncTaskInfo(WebSession webSession, String taskId, boolean removeOnFinish) throws DBWebException {
|
||||
return webSession.asyncTaskStatus(taskId, removeOnFinish);
|
||||
public WebAsyncTaskInfo getAsyncTaskInfo(WebSession webSession, String taskId, Boolean removeOnFinish) throws DBWebException {
|
||||
return webSession.asyncTaskStatus(taskId, CommonUtils.toBoolean(removeOnFinish));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user