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 {
3
3
id " org.springframework.boot.auto-configuration"
4
4
id " org.springframework.boot.configuration-properties"
5
5
id " org.springframework.boot.deployed"
6
+ id " org.springframework.boot.docker-test"
6
7
id " org.springframework.boot.optional-dependencies"
7
8
}
8
9
@@ -12,6 +13,12 @@ dependencies {
12
13
api(project(" :spring-boot-project:spring-boot" ))
13
14
api(" org.apache.cassandra:java-driver-core" )
14
15
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
+
15
22
optional(project(" :spring-boot-project:spring-boot-autoconfigure" ))
16
23
17
24
testImplementation(project(" :spring-boot-project:spring-boot-test" ))
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- package org .springframework .boot .autoconfigure . cassandra ;
17
+ package org .springframework .boot .cassandra . autoconfigure ;
18
18
19
19
import com .datastax .oss .driver .api .core .CqlSession ;
20
20
import com .datastax .oss .driver .api .core .config .DriverConfigLoader ;
26
26
import org .springframework .beans .factory .config .BeanPostProcessor ;
27
27
import org .springframework .beans .factory .support .BeanDefinitionRegistry ;
28
28
import org .springframework .boot .autoconfigure .AutoConfigurations ;
29
- import org .springframework .boot .cassandra .autoconfigure .CassandraAutoConfiguration ;
30
29
import org .springframework .boot .test .context .runner .ApplicationContextRunner ;
31
30
import org .springframework .boot .testsupport .container .TestImage ;
32
31
import org .springframework .context .annotation .Bean ;
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- package org .springframework .boot .autoconfigure . cassandra ;
17
+ package org .springframework .boot .cassandra . autoconfigure ;
18
18
19
19
import java .net .InetSocketAddress ;
20
20
import java .nio .charset .StandardCharsets ;
37
37
38
38
import org .springframework .beans .factory .BeanCreationException ;
39
39
import org .springframework .boot .autoconfigure .AutoConfigurations ;
40
- import org .springframework .boot .cassandra .autoconfigure .CassandraAutoConfiguration ;
41
40
import org .springframework .boot .test .context .runner .ApplicationContextRunner ;
42
41
import org .springframework .boot .testsupport .container .TestImage ;
43
42
import org .springframework .util .StreamUtils ;
You can’t perform that action at this time.
0 commit comments