Skip to content

Commit 7816edb

Browse files
committed
chore: bump to spring-boot 3.3.1
1 parent ff68037 commit 7816edb

File tree

94 files changed

+183
-107
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+183
-107
lines changed

boot-data-cassandra/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>3.3.0</version>
17+
<version>3.3.1</version>
1818
<relativePath/> <!-- lookup parent from repository -->
1919
</parent>
2020

boot-data-couchbase/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>3.3.0</version>
17+
<version>3.3.1</version>
1818
<relativePath/> <!-- lookup parent from repository -->
1919
</parent>
2020

boot-data-elasticsearch/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.3.0</version>
8+
<version>3.3.1</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.example</groupId>

boot-data-mongo-gridfs/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.3.0</version>
8+
<version>3.3.1</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.example</groupId>

boot-data-mongo-querydsl/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.3.0</version>
8+
<version>3.3.1</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.example</groupId>

boot-data-mongo-tailable/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.3.0</version>
8+
<version>3.3.1</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.example</groupId>

boot-data-mongo/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>3.3.0</version>
17+
<version>3.3.1</version>
1818
<relativePath/> <!-- lookup parent from repository -->
1919
</parent>
2020

boot-data-neo4j/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.3.0</version>
8+
<version>3.3.1</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.example</groupId>

boot-data-redis/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>3.3.0</version>
17+
<version>3.3.1</version>
1818
<relativePath/> <!-- lookup parent from repository -->
1919
</parent>
2020

boot-exception-handler/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>3.3.0</version>
17+
<version>3.3.1</version>
1818
<relativePath/> <!-- lookup parent from repository -->
1919
</parent>
2020

boot-groovy/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>3.3.0</version>
17+
<version>3.3.1</version>
1818
<relativePath/> <!-- lookup parent from repository -->
1919
</parent>
2020

boot-kotlin-co-dsl/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.3.0</version>
8+
<version>3.3.1</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.example</groupId>

boot-kotlin-co/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>3.3.0</version>
17+
<version>3.3.1</version>
1818
<relativePath/> <!-- lookup parent from repository -->
1919
</parent>
2020

boot-kotlin-dsl/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.3.0</version>
8+
<version>3.3.1</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.example</groupId>

boot-kotlin/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>3.3.0</version>
17+
<version>3.3.1</version>
1818
<relativePath/> <!-- lookup parent from repository -->
1919
</parent>
2020

boot-mongo/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>3.3.0</version>
17+
<version>3.3.1</version>
1818
<relativePath/> <!-- lookup parent from repository -->
1919
</parent>
2020

boot-mvc-freemarker/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>3.3.0</version>
17+
<version>3.3.1</version>
1818
<relativePath/> <!-- lookup parent from repository -->
1919
</parent>
2020

boot-mvc-mustache/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>3.3.0</version>
17+
<version>3.3.1</version>
1818
<relativePath/> <!-- lookup parent from repository -->
1919
</parent>
2020

boot-mvc-thymeleaf/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>3.3.0</version>
17+
<version>3.3.1</version>
1818
<relativePath/> <!-- lookup parent from repository -->
1919
</parent>
2020

boot-neo4j-cypher/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.3.0</version>
8+
<version>3.3.1</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.example</groupId>

boot-neo4j/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.3.0</version>
8+
<version>3.3.1</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.example</groupId>

boot-neo4j/src/main/java/com/example/demo/DemoApplication.java

+18-2
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,26 @@
22

33
import lombok.*;
44
import lombok.extern.slf4j.Slf4j;
5+
import org.neo4j.driver.Driver;
56
import org.springframework.boot.CommandLineRunner;
67
import org.springframework.boot.SpringApplication;
78
import org.springframework.boot.autoconfigure.SpringBootApplication;
9+
import org.springframework.context.annotation.Bean;
10+
import org.springframework.context.annotation.Configuration;
811
import org.springframework.context.annotation.Profile;
912
import org.springframework.data.annotation.CreatedDate;
1013
import org.springframework.data.annotation.Id;
1114
import org.springframework.data.neo4j.config.EnableNeo4jAuditing;
15+
import org.springframework.data.neo4j.core.ReactiveDatabaseSelectionProvider;
1216
import org.springframework.data.neo4j.core.ReactiveNeo4jOperations;
1317
import org.springframework.data.neo4j.core.schema.GeneratedValue;
1418
import org.springframework.data.neo4j.core.schema.Node;
19+
import org.springframework.data.neo4j.core.transaction.ReactiveNeo4jTransactionManager;
1520
import org.springframework.http.ResponseEntity;
1621
import org.springframework.stereotype.Component;
22+
import org.springframework.transaction.ReactiveTransactionManager;
1723
import org.springframework.transaction.annotation.EnableTransactionManagement;
24+
import org.springframework.transaction.reactive.TransactionalOperator;
1825
import org.springframework.web.bind.annotation.*;
1926
import reactor.core.publisher.Flux;
2027
import reactor.core.publisher.Mono;
@@ -26,7 +33,6 @@
2633

2734
@SpringBootApplication
2835
@EnableNeo4jAuditing
29-
@EnableTransactionManagement
3036
public class DemoApplication {
3137

3238
public static void main(String[] args) {
@@ -35,6 +41,16 @@ public static void main(String[] args) {
3541

3642
}
3743

44+
@Configuration
45+
class Neo4jTxConfiguration {
46+
@Bean
47+
ReactiveTransactionManager reactiveTransactionManager(
48+
Driver driver,
49+
ReactiveDatabaseSelectionProvider databaseNameProvider) {
50+
return new ReactiveNeo4jTransactionManager(driver, databaseNameProvider);
51+
}
52+
}
53+
3854
@Component
3955
@Slf4j
4056
@RequiredArgsConstructor
@@ -60,7 +76,7 @@ public void run(String[] args) {
6076
this.posts.findAll()
6177
)
6278
//.blockLast();
63-
.subscribe(post -> log.info("saved post: {}", post));//this will fail test.
79+
.subscribe(post -> log.info("saved post: {}", post));//this will fail test.
6480

6581
}
6682

boot-neo4j/src/test/java/com/example/demo/PostRepositoryTest.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,16 @@
3232
import static org.junit.jupiter.api.Assertions.assertEquals;
3333

3434
@DataNeo4jTest
35-
// @Transactional(propagation = Propagation.NOT_SUPPORTED) // reactive is not supported
35+
@Transactional(propagation = Propagation.NOT_SUPPORTED) // reactive is not supported
3636
@Testcontainers
3737
@Slf4j
3838
@TestInstance(TestInstance.Lifecycle.PER_METHOD)
3939
@ActiveProfiles("test")
40+
@Import(Neo4jTxConfiguration.class)
4041
public class PostRepositoryTest {
4142

4243
@Container
43-
static Neo4jContainer<?> neo4jContainer = new Neo4jContainer<>("neo4j:5")
44+
static Neo4jContainer<?> neo4jContainer = new Neo4jContainer<>("neo4j:latest")
4445
.withStartupTimeout(Duration.ofMinutes(5));
4546

4647
@DynamicPropertySource

boot-pulsar/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.3.0</version>
8+
<version>3.3.1</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.example</groupId>

boot-reactor-kafka/receiver/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.3.0</version>
8+
<version>3.3.1</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.example</groupId>

boot-reactor-kafka/sender/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.3.0</version>
8+
<version>3.3.1</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.example</groupId>

boot-reactor-rabbitmq/receiver/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.3.0</version>
8+
<version>3.3.1</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.example</groupId>

boot-reactor-rabbitmq/sender/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.3.0</version>
8+
<version>3.3.1</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.example</groupId>

boot-redis/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>3.3.0</version>
17+
<version>3.3.1</version>
1818
<relativePath/> <!-- lookup parent from repository -->
1919
</parent>
2020

boot-start-routes/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>3.3.0</version>
17+
<version>3.3.1</version>
1818
<relativePath/> <!-- lookup parent from repository -->
1919
</parent>
2020

boot-start/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>3.3.0</version>
17+
<version>3.3.1</version>
1818
<relativePath/> <!-- lookup parent from repository -->
1919
</parent>
2020

cache-caffeine/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<parent>
1414
<groupId>org.springframework.boot</groupId>
1515
<artifactId>spring-boot-starter-parent</artifactId>
16-
<version>3.3.0</version>
16+
<version>3.3.1</version>
1717
<relativePath/> <!-- lookup parent from repository -->
1818
</parent>
1919
<properties>

cache-redis/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<parent>
1414
<groupId>org.springframework.boot</groupId>
1515
<artifactId>spring-boot-starter-parent</artifactId>
16-
<version>3.3.0</version>
16+
<version>3.3.1</version>
1717
<relativePath/> <!-- lookup parent from repository -->
1818
</parent>
1919
<properties>

cache/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<parent>
1414
<groupId>org.springframework.boot</groupId>
1515
<artifactId>spring-boot-starter-parent</artifactId>
16-
<version>3.3.0</version>
16+
<version>3.3.1</version>
1717
<relativePath/> <!-- lookup parent from repository -->
1818
</parent>
1919
<properties>

client-apache-httpclient5/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>3.3.0</version>
17+
<version>3.3.1</version>
1818
<relativePath/> <!-- lookup parent from repository -->
1919
</parent>
2020

client-jdk11-httpclient/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>3.3.0</version>
17+
<version>3.3.1</version>
1818
<relativePath/> <!-- lookup parent from repository -->
1919
</parent>
2020

client-jetty/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>3.3.0</version>
17+
<version>3.3.1</version>
1818
<relativePath/> <!-- lookup parent from repository -->
1919
</parent>
2020

0 commit comments

Comments
 (0)