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] JClouds Profitbricks provider - LoadBalancer API (#143)
Date Tue, 10 Mar 2015 21:36:24 GMT
> +   public abstract String lanId();
> +
> +   @Nullable
> +   public abstract ProvisioningState state();
> +
> +   @Nullable
> +   public abstract Date creationTime();
> +
> +   @Nullable
> +   public abstract Date lastModificationTime();
> +
> +   @Nullable
> +   public abstract List<Server> balancedServers();
> +
> +   @Nullable
> +   public abstract List<Firewall> firewalls();

Yes, I would change that. Think about how a user will interact with that API. What can be
done with the returned object after it is created? Nothing. Then we'd better return the request
id and let the user get the right object.

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