commit | 0e85925feee2725657be395e9b7a628ff59bf328 | [log] [tgz] |
---|---|---|
author | Stefan Seifert <sseifert@apache.org> | Tue Jan 19 17:47:07 2016 +0000 |
committer | Stefan Seifert <sseifert@apache.org> | Tue Jan 19 17:47:07 2016 +0000 |
tree | b9eb4a86d420cc27bac9ea3a36913c2f0d8145db | |
parent | 47c9493c49c1b69286a8b1cac154ec7b339cd15b [diff] |
SLING-5437 add connection check for couchbase resource provider define separate NoSqlAdapter methods for creating index definitions, to ensure they are only executed after connection test succeeds set versions to 1.1.0 git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1725576 13f79535-47bb-0310-9956-ffa450edef68
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.
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