[MGNLREST-80] Change jackson implementation from codehaus to fasterxml one Created: 22/Nov/16  Updated: 13/Oct/17  Resolved: 12/Oct/17

Status: Closed
Project: Magnolia REST Framework
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0

Type: Improvement Priority: Neutral
Reporter: Evzen Fochr Assignee: Evzen Fochr
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
depends upon MGNLRESTCL-23 Implement provider that delegates to... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:
Epic Link: Upgrade libraries for 5.6
Sprint: Kromeriz 114, Kromeriz 115, Kromeriz 117
Story Points: 2

 Comments   
Comment by Richard Unger [ 18/Sep/17 ]

While working on this, could you take a look at the configurablity of the Jackson2 provider?

It's superclass com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider declares a field _providers, annotated with @Context. This seems to be the way to provide a customized ObjectMapper (eg with custom serialization/deserialization settings like for JSR310 datatypes etc) to the Jackson layer in JAXRS.
However, the providers configured under additionalProviders in the rest-integration module's config don't get injected to the JsonProvider. Could you look at making that configurable?

Comment by Evzen Fochr [ 10/Oct/17 ]

Bom changes needs to be ported to 5.6 too.

Generated at Mon Feb 12 06:56:23 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.