You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jclouds.apache.org by Timur Sungur <ti...@gmail.com> on 2013/10/23 11:54:08 UTC

New Blobstore Provider Implementation

Hi Everbody,

I started a blob store implementation [1] for Orion [2] based providers.

Could you please tell me how do you accept contributions and what still
needs to be done so that this contribution can also reside with existing
providers?

Regards,

Timur

[1] https://github.com/timur87/orion-jclouds
[2] http://www.eclipse.org/orion/

Re: New Blobstore Provider Implementation

Posted by Ignasi <ig...@gmail.com>.
Hi Timur!

About the procedure, take a look at the url Noorul just sent.

Once you've read that (it is quite short):
New providers start in what we call 'labs', and once they are stable
enough we promote them to the main repo (being in labs does not mean
the providers is unusable, though), so the pull request should be
opened to the jclouds-labs repo [1].


[1] https://github.com/jclouds/jclouds-labs

On 23 October 2013 11:59, Noorul Islam K M <no...@noorul.com> wrote:
> Timur Sungur <ti...@gmail.com> writes:
>
>> Hi Everbody,
>>
>> I started a blob store implementation [1] for Orion [2] based providers.
>>
>> Could you please tell me how do you accept contributions and what still
>> needs to be done so that this contribution can also reside with existing
>> providers?
>>
>
> https://wiki.apache.org/jclouds/How%20to%20Contribute
>
> I hope that helps.
>
> Thanks and Regards
> Noorul

Re: New Blobstore Provider Implementation

Posted by Noorul Islam K M <no...@noorul.com>.
Timur Sungur <ti...@gmail.com> writes:

> Hi Everbody,
>
> I started a blob store implementation [1] for Orion [2] based providers.
>
> Could you please tell me how do you accept contributions and what still
> needs to be done so that this contribution can also reside with existing
> providers?
>

https://wiki.apache.org/jclouds/How%20to%20Contribute

I hope that helps.

Thanks and Regards
Noorul

Re: New Blobstore Provider Implementation

Posted by Noorul Islam K M <no...@noorul.com>.
Ignasi <ig...@gmail.com> writes:

> Well spotted Noorul,
>
> There are some links in the development page [1] that should point to
> the wiki. The "Contributing to Documentation" already points to the
> wiki, but not the "Contributing to the code base" one.
> IMO that page should be deleted and the link should point to the page
> in the wiki (as it is documentation for the jclouds development
> itself).
>
> Wanna raise a PR? :)
>

Sure! I will do that.

Thanks and Regards
Noorul

>
> [1] http://jclouds.incubator.apache.org/documentation/devguides/
>
> On 23 October 2013 12:14, Noorul Islam K M <no...@noorul.com> wrote:
>> Andrew Phillips <ap...@qrmedia.com> writes:
>>
>>> Hi Timur
>>>
>>>> Could you please tell me how do you accept contributions and what still
>>>> needs to be done so that this contribution can also reside with existing
>>>> providers?
>>>
>>> Thanks for contributing! The basic details can be found on the  "Contributing to
>>> jclouds" page [1]; one important thing to note for  new providers is
>>> that the
>>
>> Why do we have this information @ two places. If we update at one place
>> we could miss other.
>>
>> Thanks and Regards
>> Noorul
>>
>>> pull request should be opened against the  jclouds-labs repository [2].
>>>
>>> For some very useful style and implementation tips, see Ignasi's  recent comment
>>> to a different "new provider" pull request [3]. Thanks  again, Ignasi!
>>>
>>> Regards
>>>
>>> ap
>>>
>>> [1]
>>> http://jclouds.incubator.apache.org/documentation/devguides/contributing-to-jclouds/
>>> [2] https://github.com/jclouds/jclouds-labs
>>> [3] https://github.com/jclouds/jclouds/pull/188#issuecomment-26856785

Re: New Blobstore Provider Implementation

Posted by Ignasi <ig...@gmail.com>.
Well spotted Noorul,

There are some links in the development page [1] that should point to
the wiki. The "Contributing to Documentation" already points to the
wiki, but not the "Contributing to the code base" one.
IMO that page should be deleted and the link should point to the page
in the wiki (as it is documentation for the jclouds development
itself).

Wanna raise a PR? :)


[1] http://jclouds.incubator.apache.org/documentation/devguides/

On 23 October 2013 12:14, Noorul Islam K M <no...@noorul.com> wrote:
> Andrew Phillips <ap...@qrmedia.com> writes:
>
>> Hi Timur
>>
>>> Could you please tell me how do you accept contributions and what still
>>> needs to be done so that this contribution can also reside with existing
>>> providers?
>>
>> Thanks for contributing! The basic details can be found on the  "Contributing to
>> jclouds" page [1]; one important thing to note for  new providers is
>> that the
>
> Why do we have this information @ two places. If we update at one place
> we could miss other.
>
> Thanks and Regards
> Noorul
>
>> pull request should be opened against the  jclouds-labs repository [2].
>>
>> For some very useful style and implementation tips, see Ignasi's  recent comment
>> to a different "new provider" pull request [3]. Thanks  again, Ignasi!
>>
>> Regards
>>
>> ap
>>
>> [1]
>> http://jclouds.incubator.apache.org/documentation/devguides/contributing-to-jclouds/
>> [2] https://github.com/jclouds/jclouds-labs
>> [3] https://github.com/jclouds/jclouds/pull/188#issuecomment-26856785

Re: New Blobstore Provider Implementation

Posted by Noorul Islam K M <no...@noorul.com>.
Andrew Phillips <ap...@qrmedia.com> writes:

> Hi Timur
>
>> Could you please tell me how do you accept contributions and what still
>> needs to be done so that this contribution can also reside with existing
>> providers?
>
> Thanks for contributing! The basic details can be found on the  "Contributing to
> jclouds" page [1]; one important thing to note for  new providers is
> that the

Why do we have this information @ two places. If we update at one place
we could miss other.

Thanks and Regards
Noorul

> pull request should be opened against the  jclouds-labs repository [2].
>
> For some very useful style and implementation tips, see Ignasi's  recent comment
> to a different "new provider" pull request [3]. Thanks  again, Ignasi!
>
> Regards
>
> ap
>
> [1]
> http://jclouds.incubator.apache.org/documentation/devguides/contributing-to-jclouds/
> [2] https://github.com/jclouds/jclouds-labs
> [3] https://github.com/jclouds/jclouds/pull/188#issuecomment-26856785

Re: New Blobstore Provider Implementation

Posted by Timur Sungur <ti...@gmail.com>.
Hi everyone,

I made a pull request for the Orion BlobStore provider.

Regards,

Timur

On Sun, Nov 24, 2013 at 2:10 PM, Timur Sungur <ti...@gmail.com> wrote:
> Hi Ignasi,
>
> By cumbersome and not good, I mean requires lots of configurations for
> simple serializations and additional coding to compared to Jackson and
> still after those the results can be not as expected :-)
>
> Thanks for the help offer, I will contact you if the problem persists.
>
> Regards,
>
> Timur
>
> On Sun, Nov 24, 2013 at 11:22 AM, Ignasi <ig...@gmail.com> wrote:
>> Could you detail what "cumbersome" and "not good" mean in your case and
>> what issues are you experiencing?
>>
>> Gson is a core dependency in jclouds and currently there is not an easy way
>> to change that. Many components assume Gson, and I'm not sure adding
>> Jackson just for a single provider would be a good idea (even if the dep
>> resides only in the provider). We should try to have one common way to
>> serialize/deserialize (this gains importance when having to maintain all
>> providers and deal with the particularities of each one).
>>
>> Serialization should be as easy as building the java domain objects
>> matching the json model. Are you having trouble with that?
>>
>> I can help with this either in this thread or in the IRC if you prefer
>> (you'll find me as nacx).
>>
>> HTH!
>>
>> Ignasi
>> El 24/11/2013 07:57, "Timur Sungur" <ti...@gmail.com> escribió:
>>
>>> Hi,
>>>
>>> I have a short question. Can I add Jackson dependency for json processing?
>>>
>>> Using Gson is more cumbersome and results are not that good with
>>> respect to Jackson.
>>>
>>> I'm using it to serialize and de-serialize domain specific objects.
>>>
>>> Regards,
>>>
>>> Timur
>>>
>>>
>>> On Fri, Oct 25, 2013 at 4:11 PM, Everett Toews
>>> <ev...@rackspace.com> wrote:
>>> > I don't know if this was from the same person but the same question came
>>> up on StackOverflow [1]. I answered it there and most of it was cribbed
>>> from Ignasi comments [3]. Thanks again, Ignasi!
>>> >
>>> > I invite you all to edit my answer on SO and when were happy with it,
>>> I'll copy it into the wiki and maybe we can get this question answered once
>>> and for all. ;)
>>> >
>>> > Thanks,
>>> > Everet
>>> >
>>> > [1]
>>> http://stackoverflow.com/questions/19571901/information-about-jclouds/19592104#19592104
>>> >
>>> >
>>> > On Oct 23, 2013, at 5:06 AM, Andrew Phillips wrote:
>>> >
>>> >> Hi Timur
>>> >>
>>> >>> Could you please tell me how do you accept contributions and what still
>>> >>> needs to be done so that this contribution can also reside with
>>> existing
>>> >>> providers?
>>> >>
>>> >> Thanks for contributing! The basic details can be found on the
>>> "Contributing to jclouds" page [1]; one important thing to note for new
>>> providers is that the pull request should be opened against the
>>> jclouds-labs repository [2].
>>> >>
>>> >> For some very useful style and implementation tips, see Ignasi's recent
>>> comment to a different "new provider" pull request [3]. Thanks again,
>>> Ignasi!
>>> >>
>>> >> Regards
>>> >>
>>> >> ap
>>> >>
>>> >> [1]
>>> http://jclouds.incubator.apache.org/documentation/devguides/contributing-to-jclouds/
>>> >> [2] https://github.com/jclouds/jclouds-labs
>>> >> [3] https://github.com/jclouds/jclouds/pull/188#issuecomment-26856785
>>> >
>>>

Re: New Blobstore Provider Implementation

Posted by Timur Sungur <ti...@gmail.com>.
Hi Ignasi,

By cumbersome and not good, I mean requires lots of configurations for
simple serializations and additional coding to compared to Jackson and
still after those the results can be not as expected :-)

Thanks for the help offer, I will contact you if the problem persists.

Regards,

Timur

On Sun, Nov 24, 2013 at 11:22 AM, Ignasi <ig...@gmail.com> wrote:
> Could you detail what "cumbersome" and "not good" mean in your case and
> what issues are you experiencing?
>
> Gson is a core dependency in jclouds and currently there is not an easy way
> to change that. Many components assume Gson, and I'm not sure adding
> Jackson just for a single provider would be a good idea (even if the dep
> resides only in the provider). We should try to have one common way to
> serialize/deserialize (this gains importance when having to maintain all
> providers and deal with the particularities of each one).
>
> Serialization should be as easy as building the java domain objects
> matching the json model. Are you having trouble with that?
>
> I can help with this either in this thread or in the IRC if you prefer
> (you'll find me as nacx).
>
> HTH!
>
> Ignasi
> El 24/11/2013 07:57, "Timur Sungur" <ti...@gmail.com> escribió:
>
>> Hi,
>>
>> I have a short question. Can I add Jackson dependency for json processing?
>>
>> Using Gson is more cumbersome and results are not that good with
>> respect to Jackson.
>>
>> I'm using it to serialize and de-serialize domain specific objects.
>>
>> Regards,
>>
>> Timur
>>
>>
>> On Fri, Oct 25, 2013 at 4:11 PM, Everett Toews
>> <ev...@rackspace.com> wrote:
>> > I don't know if this was from the same person but the same question came
>> up on StackOverflow [1]. I answered it there and most of it was cribbed
>> from Ignasi comments [3]. Thanks again, Ignasi!
>> >
>> > I invite you all to edit my answer on SO and when were happy with it,
>> I'll copy it into the wiki and maybe we can get this question answered once
>> and for all. ;)
>> >
>> > Thanks,
>> > Everet
>> >
>> > [1]
>> http://stackoverflow.com/questions/19571901/information-about-jclouds/19592104#19592104
>> >
>> >
>> > On Oct 23, 2013, at 5:06 AM, Andrew Phillips wrote:
>> >
>> >> Hi Timur
>> >>
>> >>> Could you please tell me how do you accept contributions and what still
>> >>> needs to be done so that this contribution can also reside with
>> existing
>> >>> providers?
>> >>
>> >> Thanks for contributing! The basic details can be found on the
>> "Contributing to jclouds" page [1]; one important thing to note for new
>> providers is that the pull request should be opened against the
>> jclouds-labs repository [2].
>> >>
>> >> For some very useful style and implementation tips, see Ignasi's recent
>> comment to a different "new provider" pull request [3]. Thanks again,
>> Ignasi!
>> >>
>> >> Regards
>> >>
>> >> ap
>> >>
>> >> [1]
>> http://jclouds.incubator.apache.org/documentation/devguides/contributing-to-jclouds/
>> >> [2] https://github.com/jclouds/jclouds-labs
>> >> [3] https://github.com/jclouds/jclouds/pull/188#issuecomment-26856785
>> >
>>

Re: New Blobstore Provider Implementation

Posted by Ignasi <ig...@gmail.com>.
Could you detail what "cumbersome" and "not good" mean in your case and
what issues are you experiencing?

Gson is a core dependency in jclouds and currently there is not an easy way
to change that. Many components assume Gson, and I'm not sure adding
Jackson just for a single provider would be a good idea (even if the dep
resides only in the provider). We should try to have one common way to
serialize/deserialize (this gains importance when having to maintain all
providers and deal with the particularities of each one).

Serialization should be as easy as building the java domain objects
matching the json model. Are you having trouble with that?

I can help with this either in this thread or in the IRC if you prefer
(you'll find me as nacx).

HTH!

Ignasi
El 24/11/2013 07:57, "Timur Sungur" <ti...@gmail.com> escribió:

> Hi,
>
> I have a short question. Can I add Jackson dependency for json processing?
>
> Using Gson is more cumbersome and results are not that good with
> respect to Jackson.
>
> I'm using it to serialize and de-serialize domain specific objects.
>
> Regards,
>
> Timur
>
>
> On Fri, Oct 25, 2013 at 4:11 PM, Everett Toews
> <ev...@rackspace.com> wrote:
> > I don't know if this was from the same person but the same question came
> up on StackOverflow [1]. I answered it there and most of it was cribbed
> from Ignasi comments [3]. Thanks again, Ignasi!
> >
> > I invite you all to edit my answer on SO and when were happy with it,
> I'll copy it into the wiki and maybe we can get this question answered once
> and for all. ;)
> >
> > Thanks,
> > Everet
> >
> > [1]
> http://stackoverflow.com/questions/19571901/information-about-jclouds/19592104#19592104
> >
> >
> > On Oct 23, 2013, at 5:06 AM, Andrew Phillips wrote:
> >
> >> Hi Timur
> >>
> >>> Could you please tell me how do you accept contributions and what still
> >>> needs to be done so that this contribution can also reside with
> existing
> >>> providers?
> >>
> >> Thanks for contributing! The basic details can be found on the
> "Contributing to jclouds" page [1]; one important thing to note for new
> providers is that the pull request should be opened against the
> jclouds-labs repository [2].
> >>
> >> For some very useful style and implementation tips, see Ignasi's recent
> comment to a different "new provider" pull request [3]. Thanks again,
> Ignasi!
> >>
> >> Regards
> >>
> >> ap
> >>
> >> [1]
> http://jclouds.incubator.apache.org/documentation/devguides/contributing-to-jclouds/
> >> [2] https://github.com/jclouds/jclouds-labs
> >> [3] https://github.com/jclouds/jclouds/pull/188#issuecomment-26856785
> >
>

Re: New Blobstore Provider Implementation

Posted by Timur Sungur <ti...@gmail.com>.
Hi,

I have a short question. Can I add Jackson dependency for json processing?

Using Gson is more cumbersome and results are not that good with
respect to Jackson.

I'm using it to serialize and de-serialize domain specific objects.

Regards,

Timur


On Fri, Oct 25, 2013 at 4:11 PM, Everett Toews
<ev...@rackspace.com> wrote:
> I don't know if this was from the same person but the same question came up on StackOverflow [1]. I answered it there and most of it was cribbed from Ignasi comments [3]. Thanks again, Ignasi!
>
> I invite you all to edit my answer on SO and when were happy with it, I'll copy it into the wiki and maybe we can get this question answered once and for all. ;)
>
> Thanks,
> Everet
>
> [1] http://stackoverflow.com/questions/19571901/information-about-jclouds/19592104#19592104
>
>
> On Oct 23, 2013, at 5:06 AM, Andrew Phillips wrote:
>
>> Hi Timur
>>
>>> Could you please tell me how do you accept contributions and what still
>>> needs to be done so that this contribution can also reside with existing
>>> providers?
>>
>> Thanks for contributing! The basic details can be found on the "Contributing to jclouds" page [1]; one important thing to note for new providers is that the pull request should be opened against the jclouds-labs repository [2].
>>
>> For some very useful style and implementation tips, see Ignasi's recent comment to a different "new provider" pull request [3]. Thanks again, Ignasi!
>>
>> Regards
>>
>> ap
>>
>> [1] http://jclouds.incubator.apache.org/documentation/devguides/contributing-to-jclouds/
>> [2] https://github.com/jclouds/jclouds-labs
>> [3] https://github.com/jclouds/jclouds/pull/188#issuecomment-26856785
>

Re: New Blobstore Provider Implementation

Posted by Everett Toews <ev...@RACKSPACE.COM>.
I don't know if this was from the same person but the same question came up on StackOverflow [1]. I answered it there and most of it was cribbed from Ignasi comments [3]. Thanks again, Ignasi!

I invite you all to edit my answer on SO and when were happy with it, I'll copy it into the wiki and maybe we can get this question answered once and for all. ;)

Thanks,
Everet

[1] http://stackoverflow.com/questions/19571901/information-about-jclouds/19592104#19592104


On Oct 23, 2013, at 5:06 AM, Andrew Phillips wrote:

> Hi Timur
> 
>> Could you please tell me how do you accept contributions and what still
>> needs to be done so that this contribution can also reside with existing
>> providers?
> 
> Thanks for contributing! The basic details can be found on the "Contributing to jclouds" page [1]; one important thing to note for new providers is that the pull request should be opened against the jclouds-labs repository [2].
> 
> For some very useful style and implementation tips, see Ignasi's recent comment to a different "new provider" pull request [3]. Thanks again, Ignasi!
> 
> Regards
> 
> ap
> 
> [1] http://jclouds.incubator.apache.org/documentation/devguides/contributing-to-jclouds/
> [2] https://github.com/jclouds/jclouds-labs
> [3] https://github.com/jclouds/jclouds/pull/188#issuecomment-26856785


Re: New Blobstore Provider Implementation

Posted by Andrew Phillips <ap...@qrmedia.com>.
Hi Timur

> Could you please tell me how do you accept contributions and what still
> needs to be done so that this contribution can also reside with existing
> providers?

Thanks for contributing! The basic details can be found on the  
"Contributing to jclouds" page [1]; one important thing to note for  
new providers is that the pull request should be opened against the  
jclouds-labs repository [2].

For some very useful style and implementation tips, see Ignasi's  
recent comment to a different "new provider" pull request [3]. Thanks  
again, Ignasi!

Regards

ap

[1]  
http://jclouds.incubator.apache.org/documentation/devguides/contributing-to-jclouds/
[2] https://github.com/jclouds/jclouds-labs
[3] https://github.com/jclouds/jclouds/pull/188#issuecomment-26856785

Re: New Blobstore Provider Implementation

Posted by Adrian Cole <ad...@gmail.com>.
Ps when you get to the point of adapting the orion api to BlobStore, have a
look at this commit.

https://github.com/jclouds/jclouds-labs-openstack/commit/cbac63e184d6e24ba3503cb7d95edb6e2df6f9d
 On Oct 23, 2013 2:54 AM, "Timur Sungur" <ti...@gmail.com> wrote:

> Hi Everbody,
>
> I started a blob store implementation [1] for Orion [2] based providers.
>
> Could you please tell me how do you accept contributions and what still
> needs to be done so that this contribution can also reside with existing
> providers?
>
> Regards,
>
> Timur
>
> [1] https://github.com/timur87/orion-jclouds
> [2] http://www.eclipse.org/orion/
>