Review changes
This commit is contained in:
parent
9cdf049ca7
commit
8016e22bc4
|
@ -64,10 +64,11 @@ class HttpServerDecoratorTest extends ServerDecoratorTest {
|
||||||
false | "http://host:99/path?query#fragment" | "http://host:99/path" | "" | null
|
false | "http://host:99/path?query#fragment" | "http://host:99/path" | "" | null
|
||||||
true | null | null | null | null
|
true | null | null | null | null
|
||||||
true | "" | "/" | null | null
|
true | "" | "/" | null | null
|
||||||
true | "/path?encoded+%28query%29%3F" | "/path" | "encoded+(query)?" | null
|
true | "/path?encoded+%28query%29%3F?" | "/path" | "encoded+(query)??" | null
|
||||||
true | "https://host:0" | "https://host/" | null | null
|
true | "https://host:0" | "https://host/" | null | null
|
||||||
true | "https://host/path" | "https://host/path" | null | null
|
true | "https://host/path" | "https://host/path" | null | null
|
||||||
true | "http://host:99/path?query#encoded+%28fragment%29%3F" | "http://host:99/path" | "query" | "encoded+(fragment)?"
|
true | "http://host:99/path?query#enc+%28fragment%29%3F" | "http://host:99/path" | "query" | "enc+(fragment)?"
|
||||||
|
true | "http://host:99/path?query#enc+%28fragment%29%3F?tail" | "http://host:99/path" | "query" | "enc+(fragment)??tail"
|
||||||
|
|
||||||
req = [url: url == null ? null : new URI(url)]
|
req = [url: url == null ? null : new URI(url)]
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,10 +17,6 @@ class AkkaHttpClientInstrumentationTest extends HttpClientTest<AkkaHttpClientDec
|
||||||
@Shared
|
@Shared
|
||||||
ActorMaterializer materializer = ActorMaterializer.create(system)
|
ActorMaterializer materializer = ActorMaterializer.create(system)
|
||||||
|
|
||||||
// String readMessage(HttpResponse response) {
|
|
||||||
// response.entity().toStrict(TIMEOUT, materializer).toCompletableFuture().get().getData().utf8String()
|
|
||||||
// }
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
int doRequest(String method, URI uri, Map<String, String> headers, Closure callback) {
|
int doRequest(String method, URI uri, Map<String, String> headers, Closure callback) {
|
||||||
def request = HttpRequest.create(uri.toString())
|
def request = HttpRequest.create(uri.toString())
|
||||||
|
|
|
@ -22,11 +22,6 @@ class AkkaHttpClientPoolInstrumentationTest extends HttpClientTest<AkkaHttpClien
|
||||||
|
|
||||||
def pool = Http.get(system).superPool(materializer)
|
def pool = Http.get(system).superPool(materializer)
|
||||||
|
|
||||||
|
|
||||||
// String readMessage(HttpResponse response) {
|
|
||||||
// response.entity().toStrict(TIMEOUT, materializer).toCompletableFuture().get().getData().utf8String()
|
|
||||||
// }
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
int doRequest(String method, URI uri, Map<String, String> headers, Closure callback) {
|
int doRequest(String method, URI uri, Map<String, String> headers, Closure callback) {
|
||||||
def request = HttpRequest.create(uri.toString())
|
def request = HttpRequest.create(uri.toString())
|
||||||
|
|
|
@ -20,7 +20,6 @@ class TraceUtils {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected String component() {
|
protected String component() {
|
||||||
// return "runUnderTrace"
|
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue