> + @ResponseParser(ParseRouters.class)
> + @Fallback(EmptyRoutersFallback.class)
> + Routers list(PaginationOptions options);
> +
> + /**
> + * Returns a Routers collection that should contain a single router with
> the id requested.
> + *
> + * @param id the id of the router to return
> + * @return Routers collection or empty if not found
> + */
> + @Named("router:get")
> + @GET
> + @Path("/{id}")
> + @ResponseParser(ParseRouters.class)
> + @Fallback(EmptyRoutersFallback.class)
> + Routers get(@PathParam("id") String id);
For some reason the call returns a collection. I am not completely sure yet as
to why. It could be just a neutron weirdness.
Is there a simple way to do this with a jclouds annotation?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/111/files#r14017582