From 861a29befd15bf167b0761f6206c7613a35dec9e Mon Sep 17 00:00:00 2001 From: Ainur Date: Fri, 27 Dec 2024 11:48:40 +0100 Subject: [PATCH] CB-6051 fix detect external dependencies for te --- .../src/io/cloudbeaver/server/CBPlatform.java | 7 ------- .../src/io/cloudbeaver/model/WebDatabaseDriverInfo.java | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/server/bundles/io.cloudbeaver.server.ce/src/io/cloudbeaver/server/CBPlatform.java b/server/bundles/io.cloudbeaver.server.ce/src/io/cloudbeaver/server/CBPlatform.java index 14f7640a66..8477321ff6 100644 --- a/server/bundles/io.cloudbeaver.server.ce/src/io/cloudbeaver/server/CBPlatform.java +++ b/server/bundles/io.cloudbeaver.server.ce/src/io/cloudbeaver/server/CBPlatform.java @@ -17,7 +17,6 @@ package io.cloudbeaver.server; -import io.cloudbeaver.auth.NoAuthCredentialsProvider; import io.cloudbeaver.server.jobs.SessionStateJob; import io.cloudbeaver.server.jobs.WebDataSourceMonitorJob; import io.cloudbeaver.server.jobs.WebSessionMonitorJob; @@ -26,7 +25,6 @@ import org.jkiss.code.NotNull; import org.jkiss.code.Nullable; import org.jkiss.dbeaver.Log; -import org.jkiss.dbeaver.model.DBFileController; import org.jkiss.dbeaver.model.preferences.DBPPreferenceStore; import org.jkiss.dbeaver.model.runtime.AbstractJob; import org.jkiss.dbeaver.model.runtime.DBRProgressMonitor; @@ -125,9 +123,4 @@ public boolean isShuttingDown() { return false; } - @NotNull - @Override - public DBFileController createFileController() { - return getApplication().createFileController(new NoAuthCredentialsProvider()); - } } diff --git a/server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/model/WebDatabaseDriverInfo.java b/server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/model/WebDatabaseDriverInfo.java index b868dc05f9..691cb78e24 100644 --- a/server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/model/WebDatabaseDriverInfo.java +++ b/server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/model/WebDatabaseDriverInfo.java @@ -302,7 +302,7 @@ public WebDriverLibraryInfo[] getDriverLibraries() { @Property public boolean isDriverInstalled() { - return !driver.needsExternalDependencies(); + return driver.canDownloadDriverLibraries(); } @Property