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] Poppy service api (#179)
Date Mon, 09 Mar 2015 15:02:02 GMT
> +   @Named("service:list")
> +   @GET
> +   @ResponseParser(ParseServices.class)
> +   @Transform(ServicesToPagedIterable.class)
> +   @Fallback(Fallbacks.EmptyPagedIterableOnNotFoundOr404.class)
> +   PagedIterable<Service> list();
> +
> +   /**
> +    * Lists services by providing a specific set of listing options.
> +    * @param options Describes how services should be listed.
> +    */
> +   @Named("service:list")
> +   @GET
> +   @ResponseParser(ParseServices.class)
> +   @Fallback(EmptyServicesFallback.class)
> +   Services list(PaginationOptions options);

I think the Pagination section might have issues with Fallbacks, but I will have to verify.
Currently it is not in line with it.

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