> +public class HPCloudBlockStorageProviderMetadataExpectTest extends 
> BaseCinderApiExpectTest {
> +
> +   public HPCloudBlockStorageProviderMetadataExpectTest() {
> +      this.provider = "hpcloud-blockstorage";
> +      this.identity = "myTenantName:myUsername";
> +      this.credential = "myPassword";
> +   }
> +
> +   public void testCanGetConfiguredZones() {
> +      
> +      HttpRequest authenticate = HttpRequest.builder().method("POST")
> +            
> .endpoint("https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens";)
> +            .addHeader("Accept", "application/json")
> +            .payload(payloadFromStringWithContentType(
> +                     
> "{\"auth\":{\"passwordCredentials\":{\"username\":\"myUsername\", 
> \"password\":\"myPassword\"}, \"tenantName\":\"myTenantName\"}}"
> +                     , "application/json")).build();

Make this test consistent with the default authentication type, and change it 
to use api key credentials?

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

Reply via email to