Hi Dario

On the meantime I wrote a first test to connect to deltacloud, which
connects to Amazon and then retrieves the list of images, and I already
obtained weird results.

The connection works OK, but I cannot retrieve the images which I own.
The authentication however does not seems to be the problem, since I
obtain a huge list of available images (some owned by Amazon, some I
don't know by whom) which I wouldn't get if the authentication was not
successful.
To do so I call these two methods of Class DeltaCloudClient:
DeltaCloudClientImpl(String url, String username, String password)
listImages()

Any clues?

I'm not completely sure about the API any more (~2y since I dealt with the code), but as far as I remember, this would not just return you the images you own. It would return you all images that you may use. Furhtermore the REST service would not return the complete list since it could be insanely huge. Afaik none of the possible solutions to improve this were implemented in the backend: query, filter, paging etc.
Marios: correct?
As far as I remember you'd be strongly encouraged to know the name of your image and then query the specific one via

DeltaCloudClient# listImages(String imageId)

Hope this helps.


[1] https://issues.apache.org/jira/browse/DTACLOUD
[2]
http://www.youtube.com/watch?feature=player_embedded&v=cUC96SdQjaE#t=1827s

If I can get to use this client I could provide bugs reports and usage
examples.

Thanks in advance,
Dario.


Reply via email to