Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8E53AC37E for ; Mon, 29 Jul 2013 07:07:50 +0000 (UTC) Received: (qmail 15439 invoked by uid 500); 29 Jul 2013 07:07:50 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 15367 invoked by uid 500); 29 Jul 2013 07:07:49 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 15355 invoked by uid 500); 29 Jul 2013 07:07:49 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 15351 invoked by uid 99); 29 Jul 2013 07:07:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2013 07:07:49 +0000 Date: Mon, 29 Jul 2013 07:07:49 +0000 (UTC) From: "Prasanna Santhanam (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CLOUDSTACK-2715) MigrateSystemVm: SystemVmInstanceResponse vs SystemVmResponse MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-2715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasanna Santhanam resolved CLOUDSTACK-2715. -------------------------------------------- Resolution: Fixed > MigrateSystemVm: SystemVmInstanceResponse vs SystemVmResponse > ------------------------------------------------------------- > > Key: CLOUDSTACK-2715 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2715 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: API > Affects Versions: 4.2.0 > Reporter: Prasanna Santhanam > Assignee: Prasanna Santhanam > Fix For: 4.2.0 > > > Following diff makes the response for MigrateSystemVm uniform with rebootSystemVm, stopSystemVm and other SystemVm operations to SystemVmResponse instead of the SystemVmInstanceResponse. > -@APICommand(name = "migrateSystemVm", description="Attempts Migration of a system virtual machine to the host specified.", responseObject=SystemVmInstanceResponse.class) > +@APICommand(name = "migrateSystemVm", description="Attempts Migration of a system virtual machine to the host specified.", responseObject=SystemVmResponse.class) > public class MigrateSystemVMCmd extends BaseAsyncCmd { > public static final Logger s_logger = Logger.getLogger(MigrateSystemVMCmd.class.getName()); > > @@ -112,7 +110,7 @@ public class MigrateSystemVMCmd extends BaseAsyncCmd { > VirtualMachine migratedVm = _userVmService.migrateVirtualMachine(getVirtualMachineId(), destinationHost); > if (migratedVm != null) { > // return the generic system VM instance response > - SystemVmInstanceResponse response = _responseGenerator.createSystemVmInstanceResponse(migratedVm); > + SystemVmResponse response = _responseGenerator.createSystemVmResponse(migratedVm); -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira