Renamed internal ID from cloudloadbalancers to rackspace-cloudloadbalancers.

This commit is contained in:
Everett Toews 2012-12-12 17:22:08 -06:00
parent f071128f5a
commit 01acb56df1
10 changed files with 10 additions and 10 deletions

View File

@ -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")

View File

@ -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);

View File

@ -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);

View File

@ -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;

View File

@ -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}")

View File

@ -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";
} }
} }

View File

@ -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";
} }
} }

View File

@ -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}")

View File

@ -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";
} }
} }

View File

@ -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";
} }
} }