jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds-labs] Profitbricks REST - Datacenter (#225)
Date Tue, 15 Dec 2015 21:24:44 GMT
> +   public ProfitBricksApiMetadata() {
> +      this(new Builder());
> +   }
> +
> +   protected ProfitBricksApiMetadata(Builder builder) {
> +      super(builder);
> +   }
> +
> +   public static Properties defaultProperties() {
> +      Properties properties = BaseHttpApiMetadata.defaultProperties();
> +      /*properties.put("oauth.endpoint", "https://cloud.digitalocean.com/v1/oauth/token");
> +       properties.put(JWS_ALG, "RS256");
> +       properties.put(AUDIENCE, "https://cloud.digitalocean.com/v1/oauth/token");
> +       properties.put(CREDENTIAL_TYPE, BEARER_TOKEN_CREDENTIALS.toString());
> +       properties.put(PROPERTY_SESSION_INTERVAL, 3600);
> +       properties.put(TEMPLATE, "osFamily=UBUNTU,os64Bit=true");*/

Remove the commented copy/pasted properties.

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