Hi Matt,
On Thu, 2011-09-22 at 13:25 -0400, Matt Wagner wrote:
Hi all,
There's been some discussion about the fact that "aeolus-image list
--images" is extremely slow. It's fine with a handful of images, but the
time required grows exponentially, so that by perhaps 25 images, the
command takes minutes or hours to run.
The problem is that we tried to implement associations like they existed
natively -- an Image has many Builds. But since iwhd stores this
information backwards from how we want it, we need to load ALL builds
and then match the one with our image_id in it.
Is the query syntax I described here any help?
https://fedorahosted.org/pipermail/aeolus-devel/2011-June/001986.html
i.e. to find all the builds for a given image_id
$> curl -d '$object_type == "build" && $image ==
"${image_id}"'
http://localhost:9090/builds/
Cheers,
Mark.