cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mice Xia <weiran.x...@gmail.com>
Subject RE: [DISCUSS] Api refactoring -- validation
Date Wed, 12 Dec 2012 23:56:49 GMT
ah, yes, my fault, i should have googled it..
在 2012-12-13 上午7:47,"Animesh Chaturvedi" <animesh.chaturvedi@citrix.com>写道:

>
> Hibernate Validator 4, together with the Bean Validation API and TCK are
> all provided and distributed by JBoss (Red Hat) under the Apache Software
> License 2.0.
>
>
> -----Original Message-----
> From: Mice Xia [mailto:weiran.xia1@gmail.com]
> Sent: Wednesday, December 12, 2012 3:45 PM
> To: cloudstack-dev@incubator.apache.org
> Subject: Re: [DISCUSS] Api refactoring -- validation
>
> i remember hibernate is licensed under LGPL, and we re implemented a lot
> of DAOs for this reason.
> 在 2012-12-13 上午7:17,"Fang Wang" <fang.wang@citrix.com>写道:
>
> Hi all,
>
> In our current API refactoring work, we plan to add a validation
> annotation to Validate DB entity, validate some parameter range,  etc.
> We plan to add the @validate annotation to API commands.
>
> IT is suggested we could use Hibernate Validator.  Anyone with experience
> with Hibernate validator, how we could deploy it here?
>
> 1. is there a version we should definitely use?
> 2. Which option is better to integrate into our maven? Add it as
> dependency or as a plugin?
> 3. What is the latest version working with maven?
>
> Thanks for any input,
> -Fang
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message