mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-10-12 23:37:00 +08:00
CB-2765 distributed config flag
This commit is contained in:
@@ -134,6 +134,7 @@ type ServerConfig {
|
||||
configurationMode: Boolean
|
||||
developmentMode: Boolean
|
||||
redirectOnFederatedAuth: Boolean
|
||||
distributed: Boolean!
|
||||
|
||||
enabledFeatures: [ID!]!
|
||||
enabledAuthProviders: [ID!]!
|
||||
|
||||
@@ -26,7 +26,6 @@ import org.jkiss.dbeaver.registry.language.PlatformLanguageDescriptor;
|
||||
import org.jkiss.dbeaver.registry.language.PlatformLanguageRegistry;
|
||||
import org.jkiss.dbeaver.runtime.DBWorkbench;
|
||||
import org.jkiss.dbeaver.utils.GeneralUtils;
|
||||
import org.jkiss.utils.ArrayUtils;
|
||||
import org.jkiss.utils.CommonUtils;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@@ -198,4 +197,8 @@ public class WebServerConfig {
|
||||
return application.getAppConfiguration().getDisabledDrivers();
|
||||
}
|
||||
|
||||
@Property
|
||||
public Boolean isDistributed() {
|
||||
return application.isDistributed();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user