RE: Error : Unknown API command: for my commands.

2013-02-14 Thread Rajesh Battala
Message- > From: Mice Xia [mailto:weiran.x...@gmail.com] > Sent: Thursday, February 14, 2013 8:02 PM > To: cloudstack-dev@incubator.apache.org > Subject: Re: Error : Unknown API command: for my commands. > > 2. Mechanism for discovery of APIs is through PluggableServices: Check that >

Re: Error : Unknown API command: for my commands.

2013-02-14 Thread Mice Xia
2. Mechanism for discovery of APIs is through PluggableServices: Check that your plugin implements this and getCommands() return list of cmd classes supported by that plugin. This applies for ManagementServerImpl as well which is a pluggableservice, add you api cmd class in the cmdList of getComman

RE: Error : Unknown API command: for my commands.

2013-02-14 Thread Rajesh Battala
Thanks for the info. > -Original Message- > From: rohityada...@gmail.com [mailto:rohityada...@gmail.com] On Behalf > Of Rohit Yadav > Sent: Thursday, February 14, 2013 5:14 PM > To: cloudstack-dev@incubator.apache.org > Subject: Re: Error : Unknown API command: for my

Re: Error : Unknown API command: for my commands.

2013-02-14 Thread Rohit Yadav
So when you add an API, you define two things: 1. ACL policy via commands.properties 2. Mechanism for discovery of APIs is through PluggableServices: Check that your plugin implements this and getCommands() return list of cmd classes supported by that plugin. This applies for ManagementServerImpl

Error : Unknown API command: for my commands.

2013-02-14 Thread Rajesh Battala
Hi All, I had added few API commands, createLBHealthCheckPolicy, listLBHealthCheckspolicies etc. I have added @APICommand to the command java files. I had added the commands to command.properties files also. The commands are in the package org.apache.cloudstack.api.command.user.loadbalancer;