Skip to content

Commit

Permalink
fix(deps): update dependency com.fasterxml.jackson.core:jackson-datab…
Browse files Browse the repository at this point in the history
…ind to v2.16.0 (#10133)

* fix(deps): update dependency com.fasterxml.jackson.core:jackson-databind to v2.16.0

* Changed error msgs in jackson-databind 2.15.3 -> 2.16.0.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dean Wette <[email protected]>
  • Loading branch information
renovate[bot] and wetted authored Nov 29, 2023
1 parent db2e530 commit 08d4e62
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ wiremock = "2.33.2"
managed-groovy = "4.0.14"
managed-jakarta-annotation-api = "2.1.1"
managed-jackson = "2.15.3"
managed-jackson-databind = "2.15.3"
managed-jackson-databind = "2.16.0"
managed-kotlin = "1.9.20"
managed-kotlin-coroutines = "1.7.3"
managed-methvin-directory-watcher = "0.18.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ class DefaultJsonErrorHandlingSpec extends AbstractMicronautSpec {

then:
HttpClientResponseException e = thrown()
e.response.getBody(Map).get()._embedded.errors[0].message == """Invalid JSON: Unexpected end-of-input: expected close marker for Object (start marker at [Source: (io.netty.buffer.ByteBufInputStream); line: 1, column: 1])
at [Source: (io.netty.buffer.ByteBufInputStream); line: 1, column: 21]"""
e.response.getBody(Map).get()._embedded.errors[0].message == """Invalid JSON: Unexpected end-of-input: expected close marker for Object (start marker at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 1])
at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 21]"""
e.response.status == HttpStatus.BAD_REQUEST

when:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class JsonBodyBindingSpec extends AbstractMicronautSpec {
then:
HttpClientResponseException e = thrown()
e.message == """Invalid JSON: Unrecognized token 'The': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
at [Source: (io.netty.buffer.ByteBufInputStream); line: 1, column: 14]"""
at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 14]"""
e.response.status == HttpStatus.BAD_REQUEST

when:
Expand Down

0 comments on commit 08d4e62

Please sign in to comment.