Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions instrumentation/undertow-1.4/javaagent/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,11 @@ dependencies {
tasks.withType<Test>().configureEach {
jvmArgs("-Dotel.instrumentation.common.experimental.controller-telemetry.enabled=true")
}

// since 2.3.x, undertow is compiled by JDK 11
val latestDepTest = findProperty("testLatestDeps") as Boolean
if (latestDepTest) {
otelJava {
minJavaVersionSupported.set(JavaVersion.VERSION_11)
}
}

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/

package io.opentelemetry.javaagent.instrumentation.undertow;

import io.undertow.Undertow;
import io.undertow.UndertowOptions;

class UndertowHttp2ServerTest extends UndertowServerTest {

@Override
public void configureUndertow(Undertow.Builder builder) {
builder.setServerOption(UndertowOptions.ENABLE_HTTP2, true);
}

@Override
public boolean useHttp2() {
return true;
}
}
Loading
Loading