> + @Named("security-group-rule:list")
> + @GET
> + @ResponseParser(ParseRules.class)
> + @Transform(RulesToPagedIterable.class)
> + @Fallback(EmptyPagedIterableOnNotFoundOr404.class)
> + PagedIterable<Rule> listRules();
> +
> + /**
> + * @return all security groups rules currently defined in Neutron for the
> current tenant.
> + */
> + @Path("/security-group-rules")
> + @Named("security-group-rule:list")
> + @GET
> + @ResponseParser(ParseRules.class)
> + @Fallback(EmptyRulesFallback.class)
> + Rules listRules(PaginationOptions options);
> I am not sure how common this pattern is but it is used a somewhat often in
> openstack jclouds.
Ah, OK. Then fine as-is for this PR, notwithstanding the fact that we would
probably like to improve on it longer-term ;-)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/132/files#r17028035