Updated Branches: refs/heads/scaleupvm d64d7bf95 -> 81cccde79
Correcting the license headers Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/81cccde7 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/81cccde7 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/81cccde7 Branch: refs/heads/scaleupvm Commit: 81cccde797737f15bfd0189b9eb2b329804c687d Parents: d64d7bf Author: Nitin Mehta <nitin.me...@citrix.com> Authored: Tue Mar 19 19:45:51 2013 +0530 Committer: Nitin Mehta <nitin.me...@citrix.com> Committed: Tue Mar 19 19:45:51 2013 +0530 ---------------------------------------------------------------------- .../cloudstack/api/command/user/vm/ScaleVMCmd.java | 23 ++++++++------- .../api/command/test/ScaleVMCmdTest.java | 7 ---- 2 files changed, 12 insertions(+), 18 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/81cccde7/api/src/org/apache/cloudstack/api/command/user/vm/ScaleVMCmd.java ---------------------------------------------------------------------- diff --git a/api/src/org/apache/cloudstack/api/command/user/vm/ScaleVMCmd.java b/api/src/org/apache/cloudstack/api/command/user/vm/ScaleVMCmd.java index 4a1bb28..4fc65c3 100644 --- a/api/src/org/apache/cloudstack/api/command/user/vm/ScaleVMCmd.java +++ b/api/src/org/apache/cloudstack/api/command/user/vm/ScaleVMCmd.java @@ -1,14 +1,3 @@ -package org.apache.cloudstack.api.command.user.vm; - -import com.cloud.exception.*; -import com.cloud.user.Account; -import com.cloud.user.UserContext; -import com.cloud.uservm.UserVm; -import org.apache.cloudstack.api.*; -import org.apache.cloudstack.api.response.ServiceOfferingResponse; -import org.apache.cloudstack.api.response.UserVmResponse; -import org.apache.log4j.Logger; - // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information @@ -25,6 +14,18 @@ import org.apache.log4j.Logger; // KIND, either express or implied. See the License for the // specific language governing permissions and limitations // under the License. +package org.apache.cloudstack.api.command.user.vm; + +import com.cloud.exception.*; +import com.cloud.user.Account; +import com.cloud.user.UserContext; +import com.cloud.uservm.UserVm; +import org.apache.cloudstack.api.*; +import org.apache.cloudstack.api.response.ServiceOfferingResponse; +import org.apache.cloudstack.api.response.UserVmResponse; +import org.apache.log4j.Logger; + + @APICommand(name = "scaleVirtualMachine", description="Scales the virtual machine to a new service offering.", responseObject=UserVmResponse.class) public class ScaleVMCmd extends BaseCmd { public static final Logger s_logger = Logger.getLogger(ScaleVMCmd.class.getName()); http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/81cccde7/api/test/org/apache/cloudstack/api/command/test/ScaleVMCmdTest.java ---------------------------------------------------------------------- diff --git a/api/test/org/apache/cloudstack/api/command/test/ScaleVMCmdTest.java b/api/test/org/apache/cloudstack/api/command/test/ScaleVMCmdTest.java index 39275be..301fa02 100644 --- a/api/test/org/apache/cloudstack/api/command/test/ScaleVMCmdTest.java +++ b/api/test/org/apache/cloudstack/api/command/test/ScaleVMCmdTest.java @@ -41,13 +41,6 @@ import java.util.List; import java.util.UUID; -/** - * Created with IntelliJ IDEA. - * User: nitinmehta - * Date: 05/03/13 - * Time: 1:40 PM - * To change this template use File | Settings | File Templates. - */ public class ScaleVMCmdTest extends TestCase{ private ScaleVMCmd scaleVMCmd;