commit | 211eef4d7551d6d77d95a0d599f680b8d11db313 | [log] [tgz] |
---|---|---|
author | Stefan Seifert <sseifert@apache.org> | Tue Jan 19 16:42:12 2016 +0000 |
committer | Stefan Seifert <sseifert@apache.org> | Tue Jan 19 16:42:12 2016 +0000 |
tree | 27efb82514fbab6090a4fe46752fce4442bdead6 | |
parent | a6c3139af84b4ed15ddbdf02ea0061c54e87ef4f [diff] |
SLING-5437 The NoSQL providers should throw LoginException if the connection to the NoSQL database can't be established (patch provided by Robert Munteanu) git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1725565 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