Commit Graph

27 Commits

Author SHA1 Message Date
golonzovsky
d624c8d43a #110 - Simplified RequiresMongoDB test rule.
We now extend ExternalResource instead of implementing TestRule to avoid the usage of the deprecated AssumptionViolatedException.
2015-06-29 17:54:00 +02:00
Oliver Gierke
8978423ade #75 - Polished pom.xml.
Fixed scope for test dependencies. Removed obsolete version property for the compiler plugin.
2015-04-08 18:57:17 +02:00
Oliver Gierke
6ba91231f2 #64 - Polishing.
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.
2015-03-10 14:07:05 +01:00
Christoph Strobl
35596a9045 #64 - Add example for GeoJSON usage in MongoDB.
Add sample to show usage of GeoJSON within domain types and repository query methods.
2015-03-10 13:57:25 +01:00
Oliver Gierke
49df9468b5 #54 - Use Stream with try-with-resources.
Tweaked the integration test to use the Stream returned by the repository within a try-with-resources clause so that it gets closed correctly.
2015-03-09 12:53:43 +01:00
Oliver Gierke
966d3c9e44 #59 - Upgraded to Spring Data Fowler RC1. 2015-03-09 12:53:42 +01:00
Thomas Darimont
73be2fcddb #54 - Added a project for MongoDB examples using Java 8 features.
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.
2015-03-09 12:53:39 +01: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
Oliver Gierke
3bb508292a Upgrade to Spring 4.1.
Switched to Rome 1.5 for MongoDB text search example as that's needed after the Spring 4.1 upgrade.
2014-09-04 14:31:15 +02: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
Oliver Gierke
ecadc65483 #8 - Some polishing of the example.
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.
2014-09-02 10:20:43 +02:00
Christoph Strobl
09317bc6de #8 - Add MongoDB text search example.
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.
2014-09-02 10:20:22 +02:00
Oliver Gierke
5ff523973f Upgraded to Spring Boot 1.1.5.RELEASE.
Upgraded to Querydsl 3.4.2. Fixed name of the MongoDB Geospatial project.
2014-08-12 15:29:26 +02:00
Oliver Gierke
56ab6b4705 Split up MongoDB example into two.
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.
2014-07-31 15:03:13 +02:00
Oliver Gierke
a3a1db24d0 Upgraded to Spring Boot 1.1.0. 2014-06-16 17:03:58 +02:00
Oliver Gierke
c3afe35d2f Upgraded to Spring Data Dijkstra GA release. 2014-05-21 11:07:32 +02:00
Oliver Gierke
d5138bb3a4 Upgraded to latest Spring Data Dijkstra RC1. 2014-05-02 19:54:21 +02:00
Oliver Gierke
dadaf374c3 Use manual index declaration in MongoDB sample. 2014-04-02 10:08:41 +02:00
Oliver Gierke
87f91d8afc Upgraded to Spring Boot GA and Spring Data MongoDB 1.5 M1. 2014-04-02 10:06:25 +02:00
Oliver Gierke
87e8518bd2 Upgraded to latest dependencies.
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.
2014-03-11 12:27:43 +01:00
Oliver Gierke
2ca3aa159c Upgraded to Spring Boot 1.0 RC3.
Moved configuration classes to main folders. Removed previously required @Enable…Repositories annotations.
2014-02-14 18:59:52 +01:00
Oliver Gierke
5c48b25056 Changed top-level package to example.springdata.
Added missing Apache license headers and adapted copyright range.
2014-02-10 13:48:40 +01:00
Oliver Gierke
19db88ec06 Made dependency field final. 2014-02-05 09:07:06 +01:00
Oliver Gierke
21b8f01564 Tweak Querydsl APT plugin to produce less verbose output. 2014-02-05 09:06:46 +01:00
Oliver Gierke
4b11a9dc8f Initial commit.
Moved Spring Data JPA examples from spring-data-jpa-examples repo to this one. Added samples for MongoDB.
2014-01-31 14:34:34 +01:00