#391 - Assert compatibility with Lovelace RC1.
Upgrade from Lovelace M3 to Lovelace RC1 for examples requiring Lovelace. Upgrade to latest stable MongoDB drivers. Adapt to API changes. Un-pin examples that were previously bound to Spring Data Kay.
This commit is contained in:
@@ -11,10 +11,6 @@
|
|||||||
<artifactId>spring-data-jpa-jpa21</artifactId>
|
<artifactId>spring-data-jpa-jpa21</artifactId>
|
||||||
<name>Spring Data JPA - JPA 2.1 specific features</name>
|
<name>Spring Data JPA - JPA 2.1 specific features</name>
|
||||||
|
|
||||||
<properties>
|
|
||||||
<spring-data-releasetrain.version>Kay-BUILD-SNAPSHOT</spring-data-releasetrain.version>
|
|
||||||
</properties>
|
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.hibernate</groupId>
|
<groupId>org.hibernate</groupId>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<name>Spring Data JPA - Vavr integration</name>
|
<name>Spring Data JPA - Vavr integration</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<spring-data-releasetrain.version>Lovelace-BUILD-SNAPSHOT</spring-data-releasetrain.version>
|
<spring-data-releasetrain.version>Lovelace-RC1</spring-data-releasetrain.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|||||||
@@ -12,9 +12,9 @@
|
|||||||
<name>Spring Data MongoDB - Change Streams</name>
|
<name>Spring Data MongoDB - Change Streams</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<mongodb.version>3.8.0-beta2</mongodb.version>
|
<mongodb.version>3.8.0</mongodb.version>
|
||||||
<mongo-driver-reactivestreams.version>1.9.0-beta1</mongo-driver-reactivestreams.version>
|
<mongo-driver-reactivestreams.version>1.9.0</mongo-driver-reactivestreams.version>
|
||||||
<spring-data-releasetrain.version>Lovelace-M3</spring-data-releasetrain.version>
|
<spring-data-releasetrain.version>Lovelace-RC1</spring-data-releasetrain.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
<profile>
|
<profile>
|
||||||
<id>spring-data-next</id>
|
<id>spring-data-next</id>
|
||||||
<properties>
|
<properties>
|
||||||
<spring-data-releasetrain.version>Lovelace-M3</spring-data-releasetrain.version>
|
<spring-data-releasetrain.version>Lovelace-RC1</spring-data-releasetrain.version>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
|
|||||||
@@ -189,9 +189,9 @@ public class ChangeStreamsTests {
|
|||||||
@Test
|
@Test
|
||||||
public void reactiveChangeEvents() {
|
public void reactiveChangeEvents() {
|
||||||
|
|
||||||
Flux<ChangeStreamEvent<Person>> changeStream = reactiveTemplate.changeStream(
|
Flux<ChangeStreamEvent<Person>> changeStream = reactiveTemplate.changeStream("person",
|
||||||
newAggregation(match(where("operationType").is("insert"))), Person.class, ChangeStreamOptions.empty(),
|
ChangeStreamOptions.builder().filter(newAggregation(match(where("operationType").is("insert")))).build(),
|
||||||
"person");
|
Person.class);
|
||||||
|
|
||||||
StepVerifier.create(changeStream) //
|
StepVerifier.create(changeStream) //
|
||||||
.expectSubscription() //
|
.expectSubscription() //
|
||||||
|
|||||||
@@ -12,9 +12,9 @@
|
|||||||
<name>Spring Data MongoDB - Transactions</name>
|
<name>Spring Data MongoDB - Transactions</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<mongodb.version>3.8.0-beta2</mongodb.version>
|
<mongodb.version>3.8.0</mongodb.version>
|
||||||
<mongo-driver-reactivestreams.version>1.9.0-beta1</mongo-driver-reactivestreams.version>
|
<mongo-driver-reactivestreams.version>1.9.0</mongo-driver-reactivestreams.version>
|
||||||
<spring-data-releasetrain.version>Lovelace-M3</spring-data-releasetrain.version>
|
<spring-data-releasetrain.version>Lovelace-RC1</spring-data-releasetrain.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
<profile>
|
<profile>
|
||||||
<id>spring-data-next</id>
|
<id>spring-data-next</id>
|
||||||
<properties>
|
<properties>
|
||||||
<spring-data-releasetrain.version>Lovelace-M3</spring-data-releasetrain.version>
|
<spring-data-releasetrain.version>Lovelace-RC1</spring-data-releasetrain.version>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@@ -53,7 +53,7 @@
|
|||||||
<profile>
|
<profile>
|
||||||
<id>spring-data-next-releasetrain-released</id>
|
<id>spring-data-next-releasetrain-released</id>
|
||||||
<properties>
|
<properties>
|
||||||
<spring-data-releasetrain.version>Lovelace-M3</spring-data-releasetrain.version>
|
<spring-data-releasetrain.version>Lovelace-RC1</spring-data-releasetrain.version>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user