-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
NEW
-
NEW
I'm trying to run my SpringBoot app with:
spring-boot 2.0
keycloak-spring-boot-2-starter
kie-server-api 7.7.0
and have a problem with deserializing response from kie-server.
For reproduce, you can try start process: response json from kie-server will be:
{ "type" : "SUCCESS", "msg" : "Kie Server info", "result" : { "kie-server-info" : { "id" : "kie-server-dev", "version" : "7.5.0.Final", "name" : "kie-server-dev", "location" : "http://kie-server-dev.fin.leadexsystems.ru/kie-server/services/rest/server", "capabilities" : [ "KieServer", "BRM", "BPM", "CaseMgmt", "BPM-UI", "BRP", "DMN", "Swagger" ], "messages" : [ { "severity" : "INFO", "timestamp" : { "java.util.Date" : 1526466677968 }, "content" : [ "Server KieServerInfo{serverId='kie-server-dev', version='7.5.0.Final', location='http://kie-server-dev.fin.leadexsystems.ru/kie-server/services/rest/server', capabilities=[KieServer, BRM, BPM, CaseMgmt, BPM-UI, BRP, DMN, Swagger]}started successfully at Wed May 16 10:31:17 UTC 2018" ] } ] } } }
Now JSONMarshaller deserialized it to org.kie.server.api.model.ServiceResponse object with empty result field.
Problem with library jackson-module-jaxb-annotations 2.9
Spring Framework 5.0, spring boot 2.0, keycloak-spring-boot-2-starter uses jackson 2.9.
keycloak-spring-boot-2-starter can't use jackson 2.8.
Can you upgrade jackson dependency to 2.9.x and fix this bug?