You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ra...@apache.org on 2015/09/09 07:10:11 UTC

[2/2] git commit: updated refs/heads/master to 76c81a7

Merge pull request #685 from kansal/CLOUDSTACK-8727

CLOUDSTACK-8727: API call listVirtualMachines returns same keypairCurrently the user can register same key with different names. Upon listing the VM's the name which got registered first is being returned and not the actual one. Anyhow this behavior is rare and not good. I have added a UNIQUE constraint on the ssh_keypairs table and also made sure that the previous registered keys(with duplicates) get deleted.

* pr/685:
  CLOUDSTACK-8727: API call listVirtualMachines returns same keypair: Corrected and test cases added

Signed-off-by: Rajani Karuturi <ra...@citrix.com>


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

Branch: refs/heads/master
Commit: 76c81a7bd964a01d0fb0180ba101ef90651fab30
Parents: 237e0e4 82fbd80
Author: Rajani Karuturi <ra...@citrix.com>
Authored: Wed Sep 9 10:39:40 2015 +0530
Committer: Rajani Karuturi <ra...@citrix.com>
Committed: Wed Sep 9 10:39:43 2015 +0530

----------------------------------------------------------------------
 .../com/cloud/server/ManagementServerImpl.java  |  6 +--
 .../cloud/server/ManagementServerImplTest.java  | 55 +++++++++++++++++---
 setup/db/db/schema-452to460.sql                 |  4 ++
 3 files changed, 56 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/76c81a7b/server/src/com/cloud/server/ManagementServerImpl.java
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/76c81a7b/setup/db/db/schema-452to460.sql
----------------------------------------------------------------------