File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
spring-boot-project/spring-boot-cassandra
src/dockerTest/java/org/springframework/boot/cassandra/autoconfigure Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ plugins {
33 id " org.springframework.boot.auto-configuration"
44 id " org.springframework.boot.configuration-properties"
55 id " org.springframework.boot.deployed"
6+ id " org.springframework.boot.docker-test"
67 id " org.springframework.boot.optional-dependencies"
78}
89
@@ -12,6 +13,12 @@ dependencies {
1213 api(project(" :spring-boot-project:spring-boot" ))
1314 api(" org.apache.cassandra:java-driver-core" )
1415
16+ dockerTestImplementation(project(" :spring-boot-project:spring-boot-test" ))
17+ dockerTestImplementation(project(" :spring-boot-project:spring-boot-tools:spring-boot-test-support-docker" ))
18+ dockerTestImplementation(" org.junit.jupiter:junit-jupiter" )
19+ dockerTestImplementation(" org.testcontainers:cassandra" )
20+ dockerTestImplementation(" org.testcontainers:junit-jupiter" )
21+
1522 optional(project(" :spring-boot-project:spring-boot-autoconfigure" ))
1623
1724 testImplementation(project(" :spring-boot-project:spring-boot-test" ))
Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- package org .springframework .boot .autoconfigure . cassandra ;
17+ package org .springframework .boot .cassandra . autoconfigure ;
1818
1919import com .datastax .oss .driver .api .core .CqlSession ;
2020import com .datastax .oss .driver .api .core .config .DriverConfigLoader ;
2626import org .springframework .beans .factory .config .BeanPostProcessor ;
2727import org .springframework .beans .factory .support .BeanDefinitionRegistry ;
2828import org .springframework .boot .autoconfigure .AutoConfigurations ;
29- import org .springframework .boot .cassandra .autoconfigure .CassandraAutoConfiguration ;
3029import org .springframework .boot .test .context .runner .ApplicationContextRunner ;
3130import org .springframework .boot .testsupport .container .TestImage ;
3231import org .springframework .context .annotation .Bean ;
Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- package org .springframework .boot .autoconfigure . cassandra ;
17+ package org .springframework .boot .cassandra . autoconfigure ;
1818
1919import java .net .InetSocketAddress ;
2020import java .nio .charset .StandardCharsets ;
3737
3838import org .springframework .beans .factory .BeanCreationException ;
3939import org .springframework .boot .autoconfigure .AutoConfigurations ;
40- import org .springframework .boot .cassandra .autoconfigure .CassandraAutoConfiguration ;
4140import org .springframework .boot .test .context .runner .ApplicationContextRunner ;
4241import org .springframework .boot .testsupport .container .TestImage ;
4342import org .springframework .util .StreamUtils ;
You can’t perform that action at this time.
0 commit comments