jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Daggett <notificati...@github.com>
Subject Re: [jclouds-labs-openstack] OS Ceilometer API support (#166)
Date Wed, 19 Nov 2014 14:51:47 GMT
> + */
> +@RequestFilters(AuthenticateRequest.class)
> +@Consumes(MediaType.APPLICATION_JSON)
> +@Path("/v2/meters")
> +public interface MeterApi {
> +
> +   @Named("resource:listMeters")
> +   @GET
> +   @Fallback(EmptyListOnNotFoundOr404.class)
> +   List<Meter> list();
> +
> +   @Named("resource:listMeters")
> +   @GET
> +   @Produces(MediaType.APPLICATION_JSON)
> +   @Fallback(EmptyListOnNotFoundOr404.class)
> +   List<Meter> list(QueryOptions... options);

We have been moving away from varargs, however this API may need them. Leave this for now
and we can revisit.

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