Commit Graph

11 Commits

Author SHA1 Message Date
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
Mark Paluch
a2f963df14 #328 - Fix reactive MongoDB tailable cursor examples.
Replace flatMap(…) operator after collection drop with then(…) to create the collection regardless of whether the previous operation emitted an element or not.

Collect emitted elements to add an assertion and fail if the tailing does not work.
2017-11-30 17:18:10 -08: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
Christoph Strobl
7a557bfd72 #297 - Move MongoDB example from RxJava1 to RxJava2. 2017-10-06 15:29:28 +02:00
Jens Schauder
80b70e6bd2 #297 - Fixed failing test due to repository methods now returning Optional.
Also migrated Tests to AssertJ. Fixed compilation failure due to changed API of CollectionOptions
2017-10-06 15:26:40 +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
b1ffd9cede #264 - Read MongoDB port from local.mongo.port.
Port handling for embedded MongoDB use has changed. Spring Boot no longer writes the port to MongoProperties but updates property sources to provide local.mongo.port so the reactive configuration is required to read local.mongo.port to obtain the port.
2017-03-06 11:29:37 +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
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