[
https://issues.apache.org/jira/browse/CLOUDSTACK-636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543169#comment-13543169
]
Rohit Yadav commented on CLOUDSTACK-636:
----------------------------------------
Commits on api_refactoring:
commit 580bf857ff41cd6bff36f8cfdb8e821d7978598d
Author: Rohit Yadav <[email protected]>
Date: Wed Jan 2 18:34:54 2013 -0800
server: ApiServer inits with processing cmd classes to fill apiname:class
mapping
- Add maven dependency reflections (wtfl license, apl compliant)
- Use reflections to recurse and get apiname:class mapping
Signed-off-by: Rohit Yadav <[email protected]>
commit 072c6f1988a224b4d31ff3c7864b1c6f86882bca
Author: Rohit Yadav <[email protected]>
Date: Wed Jan 2 18:23:45 2013 -0800
acl: Remove getApiCommands() method on APIAccessChecker interface
Signed-off-by: Rohit Yadav <[email protected]>
commit c5b51b7c39d3215c412f47d272d204ec276a4bf1
Author: Rohit Yadav <[email protected]>
Date: Wed Jan 2 18:21:54 2013 -0800
plugin: Remove memory mapping of apiname and class name in
StaticRoleBasedAPIAccessChecker
Signed-off-by: Rohit Yadav <[email protected]>
commit bc8e0af0a3eff4d3e73796ffd4a8481b6f8c2f6e
Author: Rohit Yadav <[email protected]>
Date: Wed Jan 2 16:56:48 2013 -0800
plugin: ACL Static Role Based api access checker
Signed-off-by: Rohit Yadav <[email protected]>
commit d235859168569fcd344e2210891b7611dbb3da12
Author: Rohit Yadav <[email protected]>
Date: Wed Jan 2 16:29:39 2013 -0800
Fix PluggableService to provide interface for ACL adapters etc. to get
configs
- Fix interface to return array of strings, or filenames
- Fix StaticRoleBased ACL adapter to process config files by going through
all pluggable services
- Refactor interface names
Signed-off-by: Rohit Yadav <[email protected]>
> API refactoring -- restructuring the access check and validation
> -----------------------------------------------------------------
>
> Key: CLOUDSTACK-636
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-636
> Project: CloudStack
> Issue Type: Improvement
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Affects Versions: 4.1.0
> Reporter: Fang Wang
> Assignee: Fang Wang
>
> The aim is to refactor and clean up the spaghetti acl and (db) validation
> code from api layer using the @ACL and the @Validate annotation.
--
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