jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zack Shoylev <notificati...@github.com>
Subject Re: [jclouds-labs-openstack] Adds support for Floating IP (#135)
Date Fri, 29 Aug 2014 17:32:03 GMT
> +   @POST
> +   @SelectJson("floatingip")
> +   FloatingIP create(@WrapWith("floatingip") FloatingIP.CreateOptions floatingIP);
> +
> +   /**
> +    * Update a floatingip
> +    *
> +    * @param id the id of the floatingip to update
> +    * @param floatingIP Contains only the attributes to update
> +    * @return The modified floatingip
> +    */
> +   @Named("floatingip:update")
> +   @PUT
> +   @Path("/{id}")
> +   @SelectJson("floatingip")
> +   @Fallback(NullOnNotFoundOr404.class)

In this case, I think for now it makes sense to change this back to using nulls for update
404s, and handle the consistency issues in separate PRs later.

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