From d2d70fd2bfeb5e980afcc6ea7b30e883c49335c9 Mon Sep 17 00:00:00 2001 From: vijaykiran Date: Wed, 25 Jul 2012 20:44:15 +0200 Subject: [PATCH] Update API end point for elastichosts --- apis/elasticstack/pom.xml | 2 +- .../elasticstack/ElasticStackApiMetadata.java | 2 +- .../ElasticStackAsyncClientTest.java | 48 +++++++++---------- providers/elastichosts-lax-p/pom.xml | 2 +- ...cHostsPeer1LosAngelesProviderMetadata.java | 2 +- providers/elastichosts-lon-b/pom.xml | 2 +- ...HostsBlueSquareLondonProviderMetadata.java | 2 +- providers/elastichosts-lon-p/pom.xml | 2 +- ...asticHostsPeer1LondonProviderMetadata.java | 2 +- providers/elastichosts-sat-p/pom.xml | 2 +- ...cHostsPeer1SanAntonioProviderMetadata.java | 2 +- providers/elastichosts-tor-p/pom.xml | 2 +- ...sticHostsPeer1TorontoProviderMetadata.java | 2 +- 13 files changed, 36 insertions(+), 36 deletions(-) diff --git a/apis/elasticstack/pom.xml b/apis/elasticstack/pom.xml index c2e8d7e791..eabb89ac43 100644 --- a/apis/elasticstack/pom.xml +++ b/apis/elasticstack/pom.xml @@ -48,7 +48,7 @@ - https://api.lon-p.elastichosts.com + https://api-lon-p.elastichosts.com 1.0 FIXME diff --git a/apis/elasticstack/src/main/java/org/jclouds/elasticstack/ElasticStackApiMetadata.java b/apis/elasticstack/src/main/java/org/jclouds/elasticstack/ElasticStackApiMetadata.java index 847e05cc0d..5a619ea376 100644 --- a/apis/elasticstack/src/main/java/org/jclouds/elasticstack/ElasticStackApiMetadata.java +++ b/apis/elasticstack/src/main/java/org/jclouds/elasticstack/ElasticStackApiMetadata.java @@ -83,7 +83,7 @@ public class ElasticStackApiMetadata extends BaseRestApiMetadata { .credentialName("Secret API key") .documentation(URI.create("http://www.elasticstack.com/cloud-platform/api")) .version("1.0") - .defaultEndpoint("https://api.lon-p.elastichosts.com") + .defaultEndpoint("https://api-lon-p.elastichosts.com") .defaultProperties(ElasticStackApiMetadata.defaultProperties()) .view(TypeToken.of(ComputeServiceContext.class)) .defaultModules(ImmutableSet.>of(ElasticStackRestClientModule.class, ElasticStackComputeServiceContextModule.class)); diff --git a/apis/elasticstack/src/test/java/org/jclouds/elasticstack/ElasticStackAsyncClientTest.java b/apis/elasticstack/src/test/java/org/jclouds/elasticstack/ElasticStackAsyncClientTest.java index 37d82bae9f..769905131a 100644 --- a/apis/elasticstack/src/test/java/org/jclouds/elasticstack/ElasticStackAsyncClientTest.java +++ b/apis/elasticstack/src/test/java/org/jclouds/elasticstack/ElasticStackAsyncClientTest.java @@ -66,7 +66,7 @@ public class ElasticStackAsyncClientTest extends BaseAsyncClientTestbundle - https://api.lax-p.elastichosts.com + https://api-lax-p.elastichosts.com 2.0 FIXME_IDENTITY diff --git a/providers/elastichosts-lax-p/src/main/java/org/jclouds/elastichosts/ElasticHostsPeer1LosAngelesProviderMetadata.java b/providers/elastichosts-lax-p/src/main/java/org/jclouds/elastichosts/ElasticHostsPeer1LosAngelesProviderMetadata.java index 21e68cd8ad..b5ab9b7849 100644 --- a/providers/elastichosts-lax-p/src/main/java/org/jclouds/elastichosts/ElasticHostsPeer1LosAngelesProviderMetadata.java +++ b/providers/elastichosts-lax-p/src/main/java/org/jclouds/elastichosts/ElasticHostsPeer1LosAngelesProviderMetadata.java @@ -69,7 +69,7 @@ public class ElasticHostsPeer1LosAngelesProviderMetadata extends BaseProviderMet .homepage(URI.create("https://lax-p.elastichosts.com")) .console(URI.create("https://lax-p.elastichosts.com/accounts")) .iso3166Codes("US-CA") - .endpoint("https://api.lax-p.elastichosts.com") + .endpoint("https://api-lax-p.elastichosts.com") .defaultProperties(ElasticHostsPeer1LosAngelesProviderMetadata.defaultProperties()); } diff --git a/providers/elastichosts-lon-b/pom.xml b/providers/elastichosts-lon-b/pom.xml index 6acef2280d..5ed8c9ddf2 100644 --- a/providers/elastichosts-lon-b/pom.xml +++ b/providers/elastichosts-lon-b/pom.xml @@ -34,7 +34,7 @@ bundle - https://api.lon-b.elastichosts.com + https://api-lon-b.elastichosts.com 2.0 FIXME_IDENTITY diff --git a/providers/elastichosts-lon-b/src/main/java/org/jclouds/elastichosts/ElasticHostsBlueSquareLondonProviderMetadata.java b/providers/elastichosts-lon-b/src/main/java/org/jclouds/elastichosts/ElasticHostsBlueSquareLondonProviderMetadata.java index e9a56ab569..d690577623 100644 --- a/providers/elastichosts-lon-b/src/main/java/org/jclouds/elastichosts/ElasticHostsBlueSquareLondonProviderMetadata.java +++ b/providers/elastichosts-lon-b/src/main/java/org/jclouds/elastichosts/ElasticHostsBlueSquareLondonProviderMetadata.java @@ -68,7 +68,7 @@ public class ElasticHostsBlueSquareLondonProviderMetadata extends BaseProviderMe .homepage(URI.create("https://lon-b.elastichosts.com")) .console(URI.create("https://lon-b.elastichosts.com/accounts")) .iso3166Codes("GB-LND") - .endpoint("https://api.lon-b.elastichosts.com") + .endpoint("https://api-lon-b.elastichosts.com") .defaultProperties(ElasticHostsBlueSquareLondonProviderMetadata.defaultProperties()); } diff --git a/providers/elastichosts-lon-p/pom.xml b/providers/elastichosts-lon-p/pom.xml index 4bc74dda1b..bed96b3dd7 100644 --- a/providers/elastichosts-lon-p/pom.xml +++ b/providers/elastichosts-lon-p/pom.xml @@ -34,7 +34,7 @@ bundle - https://api.lon-p.elastichosts.com + https://api-lon-p.elastichosts.com 2.0 FIXME_IDENTITY diff --git a/providers/elastichosts-lon-p/src/main/java/org/jclouds/elastichosts/ElasticHostsPeer1LondonProviderMetadata.java b/providers/elastichosts-lon-p/src/main/java/org/jclouds/elastichosts/ElasticHostsPeer1LondonProviderMetadata.java index 316c5cab34..11e0f5eab1 100644 --- a/providers/elastichosts-lon-p/src/main/java/org/jclouds/elastichosts/ElasticHostsPeer1LondonProviderMetadata.java +++ b/providers/elastichosts-lon-p/src/main/java/org/jclouds/elastichosts/ElasticHostsPeer1LondonProviderMetadata.java @@ -68,7 +68,7 @@ public class ElasticHostsPeer1LondonProviderMetadata extends BaseProviderMetadat .homepage(URI.create("https://lon-p.elastichosts.com")) .console(URI.create("https://lon-p.elastichosts.com/accounts")) .iso3166Codes("GB-LND") - .endpoint("https://api.lon-p.elastichosts.com") + .endpoint("https://api-lon-p.elastichosts.com") .defaultProperties(ElasticHostsPeer1LondonProviderMetadata.defaultProperties()); } diff --git a/providers/elastichosts-sat-p/pom.xml b/providers/elastichosts-sat-p/pom.xml index 6061d89d0a..b756afbacb 100644 --- a/providers/elastichosts-sat-p/pom.xml +++ b/providers/elastichosts-sat-p/pom.xml @@ -34,7 +34,7 @@ bundle - https://api.sat-p.elastichosts.com + https://api-sat-p.elastichosts.com 2.0 FIXME_IDENTITY diff --git a/providers/elastichosts-sat-p/src/main/java/org/jclouds/elastichosts/ElasticHostsPeer1SanAntonioProviderMetadata.java b/providers/elastichosts-sat-p/src/main/java/org/jclouds/elastichosts/ElasticHostsPeer1SanAntonioProviderMetadata.java index e338b24980..87051f891c 100644 --- a/providers/elastichosts-sat-p/src/main/java/org/jclouds/elastichosts/ElasticHostsPeer1SanAntonioProviderMetadata.java +++ b/providers/elastichosts-sat-p/src/main/java/org/jclouds/elastichosts/ElasticHostsPeer1SanAntonioProviderMetadata.java @@ -66,7 +66,7 @@ public class ElasticHostsPeer1SanAntonioProviderMetadata extends BaseProviderMet .homepage(URI.create("https://sat-p.elastichosts.com")) .console(URI.create("https://sat-p.elastichosts.com/accounts")) .iso3166Codes("US-TX") - .endpoint("https://api.sat-p.elastichosts.com") + .endpoint("https://api-sat-p.elastichosts.com") .defaultProperties(ElasticHostsPeer1SanAntonioProviderMetadata.defaultProperties()); } diff --git a/providers/elastichosts-tor-p/pom.xml b/providers/elastichosts-tor-p/pom.xml index 29e566c8b3..5dbb421a49 100644 --- a/providers/elastichosts-tor-p/pom.xml +++ b/providers/elastichosts-tor-p/pom.xml @@ -34,7 +34,7 @@ bundle - https://api.tor-p.elastichosts.com + https://api-tor-p.elastichosts.com 2.0 FIXME_IDENTITY diff --git a/providers/elastichosts-tor-p/src/main/java/org/jclouds/elastichosts/ElasticHostsPeer1TorontoProviderMetadata.java b/providers/elastichosts-tor-p/src/main/java/org/jclouds/elastichosts/ElasticHostsPeer1TorontoProviderMetadata.java index 901c88340b..d12039e3ce 100644 --- a/providers/elastichosts-tor-p/src/main/java/org/jclouds/elastichosts/ElasticHostsPeer1TorontoProviderMetadata.java +++ b/providers/elastichosts-tor-p/src/main/java/org/jclouds/elastichosts/ElasticHostsPeer1TorontoProviderMetadata.java @@ -66,7 +66,7 @@ public class ElasticHostsPeer1TorontoProviderMetadata extends BaseProviderMetada .homepage(URI.create("https://tor-p.elastichosts.com")) .console(URI.create("https://tor-p.elastichosts.com/accounts")) .iso3166Codes("CA-ON") - .endpoint("https://api.tor-p.elastichosts.com") + .endpoint("https://api-tor-p.elastichosts.com") .defaultProperties(ElasticHostsPeer1TorontoProviderMetadata.defaultProperties()); }