Hi, Thanks for the response. The issue was with with the authentication header. I was not encoding the username:password string.
Thanks, Prakhar On Thu, Sep 22, 2011 at 4:41 PM, Tino Vazquez <[email protected]> wrote: > Hi there, > > Try hashing the password using SHA1. > > Regards, > > -Tino > > -- > Constantino Vázquez Blanco | dsa-research.org/tinova > Virtualization Technology Engineer / Researcher > OpenNebula Toolkit | opennebula.org > > > > On Thu, Sep 22, 2011 at 7:59 AM, Prakhar Srivastava > <[email protected]> wrote: > > Hi, > > Thanks for the response. I tried to use the REST service with data > formatted > > in JSON using HttpBuilder. I would like to know the authentication method > > for using the service. When I tried to use the auth.basic method for > setting > > up userid and password, it return 404 Unauthorized error. But I can see > that > > the OzonesClient.rb is using the auth.basic to set the credentials. > > Any idea if I am doing anything wrong? > > My objective is to create VDC using the REST services. > > Thanks, > > Prakhar > > > > On Sun, Sep 18, 2011 at 3:36 AM, Ruben S. Montero <[email protected]> > > wrote: > >> > >> Hi, > >> Actually, oZones/VDC is implemented as a REST service with data > formatted > >> in JSON so it should be pretty easy to interact with the module though > >> anything that talks HTTP. > >> We plan to provide a wrapper API for the service with bindings in JAVA > and > >> Ruby [1]. In the meantime, you may want to take a look to the ruby > client > >> and web app to develop apps for the OpenNebula Zones and VDCs service > [2] > >> (Developer information for the REST API is also to be written...) > >> Cheers > >> Ruben > >> [1] http://dev.opennebula.org/issues/789 > >> [2] Client File at src/ozones/Client/lib/OZonesClient.rb > >> REST Service implemented at src/ozones/Server/ozones-server.rb > >> > >> On Thu, Sep 15, 2011 at 3:30 PM, Prakhar Srivastava > >> <[email protected]> wrote: > >>> > >>> Hi, > >>> I was checking the Opennebula 2.9.80 and really liked the VDC feature. > I > >>> wanted to know if it is possible to create VDC using Cloud APIs. I > checked > >>> the Opennebula Java API, it seems they doesn't have support for it. > >>> Is there any other way one can create VDC except onevdc command ?? > >>> Prakhar > >>> > >>> _______________________________________________ > >>> Users mailing list > >>> [email protected] > >>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >>> > >> > >> > >> > >> -- > >> Dr. Ruben Santiago Montero > >> Associate Professor (Profesor Titular), Complutense University of Madrid > >> > >> URL: http://dsa-research.org/doku.php?id=people:ruben > >> Weblog: http://blog.dsa-research.org/?author=7 > > > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > > > >
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
