>> Sent: Thursday, December 13, 2012 10:12 AM
>> To: cloudstack-dev@incubator.apache.org
>> Subject: Re: [DISCUSS] Api refactoring -- validation
>>
>> One question regarding Hibernate Validator: does it support validation
>>of
>> existence of a DB entity
/validator/4.3/reference/en-US/html_single/
Animesh
> -Original Message-
> From: Min Chen [mailto:min.c...@citrix.com]
> Sent: Thursday, December 13, 2012 10:12 AM
> To: cloudstack-dev@incubator.apache.org
> Subject: Re: [DISCUSS] Api refactoring -- validation
>
> O
: Koushik Das [mailto:koushik@citrix.com]
Sent: Wednesday, December 12, 2012 10:01 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: [DISCUSS] Api refactoring -- validation
If API input directly maps to a column in the DB then same validation needs to
be present at both layers.
For e.g
One question regarding Hibernate Validator: does it support validation of
existence of a DB entity with a given ID? The reason I am raising this
question is that we have such a validation case in API refactoring. For
example, deployVMCmd has an input parameter "templateId", for this
parameter, we n
[mailto:chip.child...@sungard.com]
Sent: Wednesday, December 12, 2012 9:31 PM
To: cloudstack-dev@incubator.apache.org
Subject: Re: [DISCUSS] Api refactoring -- validation
On Wed, Dec 12, 2012 at 6:16 PM, Fang Wang wrote:
> Hi all,
>
> In our current API refactoring work, we plan to add a v
Thanks!
If Dependency works, that'll be good.
-Original Message-
From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com]
Sent: Wednesday, December 12, 2012 3:51 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: [DISCUSS] Api refactoring -- validation
Comments in
...@sungard.com]
Sent: Thursday, December 13, 2012 11:13 AM
To:
Subject: Re: [DISCUSS] Api refactoring -- validation
Thanks Min! I think the comment about validating the DB entity was what
confused me. Got it now.
- chip
Sent from my iPhone.
On Dec 13, 2012, at 12:39 AM, Min Chen wrote:
> I th
Thanks Min! I think the comment about validating the DB entity was
what confused me. Got it now.
- chip
Sent from my iPhone.
On Dec 13, 2012, at 12:39 AM, Min Chen wrote:
> I think that it is the latter case.
>
> -min
>
> Sent from my iPhone
>
> On Dec 12, 2012, at 9:32 PM, "Chip Childers"
I think that it is the latter case.
-min
Sent from my iPhone
On Dec 12, 2012, at 9:32 PM, "Chip Childers" wrote:
> On Wed, Dec 12, 2012 at 6:16 PM, Fang Wang wrote:
>> Hi all,
>>
>> In our current API refactoring work, we plan to add a validation annotation
>> to
>> Validate DB entity, vali
On Wed, Dec 12, 2012 at 6:16 PM, Fang Wang wrote:
> 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.
This might be a silly question, but
>
> -Original Message-
> From: Mice Xia [mailto:weiran.x...@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 impleme
Comments in-line
-Original Message-
From: Fang Wang [mailto:fang.w...@citrix.com]
Sent: Wednesday, December 12, 2012 3:17 PM
To: cloudstack-dev@incubator.apache.org
Subject: [DISCUSS] Api refactoring -- validation
Hi all,
In our current API refactoring work, we plan to add a validation
-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" 写道:
Hi all,
In our current API refactoring work, we plan to add a 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" 写道:
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
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 valida
15 matches
Mail list logo