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:21 GMT
> +      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);
> +      return properties;
> +   }
> +
> +   public static class Builder extends BaseHttpApiMetadata.Builder<ProfitBricksApi,
Builder> {
> +
> +      protected Builder() {
> +         id("profitbricks-rest")
> +            .name("Digital Ocean v2 API")
> +            .identityName("Not used for OAuth")
> +            .credentialName("Must be oauth2 Bearer Token")

Change these literals accordingly.

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