[ https://issues.apache.org/jira/browse/CLOUDSTACK-518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13534852#comment-13534852 ]
Rohit Yadav commented on CLOUDSTACK-518: ---------------------------------------- WIP, implemented annotation processing in ApiDispatcher for UUID, Entity, entityType; and findByXId in GenericDao/EntityManager; commit 5fdce84e81c10650d41de1837d7f4a1791fc4a6e Author: Rohit Yadav <bhais...@apache.org> Date: Tue Dec 18 04:16:33 2012 -0800 api: Process UUID and Parameter annotations in ApiDispatcher - Use @Parameter's entityType and type annotation fields - Use @Entity annotation in Reponse class to get table info for Dao - Use findByXId to process all entities and translate UUID to ID - Handle error in reflection method invoking Signed-off-by: Rohit Yadav <bhais...@apache.org> commit 837d21bb2daf5b719c985a88e24585634c2df35f Author: Rohit Yadav <bhais...@apache.org> Date: Tue Dec 18 04:10:36 2012 -0800 api: Implement findByXId in GenericDaoBase and EntityManagerImpl Declare and define findByXId() in GenericDao and EntityManager. This method would return a VO by UUID and EntityManager's interface would take in the VO Interface. Signed-off-by: Rohit Yadav <bhais...@apache.org> > 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