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

chore: Avoid NPE on extract/insert field Kamelets #953

Merged
merged 1 commit into from
Jun 28, 2022

Conversation

christophd
Copy link
Contributor

extract/insert field action Kamelets throwing nasty Nullpointer exceptions when there is a body provided other than JsonNode.

The PR adds proper error thrown in this situation and also adds some improvements such as

  • Add YAKS e2e test for extract field
  • Add unit tests on extract/insert field action Kamelets
  • Use and set bean properties instead of exchange properties

extract/insert field action Kamelets throwing nasty Nullpointer exceptions when there is a body provided other that JsonNode.

The PR adds proper error thrown in this situation and also adds some improvements such as
- Add YAKS e2e test for extract field
- Add unit tests on extract/insert field action Kamelets
- Use and set bean properties instead of exchange properties
@davsclaus davsclaus merged commit 08b1a1a into apache:main Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants