uaa icon indicating copy to clipboard operation
uaa copied to clipboard

Support for Jackson 2

Open vkhoroshko opened this issue 12 years ago • 4 comments

Hello,

Are there any plans to add support for Jackson 2? This prevents us (and probably many other people) to switch to Jackson 2 completely cause currently UAA forces you to use Jackson 1.

It's not a problem where Jackson 1 is used programmatically (i.e. ObjectMapper is constructed directly in code) but there are also some places where Jackson 1 annotations are used (example - Approval class). Obviously, they are not recognized by Jackson 2.

Spring does that by putting same annotations for both Jackson 1 and 2 (in order to do not break users who use Jackson 1). Probably the same approach could be implemented in UAA.

Thanks in advance

vkhoroshko avatar Oct 29 '14 11:10 vkhoroshko

We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/81664564.

cf-gitbot avatar Oct 29 '14 11:10 cf-gitbot

We suggest doing a pull request as a contribution

fhanik avatar Jan 30 '15 19:01 fhanik

Yep, we already have a couple of people working on it. You should see it in a couple of weeks. thanks

kdombeck avatar Jan 30 '15 19:01 kdombeck

We got this commit - as part of upgrading to Spring 4.1.x we're forced to go with Jackson 2 https://github.com/cloudfoundry/uaa/commit/19b9016df44813ee313d55c6cf3d3726ba2c1b00

However, we are probably not going to leave in Jackson 1 support. As this would increase our testing matrix by trying to support this old library.

cf-identity avatar May 05 '15 21:05 cf-identity