Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0C47BF3B7 for ; Wed, 21 Aug 2013 15:43:02 +0000 (UTC) Received: (qmail 70399 invoked by uid 500); 21 Aug 2013 15:43:00 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 70360 invoked by uid 500); 21 Aug 2013 15:43:00 -0000 Mailing-List: contact dev-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 dev@cloudstack.apache.org Received: (qmail 70352 invoked by uid 99); 21 Aug 2013 15:43:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Aug 2013 15:43:00 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of darren.s.shepherd@gmail.com designates 209.85.220.47 as permitted sender) Received: from [209.85.220.47] (HELO mail-pa0-f47.google.com) (209.85.220.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Aug 2013 15:42:55 +0000 Received: by mail-pa0-f47.google.com with SMTP id kl13so950337pab.20 for ; Wed, 21 Aug 2013 08:42:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=b0ezOavamHs1Ywpdlmaw9DC3H4+ijQYad18f6zyqoTE=; b=eMpIMUWjCgzBzD3fADnM3GaRujwv5/8k+AI16L9zfZDBiKvfPXIjfr3qLJqaZFWchF VJv+wd5cKWOms/XNjU+fKBlrW14x8sF6kg4NfRCCg0BdLxEi9n73Tu4SRG3gNdk0/okI lhg9k1yqlzc6ZdyxN+lfQgMYO3OKVoIiaPLXcpPVbrvqnmqr9KjGHAfnClpN1UVDpGnL ysPiazaLbr7cyOsV5ch+ixPVkuqQL+olB5zzZ9nPnH9+rTM0tmw9NPxO7p7gDKEeoQLs 60yLNtNitswYIig4rOiaSKKl7g0H71PwS4NkJzj1H+4mMaQtWPgSehB5gZEteePtFaYB l1Vw== X-Received: by 10.68.226.7 with SMTP id ro7mr384628pbc.72.1377099755317; Wed, 21 Aug 2013 08:42:35 -0700 (PDT) Received: from [192.168.15.2] (ip68-109-132-233.ph.ph.cox.net. [68.109.132.233]) by mx.google.com with ESMTPSA id y6sm9101646pbl.23.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 Aug 2013 08:42:34 -0700 (PDT) References: <80AC8E03-0EF4-4032-95C2-69273512357D@basho.com> <20130821135102.GA1403@cloud-2.local> Mime-Version: 1.0 (1.0) In-Reply-To: <20130821135102.GA1403@cloud-2.local> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <871B5864-B414-4D1C-849B-8501E3AD76E1@gmail.com> Cc: "dev@cloudstack.apache.org" , Daan Hoogland , Hugo Trippaers , "La Motta, David" X-Mailer: iPhone Mail (10B350) From: Darren Shepherd Subject: Re: [DISCUSS/PROPOSAL] Upgrading Driver Model Date: Wed, 21 Aug 2013 08:42:33 -0700 To: "dev@cloudstack.apache.org" X-Virus-Checked: Checked by ClamAV on apache.org I also agree with this. Spring XML should always be treated as code not rea= lly configuration. It's not good to have a sysadmin touch spring config and= frankly it's just mean to force them to. I would ideally like to see that registering a module is as simple as puttin= g a jar in a directory. If its in the directory it gets loaded. Then addit= ionally you should have a way such that you can explicitly tell it not to lo= ad modules based on some configuration. That way, if for some reason moving= the jar is not possible, you can still disallow it. So for example the directory based approach works well with rpm/deb's so "yu= m install mycoolplugin" will just place jar somewhere. But say your trouble= shooting or whatever, you don't really want to have to do "yum remove..." ju= st to troubleshoot. It would be nice to just edit some file and say "plugin= .mycoolplugin.load=3Dfalse" (or env variable or whatever) Darren On Aug 21, 2013, at 6:51 AM, Prasanna Santhanam wrote: > On Tue, Aug 20, 2013 at 05:43:17PM -0400, John Burwell wrote: >> Leaky Abstraction: Plugins are registered through a Spring >> configuration file. In addition to being operator unfriendly (most >> sysadmins are not Spring experts nor do they want to be), we expose >> the core bootstrapping mechanism to operators. Therefore, a >> misconfiguration could negatively impact the injection/configuration >> of internal management server components. Essentially handing them >> a loaded shotgun pointed at our right foot. >=20 > This has been my pet-peeve too and I was told you can write properties fil= es > above the spring contexts to make it simpler for operators to look at. >=20 > Overall a great proposal and look forward to see more concrete steps > that follow on the implementation details. >=20 > --=20 > Prasanna., >=20 > ------------------------ > Powered by BigRock.com >=20