jclouds-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <ignasi.barr...@gmail.com>
Subject Re: Create new api
Date Mon, 21 Dec 2015 11:11:50 GMT
Using existing SDKs from jclouds has ben discussed several times, but
as Andrea said, that is not the right way to implement a provider. It
could be a valid and fast approach, but it comes at a price that we'll
pay when having to keep the code as much unified as possible with
other providers and apis, and to maintain the code when issues appear
in the libraries the provider relies on.

It is nor an arbitrary choice we've made; you can read more details
about the reasoning behind this approach in the discussion we had
regarding this topic for the initial contributions the Azure provider:

On 21 December 2015 at 10:03, Reijhanniel Jearl Campos
<devcsrj@gmail.com> wrote:
> Hi Antonio,
> When I started writing the jclouds API for ProfitBricks, I mostly referred
> to other existing project in the labs - specifically those from DigitalOcean
> <https://github.com/jclouds/jclouds-labs/tree/master/digitalocean2> and
> Docker <https://github.com/jclouds/jclouds-labs/tree/master/docker>, then
> keeping in mind the guidelines described in the wiki
> <https://cwiki.apache.org/confluence/display/JCLOUDS/Creating+a+New+API+or+Provider>
> (e.g.: practices, conventions, requirements).
> Tip: Make sure your first PR, is simple and small. Last year, I sent my
> first PR <https://github.com/jclouds/jclouds-labs/pull/72> which had tons
> of code, but had a hard time getting it merged. Implement  APIs one-by-one,
> and throughout the review process you'll get the hang of how jclouds works.
> The community is awesome; You can reach us via IRC
> <http://webchat.freenode.net/?channels=#jclouds>. :)
> Cheers,
> RJ
> On Mon, Dec 21, 2015 at 6:52 AM Antonio Galletta <anto-me@hotmail.it> wrote:
>> Hi,
>> We use a Java library to interact with ONE. We need to know how jClouds
>> should interact with our Java library. Which class we should extend or
>> interface to implement and so on...
>> Thank you a lot
>> Cheers
>> Antonio
>> > Date: Sat, 19 Dec 2015 01:24:25 +0000
>> > From: andrewp@apache.org
>> > To: anto-me@hotmail.it
>> > CC: dev@jclouds.apache.org
>> > Subject: RE: Create new api
>> >
>> > > I try to develop a compute Api.
>> >
>> > Ah, cool! What kind of a backend system are you planning to talk to? Is
>> > it exposed via an HTTP API (if so, XML or JSON), or do you have a Java
>> > or other library to talk to it, or..?
>> >
>> > Regards
>> >
>> > ap

View raw message