@Test public void testQuery() throws Exception { }
@Override public Response query(Optional<String> id, Optional<String> start, Optional<String> end, Optional<ReturnSet> returnset, Optional<Boolean> series, Optional<String> downsample, double downsampleMultiplier, Optional<Map<String, List<String>>> tags, List<MetricSpecification> metrics) { SeriesQueryResult queryResult = executeQuery(id, start, end, returnset, series, downsample, downsampleMultiplier, tags, metrics); return makeCORS(Response.ok().entity(queryResult), MediaType.APPLICATION_JSON); }
MetricService implements MetricServiceAPI { @Override public Response query(Optional<String> id, Optional<String> start, Optional<String> end, Optional<ReturnSet> returnset, Optional<Boolean> series, Optional<String> downsample, double downsampleMultiplier, Optional<Map<String, List<String>>> tags, List<MetricSpecification> metrics) { SeriesQueryResult queryResult = executeQuery(id, start, end, returnset, series, downsample, downsampleMultiplier, tags, metrics); return makeCORS(Response.ok().entity(queryResult), MediaType.APPLICATION_JSON); } }
MetricService implements MetricServiceAPI { @Override public Response query(Optional<String> id, Optional<String> start, Optional<String> end, Optional<ReturnSet> returnset, Optional<Boolean> series, Optional<String> downsample, double downsampleMultiplier, Optional<Map<String, List<String>>> tags, List<MetricSpecification> metrics) { SeriesQueryResult queryResult = executeQuery(id, start, end, returnset, series, downsample, downsampleMultiplier, tags, metrics); return makeCORS(Response.ok().entity(queryResult), MediaType.APPLICATION_JSON); } MetricService(); }
MetricService implements MetricServiceAPI { @Override public Response query(Optional<String> id, Optional<String> start, Optional<String> end, Optional<ReturnSet> returnset, Optional<Boolean> series, Optional<String> downsample, double downsampleMultiplier, Optional<Map<String, List<String>>> tags, List<MetricSpecification> metrics) { SeriesQueryResult queryResult = executeQuery(id, start, end, returnset, series, downsample, downsampleMultiplier, tags, metrics); return makeCORS(Response.ok().entity(queryResult), MediaType.APPLICATION_JSON); } MetricService(); static List<MetricSpecification> metricFilter(List<? extends MetricSpecification> list); static List<MetricSpecification> calculatedValueFilter(
            List<? extends MetricSpecification> list); SeriesQueryResult executeQuery(Optional<String> id, Optional<String> start, Optional<String> end, Optional<ReturnSet> returnset, Optional<Boolean> series, Optional<String> downsample, double downsampleMultiplier, Optional<Map<String, List<String>>> tags, List<MetricSpecification> metrics); @Override Response query(Optional<String> id, Optional<String> start, Optional<String> end,
                          Optional<ReturnSet> returnset, Optional<Boolean> series, Optional<String> downsample,
                          double downsampleMultiplier, Optional<Map<String, List<String>>> tags,
                          List<MetricSpecification> metrics); @Override Response options(String request); }
MetricService implements MetricServiceAPI { @Override public Response query(Optional<String> id, Optional<String> start, Optional<String> end, Optional<ReturnSet> returnset, Optional<Boolean> series, Optional<String> downsample, double downsampleMultiplier, Optional<Map<String, List<String>>> tags, List<MetricSpecification> metrics) { SeriesQueryResult queryResult = executeQuery(id, start, end, returnset, series, downsample, downsampleMultiplier, tags, metrics); return makeCORS(Response.ok().entity(queryResult), MediaType.APPLICATION_JSON); } MetricService(); static List<MetricSpecification> metricFilter(List<? extends MetricSpecification> list); static List<MetricSpecification> calculatedValueFilter(
            List<? extends MetricSpecification> list); SeriesQueryResult executeQuery(Optional<String> id, Optional<String> start, Optional<String> end, Optional<ReturnSet> returnset, Optional<Boolean> series, Optional<String> downsample, double downsampleMultiplier, Optional<Map<String, List<String>>> tags, List<MetricSpecification> metrics); @Override Response query(Optional<String> id, Optional<String> start, Optional<String> end,
                          Optional<ReturnSet> returnset, Optional<Boolean> series, Optional<String> downsample,
                          double downsampleMultiplier, Optional<Map<String, List<String>>> tags,
                          List<MetricSpecification> metrics); @Override Response options(String request); static final String CLIENT_ID; static final String METRIC; static final String ID; static final String NOT_SPECIFIED; final ObjectMapper objectMapper; public JacksonResultsWriter jacksonResultsWriter; }