Commit Graph

240 Commits

Author SHA1 Message Date
Mark Paluch
c523b8d468 #245 - Upgrade to MongoDB Reactive Streams Driver 1.3.0. 2017-01-04 16:12:10 +01:00
Mark Paluch
ba829655f2 #244 - Adopt changed constructor for JpaBaseConfiguration. 2017-01-04 15:56:24 +01:00
Oliver Gierke
e3139f0822 #240 - Upgraded to Ingalls RC1.
Upgrade to Spring Boot 1.5 snapshots due to minor API changes in Spring Data REST so that recompilation is requited and only 1.5 picks up Ingalls. Upgraded to Querydsl 4.1.4, Spring Framework 5 build profile to 5.0 M3.

Switched to @SpringBootTest in Spring Data Redis samples as the previously deprecated @SpringApplicationConfiguation has been removed in 1.5.
2016-12-22 14:19:52 +01:00
Mark Paluch
4ed34e9b3a #238 - Upgrade to a newer JDK version on TravisCI. 2016-12-16 11:46:44 +01:00
Oliver Gierke
be2c0b298c #237 - Upgraded to latest JPA providers.
Eclipselink 2.6.0 -> 2.6.4
Hibernate 5.2.1 -> 5.2.5 (was 5.0 in some places before)
2016-12-15 20:58:10 +01:00
Oliver Gierke
6709a6137f #236 - Removed obsolete Logback configuration files. 2016-12-15 20:56:48 +01:00
Oliver Gierke
ec6814091e #233 - Update to OGM 2.1.
Required to make sure the current snapshots see the latest API changes.
2016-12-14 16:49:18 +01:00
Oliver Gierke
1ddfd03d84 #232 - Added example to show JPA stream executions are rejected without surrounding transaction. 2016-12-14 15:36:24 +01:00
Oliver Gierke
cd36f6f0da #231 - Added example for Javaslang support on repositories.
Added an example that shows how Javaslang's collection types and Option can be used as repository query methods starting with Spring Data Ingalls RC1.
2016-12-14 14:05:38 +01:00
Oliver Gierke
ab2ac6d7c4 #228 - Moved away from legacy Neo4j infrastructure setup. 2016-12-06 12:55:36 +01:00
Mark Paluch
16b504051a #223 - Skip Cassandra tests if Cassandra is not available locally. 2016-11-23 11:07:15 +01:00
Oliver Gierke
f3f8f79478 #215 - Upgraded reactive examples to Kay M1. 2016-11-23 11:01:21 +01:00
Oliver Gierke
00a4594764 #215 - Polishing.
Minor formatting, trailing whitespace etc.
2016-11-23 09:56:52 +01:00
Mark Paluch
b68a4459bf #215 - Reduce log output in TravisCI build.
TravisCI build produces 4MB+ of log output which causes TravisCI to kill the build. Run Maven on TravisCI in batch-mode and redirect test output to file to avoid long download progress output.
2016-11-23 09:56:49 +01:00
Mark Paluch
20879e7fa3 #215 - Add reactive examples for MongoDB, Apache Cassandra and Redis. 2016-11-23 09:56:27 +01:00
Oliver Gierke
cf5d9f3562 #217 - Upgraded to Spring Boot 1.4.2. 2016-11-08 18:49:23 +01:00
Oliver Gierke
de72fd4a66 #212 - Fixed dependency setup for Spring 5 build profile.
Upgraded the profile to include Spring HATEOAS 0.21, as older versions refer to the removed AnnotationMethodHandlerAdapter.
2016-09-28 19:33:51 +02:00
Oliver Gierke
9df803ef8c #212 - Upgraded build profile for Spring 5.0 to M2. 2016-09-28 19:11:15 +02:00
Oliver Gierke
6a2ee8334c #211 - Upgraded to Spring Boot 1.4.1. 2016-09-28 19:10:31 +02:00
Oliver Gierke
17296a6b30 #210 - Switched to annotation based registration of entity listeners. 2016-09-28 19:07:31 +02:00
Oliver Gierke
34fe9d2720 #206 - Added more projection examples in JPA.
Added another one that shows projections can be wrapped into an Optional.
2016-08-17 15:36:04 +02:00
Oliver Gierke
7519f8e385 #205 - Added build profile for Spring 5.
Inverted dependencies in the web example as Spring Boot 1.4 ships Tomcat 8.5.4 which contains JPA 2.0 types and — if they end up on the classpath before the actual JPA API jar — breaks the Spring 5 JPA bootstrap as it's assuming JPA 2.1 to be the fundamental baseline.
2016-07-28 18:09:18 +02:00
Oliver Gierke
0f7afacafc #204 - Upgraded to Spring Boot 1.4 GA. 2016-07-28 18:09:18 +02:00
Mark Paluch
95978416d1 #203 - Revise Cassandra Examples.
Simplify examples by adopting Spring Boot 1.4 improvements. Upgrade Cassandra Java driver to 3.0.3. Add examples for Ingalls (Query derivation, projection, Java 8 feature support).

Cassandra example setup is now self-contained by requiring just a running Cassandra instance.
Keyspace and tables are created during the tests. Examples also check if Cassandra is running and some examples additionally check the required version. Test execution is skipped if conditions are not met.

Cassandra (2.x) is started with TravisCI.
2016-07-27 22:18:43 +02:00
Oliver Gierke
d2e5c4b28f #202 - Added example for JSONPath and XPath based payload binding to projection interfaces.
See the readme for details.
2016-07-27 15:19:24 +02:00
Mark Paluch
ecafda00ca #200 - Polishing.
Pull spring-boot-starter-data-redis into redis/pom.xml, use dependency management for embedded-redis.
2016-07-27 15:09:06 +02:00
Mark Paluch
d1d5f7fe09 #200 - Upgrade to Ingalls M1. 2016-07-27 15:09:06 +02:00
Oliver Gierke
15e8ba31cc #201 - Added example for constructor expression in JPA projections. 2016-07-27 15:08:03 +02:00
Lucas Pleß
bee8a81118 #199 - Added missing messages and fixed a JavaDoc error in web example. 2016-07-20 13:48:48 +02:00
Oliver Gierke
9ee13be9b5 #197 - Upgraded to Spring Boot 1.4 RC1.
Tweaked the output folder for Querydsl type generation to avoid running into a bug in the Maven compiler plugin 3.5.1 [0].

Fixed an issue in a sample script used to demonstrate MongoDB script execution as the new JavaScript engine seems to be more strict.

Switched to the MongoDB starter and excluded the legacy MongoDB Java driver from projects using Querydsl to consistently make use of the current driver only.

[0] https://issues.apache.org/jira/browse/MCOMPILER-271
2016-07-15 13:05:56 +02:00
Oliver Gierke
5bb1b8b77c #195 - Make JPA examples work with Hibernate 5.2.
Upgrade to Hibernate 5.2.1 and Spring Framework 4.3 to pull in the necessary tweaks to let the latter work with the former.

Excluded hibernate-entitymanager and refer to hibernate-core instead as the 5.2 release has merged the artifacts and the former is not available anymore.

The project showing the stored procedure support still needs to stay on Hibernate 5.0.7 because the stored procedure support on HSQLDB has been broken since 5.0.8. The original issue [0] has been fixed but running the module on 5.2.1 now runs into a NullPointerException from AbstractProducedQuery [1].

[0] https://hibernate.atlassian.net/browse/HHH-10515
[1] https://hibernate.atlassian.net/browse/HHH-10915
2016-07-01 12:33:01 +02:00
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