-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
-
In our project "Migration Analytics" we have our integration (camel) app sending requests to the KIE Server. Everything deployed on Openshift.
-
2
-
Documentation (Ref Guide, User Guide, etc.), Release Notes
-
2020 Week 52-03 (from Dec 21)
In our project "Migration Analytics" we have our integration (camel) app sending requests to the KIE Server. Everything deployed on Openshift.
Sometimes the integration app evolves adding new fields to the user payload pojos being sent to KIE, but now we need to wait for the changes done on the project deployed in KIE to be able to merge the first PR on the integration.
I know XStream has a method called ".ignoreUnknownElements()" so the proposal would be to have an environment variable that KIE would read and execute that method ONLY ON THE USER PAYLOAD OBJECT (not in the system object taxonomy being sent) just after creating the unmarshaller
Eng Solution
If user wants to ignore unknown fields in pojos being sent to the server, it has to add "ignore-unknown-elements = true" parameter to content type of the request in order to make it work . This implies the decision to ignore or not will be taken by request, Kie server won't support a wide flag for doing this.
- incorporates
-
JBPM-9326 Relax xml validation for unkwown fields for User Payload
- Closed
-
KIECLOUD-425 Be able to set with an Env Variable that KIE using XStream does not complain on unknown fields
- Closed
- is cloned by
-
JBPM-9558 Be able to set with an Env Variable that KIE using XStream does not complain on unknown fields
- Resolved