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.
Switched to Asciidoc for README. Renamed ApplicationConfiguration to Application. Switched to a more simple package name. Some polishing in the test cases (removed unnecessary injections).
Original pull request: #108.
Initial project and with example for dynamic data filtering based on current security context information.
Relies on DATAMONGO-1244 to be resolved.
Original pull request: #108.
Removed the additional GeoJsonModule and only register the mixin for GeoJsonPoint to be able to read the data from the source JSON file. Removed custom logging.
A bit of polish in the README, JavaDoc.
This initial version of the example projects demonstrates the usage and mapping behavior of Java 8 Streams in repositories. The test cases oppose a plain List based query method with one that uses a Stream and shows how the former pulls all data into memory first and the iteration is done over the pre-populated list. The execution of the Stream based method in contrast shows that the individual elements are read and converted while iterating the stream.
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.
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.
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.
Introduced the usage of Lombok to be able to get rid off the getters and setters. Simplified the configuration to use Spring Boot's auto-configuration. The initializer is now an enum manually triggered with a MongoOperations instance. Switched from MongoTemplate to MongoOperations where possible. Polished some JavaDoc.
Original pull request: #10.
The sample reads the Spring IO blog Atom feed and performs text search on it.
We use manual index creation and query via MongoTemplate as well as automatic index creation and derived queries via repositories.
Original pull request: #10.
Split up the previously existing MongoDB example project in one for basic stuff, geo-spatial and Querydsl support as well as one on the aggregation framework. This will allow us to add other modules on particular focus areas going forward.
Use latest stable Spring Data JPA release as well as Hibernate 4.3.4. Upgraded to Spring Boot 1.0 RC4, Querydsl 3.3.1 and Lombok 1.12.4. Upgraded to Spring Data MongoDB 1.5 snapshots to be able to use the geo-types from Spring Data Commons.