Yes and no. There is an implicit HTTP API (which is more or less
RESTful AFAIK) exposed by the WebConsole plugins. However, it isn't
formalized as such. You can take a look at the Maven Sling Plugin
(http://svn.apache.org/repos/asf/sling/trunk/maven/maven-sling-plugin/)
for examples of uploading bundles and modifying configuration.

If you're looking for a more standardized remote management API, you
might want to look at the OSGi JMX spec, which Apache Aries supports.

Justin

On Thu, Oct 28, 2010 at 5:16 PM, sam lee <[email protected]> wrote:
> Is there RESTful API for Felix (Web Console) for managing bundles,
> components, services?
> I am trying to write a deployment script that'll uninstall a bundle and
> install a newer one (or upgrade an existing one).
>
> Is there a way to send POST request with a jar?
>
> Or, what's the proper way to manage bundles (and possibly components and
> services) ?
>
> Thanks.
> Sam
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to