cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raj...@apache.org
Subject [2/2] git commit: updated refs/heads/master to 9d8eebf
Date Wed, 15 Feb 2017 05:14:21 GMT
Merge pull request #1939 from Accelerite/CLOUDSTACK-8886

CLOUDSTACK-8886: Limitations is listUsageRecords output, listUsageRecAs @kansal  is inactive
created new branch and raised the PR. This is continuation of PR #858
This closes #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.

* pr/1939:
  CLOUDSTACK-8886: Limitations is listUsageRecords output, listUsageRecords does not return
domain - Fixed and tests added

Signed-off-by: Rajani Karuturi <rajani.karuturi@accelerite.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/9d8eebf6
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9d8eebf6
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9d8eebf6

Branch: refs/heads/master
Commit: 9d8eebf68d0750cef7836bfdd5413af9863993e3
Parents: 13bfdd7 f17d27d
Author: Rajani Karuturi <rajani.karuturi@accelerite.com>
Authored: Wed Feb 15 10:37:50 2017 +0530
Committer: Rajani Karuturi <rajani.karuturi@accelerite.com>
Committed: Wed Feb 15 10:37:50 2017 +0530

----------------------------------------------------------------------
 .../api/response/UsageRecordResponse.java       |  4 ++
 server/src/com/cloud/api/ApiResponseHelper.java |  1 +
 .../com/cloud/api/ApiResponseHelperTest.java    | 70 ++++++++++++++++----
 3 files changed, 62 insertions(+), 13 deletions(-)
----------------------------------------------------------------------



Mime
View raw message