feat: Prepare ORS update to Spring Boot 4 - #120
Open
takb wants to merge 5 commits into
Open
Conversation
jackson-datatype-jts 2.14 has no source in this repo and no Jackson 3 release. Port the small upstream module instead of depending on one materializing; vendor it as com.graphhopper.jackson.geojson. Self-contained, no callers yet. Adds Jackson 3 alongside Jackson 2 in web-api. Includes round-trip tests for all 7 geometry types. Assisted-by: Claude Code
Replace duplicated ObjectMapper+JtsModule GeoJSON parsing in GraphHopper, LMPreparationHandler, and GHUtility with a shared GeoJsonMapper. Preserve LMPreparationHandler's graceful-degrade on malformed files (now catching JacksonException). core now depends on Jackson 3 directly. Assisted-by: Claude Code
Assisted-by: Claude Code
…dule Port the remaining 12 (de)serializers plus GraphHopperModule, Jackson.java, and Gpx.java -- these move together since GraphHopperModule wires all 12 in one constructor. Key API changes: ObjectMapper -> JsonMapper.builder(), PropertyNamingStrategies.SNAKE_CASE, ObjectCodec removed (ctxt.readTreeAsValue), asText/isTextual -> asString/isString, fields() -> properties().iterator(). ResponsePathDeserializer's static helper signatures change accordingly (internal callers only). Assisted-by: Claude Code
Assisted-by: Claude Code
takb
force-pushed
the
ors_4.0_update_spring
branch
from
August 27, 2026 09:46
b7380dc to
6cc7655
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Required changes to work with ORS when it switches to Spring Boot 4.
Most is about replacing Jackson 2 with Jackson 3.