Apache Sling NoSQL Couchbase Resource Provider

Clone this repo:
  1. a112bf8 Adding sonarqube badges as per SLING-9682 by Dan Klco · 3 months ago master
  2. 1900acc Updating badges for org-apache-sling-nosql-couchbase-resourceprovider by Radu Cotescu · 3 months ago
  3. c22584a Updating badges for org-apache-sling-nosql-couchbase-resourceprovider by Radu Cotescu · 1 year, 10 months ago
  4. 9775795 SLING-7245 - Validate pull requests using Jenkins by Robert Munteanu · 1 year, 10 months ago
  5. 2a770b0 trivial: added license header to *.md files by Radu Cotescu · 2 years, 2 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