cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Punith S <>
Subject Re: CloudStack 4.3+ Plugins
Date Thu, 24 Apr 2014 05:34:12 GMT

its good to have privately modularized context for plugins, but how do we
inject the required variables from the component context after building the
jars in 4.3 ?
in 4.2 i used to inject the required params for my plugin from the
componentcontext.xml after building the jars. so that params values can be
changed at any point of time.
all you need to do was to just restart the management server.
ref - <bean id="elastistorDataStoreProvider"
        <property name="esmanagementip" value=""/>
        <property name="esapikey"
        <property name="esaccountid"
        <property name="espoolid"
        <property name="esdefaultgateway" value=""/>
        <property name="essubnet" value="8"/>
        <property name="estntinterface" value="em0"/>

but in 4.3 i'm not able to access my context.xml for injecting param values
once i build my jars. !!
any workaround available to do this ?


On Thu, Apr 24, 2014 at 12:34 AM, Chris Suich <> wrote:

> Hey Matt,
> Your correct in seeing that some improvements were made in 4.3 to
> support more modularized plugins. This wiki page and its two child
> pages should help you get started:
> You no longer NEED to put your commands in the
> file as they can be specified in the API annotation now (they can be
> put in the file to allow users to white/blacklist the file per use
> role if they desire). Each module can also specify its own application
> context so that everything is privately modularized.
> Take a look at the SolidFire storage plugin. That module is using the
> new form of Spring extensions.
> -Chris
> On Wed, Apr 23, 2014 at 10:00 AM, Matt Spurlin <>
> wrote:
> > In version 4.2 and below to get a plugin to work, I was adding a
> dependency in the pom.xml of the Client project and modifying
> applicationContext.xml.inand 4.3 appears to have
> introduces discoverable plugins. What needs to be done differently in order
> to take advantage of this?
> > Thank you for your time,
> > Matt
> --
> Chris Suich
> 919-334-8193


punith s

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message