Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.40.x-prod] [KOGITO-9501] Changing Everit to json-schema-validator #3110

Closed
wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Jul 6, 2023

Backport: https://github.com/kiegroup/kogito-runtimes/pull/3107

Using jackson validator rather than gson one.
In order gson one to dissapear completely, we need PR to remove it from Java SDK.
There is also another subttle change in behaviour (for good). This jackson API allows us to distinghish between a validation failure of the schema against the data (that might or not be ignored as per spec) and a failure parsing the schema itself (which in my opinion should be propagated always because there is a fatal configuration error that requires user intervention, for example, a bad formatted schema file or an unavailable one) .

* [KOGITO-9501] Changing JsonSchema validator library

* [KOGITO-9501] Different validation message

* [KOGITO-9501] Changing to networknt library
@fjtirado
Copy link
Contributor

This dependency change is not required for 1.40.

@fjtirado fjtirado closed this Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant