Commit Graph

6 Commits

Author SHA1 Message Date
Oliver Gierke
9a5c270ec2 #139 - Switched to embedded MongoDB for integration tests.
Removed MongoDB dependency by adding Flapdoodle embedded MongoDB. That allows us to get rid of the utility module we had in place for the MongoDB samples guarding the tests to only run when a MongoDB instance is running.

Tweaked Travis setup to not require the MongoDB service anymore.
2015-10-29 17:14:38 +01:00
Christoph Strobl
50cb4b9bba #58 - Add sample for usage of server-side JavaScript.
Use a server-side script to simulate putIfAbsent(…) as contracted by the Map interface. The operation will be atomic since MongoDB will put a lock on database until the script is finished.
2015-07-16 08:34:10 +02:00
Christoph Strobl
f625317445 #8 - Switch to local source data for text search.
Remove online resources and just rely on local data. Though we had to keep the BlogPostInitializer for setting up the tests only using the template without repository support.

Original pull request: #18.
2014-09-09 09:51:12 -05:00
Thomas Darimont
e17b24b692 Added custom class rule to cope with mongo versions that don't support text-search.
TestSearch is only supported from MongoDB 2.6 but travis CI uses an older version at the moment.
2014-09-04 14:28:25 +02:00
Thomas Darimont
cba9500e47 Fix failing MongoDB exposesGeoSpatialFunctionality test case for travis.
Make distance check in exposesGeoSpatialFunctionality test case more robust against 
minor numeric differences. Travis CI seems to use an older Mongo DB version that produces a slightly different result than what we get.
2014-09-04 13:43:54 +02:00
Christoph Strobl
6fb5259e37 #8 - Add sample for @Meta usage.
Renamed the geo-spatial example to example only as it not only covers geo-spatial samples. Added advanced example to show the usage of the @Meta annotation.

Original pull request: #11.
2014-09-02 17:39:30 +02:00