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
Improve camel-quarkus-bean-validator test coverage #3567 #3572
Improve camel-quarkus-bean-validator test coverage #3567 #3572
Conversation
dca226c
to
814f73d
Compare
...in/java/org/apache/camel/quarkus/component/bean/validator/it/ValidatinFactoryCustomizer.java
Outdated
Show resolved
Hide resolved
...n/java/org/apache/camel/quarkus/component/bean/validator/it/model/CarWithoutAnnotations.java
Outdated
Show resolved
Hide resolved
814f73d
to
de65e7a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok to me. I left some documentation nitpick suggestions.
docs/modules/ROOT/pages/reference/extensions/bean-validator.adoc
Outdated
Show resolved
Hide resolved
docs/modules/ROOT/pages/reference/extensions/bean-validator.adoc
Outdated
Show resolved
Hide resolved
docs/modules/ROOT/pages/reference/extensions/bean-validator.adoc
Outdated
Show resolved
Hide resolved
docs/modules/ROOT/pages/reference/extensions/bean-validator.adoc
Outdated
Show resolved
Hide resolved
docs/modules/ROOT/pages/reference/extensions/bean-validator.adoc
Outdated
Show resolved
Hide resolved
...rc/main/java/org/apache/camel/quarkus/component/bean/validator/it/BeanValidatorResource.java
Outdated
Show resolved
Hide resolved
67610a9
to
9535339
Compare
@aldettinger thanks again for spotting the redundant code! It seems, that there was a Because there are no test in extension covering this feature. I think that it is still unsupported. I will change the tests and documentation accordingly. I'll also report an issue on qaurkus to make sure it is documented somewhere. |
9535339
to
1e9f1ed
Compare
@aldettinger , @jamesnetherton I fixed problems with the test and made it simpler. I also add a new limitation into the documentation (xml configuration does not work - because of quarkus's limitation) |
fixes #3567
Added tests showed the necessity of different configuration and/or registration for reflection. I added this information into the extension's documentation.