Commit Graph

209 Commits

Author SHA1 Message Date
Oliver Gierke
812eb89916 #196 - Upgraded to Hopper SR2. 2016-07-01 12:10:36 +02:00
Oliver Gierke
6684c8c69b #190 - More simplifications for Spring Boot 1.4 M3.
Replaced all occurrences of @SpringApplicationConfiguration with @SpringBootTest. Using SpringRunner instead of @SpringJUnit4ClassRunner now.
2016-06-10 21:26:46 +02:00
Oliver Gierke
24ca298de2 #193 - Added examples for using projections with pagination in JPA and MongoDB.
Requires an upgrade to snapshots as the JPA implementation is broken in Hopper SR1 but will be fixed in SR2 (Boot 1.4 RC1). Switched to use @SpringBootTest in test cases.
2016-06-02 12:55:15 +02:00
Oliver Gierke
12628b6a3f #190 - Upgraded to Spring Boot 1.4 M3. 2016-05-18 07:33:04 +02:00
Oliver Gierke
2314c6e726 #186 - Prepare upgrade to Spring Boot 1.4 M2 and Hibernate 5.
Upgraded to Spring Boot 1.4 M2 and thus Hibernate 5.1 transitively.
Switched to H2 as database for all examples using JPA by accident as the
invalid error logging for HSQLDB schema creation got worse in 5.1 (see
[0]). The JPA examples themselves have to stay on HSQLDB as H2 doesn't
support stored procedures. The stored procedures example in turn has to
be downgraded to 5.0.7 as all following versions currently break stored
procedure execution support [1]. Reworked the JPA auditing example as
5.1 breaks on generic types used in support types like AbstractAuditable
[2].

Tweaked content type assertions in some REST related test cases as
Spring 4.3 returns an encoding alongside the media type.

[0] https://hibernate.atlassian.net/browse/HHH-10605
[1] https://hibernate.atlassian.net/browse/HHH-10515
[2] https://hibernate.atlassian.net/browse/HHH-10514
2016-04-13 18:11:09 +02:00
Oliver Gierke
763710ddc9 #185 - Upgraded to Querydsl 4.1. 2016-04-11 19:01:58 +02:00
Oliver Gierke
5247a97203 #184 - Re-enabled Spring Data Elasticsearch example. 2016-04-07 11:29:17 +02:00
Oliver Gierke
2c4a6c4e43 #183 - Upgrade to Hopper SR1. 2016-04-06 23:22:29 +02:00
Oliver Gierke
cb50af3595 #181 - Upgraded to Spring Data release train Hopper. 2016-04-06 17:44:05 +02:00
Oliver Gierke
4cc558e42e #179 - Fixed build for multiple-datasources module after Spring Boot 1.4 upgrade.
We now explicitly disable DevToolsDataSourceAutoConfiguration as it currently expects exactly one DataSource being present.

Switched to Spring's @Transactional instead of the javax.transactional one.
2016-04-05 17:50:53 +02:00
Christoph Strobl
b82460f33c #158 - Remove workaround for Redis cluster configuration.
SpringBoot 1.4M1 ships with auto configuration for spring.redis.cluster so we removed the work around using ConfigurationProperties.
2016-04-05 17:39:59 +02:00
Oliver Gierke
b075ca6358 #177 - Polished domain model.
Inlined Address type into Store. Moved to @Value and removed code that got obsolete with that.

Removed custom WebConfig that's not needed anymore with Spring Boot.
2016-04-05 17:38:33 +02:00
Oliver Gierke
26a453af56 #175 - Upgraded to Spring Data Thymeleaf dialect 2.1.1. 2016-03-26 21:56:27 +01:00
Oliver Gierke
ad854bc19d #174 - Applied default sorting to controller in Querydsl web sample. 2016-03-25 13:11:38 +01:00
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