jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Dancy <notificati...@github.com>
Subject Re: [jclouds-labs] JCLOUDS-971: add statistics and miscellaneous API (#195)
Date Tue, 04 Aug 2015 15:03:56 GMT
> +   }
> +
> +   public static Properties defaultProperties() {
> +      Properties properties = BaseHttpApiMetadata.defaultProperties();
> +      return properties;
> +   }
> +
> +   public static class Builder extends BaseHttpApiMetadata.Builder<EtcdApi, Builder>
{
> +
> +      protected Builder() {
> +         super(EtcdApi.class);
> +         id("etcd").
> +         name("Etcd API").
> +         identityName("username:password").
> +         defaultIdentity("Optional Username").
> +         defaultCredential("Optional Password").

If I do that, and use the default* methods, then tests fail with an NPE on 'identityName'.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/195/files#r36198643
Mime
View raw message