-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Flyttet jetty over til 12. Obs på endring i jetty pakker. #1213
Conversation
Klarer vi oss uten JsonCreator her? Har litt å si for resten av apps. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Se kommentar i tråd
@jolarsen ja VTP er bare en test polygon for meg til å samle erfaring. Resten tar vi etter WSene er borte. |
Jeg er forresten noe usikker hvorfor @JsonCreator fungerte uten de ekstra annoteringer med EE9 men ikke med EE10. |
Normalt sett er det Jackson som oppretter ting. Jeg lurer på om Jetty eller Jersey bruker andre json-mappers og det kan være versjonsforskjeller. |
@mrsladek Er det ikke en ganske gammel fp-bom i vtp? 1.0.0 .... Siste fp-bom har jersey 3.0.11 mens EE10 liker Jersey 3.1.3 |
<parent> | ||
<groupId>no.nav.foreldrepenger.felles</groupId> | ||
<artifactId>fp-bom</artifactId> | ||
<version>1.0.0</version> | ||
</parent> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jolarsen Jeg har fjernet bruk av fp-bom her.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Testet lokalt.
@JsonCreator krever at ekstra annoteringer settes på parameterne siden man ikke kan aksessere parameter navn over reflection ved runtime.
Jetty 12 krever en import av spesiele EE10 pakker fra
Det ser ut at jetty 12 skal støtte både EE8, EE9 og EE10.