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:03:32 GMT
> +   @GET
> +   @Path("/{id}")
> +   @Fallback(NullOnNotFoundOr404.class)
> +   @Nullable
> +   Service get(@PathParam("id") String id);
> +
> +   /**
> +    * Creates a service.
> +    *
> +    * @param options  the options to create the service with
> +    * @return a URI to the created service
> +    */
> +   @Named("service:create")
> +   @POST
> +   @ResponseParser(ParseServiceURIFromHeaders.class)
> +   @Fallback(NullOnNotFoundOr404.class)

We shouldn't use 440 fallbacks in POST/PUT operations. There is already [JCLOUDS-691](https://issues.apache.org/jira/browse/JCLOUDS-691)
an issue to remove them all, but we should not proliferate them.

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