Commit Graph

101 Commits

Author SHA1 Message Date
Greg Turnquist
3e793a5147 #71 - Remove old SNAPSHOT reference. 2015-03-26 12:53:04 -05:00
Oliver Gierke
49d91bb697 #71 - Upgraded to Spring Security 4.0.
Upgraded security related sample projects in the rest and JPA sub-folders to Spring Security 4.0.
2015-03-26 18:38:16 +01:00
Oliver Gierke
3306ea56f3 Turned Starbucks client into test.
Allows us to benefit from default logging setup. Removed obsolete Tomcat version declaration. Polished StoreInitializer to use Lambdas instead of an enum.
2015-03-25 10:41:38 +01:00
Oliver Gierke
e11e73b58a #70 - Upgraded to Spring Data Fowler GA. 2015-03-23 16:21:44 +01:00
Oliver Gierke
4d500a7028 #69 - Added new sample to root README. 2015-03-19 10:11:38 +01:00
Oliver Gierke
9ecb720f4a #69 - Added example for how to set up Spring Data JPA with two DataSources. 2015-03-19 10:06:46 +01:00
Thomas Darimont
65cef4132d #66 - Added JPA example for using Java 8 Streams with a derived query.
This example demonstrates the usage of Java 8 Stream as return type for derived queries.
2015-03-12 14:20:49 +01:00
Oliver Gierke
2569cf8de3 #57 - Polishing.
Replaced custom builder with Lombok generated one. Turned Lombok into a value object as a side effect. Removed obsolete toString() method. Extended copyright clauses wehere missing. Reduced visibility of repository extension.
2015-03-12 14:01:25 +01:00
Christoph Strobl
9cffcef9c6 #57 - Added samples for Solr highlighting, boost, score, functions and realtime-get.
Refactored initialization to allow custom ingestion of test data. Added samples demonstrating usage of: 

- @Highlight for highlighting fragments.
- @Boost for boosting search terms.
- @Score to indicate interest in document score.
- SolrOperations#getById for realtime-get.
2015-03-12 14:01:21 +01: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
df7fcb0edb #65 - Added example project for Spring Data web support. 2015-03-10 10:12:28 +01:00
Oliver Gierke
2c97493f9f #62 - Added a section on the Stream usage to the README.
Original pull request: #63.
2015-03-09 12:53:44 +01:00
Thomas Darimont
f5e6b3b6be #62 - Add example for Java 8 Streams in JPA.
This example demonstrates streaming of results in JPA.

Original pull request: #63.
2015-03-09 12:53:43 +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
Oliver Gierke
a865425657 #45 - Polished POM for JPA Java 8 module. 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
Oliver Gierke
6597d7ca95 #56 - Upgraded to spring HATEOAS 0.17 snapshots.
Simplified usage of ParameterizedTypeReference through newly introduced TypeReferences class. Moved to Java 8 streams for final output.
2015-03-02 23:00:44 +01:00
Oliver Gierke
797db3eece #53 - Enable -parameters for compilation.
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.
2015-02-27 19:26:37 +01:00
Oliver Gierke
a50a3450cd #52 - Upgraded to Spring Boot 1.2.2. 2015-02-27 07:57:40 +01:00
Oliver Gierke
815e3b7266 #51 - Upgraded dependencies.
Maven APT Plugin - 1.1.2 -> 1.1.3
Querydsl - 3.6.0 -> 3.6.1
Spring Framework - 4.1.4 -> 4.1.5
Lombok - 1.14.8 -> 1.16.2
2015-02-22 14:17:23 +01:00
Oliver Gierke
f37e260a32 #48 - Upgraded to Spring Boot 1.2.1. 2015-01-08 09:43:16 +01:00
Oliver Gierke
0abc0dc3b1 #45 - Adapt to type moves of JSR-310 attribute converters. 2015-01-08 09:42:29 +01:00
Artur Konczak
f9aa1556d8 #28 - Added example for Spring Data Elasticsearch.
Added basic example to show repository and ElasticsearchOperations usage.
2015-01-04 18:40:55 +01:00
Oliver Gierke
7f3339a610 #45 - Removed Jadira user types in favor of new JPA 2.1 AttributeConverters.
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.
2015-01-04 18:09:14 +01:00
Oliver Gierke
e953f6d5e5 #45 - Temporarily add required Spring Data JPA dependencies. 2014-12-30 19:19:35 +01:00
Oliver Gierke
d248a5ffd8 #43 - Moved to new Travis infrastructure. 2014-12-12 08:49:16 +01:00
Oliver Gierke
d7aba90879 #42 - Switched to snapshot repository. 2014-12-12 08:49:16 +01:00
Oliver Gierke
e47c4135fc #27 - Upgraded to Spring Security 4.0.0.RC1. 2014-12-12 08:33:55 +01:00
Oliver Gierke
5d102f9157 #32 - Upgraded to Spring Boot 1.2.0.RELEASE. 2014-12-12 08:33:55 +01:00
Eddú Meléndez
30386210c4 #39 - Added example of SpEL usage in manually defined JPA queries. 2014-12-05 20:10:02 +01:00
Oliver Gierke
a579f6e879 #35 - Added example for Map-based repositories. 2014-12-05 19:51:37 +01:00
Oliver Gierke
c30d5827a9 #38 - Removed @WebAppConfiguration to prevent web infrastructure to be bootstrapped. 2014-12-01 19:32:24 +01:00
Oliver Gierke
b15b1390ac #37 - Upgrade to Spring Data release train Fowler M1. 2014-12-01 13:33:58 +01:00
Oliver Gierke
ca5fd354b6 #29 - Fixed setup of Spring Boot Maven plugin.
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.
2014-11-12 09:39:37 +01:00
Oliver Gierke
7d034f84a7 #31 - Updated dependencies.
- Spring Boot 1.1.8 -> 1.1.9
- Querydsl 3.4.3 -> 3.5.1
- Spring 4.1.0 -> 4.1.2
- Spring Data Releasetrain Evans GA -> Evans SR1
- Lombok 1.14.6 -> 1.14.8
- Tomcat 8.0.9 -> 8.0.15
2014-11-12 09:39:37 +01:00
Thomas Darimont
4841bbdc11 #19 - Add example for Spring Data Cassandra.
Shows java-config as well as Repository configuration.
2014-11-01 17:06:25 +01:00
Oliver Gierke
eeb0485cf9 #26 - Upgrade to Spring Boot 1.1.8. 2014-10-27 15:54:59 +01:00
Greg Turnquist
4bcdb26b10 #24 - Add Spring Boot Maven-plugin to root pom.xml.
Also upgrade to Spring Boot 1.1.8.RELEASE.

Original pull request: #25.
2014-10-27 15:54:55 +01:00
Greg Turnquist
4b2ec72569 #23 - Fixed typo and styling in security example.
Fix typo in link to Spring Security reference documentation and the bold type face of ROLE_ADMIN.
2014-10-27 15:10:16 +01:00
Oliver Gierke
97963961ab #21 - Updated REST/Security and root readme. 2014-10-17 10:43:29 +02:00
Oliver Gierke
1d7554b57a #21 - Polished Spring Data REST + Spring Security example.
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.
2014-10-17 10:17:17 +02:00
Greg Turnquist
c5920a64d9 #21 - Added example for Spring Data REST and Spring Security.
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.
2014-10-17 10:16:59 +02:00
Thomas Darimont
f4266ac211 #15 - Added example for top/first keywords in repository methods. 2014-09-09 11:25:09 -05:00
Christoph Strobl
5af654a12a #5 - Add sample for Slice usage.
Original pull request: #17.
2014-09-09 11:05:38 -05:00
Oliver Gierke
11a6e4b693 #7 - Added sample for Spring Data REST ALPS support and excerpt projections. 2014-09-09 10:30:21 -05: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
Christoph Strobl
de7c2c5522 #6 - Add samples for Spring Data Solr.
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.
2014-09-09 09:35:40 -05:00
Christoph Strobl
91565e3e21 #3 - Added samples for Spring Data Redis.
We added basic samples showing KEYS and SCAN command as well as configuration options for Redis Sentinel.

Original pull request: #9.
2014-09-09 09:19:40 -05:00