Hi 隋震, *> Is there a architecture diagram for jclouds* *how to make jclouds to support a cloud service by other vendor?* I don't think there's an *architecture diagram* per se, but the link[1] provided by Andrew generally describes the high-level view of jclouds.
Assuming Aliyun exposes it's compute API via HTTP, then the jclouds-labs[2] contains similar provider/API implementations under incubation (I followed DigitalOcean and Docker before). Here is where you create your PR for aliyun as well. Developing the provider won't necessarily require you to *master* the jclouds architecture. Nevertheless let me try to describe stuff you're going to implement (not exhaustive): - ComputeServiceAdapter[3] - *Metadata[4] - declares modules (dependencies, powered by guice) - *Functions[5] - to convert aliyun-domain to jclouds-specific domain - Aliyun-specific API, like described here [6] Finally, I suggest implementing simpler APIs first, i.e.: Images or HardwareProfile APIs in your first PR. This way, reviewers can then guide using comments, code parts that need to change. HTH. Happy Holidays! RJ [1] http://jclouds.apache.org/start/concepts [2] https://github.com/jclouds/jclouds-labs [3] https://github.com/jclouds/jclouds/blob/master/compute/src/main/java/org/jclouds/compute/ComputeServiceAdapter.java [4] https://github.com/jclouds/jclouds-labs/blob/master/digitalocean2/src/main/java/org/jclouds/digitalocean2/DigitalOcean2ApiMetadata.java [5] https://github.com/jclouds/jclouds-labs/tree/master/digitalocean2/src/main/java/org/jclouds/digitalocean2/compute/functions [6] https://github.com/jclouds/jclouds-labs/blob/master/digitalocean2/src/main/java/org/jclouds/digitalocean2/DigitalOcean2Api.java On Fri, Dec 25, 2015 at 11:15 PM Andrew Phillips <andr...@apache.org> wrote: > Forwarding to dev@j.a.o... > > -------- Original Message -------- > Subject: 回复: what difference between jclouds providers and jclouds apis > Date: 2015-12-25 14:46 > From: "隋震" <183941...@qq.com> > To: "Andrew Phillips" <andr...@apache.org> > > Hi Andrew > Merry Christmas! > Thank you for your prompt reply. I am working for Aliyun which > provides cloud compute platform either. We want to extend the jclouds to > support Aliyun cloud service. > After reading the document, I want to learn about the architecture of > jclouds. Is there a architecture diagram for jclouds and how to make > jclouds to support a cloud service by other vendor ? > > Regards > > ------------------ 原始邮件 ------------------ > > 发件人: "Andrew Phillips";<andr...@apache.org>; > 发送时间: 2015年12月24日(星期四) 晚上7:11 > 收件人: "dev"<dev@jclouds.apache.org>; > 抄送: "隋震"<183941...@qq.com>; > 主题: Re: what difference between jclouds providers and jclouds apis > > Hi 隋震 > > The "core concepts" document should hopefully help explain contexts, > APIs and providers: > > http://jclouds.apache.org/start/concepts/ > > If you still have questions after reading that, please let us know. Does > > your cloud system implement a "standard" API such as S3 or EC2, or does > it have a different interface? > > Regards > > ap > > On 2015-12-24 09:25, 隋震 wrote: > > Dear jclouds team. > > > > I want to develop an java sdk for my own cloud system. > > ContextBuilder required name of provider to build an API or view, > > what difference between jclouds providers and jclouds apis. > > > > > > Looking forward to your reply, thanks. > > > > > > > > Name:zhen sui > > Location:China > > Mail:183941...@qq.com >