> +@Beta
> +@Extension(of = ServiceType.COMPUTE, namespace =
> ExtensionNamespaces.SERVER_GROUPS)
> +@RequestFilters(AuthenticateRequest.class)
> +@Consumes(MediaType.APPLICATION_JSON)
> +public interface ServerGroupApi {
> + /**
> + * List all Security Groups.
> + *
> + * @return all Security Groups
> + */
> + @Named("ServerGroup:list")
> + @GET
> + @Path("/os-server-groups")
> + @SelectJson("server_groups")
> + @Fallback(EmptyFluentIterableOnNotFoundOr404.class)
> + FluentIterable<ServerGroup> list();
We should avoid using guava collections in user-facing interfaces. Also - does
this need paging support?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/748/files#r30762622