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-openstack] Poppy service api (#179)
Date Fri, 06 Mar 2015 22:04:07 GMT
> +
> +   /**
> +    * Updates a service by applying JSONPatch internally.
> +    * https://tools.ietf.org/html/rfc6902
> +    * This requires providing your updateable JSON and the target JSON.
> +    *
> +    * @param service Source JSON
> +    * @param createService Target JSON
> +    * @return a URI to the created service
> +    */
> +   @Named("service:update")
> +   @PATCH
> +   @Path("/{id}")
> +   @ResponseParser(ParseServiceURIFromHeaders.class)
> +   @MapBinder(JSONPatchUpdate.class)
> +   @Fallback(NullOnNotFoundOr404.class)

Same comment about 404 fallbacks in "wrote" operations.

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