[
https://issues.apache.org/jira/browse/CLOUDSTACK-8886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14900272#comment-14900272
]
ASF GitHub Bot commented on CLOUDSTACK-8886:
--------------------------------------------
GitHub user kansal opened a pull request:
https://github.com/apache/cloudstack/pull/858
CLOUDSTACK-8886: Limitations is listUsageRecords output, listUsageRec…
…ords does not return domain - Fixed and tests added
Problem: Only domainid is returned by usageReports API call. In cloudstack
documention it mentions "domain" as being in the usage response. The API should
really be returning the domain as account information has both account and
accountid.
Fix: Missing setDomainName at the time of creating response.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kansal/cloudstack CLOUDSTACK-8886
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/858.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #858
----
commit 0c42fe062b9d594cbf859c85baac6229819d7936
Author: Kshitij Kansal <[email protected]>
Date: 2015-09-21T06:18:17Z
CLOUDSTACK-8886: Limitations is listUsageRecords output, listUsageRecords
does not return domain - Fixed and tests added
----
> Limitations is listUsageRecords output - listUsageRecords does not return
> "domain"
> ----------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-8886
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8886
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Kshitij Kansal
>
> Only domainid is returned by usageReports API call.
> In cloudstack documention it mentions "domain" as being in the usage
> response. The API should really be returning the domain as account
> information has both account and accountid.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)