backup API in 1.20

John Meinel john at arbash-meinel.com
Wed Jul 30 06:25:23 UTC 2014


So as discussed, I think we still want to support a HTTP GET based API for
actually downloading the content to the client. And the CLI can do steps
like:
 RPC to a request to create a backup (either this is synchronous and
returns a URL, or the next step is to wait on the next request for when it
is done to get the URL)
 HTTP GET to download the backup .tar (.xz,,bz2,gz whatever)
put those bytes somewhere locally and then exit.

John
=:->


On Wed, Jul 30, 2014 at 6:24 AM, Menno Smits <menno.smits at canonical.com>
wrote:

>
>> But I'm a bit suspicious... would someone please confirm that we don't
>> have *any* released clients that use the POST API? The above is predicated
>> on that assumption.
>>
>
> The juju command line client hasn't yet seen changes to call the backup
> POST API. The work was seemingly being done "server first, then client"
> (which seem logical) and the client work didn't make the release (and isn't
> done even today).
>
> IMHO, Eric's proposal seems totally fine to me.
>
> --
> Juju-dev mailing list
> Juju-dev at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20140730/b321d07a/attachment.html>


More information about the Juju-dev mailing list