Re: AWS DynamoDB as a Sling resource

2015-01-27 Thread Bertrand Delacretaz
Hi, On Mon, Jan 26, 2015 at 5:05 PM, Bruce Edge bruce.e...@nextissuemedia.com wrote: ...Could you elaborate on what you mean by run Sling on Oak² as opposed to configuring sling to use OAK (which I would also be interested in)?... I mean configuring Sling to use Oak ;-) The simplest way to

Re: AWS DynamoDB as a Sling resource

2015-01-26 Thread connuser1 connuser1
@Bruce I do see the patch applied and the aws-ext is present on the jackrabbit trunk. Please see [0] @Bertrand, thanks for pointing to the jackrabbit-aws-ext. I have configured it as specified at [1] . Can you please cite an example on how to use it ? Specifically, how to get its instance and

Re: AWS DynamoDB as a Sling resource

2015-01-26 Thread Bertrand Delacretaz
Hi, On Mon, Jan 26, 2015 at 1:33 PM, connuser1 connuser1 connus...@gmail.com wrote: ...@Bertrand, thanks for pointing to the jackrabbit-aws-ext. I have configured it as specified at [1] . Can you please cite an example on how to use it ? Specifically, how to get its instance and then use it in

Re: AWS DynamoDB as a Sling resource

2015-01-26 Thread Bruce Edge
Hi, On Mon, Jan 26, 2015 at 1:33 PM, connuser1 connuser1 connus...@gmail.com wrote: ...@Bertrand, thanks for pointing to the jackrabbit-aws-ext. I have configured it as specified at [1] . Can you please cite an example on how to use it ? Specifically, how to get its instance and then use it in

Re: AWS DynamoDB as a Sling resource

2015-01-26 Thread Bruce Edge
...Are you using S3 for blob storage? Not yet but that's what I plan to do. I am writing a very basic S3 resource provider... Note that http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-aws-ext implements S3 storage for Jackrabbit, you might be able to reuse some of that. I¹m a bit

Re: AWS DynamoDB as a Sling resource

2015-01-25 Thread connuser1 connuser1
Thanks for your suggestion on adding tests. I'll work on those. I have added a few integration tests to validate the behavior. I am using 'Sling Testing Tools' as specified at [0]. The integration tests are run via HTTP requests against a Sling test instance that is started during the Maven build

Re: AWS DynamoDB as a Sling resource

2015-01-22 Thread connuser1 connuser1
Hi Bruce Are you using S3 for blob storage? Not yet but that's what I plan to do. I am writing a very basic S3 resource provider to just get things started. I am not sure if there is something which already exists which I can reuse. I would surely share whenever I have some more details on this.

Re: AWS DynamoDB as a Sling resource

2015-01-21 Thread Bruce Edge
Hi I have written a custom resource provider for AWS's dynamoDB [0] for accessing its data as a sling resource. You can find the implementation at [1]. Right now it just supports read access to dynamodb but I would be adding write support soon to it. The implementation is quite basic. It would

Re: AWS DynamoDB as a Sling resource

2015-01-21 Thread connuser1 connuser1
From 1.9.0 on you can use only the SDK components that you need Thanks Robert for pointing that out. I was having som bundling issues earlier which are now resolved. I have removed the aws jdk from github and now using only the required aws modules from maven central repo. On Wed, Jan 21, 2015 at

Re: AWS DynamoDB as a Sling resource

2015-01-21 Thread connuser1 connuser1
Hi Robert Yes, I had to add the aws java sdk jar on purpose. The jar size from 1.9 onwards in maven central is just a few kilobytes while it is around 12-13 MB. when downloaded from aws site. Several of the classes that I use are missing if I rely on the maven central's jar. I did not explore it

Re: AWS DynamoDB as a Sling resource

2015-01-21 Thread connuser1 connuser1
Thanks Dominic and Bertrand for your valuable comments. This implementation is an offshoot of the work that I am doing currently in my job and my intent is to share any generic part which could help others. I am quite enthusiastic about maintaining and improving it as I would have to do it anyway

Re: AWS DynamoDB as a Sling resource

2015-01-21 Thread Robert Munteanu
On Wed, Jan 21, 2015 at 9:06 AM, connuser1 connuser1 connus...@gmail.com wrote: It would be very helpful if you could please review it and add your valuable comments to it. Looks cool! I did not have time to look into the implementation in detail, but I noticed that the jar that you're

Re: AWS DynamoDB as a Sling resource

2015-01-21 Thread Robert Munteanu
On Wed, Jan 21, 2015 at 12:58 PM, Robert Munteanu romb...@apache.org wrote: On Wed, Jan 21, 2015 at 12:52 PM, connuser1 connuser1 connus...@gmail.com wrote: Hi Robert Yes, I had to add the aws java sdk jar on purpose. The jar size from 1.9 onwards in maven central is just a few kilobytes

Re: AWS DynamoDB as a Sling resource

2015-01-21 Thread Robert Munteanu
On Wed, Jan 21, 2015 at 12:52 PM, connuser1 connuser1 connus...@gmail.com wrote: Hi Robert Yes, I had to add the aws java sdk jar on purpose. The jar size from 1.9 onwards in maven central is just a few kilobytes while it is around 12-13 MB. when downloaded from aws site. Several of the

Re: AWS DynamoDB as a Sling resource

2015-01-21 Thread Dominik Süß
Hi Connuser1, it would be really great if you could give us some context. Is this about a potential contribution to Sling, will this be a standalong OS project that you'll maintain (and if yet who else will take care of maintenance over the long run) and what scenarios would you like to cover

Re: AWS DynamoDB as a Sling resource

2015-01-21 Thread Bertrand Delacretaz
Hi, On Wed, Jan 21, 2015 at 10:24 AM, Dominik Süß dominik.su...@gmail.com wrote: ...I think this could be a great contribution to Sling as it opens new options and could make Sling attractive to people yet not having checked out the power of Sling yet - but there needs some commitment to