On Thu, Jun 02, 2011 at 05:20:32PM +0100, Mark McLoughlin wrote:
> Hi Tomas,
>
> This looks great. I just talked through on IRC what Conductor needs, so
> I thought I'd re-post here:
>
> 1) in the UI for launching an instance (i.e. no deployable involved),
> we need to have a list of images for the user to choose from
>
> that does sound like an ActiveRecord thing that queries iwhd
> and the query is very simple (ignoring environments for now) e.g.
>
> $> curl
http://localhost:9090/images
>
> or, if you want to be pedantic
>
> $> curl -d '$object_type == "image"'
http://localhost:9090/images/_query
>
> that gives you a list of UUIDs, then you want to query each image
> to get the image XML that will contain a name and description for
> the image so e.g.
>
> $> curl
http://localhost:9090/images/$uuid
Hmm... Are we in fact having a UI for launching an instance, or is it
just "paste in the URL of the image you want to launch"?
We don't have any UX for the list of images to choose from, yet...
Ah, I didn't realize that
Pasting in a URL doesn't make as much sense as for a deployable, since
it's not just a URL to a random file. Perhaps just paste in the UUID for
now?
Cheers,
Mark.