Apache Sling NoSQL Couchbase Resource Provider

Clone this repo:
  1. 9775795 SLING-7245 - Validate pull requests using Jenkins by Robert Munteanu · 9 months ago master
  2. 2a770b0 trivial: added license header to *.md files by Radu Cotescu · 1 year, 1 month ago
  3. a781ad6 SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module by Radu Cotescu · 1 year, 1 month ago
  4. 5639fc9 SLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module by Radu Cotescu · 1 year, 1 month ago
  5. 03a89fd Updating badges for org-apache-sling-nosql-couchbase-resourceprovider by Dan Klco · 1 year, 4 months ago

Build Status Maven Central JavaDocs License nosql contrib

Apache Sling NoSQL Couchbase Resource Provider

This module is part of the Apache Sling project.

Sling ResourceProvider implementation that uses Couchbase NoSQL database as persistence.

Based on the “Apache Sling NoSQL Generic Resource Provider” and “Apache Sling NoSQL Couchbase Client”.

Couchbase Server 4.0 with N1QL support is required for this implementation.

Configuration on deployment

  • To use the resource provider you have to to create a factory configuration for “Apache Sling NoSQL Couchbase Client” with clientId = ´sling-resourceprovider-couchbase´ and propert couchbase host and bucket configuration.
  • Additionally a factory configuration for “Apache Sling NoSQL Couchbase Resource Provider Factory” defines the root of the resource tree that should be stored in Couchbase

Run integration tests

To run the integration tests you have to set up a real couchbase server and run the tests with this command line (inserting the correct parameters for couchbase host and bucket):

mvn -Pcouchbase-integration-test -DcouchbaseHosts=localhost:8091 -DbucketName=test integration-test