Skip to content

Commit 81fa665

Browse files
committed
Move Redis Docker Compose support into spring-boot-data-redis
1 parent d2b730d commit 81fa665

File tree

14 files changed

+7
-6
lines changed

14 files changed

+7
-6
lines changed

spring-boot-project/spring-boot-data-redis/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ dependencies {
1515
api("org.springframework.data:spring-data-redis")
1616
compileOnly("com.fasterxml.jackson.core:jackson-annotations")
1717
implementation(project(":spring-boot-project:spring-boot-netty"))
18-
optional(project(":spring-boot-project:spring-boot-autoconfigure"))
1918
optional(project(":spring-boot-project:spring-boot-actuator"))
2019
optional(project(":spring-boot-project:spring-boot-autoconfigure"))
20+
optional(project(":spring-boot-project:spring-boot-docker-compose"))
2121
optional(project(":spring-boot-project:spring-boot-testcontainers"))
2222
optional("com.redis:testcontainers-redis")
2323
optional("redis.clients:jedis")
@@ -27,6 +27,7 @@ dependencies {
2727
dockerTestImplementation(project(":spring-boot-project:spring-boot-test"))
2828
dockerTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support-docker"))
2929
dockerTestImplementation(testFixtures(project(":spring-boot-project:spring-boot-autoconfigure")))
30+
dockerTestImplementation(testFixtures(project(":spring-boot-project:spring-boot-docker-compose")))
3031
dockerTestImplementation(testFixtures(project(":spring-boot-project:spring-boot-testcontainers")))
3132
dockerTestImplementation("ch.qos.logback:logback-classic")
3233
dockerTestImplementation("org.testcontainers:junit-jupiter")
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.docker.compose.service.connection.redis;
17+
package org.springframework.boot.data.redis.docker.compose;
1818

1919
import javax.net.ssl.SSLContext;
2020

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.docker.compose.service.connection.redis;
17+
package org.springframework.boot.data.redis.docker.compose;
1818

1919
import org.springframework.boot.data.redis.autoconfigure.RedisConnectionDetails;
2020
import org.springframework.boot.docker.compose.core.RunningService;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
*/
1616

1717
/**
18-
* Auto-configuration for Docker Compose Redis service connections.
18+
* Support for Docker Compose Redis service connections.
1919
*/
20-
package org.springframework.boot.docker.compose.service.connection.redis;
20+
package org.springframework.boot.data.redis.docker.compose;

spring-boot-project/spring-boot-data-redis/src/main/resources/META-INF/spring.factories

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Connection Details Factories
22
org.springframework.boot.autoconfigure.service.connection.ConnectionDetailsFactory=\
3+
org.springframework.boot.data.redis.docker.compose.RedisDockerComposeConnectionDetailsFactory,\
34
org.springframework.boot.data.redis.testcontainers.RedisContainerConnectionDetailsFactory
45

56
# Failure Analyzers

spring-boot-project/spring-boot-docker-compose-all/src/main/resources/META-INF/spring.factories

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ org.springframework.boot.autoconfigure.service.connection.ConnectionDetailsFacto
33
org.springframework.boot.docker.compose.service.connection.otlp.OpenTelemetryLoggingDockerComposeConnectionDetailsFactory,\
44
org.springframework.boot.docker.compose.service.connection.otlp.OpenTelemetryMetricsDockerComposeConnectionDetailsFactory,\
55
org.springframework.boot.docker.compose.service.connection.otlp.OpenTelemetryTracingDockerComposeConnectionDetailsFactory,\
6-
org.springframework.boot.docker.compose.service.connection.redis.RedisDockerComposeConnectionDetailsFactory,\
76
org.springframework.boot.docker.compose.service.connection.zipkin.ZipkinDockerComposeConnectionDetailsFactory

0 commit comments

Comments
 (0)