Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3E4702009EE for ; Wed, 18 May 2016 13:46:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3CF05160A15; Wed, 18 May 2016 11:46:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 88EAC160A00 for ; Wed, 18 May 2016 13:46:45 +0200 (CEST) Received: (qmail 48113 invoked by uid 500); 18 May 2016 11:46:27 -0000 Mailing-List: contact commits-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 commits@cloudstack.apache.org Received: (qmail 47498 invoked by uid 99); 18 May 2016 11:46:27 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 May 2016 11:46:27 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 1ACAAE01BA; Wed, 18 May 2016 11:46:27 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: dahn@apache.org To: commits@cloudstack.apache.org Date: Wed, 18 May 2016 11:47:02 -0000 Message-Id: <435e521619d74b25ba2ec401da7a80cf@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [37/51] [abbrv] git commit: updated refs/heads/4.9-bountycastle-daan to d8c42a9 archived-at: Wed, 18 May 2016 11:46:46 -0000 Merge pull request #1280 from anshul1886/CLOUDSTACK-9199 CLOUDSTACK-9199: Fixed deployVirtualMachine API does not throw an error when cpunumber is specified for static compute offeringhttps://issues.apache.org/jira/browse/CLOUDSTACK-9199 To test: ------------- Deploy VM by providing cpuNumber, cpuSpeed or memory for static/ non dynamic service offering Deployment should fail. API example: ------------------ http://10.220.135.6/client/api?command=deployVirtualMachine&name=olotwo&response=&zoneid=ab6e4154-62a3-42a8-9627-3cbdc66bcbb6&templateid=3aaaace6-91b4-11e5-b6fc-e26c2aa1d1d0&hypervisor=XenServer&serviceofferingid=39643075-4b45-489d-afac-88f09d536bdd&details[0].cpuNumber=1&details[0].cpuSpeed=1000&details[0].memory=1000&securitygroupids=60844698-91b4-11e5-b6fc-e26c2aa1d1d0&_=1448277187743 * pr/1280: CLOUDSTACK-9199: Fixed deployVirtualMachine API does not throw an error when cpunumber is specified for static compute offering Signed-off-by: Will Stevens Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c82d5027 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c82d5027 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c82d5027 Branch: refs/heads/4.9-bountycastle-daan Commit: c82d50270da6374ae188f52e604209a8c998ad78 Parents: 3343f12 149f6c0 Author: Will Stevens Authored: Fri May 13 17:00:34 2016 -0400 Committer: Will Stevens Committed: Fri May 13 17:00:35 2016 -0400 ---------------------------------------------------------------------- .../apache/cloudstack/api/command/user/vm/DeployVMCmd.java | 8 ++++++++ 1 file changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c82d5027/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java ----------------------------------------------------------------------