mirror of https://github.com/apache/jclouds.git
Renamed internal ID from cloudloadbalancers to rackspace-cloudloadbalancers.
This commit is contained in:
parent
f071128f5a
commit
01acb56df1
|
@ -75,7 +75,7 @@ public class CloudLoadBalancersApiMetadata extends BaseRestApiMetadata {
|
||||||
|
|
||||||
protected Builder() {
|
protected Builder() {
|
||||||
super(CloudLoadBalancersApi.class, CloudLoadBalancersAsyncApi.class);
|
super(CloudLoadBalancersApi.class, CloudLoadBalancersAsyncApi.class);
|
||||||
id("cloudloadbalancers")
|
id("rackspace-cloudloadbalancers")
|
||||||
.name("Rackspace Cloud Load Balancers API")
|
.name("Rackspace Cloud Load Balancers API")
|
||||||
.identityName("Username")
|
.identityName("Username")
|
||||||
.credentialName("API Key")
|
.credentialName("API Key")
|
||||||
|
|
|
@ -103,7 +103,7 @@ public class LoadBalancerApiLiveTest extends BaseCloudLoadBalancersApiLiveTest {
|
||||||
@Test(dependsOnMethods = "testUpdateLoadBalancer")
|
@Test(dependsOnMethods = "testUpdateLoadBalancer")
|
||||||
public void testListLoadBalancers() throws Exception {
|
public void testListLoadBalancers() throws Exception {
|
||||||
for (String zone: client.getConfiguredZones()) {
|
for (String zone: client.getConfiguredZones()) {
|
||||||
//TODO: FIXME
|
|
||||||
Set<LoadBalancer> response = client.getLoadBalancerApiForZone(zone).list().concat().toImmutableSet();
|
Set<LoadBalancer> response = client.getLoadBalancerApiForZone(zone).list().concat().toImmutableSet();
|
||||||
|
|
||||||
assertNotNull(response);
|
assertNotNull(response);
|
||||||
|
|
|
@ -37,7 +37,7 @@ public class BaseCloudLoadBalancerApiExpectTest<T> extends BaseRestApiExpectTest
|
||||||
protected HttpResponse responseWithAccess;
|
protected HttpResponse responseWithAccess;
|
||||||
|
|
||||||
public BaseCloudLoadBalancerApiExpectTest() {
|
public BaseCloudLoadBalancerApiExpectTest() {
|
||||||
provider = "cloudloadbalancers";
|
provider = "rackspace-cloudloadbalancers";
|
||||||
|
|
||||||
rackspaceAuthWithUsernameAndApiKey = RackspaceFixture.INSTANCE
|
rackspaceAuthWithUsernameAndApiKey = RackspaceFixture.INSTANCE
|
||||||
.initialAuthWithUsernameAndApiKey(identity, credential);
|
.initialAuthWithUsernameAndApiKey(identity, credential);
|
||||||
|
|
|
@ -48,7 +48,7 @@ import com.google.inject.Injector;
|
||||||
public class BaseCloudLoadBalancersApiLiveTest extends BaseContextLiveTest<RestContext<CloudLoadBalancersApi, CloudLoadBalancersAsyncApi>> {
|
public class BaseCloudLoadBalancersApiLiveTest extends BaseContextLiveTest<RestContext<CloudLoadBalancersApi, CloudLoadBalancersAsyncApi>> {
|
||||||
|
|
||||||
public BaseCloudLoadBalancersApiLiveTest() {
|
public BaseCloudLoadBalancersApiLiveTest() {
|
||||||
provider = "cloudloadbalancers";
|
provider = "rackspace-cloudloadbalancers";
|
||||||
}
|
}
|
||||||
|
|
||||||
protected CloudLoadBalancersApi client;
|
protected CloudLoadBalancersApi client;
|
||||||
|
|
|
@ -70,7 +70,7 @@ public class CloudLoadBalancersUKProviderMetadata extends BaseProviderMetadata {
|
||||||
public static class Builder extends BaseProviderMetadata.Builder {
|
public static class Builder extends BaseProviderMetadata.Builder {
|
||||||
|
|
||||||
protected Builder(){
|
protected Builder(){
|
||||||
id("cloudloadbalancers-uk")
|
id("rackspace-cloudloadbalancers-uk")
|
||||||
.name("Rackspace Cloud Load Balancers UK")
|
.name("Rackspace Cloud Load Balancers UK")
|
||||||
.apiMetadata(new CloudLoadBalancersApiMetadata().toBuilder()
|
.apiMetadata(new CloudLoadBalancersApiMetadata().toBuilder()
|
||||||
.identityName("${userName}")
|
.identityName("${userName}")
|
||||||
|
|
|
@ -28,6 +28,6 @@ import org.testng.annotations.Test;
|
||||||
@Test(groups = "live", singleThreaded = true, testName = "CloudLoadBalancersUKLoadBalancerClientLiveTest")
|
@Test(groups = "live", singleThreaded = true, testName = "CloudLoadBalancersUKLoadBalancerClientLiveTest")
|
||||||
public class CloudLoadBalancersUKLoadBalancerClientLiveTest extends LoadBalancerApiLiveTest {
|
public class CloudLoadBalancersUKLoadBalancerClientLiveTest extends LoadBalancerApiLiveTest {
|
||||||
public CloudLoadBalancersUKLoadBalancerClientLiveTest() {
|
public CloudLoadBalancersUKLoadBalancerClientLiveTest() {
|
||||||
provider = "cloudloadbalancers-uk";
|
provider = "rackspace-cloudloadbalancers-uk";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,6 +28,6 @@ import org.testng.annotations.Test;
|
||||||
@Test(groups = "live", singleThreaded = true, testName = "CloudLoadBalancersUKNodeClientLiveTest")
|
@Test(groups = "live", singleThreaded = true, testName = "CloudLoadBalancersUKNodeClientLiveTest")
|
||||||
public class CloudLoadBalancersUKNodeClientLiveTest extends NodeApiLiveTest {
|
public class CloudLoadBalancersUKNodeClientLiveTest extends NodeApiLiveTest {
|
||||||
public CloudLoadBalancersUKNodeClientLiveTest() {
|
public CloudLoadBalancersUKNodeClientLiveTest() {
|
||||||
provider = "cloudloadbalancers-uk";
|
provider = "rackspace-cloudloadbalancers-uk";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -71,7 +71,7 @@ public class CloudLoadBalancersUSProviderMetadata extends BaseProviderMetadata {
|
||||||
public static class Builder extends BaseProviderMetadata.Builder {
|
public static class Builder extends BaseProviderMetadata.Builder {
|
||||||
|
|
||||||
protected Builder(){
|
protected Builder(){
|
||||||
id("cloudloadbalancers-us")
|
id("rackspace-cloudloadbalancers-us")
|
||||||
.name("Rackspace Cloud Load Balancers US")
|
.name("Rackspace Cloud Load Balancers US")
|
||||||
.apiMetadata(new CloudLoadBalancersApiMetadata().toBuilder()
|
.apiMetadata(new CloudLoadBalancersApiMetadata().toBuilder()
|
||||||
.identityName("${userName}")
|
.identityName("${userName}")
|
||||||
|
|
|
@ -28,6 +28,6 @@ import org.testng.annotations.Test;
|
||||||
@Test(groups = "live", singleThreaded = true, testName = "CloudLoadBalancersUSLoadBalancerClientLiveTest")
|
@Test(groups = "live", singleThreaded = true, testName = "CloudLoadBalancersUSLoadBalancerClientLiveTest")
|
||||||
public class CloudLoadBalancersUSLoadBalancerClientLiveTest extends LoadBalancerApiLiveTest {
|
public class CloudLoadBalancersUSLoadBalancerClientLiveTest extends LoadBalancerApiLiveTest {
|
||||||
public CloudLoadBalancersUSLoadBalancerClientLiveTest() {
|
public CloudLoadBalancersUSLoadBalancerClientLiveTest() {
|
||||||
provider = "cloudloadbalancers-us";
|
provider = "rackspace-cloudloadbalancers-us";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,6 +28,6 @@ import org.testng.annotations.Test;
|
||||||
@Test(groups = "live", singleThreaded = true, testName = "CloudLoadBalancersUSNodeClientLiveTest")
|
@Test(groups = "live", singleThreaded = true, testName = "CloudLoadBalancersUSNodeClientLiveTest")
|
||||||
public class CloudLoadBalancersUSNodeClientLiveTest extends NodeApiLiveTest {
|
public class CloudLoadBalancersUSNodeClientLiveTest extends NodeApiLiveTest {
|
||||||
public CloudLoadBalancersUSNodeClientLiveTest() {
|
public CloudLoadBalancersUSNodeClientLiveTest() {
|
||||||
provider = "cloudloadbalancers-us";
|
provider = "rackspace-cloudloadbalancers-us";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue