Commit Graph

195 Commits

Author SHA1 Message Date
Oliver Gierke
84bfe86ecc #173 - Switched to embedded MongoDB for Querydsl web example. 2016-03-25 13:10:26 +01:00
Oliver Gierke
75d25de1e6 #171 - Switched to Thymeleaf Spring Data dialect for pagination in views.
Added dependency and bean definition for the SpringDataDialect. Templates now use three different elements of the Thymeleaf Spring Data support:

- Pagination information (pagination summary)
- The pagination links including first / previous and next / last links
- Pagination links to navigate through the pages
2016-03-25 13:09:41 +01:00
Oliver Gierke
91c06febe4 #172 - Added Spring Boot dev tools to all projects. 2016-03-25 13:04:03 +01:00
Mark Paluch
6d012f4aa2 #164 - Polishing.
Replaced deprecated @Builder annotation with @Builder from the main lombok package. Remove Groovy libraries as Examples do not contain scripting.

Original pull request: #165.
2016-03-21 11:32:09 +01:00
Christoph Strobl
09697b84f2 #164 - Fix Elasticsearch example
Remove Boot Autoconfiguration, in-memory index and facets.
GeoPoint instead of String for location.

Original pull request: #165.
2016-03-21 11:31:56 +01:00
Mark Paluch
fc5da90453 #160 - Add MongoDB java8 and Spring Security examples to the frontpage documentation. 2016-03-18 16:28:47 +01:00
Mark Paluch
f4e874e601 #160 - Update docs for Redis cluster.
Mention Redis cluster example in the docs. Remove cluster wording from the sentinel example.
2016-03-18 16:28:47 +01:00
Mark Paluch
dc50706c27 #160 - Add excerpts for Query by Example. 2016-03-18 16:27:59 +01:00
Oliver Gierke
f8bfe5c79e #163 - Upgraded to Hopper RC1.
Removed all previous references to snpahosts. Removed explicit version declaration of Lombok as Boot sets that for us in 1.4.

Upgraded Elasticsearch dependency to 2.2 and uncommented the actual sample module as it needs to be updated due to API changes in Elasticsearch and Spring Data Elasticsearch in turn.

Adapt to API changes in entity lookup configuration for Spring Data REST.

Tweaked Neo4j build setup by using the dedicated embedded driver JAR.
2016-03-18 16:26:11 +01:00
Oliver Gierke
786ce2d39a #149 - Polishing.
Renamed repository folder to repositories. Tweaked package name to reflect module name. Polished formatting in readme. Switched to Spring Boot version property for 1.7 RC1 upgrade.

Original pull request: #162.
2016-03-18 15:42:10 +01:00
Christoph Strobl
5a25e80bbf #149 - Add Redis repository support sample.
Bumped Spring Data Redis version to 1.7 RC1. Added JUnit Rule for Embedded Redis Server.

Original pull request: #162.
2016-03-18 15:38:42 +01:00
Oliver Gierke
1f94bb12f1 #153 - Polishing.
Simplified domain model using Lombok. Moved configuration classes into test source folder.

Original pull request: #154.
2016-03-17 19:01:27 +01:00
Mark Paluch
beabdf8a79 #153 - Add examples for Query by Example functionality with JPA and MongoDB.
Original pull request: #154.
2016-03-17 19:01:23 +01:00
Franziska Sauerwein
1fe9aaeefa #157 - Fix Typo in readme.
Two -> To
2016-03-04 07:50:26 +01:00
Oliver Gierke
99d1597756 #155 - Upgraded to Spring Boot 1.4 M1.
Switched to renamed Redis starter POM.

Removed invalid @Transactional annotation from projections example in MongoDB.

Added Mark Paluch as contributor in the root POM.
2016-02-27 12:30:31 +01:00
Oliver Gierke
bb833a27b6 #151 - Upgraded to Hopper M1. 2016-02-12 15:47:45 +01:00
Oliver Gierke
a0da2925cc #146 - Polishing. 2016-02-12 14:43:07 +01:00
Christoph Strobl
dfc1bf0390 #146 - Add example to demonstrate Redis Cluster support.
Example demonstrating the basic usage of Spring Data Redis in a clustered environment using Jedis.
2016-02-12 14:42:44 +01:00
Oliver Gierke
9cb44b3166 #81 - Samples for new projection support for JPA and MongoDB. 2016-02-12 14:37:52 +01:00
Oliver Gierke
a872e57ed1 #151 - Fixed Neo4j examples for Hopper. 2016-02-12 14:36:54 +01:00
Oliver Gierke
961bd1a284 #151 - Tweaked Querydsl web examples to use Querydsl 4. 2016-02-12 14:36:54 +01:00
Oliver Gierke
6ccc59004b #151 - Updated Solr examples to use Solr 5. 2016-02-12 14:36:53 +01:00
Oliver Gierke
500359015c #151 - Tweaked Neo4j example dependencies. 2016-02-12 14:36:53 +01:00
Christoph Strobl
f593e31565 #151 - Override managed version to support Solr 5.x.
Pull in matching Solr 5 version.
2016-02-12 14:36:52 +01:00
Oliver Gierke
62b2d644cc Updated dependencies and codebase for Querydsl 4. 2016-02-12 14:36:49 +01:00
Oliver Gierke
35ba3bb5e1 #147 - Upgraded to Spring Boot 1.3.2. 2016-02-12 14:35:32 +01:00
Oliver Gierke
fe6e2172cd #144 - Make use of the dedicated configuration API for EntityLookups.
Rather than declaring a dedicated EntityLookup bean instance we now use the configuration API introduced on RepositoryRestConfiguration to define the identifier and lookup mapping.

Tweaked readme accordingly.
2015-12-09 16:10:02 +01:00
Oliver Gierke
0de282b2f2 #144 - Added sample for URI customization in Spring Data REST. 2015-12-09 13:01:21 +01:00
Oliver Gierke
c6b3ee8b5b #143 - Upgraded to Spring Boot 1.3.0.RELEASE. 2015-11-16 14:07:15 +01:00
Oliver Gierke
66c6b93904 #142 - Upgraded to Spring Data Gosling SR1.
Upgraded to latest Querydsl 3.6.9 as well.
2015-11-15 20:07:00 +01:00
Oliver Gierke
d776cbda3a #140 - Upgraded to Spring Boot 1.3 RC1. 2015-10-29 17:16:36 +01:00
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
Svante Kumlien
5a9b785499 #135 - Fixed some typos in readmes. 2015-10-15 09:15:41 +02:00
Oliver Gierke
d9dfb81e12 #134 - Added example for using Optional as query method parameter.
Got rid of Guava dependency in favor of JDK 8's Optional. Upgraded basic JPA example to Spring Data Hopper to get access to the newly introduced functionality.
2015-10-07 19:50:49 +02:00
Oliver Gierke
549ae7fe71 #132 - Upgraded to Spring Boot 1.3 M5.
Removed obsolete explicit dependency upgrades. Upgraded to Querydsl 3.6.7 along the way.
2015-09-04 11:17:52 +02:00
Oliver Gierke
0fa8c12806 #131 - Polished Spring Data Neo4j example.
Switched to milestone version of Spring Data Neo4j. Used Lombok in domain types. Used assertThat(…) matchers in test case for consistency. Inlined Spring configuration into test case. Upgraded to Lombok 1.16.6 along the way.

Fixed indentation in pom.xml files to use tabs instead of spaces.

Original pull requests: #129, #130.
2015-09-03 17:14:13 +02:00
Luanne Misquitta
f90bed38e2 #131 - Added Spring Data Neo4j example.
Original pull requests: #129, #130.
2015-09-03 17:14:12 +02:00
Oliver Gierke
0c1bee04b3 #128 - Upgraded to Spring Data Gosling GA.
Spring Boot 1.3.0 M2 -> 1.3.0 M4
Spring Framework 4.2.0 -> 4.2.1
2015-09-03 17:14:09 +02:00
Oliver Gierke
9a91c4073f #123 - Dependency polishing.
Configure the Spring HATEOAS version int the Spring Data REST sample root. Upgraded Spring Security to 4.0.2.RELEASE.
2015-08-04 18:10:43 +02:00
Oliver Gierke
bd90bd04d6 #124 - Added missing dependency to Querydsl MongoDB.
Apparently got lost during the merge.
2015-08-04 17:32:08 +02:00
Oliver Gierke
7eab65b53f #124 - Added Querydsl integration to Starbucks example.
Enabled Querydsl query metadata creation to the Starbucks example and added binding customizations to UserRepository.
2015-08-04 16:05:50 +02:00
Oliver Gierke
bbaa53c873 #124 - Polished Querydsl binding example for plain Spring MVC usage.
Collapsed domain model into a single class. Merged application configuration classes into a canonical Application class.

Tweaked UserInitializer to expose dedicated methods to make sure the parameter is only exposed if remote users are used.

Removed JavaScript based frontend as it was basically testing the Spring Data REST exposed API but not the data obtained through the Spring MVC controller. We're going to create a dedicated example for the Spring Data REST integration.
2015-08-04 16:05:47 +02:00
Christoph Strobl
97eefb0afc #124 - Added sample for Querydsl integration.
Move web project to web/example and add web/querydsl as a dedicated one demonstrating the QueryDSL Predicate usage in Spring MVC.
2015-08-04 15:47:52 +02:00
Oliver Gierke
a999bed747 #123 - Upgraded to Gosling RC1.
Upgraded to Querydsl 3.6.6 along the way.
2015-08-04 15:30:32 +02:00
Oliver Gierke
9bb284fc84 #119 - Polishing.
Changed the update clause to set the the entire principal the reflect a domain object design that's closer to what might be set up if Spring Data auditing is used, too.

Made use of Lombok in the domain objects where possible. Reduced visibility of repository interfaces to package scope. Minor test case cleanups.
2015-08-01 21:08:38 +02:00
Thomas Darimont
50faabb2af #119 - Added example for use of SpEL expressions in JPQL update statements. 2015-08-01 21:06:46 +02:00
Thomas Darimont
fbcded19e6 #120 - Added missing main method to Application in multi-store REST example.
Previously a mvn clean install in the Spring Data examples root failed because the Application class in the multi-store example was missing a main method that is required by the Spring Boot Maven plugin.
2015-08-01 20:52:46 +02:00
Oliver Gierke
8019578e0d #118 - Upgraded to Spring Framework 4.2 GA.
Upgraded to Querydsl 3.6.5 along the way.
2015-07-31 11:32:43 +02:00
Oliver Gierke
70547a363b #117 - Removed explicit configuration of main class for Boot plugin in Starbucks example.
The configuration is obsolete as the client has been moved into a test case for a while already.
2015-07-30 11:38:20 +02:00
Oliver Gierke
a7f231c2ed #116 - Switched to the release train version of the KeyValue module. 2015-07-16 09:11:54 +02:00