> +      properties.setProperty(PROPERTY_RELAX_HOSTNAME, "true");
> +      addConnectionProperties(properties);
> +      return 
> ContextBuilder.newBuilder(AnonymousProviderMetadata.forApiOnEndpoint(apiClass,
>  url))
> +            .modules(ImmutableSet.<Module> 
> of(createConnectionModule())).overrides(properties)
> +            .buildApi(apiClass);
> +   }
> +
> +   /**
> +    * Add the connection properties used to configure the tests.
> +    */
> +   protected abstract void addConnectionProperties(Properties props);
> +
> +   /**
> +    * Return the connection module that provides the HTTP driver to use in 
> the tests.
> +    */
> +   protected abstract Module createConnectionModule();

could default this to the standard one, or note in javadoc location of it.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/232/files#r8624367

Reply via email to