Hi,
Ok I sent a pull request just now. I'm very happy to contribute.

Regarding the returned json, we need to put into mongoDb it. We try to create a 
federeted system between openstack and opennebula.

Please could you send me the link to the WIP documentation?

Thankyou a lot
Bests,
Antonio
________________________________
Da: Ignasi Barrera<mailto:n...@apache.org>
Inviato: ‎03/‎01/‎2016 08:31
A: dev@jclouds.apache.org<mailto:dev@jclouds.apache.org>
Cc: Andrew Phillips<mailto:andr...@apache.org>
Oggetto: RE: How to modify jclouds ServerApi

As Andrew says, implementations are dynamically generated at runtime so
there is no default impl you can look at. There is a WIP documentation of
the available annotations here [1] but is incomplete. Use it as a starting
point to understand the jclouds declarative approach.

If you are extending the api with methods that would be useful to others
(the token ones) we would highly appreciate a pull request.

Regarding the returned json, could you share which is the use case? You can
easily change/add that by making the method return a String (jclouds would
simply put the response body in it) or an HttpResponse (you'll get the
entire raw http response).

I.
El 2/1/2016 17:57, "Antonio Galletta" <anto...@hotmail.it> escribió:

> Hi,
> thank you for your quick answer.
> I interested just to patch my version adding new functionalities (for
> example I would to add the method getToken to TokenApi)
> and modifying the existing ones ( for example I woud to get the Json
> retrived by the server).Cheers,
> Antonio
>
>
>
> > Date: Sat, 2 Jan 2016 16:20:32 +0000
> > From: andr...@apache.org
> > To: dev@jclouds.apache.org
> > CC: anto...@hotmail.it
> > Subject: Re: How to modify jclouds ServerApi
> >
> > Hi Antonio
> >
> > Are you interested in submitted a pull request with a change to the
> > ServerApi? Or would you just like to "patch" your version of jclouds in
> > your own application?
> >
> > In jclouds, interfaces like ServerApi are not implemented explicitly
> > anywhere - the implementation is generated on the basis of the
> > annotations. What is the change you are looking to make?
> >
> > Regards
> >
> > ap
> >
> > On 2016-01-02 16:13, Antonio Galletta wrote:
> > > Hi,I would like to modify some functionalities of ServerApi.Into the
> > > package org.jclouds.openstack.nova.v2_0.features there is the
> > > interface ServerApi, which class implements this interface?For
> > > example, I should to modify the method get. How can I achieve this
> > > target ?
> > > Bests,Antonio
>

Reply via email to