jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Gaul <notificati...@github.com>
Subject Re: [jclouds/jclouds-labs] Add Azure queue storage as new provider. (#405)
Date Fri, 28 Jul 2017 00:21:58 GMT
andrewgaul commented on this pull request.



> +import org.jclouds.util.Strings2;
+
+import java.io.IOException;
+import java.net.URL;
+import java.util.Properties;
+import java.util.Set;
+
+import static org.assertj.core.api.Assertions.assertThat;
+
+final class AzureQueueTestUtils {
+   static AzureStorageQueueApi api(String uri, String provider, Properties overrides) {
+      Set<Module> modules = ImmutableSet.<Module> of(
+              new ExecutorServiceModule(MoreExecutors.sameThreadExecutor()));
+
+      return ContextBuilder.newBuilder(provider)
+              .credentials("ACCOUNT_ID", "APPLICATION_KEY")

Only the mock tests should call this method.  Thus the actual values have no meaning.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/405#pullrequestreview-52819424
Mime
View raw message