Merge pull request #896 from yvsubhash/CLOUDSTACK-8908 CLOUDSTACK-8908 After copying the template charging for that template is getting stoppedThis is happening as the zone id is not part of the query. Zone id is added to the query and unit tests are also added
* pr/896: CLOUDSTACK-8908 After copying the template charging for that template is stopped Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a13ee852 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a13ee852 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a13ee852 Branch: refs/heads/4.8 Commit: a13ee852af55be346ab836cdf3fc9fb630eb75fc Parents: f8c9f45 740179c Author: Rohit Yadav <rohit.ya...@shapeblue.com> Authored: Sat Dec 10 00:15:35 2016 +0530 Committer: Rohit Yadav <rohit.ya...@shapeblue.com> Committed: Sat Dec 10 00:15:35 2016 +0530 ---------------------------------------------------------------------- .../cloud/usage/dao/UsageStorageDaoImpl.java | 3 +- .../usage/dao/UsageStorageDaoImplTest.java | 88 ++++++++++++++++++++ engine/schema/test/resources/db.properties | 70 ++++++++++++++++ 3 files changed, 160 insertions(+), 1 deletion(-) ----------------------------------------------------------------------