> @@ -123,4 +137,29 @@
>     @Fallback(EmptySetOnNotFoundOr404.class)
>     ListenableFuture<? extends Set<? extends Role>> 
> listRolesOfUserOnTenant(@PathParam("userId") String userId,
>              @PathParam("tenantId") String tenantId);
> +   
> +   /**
> +    * @see UserApi#add(String, String, Boolean, String)
> +    */
> +   @Named("user:add")
> +   @POST
> +   @SelectJson("user")
> +   @Consumes(MediaType.APPLICATION_JSON)
> +   @Path("/users")
> +   @RequestFilters(AuthenticateRequest.class)
> +   @Fallback(NullOnNotFoundOr404.class)

Is the create request supposed to return a 404? All parameters seem to be 
related to the new user being created, so is this fallback actually needed?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/290/files#r9700462

Reply via email to