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.
Removed obsolete @Param annotations from repository interfaces. Upgraded to Fowler snapshots for JPA 2.1 examples as we need a fix in derived stored procedure execution to work correctly.
Related issues: DATAJPA-681.
We now activate the JSR-310 AttributeConverters shipped with Spring Data JPA 1.8. Removed the dependency to Jadira user types and switch to non-time-zoned Java 8 LocalDateTime.
Original pull request: #46.
Removed the declaration of the Spring Boot Maven plugin in the root POM as it broke the build for package and install goals for projects that don't actually contain a main class but tests only.
Declared the plugin at the root POM for Spring Data REST related projects as these are the only ones providing a standalone runnable app.
Related pull request: #30.
Removed obsolete dependency declarations from pom.xml. Rewrote test cases to use Spring MVC test support instead of a running server and RestTemplate. Fixed Security configuration to allow bootstrap in Spring MVC test context. Formatting, JavaDoc.
Original pull request: #22.
Added example of how to secure a Spring Data REST project with Spring Security both on the method level as well as the URI level.
Original pull request: #22.
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.
Added sample using deep pagination with cursor and one for managed schema support. Added JUnit rule checking that Solr is up and running.
Original pull request: #12.
Added Christoph as project maintainer, too. Fixed maintainer's email addresses. Removed obsolete encoding property. Upgraded to Lombok 1.14.6. Switched to simplified Java 8 setup (using the property instead of a plugin declaration).
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.
This app demonstrates how to mix Spring Data JPA and Spring Data MongoDB together (with Spring Data REST on top) to demonstrate how to split them up properly.
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.