Skip to content

Commit

Permalink
Remove dead code: applicationConfigurationMatcher (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
VivianLopes authored and mikkokar committed Aug 21, 2018
1 parent 348885b commit e8d0988
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 165 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -52,24 +52,6 @@ public static ApplicationConfigurationMatcher anApplication() {
return new ApplicationConfigurationMatcher();
}

public static ApplicationConfigurationMatcher matcherFor(BackendService backendService) {
ApplicationConfigurationMatcher matcher = new ApplicationConfigurationMatcher();
matcher.name = backendService.id().toString();
matcher.path = backendService.path();
matcher.origins = backendService.origins();
matcher.rewrites = backendService.rewrites();

ConnectionPoolSettings connectionPoolSettings = backendService.connectionPoolConfig();
matcher.connectTimeout = connectionPoolSettings.connectTimeoutMillis();
matcher.maxConnectionsPerHost = connectionPoolSettings.maxConnectionsPerHost();
matcher.maxPendingConnectionsPerHost = connectionPoolSettings.maxPendingConnectionsPerHost();

matcher.healthCheckConfig = backendService.healthCheckConfig();

matcher.stickySessionConfig = backendService.stickySessionConfig();
return matcher;
}

public ApplicationConfigurationMatcher withName(String name) {
this.name = name;
return this;
Expand Down

0 comments on commit e8d0988

Please sign in to comment.