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 F41AE10B14 for ; Fri, 28 Jun 2013 18:57:21 +0000 (UTC) Received: (qmail 27648 invoked by uid 500); 28 Jun 2013 18:57:21 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 27558 invoked by uid 500); 28 Jun 2013 18:57:21 -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 27550 invoked by uid 99); 28 Jun 2013 18:57:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jun 2013 18:57:21 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Chris.Suich@netapp.com designates 216.240.18.77 as permitted sender) Received: from [216.240.18.77] (HELO mx12.netapp.com) (216.240.18.77) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jun 2013 18:57:16 +0000 X-IronPort-AV: E=Sophos;i="4.87,960,1363158000"; d="scan'208";a="69988243" Received: from vmwexceht03-prd.hq.netapp.com ([10.106.76.241]) by mx12-out.netapp.com with ESMTP; 28 Jun 2013 11:56:53 -0700 Received: from SACEXCMBX01-PRD.hq.netapp.com ([169.254.2.35]) by vmwexceht03-prd.hq.netapp.com ([10.106.76.241]) with mapi id 14.03.0123.003; Fri, 28 Jun 2013 11:56:53 -0700 From: "SuichII, Christopher" To: "" Subject: Re: CloudStack API Development Thread-Topic: CloudStack API Development Thread-Index: AQHOcnSGO4htWaAmSEe7Ve2xU0gdCplIjsQAgAAB4gCAAAT6gIAAAoUAgAADi4CAAAMqAIAANSsAgAC7xACAAE87gIAAAj+AgAAXWgCAAHMxgIAAmMcAgADuUoA= Date: Fri, 28 Jun 2013 18:56:52 +0000 Message-ID: <7DF64A69-5A86-4672-8068-9AD6A2F822AE@netapp.com> References: <20130626154308.GB8380@cloud-2.local> <622F0CC9-1D70-400D-BC73-CB13F9CF4FAB@gmail.com> <20130627112105.GA16620@cloud-2.local> <20130628044346.GB1643@cloud-2.local> In-Reply-To: <20130628044346.GB1643@cloud-2.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.106.53.51] Content-Type: text/plain; charset="Windows-1252" Content-ID: <1DAEAC2AA388FE48B1D9D3F4EA3547C3@hq.netapp.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org So a little update on the hot-deployable API front: It works=85I think. I've been able to package my code into a jar deploy it = to a pre-comipiled CloudStack. All I had to do was: -Compile the client -Add a bean for my PluggableService to applicationContext.xml -Add my command permissions to the commands.properties -Drop my jar and dependency jars into /WEB-INF/lib/ So, to anyone curious, the plugins look more firefox-y than we though. =3D) If anyone sees a potential problem with this please let me know. I'll updat= e the list if I come across anything else interesting in my investigation. -Chris On Jun 28, 2013, at 12:43 AM, Prasanna Santhanam wrote: > On Thu, Jun 27, 2013 at 07:36:58PM +0000, SuichII, Christopher wrote: >> I've got some questions related to this topic? >>=20 >> We're planning on developing an API plugin, but not submitting the >> source to CloudStack. Rather, we would like to generate a jar file >> and deploy that to the CloudStack API plugin directory. Has anyone >> done this? >>=20 >> Ian, your blog post and notes were extremely helpful, so thanks for >> that! Do you have any idea how to contribute an API without having >> to add your plugin as a maven dependency at compile time? It seems >> like, in order for us to do this, there needs to be a way to >> register an API plugin to an existing CloudStack deployment without >> re-compiling. >>=20 >=20 > It could work, but not without a recompile. Plugins here aren't quite > firefox plugins (yet) :) >=20 > --=20 > Prasanna., >=20 > ------------------------ > Powered by BigRock.com >=20