mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-19 10:56:04 +08:00
CB-3493 hostname api fix (#1672)
This commit is contained in:
@@ -114,6 +114,7 @@ type ServerConfig {
|
||||
|
||||
serverURL: String!
|
||||
rootURI: String!
|
||||
hostName: String! @deprecated # use container id instead
|
||||
containerId: String!
|
||||
defaultAuthRole: String
|
||||
|
||||
|
||||
@@ -68,6 +68,12 @@ public class WebServerConfig {
|
||||
return CommonUtils.notEmpty(application.getRootURI());
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@Property
|
||||
public String getHostName() {
|
||||
return getContainerId();
|
||||
}
|
||||
|
||||
@Property
|
||||
public String getContainerId() {
|
||||
return CommonUtils.notEmpty(application.getContainerId());
|
||||
|
||||
Reference in New Issue
Block a user