Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0FBCEF2EF for ; Tue, 16 Apr 2013 18:03:46 +0000 (UTC) Received: (qmail 54395 invoked by uid 500); 16 Apr 2013 18:03:36 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 54339 invoked by uid 500); 16 Apr 2013 18:03:36 -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 53733 invoked by uid 99); 16 Apr 2013 18:03:35 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Apr 2013 18:03:35 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 4FA6B1FA23; Tue, 16 Apr 2013 18:03:35 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bfederle@apache.org To: commits@cloudstack.apache.org Date: Tue, 16 Apr 2013 18:04:11 -0000 Message-Id: <568a8e09b05b4b4a86d846fc08314588@git.apache.org> In-Reply-To: <509132ed9c8b41949fc3b80bdc05905e@git.apache.org> References: <509132ed9c8b41949fc3b80bdc05905e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [38/50] [abbrv] git commit: updated refs/heads/ui-new-project-switcher to a748988 Removing the auto-wiring of AffinityGroupProcessors since this is an optional component Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8d33353b Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8d33353b Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8d33353b Branch: refs/heads/ui-new-project-switcher Commit: 8d33353b40f7599466a5175036c3021513cbdc81 Parents: f1b1480 Author: Prachi Damle Authored: Mon Apr 15 16:01:33 2013 -0700 Committer: Prachi Damle Committed: Mon Apr 15 16:02:05 2013 -0700 ---------------------------------------------------------------------- client/tomcatconf/applicationContext.xml.in | 9 +++++- client/tomcatconf/componentContext.xml.in | 16 ++++++++++--- client/tomcatconf/nonossComponentContext.xml.in | 16 ++++++++++--- .../deploy/DeploymentPlanningManagerImpl.java | 14 ++++++++++- .../src/com/cloud/server/ManagementServerImpl.java | 18 +++++++++++--- 5 files changed, 57 insertions(+), 16 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d33353b/client/tomcatconf/applicationContext.xml.in ---------------------------------------------------------------------- diff --git a/client/tomcatconf/applicationContext.xml.in b/client/tomcatconf/applicationContext.xml.in index 15cd6fe..866e3ed 100644 --- a/client/tomcatconf/applicationContext.xml.in +++ b/client/tomcatconf/applicationContext.xml.in @@ -609,8 +609,10 @@ + + - + @@ -838,7 +840,10 @@ --> - + + + + http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d33353b/client/tomcatconf/componentContext.xml.in ---------------------------------------------------------------------- diff --git a/client/tomcatconf/componentContext.xml.in b/client/tomcatconf/componentContext.xml.in index 23284ab..7a46981 100644 --- a/client/tomcatconf/componentContext.xml.in +++ b/client/tomcatconf/componentContext.xml.in @@ -253,9 +253,17 @@ - - - - + + + + + + + + + + + + http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d33353b/client/tomcatconf/nonossComponentContext.xml.in ---------------------------------------------------------------------- diff --git a/client/tomcatconf/nonossComponentContext.xml.in b/client/tomcatconf/nonossComponentContext.xml.in index a2182d1..2359ba8 100644 --- a/client/tomcatconf/nonossComponentContext.xml.in +++ b/client/tomcatconf/nonossComponentContext.xml.in @@ -355,9 +355,17 @@ - - - - + + + + + + + + + + + + http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d33353b/server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java ---------------------------------------------------------------------- diff --git a/server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java b/server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java index 92aac37..c7162a2 100644 --- a/server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java +++ b/server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java @@ -50,11 +50,21 @@ public class DeploymentPlanningManagerImpl extends ManagerBase implements Deploy @Inject protected AffinityGroupVMMapDao _affinityGroupVMMapDao; - @Inject protected List _planners; + public List getPlanners() { + return _planners; + } + public void setPlanners(List _planners) { + this._planners = _planners; + } - @Inject protected List _affinityProcessors; + public List getAffinityGroupProcessors() { + return _affinityProcessors; + } + public void setAffinityGroupProcessors(List affinityProcessors) { + this._affinityProcessors = affinityProcessors; + } @Override public DeployDestination planDeployment(VirtualMachineProfile vmProfile, http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d33353b/server/src/com/cloud/server/ManagementServerImpl.java ---------------------------------------------------------------------- diff --git a/server/src/com/cloud/server/ManagementServerImpl.java b/server/src/com/cloud/server/ManagementServerImpl.java index d9a4317..50b21ab 100755 --- a/server/src/com/cloud/server/ManagementServerImpl.java +++ b/server/src/com/cloud/server/ManagementServerImpl.java @@ -390,8 +390,13 @@ public class ManagementServerImpl extends ManagerBase implements ManagementServe private List _userAuthenticators; private List _userPasswordEncoders; - @Inject protected List _planners; + public List getPlanners() { + return _planners; + } + public void setPlanners(List _planners) { + this._planners = _planners; + } @Inject ClusterManager _clusterMgr; private String _hashKey = null; @@ -399,17 +404,22 @@ public class ManagementServerImpl extends ManagerBase implements ManagementServe @Inject protected AffinityGroupVMMapDao _affinityGroupVMMapDao; - @Inject protected List _affinityProcessors; + public List getAffinityGroupProcessors() { + return _affinityProcessors; + } + public void setAffinityGroupProcessors(List affinityProcessors) { + this._affinityProcessors = affinityProcessors; + } public ManagementServerImpl() { setRunLevel(ComponentLifecycle.RUN_LEVEL_APPLICATION_MAINLOOP); } - + public List getUserAuthenticators() { return _userAuthenticators; } - + public void setUserAuthenticators(List authenticators) { _userAuthenticators = authenticators; }