Skip to content

Commit 7f8fbc9

Browse files
fix(deps): update dependency com.fasterxml.jackson:jackson-bom to v2.18.0 (#6752)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jack Berg <[email protected]>
1 parent 1846855 commit 7f8fbc9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dependencyManagement/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ val dependencyVersions = hashMapOf<String, String>()
88
rootProject.extra["versions"] = dependencyVersions
99

1010
val DEPENDENCY_BOMS = listOf(
11-
"com.fasterxml.jackson:jackson-bom:2.17.2",
11+
"com.fasterxml.jackson:jackson-bom:2.18.0",
1212
"com.google.guava:guava-bom:33.3.1-jre",
1313
"com.google.protobuf:protobuf-bom:3.25.5",
1414
"com.linecorp.armeria:armeria-bom:1.30.1",

exporters/prometheus/src/test/java/io/opentelemetry/exporter/prometheus/PrometheusIntegrationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
import com.fasterxml.jackson.core.TreeNode;
1313
import com.fasterxml.jackson.jr.ob.JSON;
14-
import com.fasterxml.jackson.jr.stree.JacksonJrsTreeCodec;
14+
import com.fasterxml.jackson.jr.stree.JrSimpleTreeExtension;
1515
import com.fasterxml.jackson.jr.stree.JrsString;
1616
import com.google.common.io.Resources;
1717
import com.linecorp.armeria.client.WebClient;
@@ -88,7 +88,7 @@ void endToEnd() {
8888
result -> result.record(9, Attributes.builder().put("animal", "cat").build()));
8989

9090
WebClient promClient = WebClient.of("http://localhost:" + prometheus.getMappedPort(9090));
91-
JSON json = JSON.builder().treeCodec(new JacksonJrsTreeCodec()).build();
91+
JSON json = JSON.builder().register(new JrSimpleTreeExtension()).build();
9292
await()
9393
.untilAsserted(
9494
() -> {

0 commit comments

Comments
 (0)