File tree Expand file tree Collapse file tree 7 files changed +15
-23
lines changed
src/intTest/java/org/springframework/pulsar/inttest/app
src/main/java/org/springframework/pulsar/test/support
src/main/java/org/springframework/pulsar/listener/adapter Expand file tree Collapse file tree 7 files changed +15
-23
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,13 @@ jacoco = "0.8.9"
1919json-path = " 2.9.0"
2020junit = " 6.0.0"
2121hamcrest = " 3.0"
22- mockito = " 5.17 .0"
22+ mockito = " 5.20 .0"
2323spring-dep-mgmt = " 1.1.7"
24- spring-boot = " 4.0.0-M3 "
25- spring-boot-for-docs = " 4.0.0-M3 "
24+ spring-boot = " 4.0.0-SNAPSHOT "
25+ spring-boot-for-docs = " 4.0.0-SNAPSHOT "
2626spring-cloud-stream = " 5.0.0-SNAPSHOT"
2727system-lambda = " 1.2.1"
28- testcontainers = " 1.21.3 "
28+ testcontainers = " 2.0.1 "
2929# plugins
3030antora = " 1.0.0"
3131antora-yml = " 0.0.1"
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ dependencies {
1616 intTestImplementation project(' :spring-pulsar' )
1717 intTestImplementation project(' :spring-pulsar-test' )
1818 intTestImplementation ' org.awaitility:awaitility'
19- intTestImplementation ' org.testcontainers:junit-jupiter'
20- intTestImplementation ' org.testcontainers:pulsar'
21- intTestImplementation ' org.testcontainers:rabbitmq'
19+ intTestImplementation ' org.testcontainers:testcontainers- junit-jupiter'
20+ intTestImplementation ' org.testcontainers:testcontainers- pulsar'
21+ intTestImplementation ' org.testcontainers:testcontainers- rabbitmq'
2222 intTestImplementation libs. spring. boot. starter. test
2323 intTestImplementation libs. spring. boot. starter. amqp
2424 // Exclude spring-pulsar from boot in order to use current changes in project
Original file line number Diff line number Diff line change 1818
1919import java .time .Duration ;
2020
21- import org .testcontainers .containers .PulsarContainer ;
21+ import org .testcontainers .pulsar .PulsarContainer ;
2222import org .testcontainers .utility .MountableFile ;
2323
2424import org .springframework .pulsar .test .support .PulsarTestContainerSupport ;
Original file line number Diff line number Diff line change @@ -6,15 +6,8 @@ description = 'Spring Pulsar Test Utilities Module'
66
77dependencies {
88 implementation ' org.junit.jupiter:junit-jupiter-api'
9- // Testcontainers brings in commons-compress 1.24.0 which has 2 CVEs.
10- // Exclude and override version to 1.26.0 until TC updates to latest
11- // commons-compress.
12- implementation(' org.testcontainers:pulsar' ) {
13- exclude group : ' org.apache.commons' , module : ' commons-compress'
14- }
15- implementation(' org.testcontainers:junit-jupiter' ) {
16- exclude group : ' org.apache.commons' , module : ' commons-compress'
17- }
9+ implementation(' org.testcontainers:testcontainers-pulsar' )
10+ implementation(' org.testcontainers:testcontainers-junit-jupiter' )
1811 implementation libs. commons. compress
1912 implementation project(' :spring-pulsar' )
2013 testImplementation ' org.assertj:assertj-core'
Original file line number Diff line number Diff line change 1717package org .springframework .pulsar .test .support ;
1818
1919import org .junit .jupiter .api .BeforeAll ;
20- import org .testcontainers .containers .PulsarContainer ;
2120import org .testcontainers .junit .jupiter .Testcontainers ;
21+ import org .testcontainers .pulsar .PulsarContainer ;
2222import org .testcontainers .utility .DockerImageName ;
2323
2424/**
Original file line number Diff line number Diff line change @@ -39,16 +39,16 @@ dependencies {
3939 testImplementation ' org.junit.jupiter:junit-jupiter'
4040 testImplementation ' org.mockito:mockito-junit-jupiter'
4141 testImplementation ' org.springframework:spring-test'
42- testImplementation ' org.testcontainers:junit-jupiter'
43- testImplementation ' org.testcontainers:pulsar'
42+ testImplementation ' org.testcontainers:testcontainers- junit-jupiter'
43+ testImplementation ' org.testcontainers:testcontainers- pulsar'
4444
4545 // Output capture used by PulsarFunctionAdministrationTests
4646 testImplementation libs. system. lambda
4747 testRuntimeOnly libs. logback. classic
4848
4949 // Used by PulsarMixedTransactionTests (Pulsar + DB)
5050 testImplementation ' org.springframework:spring-jdbc'
51- testImplementation " org.testcontainers:mysql"
51+ testImplementation " org.testcontainers:testcontainers- mysql"
5252 testImplementation ' mysql:mysql-connector-java:8.0.33'
5353
5454 // Used by UserRecordDe/serializer in test fixtures
Original file line number Diff line number Diff line change 2828import org .apache .pulsar .client .api .Reader ;
2929import org .jspecify .annotations .Nullable ;
3030
31- import org .springframework .context .expression .MapAccessor ;
3231import org .springframework .core .MethodParameter ;
3332import org .springframework .core .log .LogAccessor ;
3433import org .springframework .expression .BeanResolver ;
3534import org .springframework .expression .spel .standard .SpelExpressionParser ;
35+ import org .springframework .expression .spel .support .MapAccessor ;
3636import org .springframework .expression .spel .support .StandardEvaluationContext ;
3737import org .springframework .expression .spel .support .StandardTypeConverter ;
3838import org .springframework .messaging .converter .MessageConversionException ;
@@ -132,7 +132,6 @@ protected boolean isPulsarMessageList() {
132132 return this .isPulsarMessageList ;
133133 }
134134
135- @ SuppressWarnings ("removal" )
136135 public void setBeanResolver (BeanResolver beanResolver ) {
137136 this .evaluationContext .setBeanResolver (beanResolver );
138137 this .evaluationContext .setTypeConverter (new StandardTypeConverter ());
You can’t perform that action at this time.
0 commit comments