jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Everett Toews <notificati...@github.com>
Subject Re: [jclouds-labs-openstack] Poppy service api (#179)
Date Mon, 09 Mar 2015 11:53:03 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);

Should this return a Services object? Is this inline with the [Pagination section of API/Provider
Writing Practices](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49578594#API/ProviderWritingPractices-Pagination)?

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