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 12:27:46 GMT
> +   }
> +
> +   protected EtcdApiMetadata(Builder builder) {
> +      super(builder);
> +   }
> +
> +   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("Optional Username").defaultIdentity("Optional
Username and Password")

There is an auth API that was just introduced that I will tackle in a later PR. It's documentaiton
can be found here:

https://github.com/coreos/etcd/blob/master/Documentation/auth_api.md

But yes by default I put these in if only to keep jclouds from complaining. Is there a better
to way go about doing this?

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