diff --git a/providers/azureblob/pom.xml b/providers/azureblob/pom.xml index 30aff3a816..dde2d9722f 100644 --- a/providers/azureblob/pom.xml +++ b/providers/azureblob/pom.xml @@ -43,12 +43,6 @@ - - org.apache.jclouds.common - azure-common - ${project.version} - jar - org.apache.jclouds jclouds-blobstore diff --git a/providers/azureblob/src/test/java/org/jclouds/azure/storage/filters/SharedKeyLiteAuthenticationTest.java b/providers/azureblob/src/test/java/org/jclouds/azure/storage/filters/SharedKeyLiteAuthenticationTest.java index 5bea836146..68ebaeb256 100644 --- a/providers/azureblob/src/test/java/org/jclouds/azure/storage/filters/SharedKeyLiteAuthenticationTest.java +++ b/providers/azureblob/src/test/java/org/jclouds/azure/storage/filters/SharedKeyLiteAuthenticationTest.java @@ -16,7 +16,6 @@ */ package org.jclouds.azure.storage.filters; -import static org.jclouds.reflect.Reflection2.typeToken; import static org.testng.Assert.assertEquals; import java.io.IOException; @@ -25,12 +24,8 @@ import java.net.URI; import javax.ws.rs.HttpMethod; import org.jclouds.ContextBuilder; -import org.jclouds.azure.storage.config.AzureStorageRestClientModule; import org.jclouds.http.HttpRequest; -import org.jclouds.http.IntegrationTestAsyncClient; -import org.jclouds.http.IntegrationTestClient; import org.jclouds.logging.config.NullLoggingModule; -import org.jclouds.rest.AnonymousRestApiMetadata; import org.jclouds.rest.internal.BaseRestApiTest.MockModule; import org.testng.annotations.BeforeClass; import org.testng.annotations.DataProvider; @@ -126,16 +121,10 @@ public class SharedKeyLiteAuthenticationTest { @BeforeClass protected void createFilter() throws IOException { injector = ContextBuilder - .newBuilder( - AnonymousRestApiMetadata - .forClientMappedToAsyncClient(IntegrationTestClient.class, IntegrationTestAsyncClient.class) - .toBuilder().build()) + .newBuilder("azureblob") .endpoint("https://${jclouds.identity}.blob.core.windows.net") .credentials(ACCOUNT, "credential") - .modules( - ImmutableSet. of(new MockModule(), new NullLoggingModule(), - new AzureStorageRestClientModule( - typeToken(IntegrationTestClient.class), typeToken(IntegrationTestAsyncClient.class)))) + .modules(ImmutableSet. of(new MockModule(), new NullLoggingModule())) .buildInjector(); filter = injector.getInstance(SharedKeyLiteAuthentication.class); }