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:25:05 GMT
> +
> +   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");*/
> +      properties.put(POLL_INITIAL_PERIOD, 5000);
> +      properties.put(POLL_MAX_PERIOD, 20000);
> +      // Node operations in DigitalOcean can be quite slow. Use a 5 minutes
> +      // timeout by default
> +      properties.put(TIMEOUT_NODE_RUNNING, 300000);
> +      properties.put(TIMEOUT_NODE_SUSPENDED, 300000);
> +      properties.put(TIMEOUT_NODE_TERMINATED, 300000);

Also remove these defaults if they don't apply to this provider.

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