commit | 09256704ad416e785e95a72247a01ef6445ce31a | [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 | 460c38b16cb3aacaabf4edb103d936f1f3ef3995 | |
parent | 211eef4d7551d6d77d95a0d599f680b8d11db313 [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 MongoDB NoSQL database as persistence.
Based on the “Apache Sling NoSQL Generic Resource Provider”.
All resource data is stored in one MongoDB database and one collection, using the path of the resource as “_id” property.
To run the integration tests you have to set up a real MongoDB server and run the tests with this command line (inserting the correct parameters):
mvn -Pmongodb-integration-test -DconnectionString=localhost:27017 -Ddatabase=sling -Dcollection=resources integration-test