You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Punith S <pu...@cloudbyte.com> on 2014/03/06 15:29:26 UTC

spring modification in order to register new storage plugin ?

hi guys,

i have built a new storage plugin for 4.4, and i have added new
module.properties as well as
new spring-storage-volume-cloudbyte-context.xml with the new provider bean
along with the
new addition in pom.xml of plugins directory.

after running, mvn -P developer,systemvm clean install,

the build is showing successful, but my plugin jar can't be found in the
client/target/cloud.war file

but i copied it for my local .m2 repo to the lib folder and ran  mvn -pl
:cloud-client-ui jetty:run on localhost, 4.4 is coming alive but my plugin
module without my plugin being loaded even though the jar being implanted.

so am i missing any spring configuration ?



regards,

punith s
cloudbyte.com

Re: spring modification in order to register new storage plugin ?

Posted by Mike Tutkowski <mi...@solidfire.com>.
No problem!


On Thu, Mar 6, 2014 at 10:14 PM, Punith S <pu...@cloudbyte.com> wrote:

> thanks mike , it worked :)
>
>
> On Thu, Mar 6, 2014 at 8:48 PM, Mike Tutkowski <
> mike.tutkowski@solidfire.com
> > wrote:
>
> > Hi Punith,
> >
> > Did you add something like this to client/pom.xml?
> >
> >     <dependency>
> >
> >       <groupId>org.apache.cloudstack</groupId>
> >
> >       <artifactId>cloud-plugin-storage-volume-solidfire</artifactId>
> >
> >       <version>${project.version}</version>
> >
> >     </dependency>
> >
> >
> > On Thu, Mar 6, 2014 at 7:29 AM, Punith S <pu...@cloudbyte.com> wrote:
> >
> > > hi guys,
> > >
> > > i have built a new storage plugin for 4.4, and i have added new
> > > module.properties as well as
> > > new spring-storage-volume-cloudbyte-context.xml with the new provider
> > bean
> > > along with the
> > > new addition in pom.xml of plugins directory.
> > >
> > > after running, mvn -P developer,systemvm clean install,
> > >
> > > the build is showing successful, but my plugin jar can't be found in
> the
> > > client/target/cloud.war file
> > >
> > > but i copied it for my local .m2 repo to the lib folder and ran  mvn
> -pl
> > > :cloud-client-ui jetty:run on localhost, 4.4 is coming alive but my
> > plugin
> > > module without my plugin being loaded even though the jar being
> > implanted.
> > >
> > > so am i missing any spring configuration ?
> > >
> > >
> > >
> > > regards,
> > >
> > > punith s
> > > cloudbyte.com
> > >
> >
> >
> >
> > --
> > *Mike Tutkowski*
> > *Senior CloudStack Developer, SolidFire Inc.*
> > e: mike.tutkowski@solidfire.com
> > o: 303.746.7302
> > Advancing the way the world uses the
> > cloud<http://solidfire.com/solution/overview/?video=play>
> > *(tm)*
> >
>
>
>
> --
> regards,
>
> punith s
> cloudbyte.com
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*(tm)*

Re: spring modification in order to register new storage plugin ?

Posted by Punith S <pu...@cloudbyte.com>.
thanks mike , it worked :)


On Thu, Mar 6, 2014 at 8:48 PM, Mike Tutkowski <mike.tutkowski@solidfire.com
> wrote:

> Hi Punith,
>
> Did you add something like this to client/pom.xml?
>
>     <dependency>
>
>       <groupId>org.apache.cloudstack</groupId>
>
>       <artifactId>cloud-plugin-storage-volume-solidfire</artifactId>
>
>       <version>${project.version}</version>
>
>     </dependency>
>
>
> On Thu, Mar 6, 2014 at 7:29 AM, Punith S <pu...@cloudbyte.com> wrote:
>
> > hi guys,
> >
> > i have built a new storage plugin for 4.4, and i have added new
> > module.properties as well as
> > new spring-storage-volume-cloudbyte-context.xml with the new provider
> bean
> > along with the
> > new addition in pom.xml of plugins directory.
> >
> > after running, mvn -P developer,systemvm clean install,
> >
> > the build is showing successful, but my plugin jar can't be found in the
> > client/target/cloud.war file
> >
> > but i copied it for my local .m2 repo to the lib folder and ran  mvn -pl
> > :cloud-client-ui jetty:run on localhost, 4.4 is coming alive but my
> plugin
> > module without my plugin being loaded even though the jar being
> implanted.
> >
> > so am i missing any spring configuration ?
> >
> >
> >
> > regards,
> >
> > punith s
> > cloudbyte.com
> >
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud<http://solidfire.com/solution/overview/?video=play>
> *(tm)*
>



-- 
regards,

punith s
cloudbyte.com

Re: spring modification in order to register new storage plugin ?

Posted by Mike Tutkowski <mi...@solidfire.com>.
Hi Punith,

Did you add something like this to client/pom.xml?

    <dependency>

      <groupId>org.apache.cloudstack</groupId>

      <artifactId>cloud-plugin-storage-volume-solidfire</artifactId>

      <version>${project.version}</version>

    </dependency>


On Thu, Mar 6, 2014 at 7:29 AM, Punith S <pu...@cloudbyte.com> wrote:

> hi guys,
>
> i have built a new storage plugin for 4.4, and i have added new
> module.properties as well as
> new spring-storage-volume-cloudbyte-context.xml with the new provider bean
> along with the
> new addition in pom.xml of plugins directory.
>
> after running, mvn -P developer,systemvm clean install,
>
> the build is showing successful, but my plugin jar can't be found in the
> client/target/cloud.war file
>
> but i copied it for my local .m2 repo to the lib folder and ran  mvn -pl
> :cloud-client-ui jetty:run on localhost, 4.4 is coming alive but my plugin
> module without my plugin being loaded even though the jar being implanted.
>
> so am i missing any spring configuration ?
>
>
>
> regards,
>
> punith s
> cloudbyte.com
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*(tm)*