use of com.axibase.tsd.api.method.CustomParameters in project atsd-api-test by axibase.
the class MetricSeriesTagsTest method testMetricSeriesTagsNoSecondTagPattern.
@Issue("4715")
@Test(description = "Test {metric}/series/tags with tags.name as simple name and wildcard")
public void testMetricSeriesTagsNoSecondTagPattern() throws Exception {
MetricSeriesTags expectedTags = new MetricSeriesTags();
MethodParameters parameters = new CustomParameters().addParameter("tags.t1", "x1").addParameter("tags.t2", "*");
MetricSeriesTags responseTags = queryMetricSeriesTags(METRIC_NAME, parameters).readEntity(MetricSeriesTags.class);
assertEquals("Wrong result for {metric}/series/tags with tags.name as simple name and wildcard", expectedTags, responseTags);
}
Aggregations