Commit Graph

252 Commits

Author SHA1 Message Date
Oliver Gierke
5a450afa09 #251 - Polishing.
Fixed package structure in sources (nested folders instead of dot-separated ones). Removed obsolete dependency in POM and point to relative POMs.
2017-01-28 09:27:42 +01:00
Mark Paluch
37d5fadf4d #251 - Add example for Spring Data LDAP. 2017-01-27 15:39:21 +01:00
Oliver Gierke
a41f69127c #255 - Fixed setup to use Neo4j embedded.
Switch to the Spring Boot starter for Neo4j for consistency reason. Added explicit dependencies to Neo4j OGM Embedded driver and Neo4j itself.
2017-01-27 14:10:18 +01:00
Mark Paluch
4bae471837 #254 - Use MongoProperties.getPort() to configure reactive MongoClient.
Embedded MongoDB auto-configuration randomizes its port. Configuration happens during the creation of embeddedMongoServer so our MongoClient creation must be delayed until then.
2017-01-27 13:58:07 +01:00
Mark Paluch
605b90dc56 #249 - Add example for Spring Data REST Cross-origin resource sharing. 2017-01-27 13:12:37 +01:00
Mark Paluch
319d3e1a17 #250 - Polishing.
Use Cassandra streaming query with query derivation instead of a String-based query.
2017-01-27 13:07:23 +01:00
Mark Paluch
54ab8178b7 #250 - Add example for Cassandra User-defined type usage. 2017-01-27 12:59:35 +01:00
Mark Paluch
d9f77903ef #224 - Use external or embedded (if external Apache Cassandra is not available) for Cassandra examples.
We now check whether an external Apache Cassandra instance is available at localhost:9042 and use it to run the examples. Otherwise, if no external Apache Cassandra instance is available, we start an embedded Cassandra instance.
2017-01-27 12:53:17 +01:00
Oliver Gierke
1d3af17572 #226 - Polishing. 2017-01-27 12:52:17 +01:00
Mark Paluch
a138925b0d #226 - Add samples for new MongoDB aggregation operations in Ingalls. 2017-01-27 12:50:22 +01:00
Oliver Gierke
bc3623b532 #253 - Removed custom Neo4j infrastructure setup in favor of Boot 1.5's auto-configuration. 2017-01-27 12:40:27 +01:00
Oliver Gierke
4cf37f3527 #252 - Upgraded to Spring Boot 1.5 snapshots (and thus Ingalls).
Let JPA examples work with latest Hibernate (5.2.7).
2017-01-27 12:35:55 +01:00
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