You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2015/05/20 18:22:08 UTC

[jira] [Commented] (SLING-4381) Sling NoSQL Resource Provider for Couchbase

    [ https://issues.apache.org/jira/browse/SLING-4381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14552598#comment-14552598 ] 

Stefan Seifert commented on SLING-4381:
---------------------------------------

Revision: 1680624

i added thee projects in contrib/nosql:
https://github.com/apache/sling/tree/trunk/contrib/nosql/generic
https://github.com/apache/sling/tree/trunk/contrib/nosql/couchbase-resourceprovider
https://github.com/apache/sling/tree/trunk/contrib/nosql/couchbase-client

as planned the implementation is split up in a generic part that can be used by all NoSQL resource providers and an implementation for couchbase. an additional project couchbase-client was needed, because the java couchbase client has an architecture that its "CouchbaseEnvironment" should be initialized statically only once per JVM. so different bundles that use the client can get one via a "CouchbaseClient" interface, and the resource provider is only one user of this.

with this it is quite easy to add addtional resource providers for other NoSQL databases. if i find the time i will add one for MongoDB as well based on this generic abstraction.

> Sling NoSQL Resource Provider for Couchbase
> -------------------------------------------
>
>                 Key: SLING-4381
>                 URL: https://issues.apache.org/jira/browse/SLING-4381
>             Project: Sling
>          Issue Type: New Feature
>          Components: Extensions
>            Reporter: Stefan Seifert
>            Assignee: Stefan Seifert
>            Priority: Minor
>
> we want to create a lightweight sling resource provider for using [Couchbase|http://www.couchbase.com/] as storage backend without the need to have an underlying JCR or Oak infrastructure. this is a similar approach like the [MongoDB resource provider|https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/mongodb].
> as [discussed in the mailing list|http://apache-sling.73963.n3.nabble.com/RT-Sling-Resource-Providers-for-NoSQL-databases-MongoDB-Couchbase-tt4046669.html] it would make sense to create a generic shared codebase for nosql resource providers. this shared module could be used for other NoSQL databases as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)