-
-
Notifications
You must be signed in to change notification settings - Fork 586
HV-546 #95
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
HV-546 #95
Conversation
…d build warning in hibernate-validator-integrationtest
…per to build custom provider jar as well as bundled hibernate validator jars. Also moving classes into util directory to be easier shared between tests
… list of all bean validation providers. However, other providers are still being processed and used in case explicitly required by eg validation.xml
…faultValidationProviderResolver Also making use of the already existing privileged action classes
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.
I'm wondering why you use here ArchivePaths.create and in other deployments you use addAsWebInfResource( EmptyAsset.INSTANCE, "beans.xml" ) ?
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.
No particular reason at all. The setup is a mix of different examples I found (amongst other in Search). Documentation around Shrinkwrap and Arquillian would need some attention IMO. I will align the examples so that we are consistent within Validator
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.
+1 for both ;-)
|
I haven't run the tests but looks good! |
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.
Just a thought I think you can use addAsManifestResource and remove the META-INF part.
…tegrationTestUtil. thanks Kevin for the tip :-)
|
@kevinpollet formatted and fixed the logging version. I tried addAsManifestResource, but that did not work. Haven't really inspected the generated artifacts yet to see where files ended up, but just changing the lines and running the tests is leading to test failures. |
|
I assume that this changes are ok now. Going to merge it into master |
|
rebased and merged |
Fixing LazyValidatorFactory implementation. Hibernate Validator will always be the default, but other available providers can pass in case they are explicitly requested.
A lot of changes for something quite simple. However, the functional change is only in LazyValidatorFactory, the rest is only test infrastructure.
The LazyValidatorFactory code should be ported to the corresponding factories in the AS 7 codebase.