pefernan opened a new issue, #2326:
URL: https://github.com/apache/incubator-kie-issues/issues/2326

   The actual integration of `Jackson 2` in the Spring Boot based modules is 
not working correctly for all components in our codebase. The recen Spring Boot 
4 upgrade introduced some code in our modules that is not following the Spring 
migration guidelines, forcing us to have duplicated code fragments in some 
modules that use Deprecated apis. 
   
   We should find a solution for all our modules that follows the [Spring Boot 
4.0 Migration 
Guide](https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-4.0-Migration-Guide).
   
   According to the documentation, enabling `Jackson 2` requires adding 
`org.springframework.boot:spring-boot-jackson2` in  the application 
dependencies and enable `Jackson 2` in the configuration, not requiring code 
changes.
   
   To make it work in all our KIE modules, we'll make the following steps:
   
   1. Introduce `org.springframework.boot:spring-boot-jackson2` in our 
`kogito-spring-bom` so it is available for all our Spring Boot based modules
   2. Create a common Spring Boot Configuration that will be added during 
codegen to all the Kogito Spring Boot based applications. This configuration 
will include all configs required to enable `jackson2` out of the box without 
no further change needed.
   3. Clear the actual integration from drools and kogito apps (data-audit)
   
   
   More Info:
   
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-4.0-Migration-Guide#jackson-2-compatibility
   
https://docs.spring.io/spring-boot/4.0-SNAPSHOT/reference/features/json.html#features.json.jackson2


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to