RE: [DISCUSS] API refactoring spec

2012-11-27 Thread Fang Wang
value=VirtualMachine.class) VirtualMachine is a controlledEntity, which the security checker will check. -Original Message- From: Fang Wang [mailto:fang.w...@citrix.com] Sent: Wednesday, November 21, 2012 4:22 PM To: cloudstack-dev@incubator.apache.org Subject: RE: [DISCUSS] API refactoring spec I am curr

RE: [DISCUSS] API refactoring spec

2012-11-21 Thread Fang Wang
Chaturvedi [mailto:animesh.chaturv...@citrix.com] Sent: Tuesday, November 20, 2012 5:51 PM To: cloudstack-dev@incubator.apache.org Subject: RE: [DISCUSS] API refactoring spec Folks if there is no objection I would like to propose we adopt Hibernate Validator Animesh -Original Message- Fro

RE: [DISCUSS] API refactoring spec

2012-11-20 Thread Animesh Chaturvedi
Folks if there is no objection I would like to propose we adopt Hibernate Validator Animesh -Original Message- From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com] Sent: Wednesday, November 14, 2012 2:29 PM To: cloudstack-dev@incubator.apache.org Subject: RE: [DISCUSS] API

Re: [DISCUSS] API refactoring spec

2012-11-14 Thread Min Chen
Hi there, This wiki page and word doc are now updated with another part of API refactoring related to List API performance optimization. Please review and comment as well. Thanks -min On 11/14/12 10:51 AM, "Prachi Damle" wrote: >I have put some ideas together, regarding

RE: [DISCUSS] API refactoring spec

2012-11-14 Thread Animesh Chaturvedi
@incubator.apache.org Subject: Re: [DISCUSS] API refactoring spec My apologies for jumping the gun. On Wed, Nov 14, 2012 at 5:43 PM, Animesh Chaturvedi wrote: > David > > I had checked it is Apache license before posting, Chiradeep thanks > for the link > > Animesh > > -Original Me

Re: [DISCUSS] API refactoring spec

2012-11-14 Thread David Nalley
@gnsa.us] > Sent: Wednesday, November 14, 2012 2:41 PM > To: cloudstack-dev@incubator.apache.org > Subject: Re: [DISCUSS] API refactoring spec > > Ohh good catch. > > --David > > On Wed, Nov 14, 2012 at 5:39 PM, Chiradeep Vittal > wrote: >> This subpro

RE: [DISCUSS] API refactoring spec

2012-11-14 Thread Donal Lafferty
k-dev@incubator.apache.org Subject: RE: [DISCUSS] API refactoring spec David I had checked it is Apache license before posting, Chiradeep thanks for the link Animesh -Original Message- From: David Nalley [mailto:da...@gnsa.us] Sent: Wednesday, November 14, 2012 2:41 PM To: cloudstac

RE: [DISCUSS] API refactoring spec

2012-11-14 Thread Animesh Chaturvedi
David I had checked it is Apache license before posting, Chiradeep thanks for the link Animesh -Original Message- From: David Nalley [mailto:da...@gnsa.us] Sent: Wednesday, November 14, 2012 2:41 PM To: cloudstack-dev@incubator.apache.org Subject: Re: [DISCUSS] API refactoring spec

Re: [DISCUSS] API refactoring spec

2012-11-14 Thread David Nalley
Ohh good catch. --David On Wed, Nov 14, 2012 at 5:39 PM, Chiradeep Vittal wrote: > This subproject however is ASL 2.0 > http://www.hibernate.org/subprojects/validator.html > > > On 11/14/12 2:36 PM, "David Nalley" wrote: > >>On Wed, Nov 14, 2012 at 5:29 PM, Animesh Chaturvedi >> wrote: >>> Prac

Re: [DISCUSS] API refactoring spec

2012-11-14 Thread Chiradeep Vittal
This subproject however is ASL 2.0 http://www.hibernate.org/subprojects/validator.html On 11/14/12 2:36 PM, "David Nalley" wrote: >On Wed, Nov 14, 2012 at 5:29 PM, Animesh Chaturvedi > wrote: >> Prachi >> >> I was looking at the API refactoring document and had some comments on >>section 3.2.3

Re: [DISCUSS] API refactoring spec

2012-11-14 Thread David Nalley
On Wed, Nov 14, 2012 at 5:29 PM, Animesh Chaturvedi wrote: > Prachi > > I was looking at the API refactoring document and had some comments on > section 3.2.3 on validation. I think we can leverage Hibernate Validator > instead of writing our own validators. It comes with decent collection of

RE: [DISCUSS] API refactoring spec

2012-11-14 Thread Animesh Chaturvedi
Prachi I was looking at the API refactoring document and had some comments on section 3.2.3 on validation. I think we can leverage Hibernate Validator instead of writing our own validators. It comes with decent collection of build in constraints and we can define new constraints with annotatio

Re: [DISCUSS] API refactoring spec

2012-11-14 Thread Min Chen
Thanks Prachi. I will update your page with proposals about list API optimization as well as API response refactoring, since it is also part of API refactoring. -min On 11/14/12 10:51 AM, "Prachi Damle" wrote: >I have put some ideas together, regarding refactoring the current API >commands to s