[jboss-jira] [JBoss JIRA] (AS7-6622) Integrate RESTEasy and Hibernate Validator for resource validation
Gunnar Morling (JIRA)
jira-events at lists.jboss.org
Wed Mar 6 18:51:56 EST 2013
[ https://issues.jboss.org/browse/AS7-6622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759235#comment-12759235 ]
Gunnar Morling commented on AS7-6622:
-------------------------------------
Investigating the upgrade to Hibernate Validator 5.x (AS7-6665), I just noticed that RESTEasy uses a HV specific API ({{MethodValidator}} which was replaced by {{javax.validation.executable.ExecutableValidator}} as of HV 5/BV 1.1 (see [GeneralValidator|https://github.com/resteasy/Resteasy/blob/master/jaxrs/resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/validation/GeneralValidator.java]).
> Integrate RESTEasy and Hibernate Validator for resource validation
> ------------------------------------------------------------------
>
> Key: AS7-6622
> URL: https://issues.jboss.org/browse/AS7-6622
> Project: Application Server 7
> Issue Type: Sub-task
> Reporter: Emmanuel Bernard
> Fix For: 8.0.0.Alpha1
>
>
> JAX-RS describes how resources can be validated via the use of Bean Validation.
> While some are method calls on CDI beans and thus can be handled by the CDI interceptor, fields and getter resources cannot be handled that way. Likewise @GET, @PUT etc methods are considered constrained methods even if they are getters and without user use of @ValidateExecutable.
> We need to figure out something.
> Adding [~bill.burke] to the loop
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list