From 93381f47a4a226348f72cbd4498e1e1966abfd1d Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Fri, 25 May 2012 22:26:53 -0700 Subject: [PATCH] Issue 945:Port number is missing in service-managemant-url while invoking the Nova API of openstack --- .../java/org/jclouds/openstack/OpenStackAuthAsyncClient.java | 2 ++ .../org/jclouds/openstack/OpenStackAuthAsyncClientTest.java | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/common/openstack/src/main/java/org/jclouds/openstack/OpenStackAuthAsyncClient.java b/common/openstack/src/main/java/org/jclouds/openstack/OpenStackAuthAsyncClient.java index cd5030cc28..9292bb0946 100644 --- a/common/openstack/src/main/java/org/jclouds/openstack/OpenStackAuthAsyncClient.java +++ b/common/openstack/src/main/java/org/jclouds/openstack/OpenStackAuthAsyncClient.java @@ -28,6 +28,7 @@ import org.jclouds.openstack.domain.AuthenticationResponse; import org.jclouds.openstack.functions.ParseAuthenticationResponseFromHeaders; import org.jclouds.openstack.reference.AuthHeaders; import org.jclouds.rest.annotations.ResponseParser; +import org.jclouds.rest.annotations.VirtualHost; import com.google.common.util.concurrent.ListenableFuture; @@ -39,6 +40,7 @@ import com.google.common.util.concurrent.ListenableFuture; * @author Adrian Cole */ @Path("/v{" + Constants.PROPERTY_API_VERSION + "}") +@VirtualHost public interface OpenStackAuthAsyncClient { public static final String VERSION = "1.0"; diff --git a/common/openstack/src/test/java/org/jclouds/openstack/OpenStackAuthAsyncClientTest.java b/common/openstack/src/test/java/org/jclouds/openstack/OpenStackAuthAsyncClientTest.java index 7acee18f31..1779fd979f 100644 --- a/common/openstack/src/test/java/org/jclouds/openstack/OpenStackAuthAsyncClientTest.java +++ b/common/openstack/src/test/java/org/jclouds/openstack/OpenStackAuthAsyncClientTest.java @@ -48,7 +48,7 @@ public class OpenStackAuthAsyncClientTest extends BaseAsyncClientTest