@Deprecated public interface BaseUrlSelector
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getAllNodeBaseUrls()
Deprecated.
|
String |
getBaseUrl()
Deprecated.
|
String |
getConfiguredBaseUrl()
Deprecated.
|
String |
substituteForNodeBaseUrl(String url)
Deprecated.
Our cluster builds don't have a load balancer, this base URL actually points at node 1.
|
String getBaseUrl()
Collection<String> getAllNodeBaseUrls()
String getConfiguredBaseUrl()
getBaseUrl()
.String substituteForNodeBaseUrl(String url)
getConfiguredBaseUrl()
in it by the server, then pinging that URL
will take it to node 1, and the test will fail.
This method checks to see if the given URL starts with the getConfiguredBaseUrl()
, and if so then
substitutes it with the getBaseUrl()
that points at the node that the current test is running against.
It also checks to see if the given URL starts with the base URL of any of the other cluster nodes, and performs a similar substitution.
If and when our cluster builds get a load balancer, we should be able to take this nastiness out.
Copyright © 2003–2018 Atlassian. All rights reserved.