Commit Graph

25 Commits

Author SHA1 Message Date
Mark Paluch
01da5a94b9 #437 - Add example for Cassandra Lifecycle Events. 2018-11-30 13:51:50 +01:00
Mark Paluch
dc67d5272b #435 - Upgrade to Spring Boot 2.1.1.RELEASE.
Upgrade to Spring Boot 2.1.1. Cleanup POM references.
2018-11-30 13:48:47 +01:00
Jens Schauder
b667cd2cea #424 - Forced Lovelace-RELEASE for Cassandra-Kotlin example.
Older versions failed with MethodNotFound.
2018-10-22 11:40:09 +02:00
Mark Paluch
d36fd2eb8b Add Kotlin example for Spring Data Cassandra. 2018-09-18 19:11:33 +02:00
Mark Paluch
3a4a9d27b2 #382 - Adapt examples to Spring Boot 2.1 changes.
Replace custom configuration with the one that Boot provides. Adapt to DataMongo configuration that requires a MongoClient bean.
2018-07-26 11:57:11 +02:00
Oliver Gierke
d854c6d084 #342 - Expanded copyright headers to 2018.
Removed trailing whitespace in touched files.
2018-02-22 11:42:57 +01:00
Mark Paluch
69c2c2aef4 #266 - Refactor reactive tests to use StepVerifier and test methods.
We now use StepVerifier and RxJava's .test() methods instead of .block() calls. Using blocking methods is an anti pattern which should be avoided within tests. Test API comes with timeouts and protects tests from never completing.
2017-11-30 18:03:51 -08:00
Oliver Gierke
ffc33fcf92 #297 - Adapt to latest API changes in RxJava 2 in Cassandra module. 2017-10-06 18:24:58 +02:00
Oliver Gierke
42a27837a0 #297 - Adapt to latest API changes in Reactor 3.1 RC1 and Spring Data MongoDB. 2017-10-06 15:31:12 +02:00
Mark Paluch
d319758bef #297 - Upgraded samples for Spring Data for Cassandra to Kay.
Adapt to changed API. Migrate tests to use AssertJ. Re-enable Cassandra examples. Adapt Cassandra examples to relocated packages. Adapt reactive Cassandra examples to removed insert(Publisher) method.

Exclude the reporter-config3 library from cassandra-all as it pulls in an outdated hibernate-validator version 4.3.0 that conflicts with Spring Boot's Hibernate Validator baseline and it's not required during tests because we don't publish any metrics.
2017-10-06 15:23:57 +02:00
Oliver Gierke
4164bc4607 #297 - Upgraded to Boot 2.0 and Spring Data Kay.
Bumped version number to 2.0. Upgraded to Spring Boot 2.0.

Stuff disabled in the meantime:

- Cassandra: needs API adaptions in configuration
- JPA > Security: test fails with weird Hibernate error
- Redis > Reactive: API updates needed
- Solr: configration updates necessary

adjust versions

Updated elastic search to the new version.

Fixed the reactor version to Bismuth-BUILD-SNAPSHOT. This probably should be undone when boot references the proper bom.
2017-10-06 15:15:53 +02:00
Mark Paluch
90546357c7 #291 - Adapt to API changes in Spring Data Cassandra.
Exclude CassandraDataAutoConfiguration because the referenced Spring Data Cassandra version is not compatible with CassandraDataAutoConfiguration. Refactor bulk loading to flapMap(…) as CassandraTemplate.insert(…) no longer accepts an entity stream.
2017-08-25 13:39:48 +02:00
Oliver Gierke
b527cbf1d6 #291 - Upgraded to Spring Boot 1.5.6.
Upgraded to Boot 1.5.6. Updated dependencies of reactive projects to latest versions to make sure the APIs of Boot work with the changes in Spring Data Kay RC1. Upgraded all other dependencies to match and got both the Redis and the Cassandra examples to compile again.

Disabled Cassandra reactive samples for now as they fail at runtime.
2017-08-25 11:00:11 +02:00
Mark Paluch
a0754b7ce6 #280 - Increase Cassandra startup timeout to 60 seconds. 2017-06-19 11:56:11 +02: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
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
20879e7fa3 #215 - Add reactive examples for MongoDB, Apache Cassandra and Redis. 2016-11-23 09:56:27 +01: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
bca4e65e4f #115 - Harmonized package names.
We now consistently use example.springdata.$store as base package name.
2015-07-16 09:10:20 +02:00
Oliver Gierke
b15b1390ac #37 - Upgrade to Spring Data release train Fowler M1. 2014-12-01 13:33:58 +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