MCPcopy
hub / github.com/OpenTSDB/opentsdb / searchUIDMeta

Method searchUIDMeta

test/tsd/TestSearchRpc.java:119–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117 }
118
119 @Test
120 public void searchUIDMeta() throws Exception {
121 setupAnswerSearchQuery();
122 final HttpQuery query = NettyMocks.getQuery(tsdb,
123 "/api/search/uidmeta?query=*");
124 rpc.execute(tsdb, query);
125 assertEquals(HttpResponseStatus.OK, query.response().getStatus());
126 final String result = query.response().getContent().toString(UTF);
127 assertTrue(result.contains("\"results\":[{\"uid\""));
128 assertEquals(2, search_query.getResults().size());
129 }
130
131 @Test
132 public void searchAnnotation() throws Exception {

Callers

nothing calls this directly

Calls 10

getQueryMethod · 0.95
responseMethod · 0.80
containsMethod · 0.80
executeMethod · 0.65
getStatusMethod · 0.65
sizeMethod · 0.65
getResultsMethod · 0.65
toStringMethod · 0.45
getContentMethod · 0.45

Tested by

no test coverage detected