Apache Sling NoSQL Couchbase Resource Provider

Clone this repo:
  1. e0a6071 SLING-12094 - Use GitHub for the Maven scm.url value by Robert Munteanu · 6 months ago master
  2. c2e56eb SLING-11709 - Set up Jira autolinks to all Sling Github projects by Robert Munteanu · 1 year ago
  3. ee6c348 SLING-11051 - Fixing JavaDoc badge by Dan Klco · 2 years, 3 months ago
  4. 7fad326 SLING-10676 - remove SECURITY.md which is not needed by Bertrand Delacretaz · 2 years, 9 months ago
  5. 1eb81ae SLING-10676 - add or update SECURITY.md by Bertrand Delacretaz · 2 years, 9 months ago

Apache Sling

Build Status Coverage Sonarcloud Status JavaDoc Maven Central Contrib nosql License

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