commit | a147a8ead56a974966ce9a5df9dd33791203b238 | [log] [tgz] |
---|---|---|
author | Stefan Seifert <sseifert@apache.org> | Tue Nov 24 22:39:37 2015 +0000 |
committer | Stefan Seifert <sseifert@apache.org> | Tue Nov 24 22:39:37 2015 +0000 |
tree | 4be97fd316d48c2d8be0d1566e207bff267593b6 | |
parent | 1992dce6b3d47076e163fa35a8bd850e4164dc1e [diff] |
SLING-5078 Missing indexes on MongoDBResourceProvider (patch supplied by Norberto Leite) update path to ignore error when index already exists - log error if it could not be created do some refactoring on provided integration test to make sure the mongodb connection parameters passed via command line are used update to latest table mongodb java driver git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1716273 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