Re: [DISCUSS] Question about @Parameter (entityType)

2013-01-28 Thread Kelven Yang
Rohit, Thanks, it's good to see it be consistent across the board -Kelven On 1/28/13 3:47 PM, "Rohit Yadav" wrote: >To avoid confusion, I removed the entityType field from the particular >param in deployvmcmd. Pl. read the commit message, for MAP type params >it's always processed a map of st

Re: [DISCUSS] Question about @Parameter (entityType)

2013-01-28 Thread Rohit Yadav
To avoid confusion, I removed the entityType field from the particular param in deployvmcmd. Pl. read the commit message, for MAP type params it's always processed a map of string,string and the processing should be done by an api writer at cmd class level and it's not done in ApiDispatcher. commi

Re: [DISCUSS] Question about @Parameter (entityType)

2013-01-28 Thread Rohit Yadav
On Sun, Jan 27, 2013 at 8:37 PM, Kelven Yang wrote: > I have a question about a change in @Parameter at API layer, in regards to > entityType, does anyone know the reason behind why it has to go through > with some Response class which in turn declares links to the entity class > via @EntityRefere

RE: [DISCUSS] Question about @Parameter (entityType)

2013-01-28 Thread Alex Huang
ache.org > Subject: Re: [DISCUSS] Question about @Parameter (entityType) > > > > On 1/27/13 9:52 PM, "Mice Xia" wrote: > > >i have the same question and i found this: > > > >http://mail-archives.apache.org/mod_mbox//incubator-cloudstack- > dev/20

Re: [DISCUSS] Question about @Parameter (entityType)

2013-01-27 Thread Kelven Yang
On 1/27/13 9:52 PM, "Mice Xia" wrote: >i have the same question and i found this: > >http://mail-archives.apache.org/mod_mbox//incubator-cloudstack-dev/201301. >mbox/%3ccanlssbxhw5fhwrn3bs+yoj6ycpbbdu1khjzq4ncaa59fqfa...@mail.gmail.com >%3E > >seems this annotation is used for converting entity

Re: [DISCUSS] Question about @Parameter (entityType)

2013-01-27 Thread Mice Xia
i have the same question and i found this: http://mail-archives.apache.org/mod_mbox//incubator-cloudstack-dev/201301.mbox/%3ccanlssbxhw5fhwrn3bs+yoj6ycpbbdu1khjzq4ncaa59fqfa...@mail.gmail.com%3E seems this annotation is used for converting entity UUID->ID -Mice 2013/1/28 Kelven Yang : > I have

[DISCUSS] Question about @Parameter (entityType)

2013-01-27 Thread Kelven Yang
I have a question about a change in @Parameter at API layer, in regards to entityType, does anyone know the reason behind why it has to go through with some Response class which in turn declares links to the entity class via @EntityReference annotation? And in DeployVMCmd as an example, there is a