[
https://issues.apache.org/jira/browse/CLOUDSTACK-518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13534855#comment-13534855
]
Rohit Yadav commented on CLOUDSTACK-518:
----------------------------------------
Examples on how to annotate Cmd and Response classes. The following commit does
that for all user related APIs:
commit b16dde6367e9871b46869ce325e5fe0cd47341d3
Author: Rohit Yadav <[email protected]>
Date: Tue Dec 18 04:23:05 2012 -0800
api: Fix User related API Cmd classes to use entityType and CommandType.UUID
- Get rid of IdentityMapper
- Use entityType which is an array of Response.class
- Use UUID CommandType for params which will receive UUID string from over
the
wire requests
Signed-off-by: Rohit Yadav <[email protected]>
commit dc33a8d1458fd767ce7da2f38ff35f4be74caa3a
Author: Rohit Yadav <[email protected]>
Date: Tue Dec 18 04:20:50 2012 -0800
api: Fix BaseList Cmd classes to use UUID CommandType and entityType
appropriately
- Get rid of IdentityMapper
- Use entityType which is an array of Response.class
- Use UUID CommandType for params which will receive UUID string from over
the
wire requests
Signed-off-by: Rohit Yadav <[email protected]>
commit b008f31fd58c5ba496a20823af4b0608f448d355
Author: Rohit Yadav <[email protected]>
Date: Tue Dec 18 04:19:46 2012 -0800
api: Add @Entity annotation for user related response classes
Signed-off-by: Rohit Yadav <[email protected]>
> API refactoring -- change @Parameter annotation and remove the
> @IdentityMapper annotation
> -----------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-518
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-518
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: API
> Reporter: Fang Wang
> Assignee: Fang Wang
>
> This is for post 4.0 releases. FS is at
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+API+refactoring
--
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