Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ public ClusterStats monitor(ProxyBackendConfiguration backend)
properties.setProperty("SSL", String.valueOf(parsedUrl.getProtocol().equals("https")));
}
catch (MalformedURLException e) {
log.error("could not parse backend url %s ", url);
return clusterStats.build(); // TODO Invalid configuration should fail
throw new IllegalArgumentException("Invalid backend URL: " + url, e);
}

try (Connection conn = DriverManager.getConnection(jdbcUrl, properties);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ void setup()
File testConfigFile =
HaGatewayTestUtils.buildGatewayConfig("auth/oauth-test-config.yml", additionalVars);
String[] args = {testConfigFile.getAbsolutePath()};
System.out.println(ROUTER_PORT);
HaGatewayLauncher.main(args);
}

Expand Down