[
https://issues.apache.org/jira/browse/CLOUDSTACK-8886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15863490#comment-15863490
]
ASF GitHub Bot commented on CLOUDSTACK-8886:
--------------------------------------------
GitHub user jayapalu opened a pull request:
https://github.com/apache/cloudstack/pull/1939
CLOUDSTACK-8886: Limitations is listUsageRecords output, listUsageRec…
As @kansal is inactive created new branch and raised the PR. This is
continuation of PR#858
https://github.com/apache/cloudstack/pull/858
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/Accelerite/cloudstack CLOUDSTACK-8886
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1939.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 #1939
----
commit f17d27dd93e7c1b0ba60afdf78276a8b07c4dff0
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.15#6346)