[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Prasanna Santhanam resolved CLOUDSTACK-2154.
--------------------------------------------

    Resolution: Fixed

2712ddd on master fixes the issue
                
> create account command returns user response and not account response
> ---------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2154
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2154
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: API
>    Affects Versions: 4.1.0, 4.2.0
>            Reporter: Prasanna Santhanam
>            Assignee: Prasanna Santhanam
>             Fix For: 4.1.0, 4.2.0
>
>
> While looking through the response of various entities I found that
> createAccountResponse returns less parameters than what is shown by
> the listApis&command=createAccount&response=json call:
> https://gist.github.com/vogxn/5411579
> For eg: I don't see the vmlimit, primarystoragelimit, other new limits
> that have been introduced in the AccountResponse.java class.
> Another oddity is that I see apiKey, secretKey in the response but
> they are not in the response object. This is because createAccountCmd is 
> wrongly mapped to the UserResponse object instead of the AccountResponse 
> object
> -@APICommand(name = "createAccount", description="Creates an account", 
> responseObject=UserResponse.class)
> +@APICommand(name = "createAccount", description="Creates an account", 
> responseObject=AccountResponse.class)

--
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

Reply via email to