Skip to content

Commit

Permalink
Merge branch 'devel' into CB-4382-anonymous-access-restricted-error
Browse files Browse the repository at this point in the history
  • Loading branch information
s.teleshev committed Jan 17, 2024
2 parents a02d5f1 + d8f197e commit 81e7c75
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1155,6 +1155,11 @@ public static Builder builder(
return new Builder(workspace, credentialsProvider, smControllerSupplier);
}

@Override
public String ping() {
return "pong (RM)";
}

public static final class Builder {
private final SMCredentialsProvider credentialsProvider;
private final Supplier<SMController> smController;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ private void initializeSecurityController() throws DBException {
@Nullable
@Override
protected Path loadServerConfiguration() throws DBException {
initHomeFolder();
Path path = super.loadServerConfiguration();


Expand Down Expand Up @@ -548,8 +549,7 @@ private void parseConfiguration(File configFile) throws DBException {
}

protected void parseConfiguration(Map<String, Object> configProps) throws DBException {
String homeFolder = initHomeFolder();

Path homeFolder = getHomeDirectory();
CBAppConfig prevConfig = new CBAppConfig(appConfiguration);
Gson gson = getGson();
try {
Expand Down Expand Up @@ -602,7 +602,7 @@ protected void parseConfiguration(Map<String, Object> configProps) throws DBExce

databaseConfiguration.putAll(JSONUtils.getObject(serverConfig, CBConstants.PARAM_DB_CONFIGURATION));

readProductConfiguration(serverConfig, gson, homeFolder);
readProductConfiguration(serverConfig, gson, homeFolder.toString());

String staticContentsFile = JSONUtils.getString(serverConfig, CBConstants.PARAM_STATIC_CONTENT);
if (!CommonUtils.isEmpty(staticContentsFile)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@
margin: 0;
text-overflow: ellipsis;
overflow: hidden;
}
white-space: nowrap;
}

0 comments on commit 81e7c75

Please sign in to comment.