Juju API

Kapil Thangavelu kapil.thangavelu at canonical.com
Mon Jun 24 23:27:13 UTC 2013


On Mon, Jun 24, 2013 at 3:14 PM, Mike Sam <mikesam460 at gmail.com> wrote:

> I have a couple of questions
>
> 1> Is Juju api built to be available for external use (public if you will)
> ? If so, where can I find the documentation for it?
>

Definitely its meant to be used, its also utilized by juju-gui directly
from javascript to construct a rich html5 svg ui. Its not really documented
per se (examples, guides, etc). The api source docs are available if you
have a source installation, via godoc launchpad.net/juju-core/state/api.
Parameter documentation is available from godoc
launchpad.net/juju-core/state/api/params

The python juju client exposes most of the api and might be useful as an
example. There's a branch in lp:juju-deployer/darwin that demonstrates
utilization of it.

2> Can I talk to the state server just with the API only or do I need juju
> installed on my machine?
>

You can talk directly to the api servers, you do need environment
credentials (admin-secret) from the environments.yaml config to use the api.


> 3> When should be expect to have redundancy for the state server available?
>

I believe its on the roadmap for late summer.

cheers,
Kapil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20130624/7988861d/attachment.html>


More information about the Juju mailing list