Skip to content

Commit

Permalink
fix(deps): update dependency com.fasterxml.jackson:jackson-bom to v2.…
Browse files Browse the repository at this point in the history
…18.0 (#6752)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
  • Loading branch information
renovate[bot] and jack-berg authored Sep 30, 2024
1 parent 1846855 commit 7f8fbc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dependencyManagement/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ val dependencyVersions = hashMapOf<String, String>()
rootProject.extra["versions"] = dependencyVersions

val DEPENDENCY_BOMS = listOf(
"com.fasterxml.jackson:jackson-bom:2.17.2",
"com.fasterxml.jackson:jackson-bom:2.18.0",
"com.google.guava:guava-bom:33.3.1-jre",
"com.google.protobuf:protobuf-bom:3.25.5",
"com.linecorp.armeria:armeria-bom:1.30.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

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

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

0 comments on commit 7f8fbc9

Please sign in to comment.