Hi Matt,

Within client/pom.xml you'll have to add a dependency for your plugin:

example:

<dependency>
 <groupId>org.apache.cloudstack</groupId>
 <artifactId>cloud-plugin-api-helloworld</artifactId>
 <version>${project.version}</version>
</dependency>


You will also need to edit client/tomcatconf/applicationContext.xml.in

example:

<bean id="helloWorldImpl"
class="org.apache.cloudstack.helloworld.HelloWorldImpl"/>

and lastly we need to list all the newly added commands and who can access
them client/tomcatconf/commands.properties.in

example:

helloWorld=8

Have a PDF of notes from my adventures doing it before:
http://ianduffy.ie/cloudstack/CreatingAPlugin.pdf

Hope this helps!

Ian




On 28 January 2014 16:58, Matt Spurlin <matt.spur...@appcore.com> wrote:

> I am new to CloudStack development. I have been looking at the plugin
> architecture and trying to follow the guide athttps://
> cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+API+DevelopmentI am 
> getting a response of "{ "errorresponse" :
> {"uuidList":[],"errorcode":432,"cserrorcode":9999,"errortext":"The given
> command does not exist or it is not available for user"} }". It doesn't
> look like it is even hitting my code in the api directory. What files need
> to be changed to make CloudStack aware of my new API plugin? Is it just
> commands.properties.in and /client/pom.xml?

Reply via email to