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

Method get

test/tsd/TestAnnotationRpc.java:117–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115 }
116
117 @Test
118 public void get() throws Exception {
119 storage.dumpToSystemOut();
120 HttpQuery query = NettyMocks.getQuery(tsdb,
121 "/api/annotation?tsuid=000001000001000001&start_time=1388450562");
122 rpc.execute(tsdb, query);
123 assertEquals(HttpResponseStatus.OK, query.response().getStatus());
124 }
125
126 @Test
127 public void getGlobal() throws Exception {

Callers 15

process_queryMethod · 0.45
mainMethod · 0.45
messageReceivedMethod · 0.45
globalAnnotationMethod · 0.45
noDataMethod · 0.45
noErrorsMethod · 0.45
noErrorsMultipleRowsMethod · 0.45
noErrorsMillisecondsMethod · 0.45
noErrorsAnnotationMethod · 0.45
noErrorsCompactedMethod · 0.45

Calls 5

getQueryMethod · 0.95
dumpToSystemOutMethod · 0.80
responseMethod · 0.80
executeMethod · 0.65
getStatusMethod · 0.65

Tested by

no test coverage detected