Move Neo4j Docker Compose support into spring-boot-neo4j

Issue: 46106
This commit is contained in:
Phillip Webb 2025-05-19 19:32:21 -07:00
parent 5c8319a45f
commit 39673b6f46
10 changed files with 9 additions and 7 deletions

View File

@ -3,7 +3,6 @@ org.springframework.boot.autoconfigure.service.connection.ConnectionDetailsFacto
org.springframework.boot.docker.compose.service.connection.clickhouse.ClickHouseR2dbcDockerComposeConnectionDetailsFactory,\
org.springframework.boot.docker.compose.service.connection.mariadb.MariaDbR2dbcDockerComposeConnectionDetailsFactory,\
org.springframework.boot.docker.compose.service.connection.mysql.MySqlR2dbcDockerComposeConnectionDetailsFactory,\
org.springframework.boot.docker.compose.service.connection.neo4j.Neo4jDockerComposeConnectionDetailsFactory,\
org.springframework.boot.docker.compose.service.connection.oracle.OracleFreeR2dbcDockerComposeConnectionDetailsFactory,\
org.springframework.boot.docker.compose.service.connection.oracle.OracleXeR2dbcDockerComposeConnectionDetailsFactory,\
org.springframework.boot.docker.compose.service.connection.otlp.OpenTelemetryLoggingDockerComposeConnectionDetailsFactory,\

View File

@ -34,11 +34,13 @@ dependencies {
optional(project(":spring-boot-project:spring-boot-actuator-autoconfigure"))
optional(project(":spring-boot-project:spring-boot-autoconfigure"))
optional(project(":spring-boot-project:spring-boot-docker-compose"))
optional(project(":spring-boot-project:spring-boot-testcontainers"))
optional("org.testcontainers:neo4j")
dockerTestImplementation(project(":spring-boot-project:spring-boot-test"))
dockerTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support-docker"))
dockerTestImplementation(testFixtures(project(":spring-boot-project:spring-boot-docker-compose")))
dockerTestImplementation("org.testcontainers:junit-jupiter")
dockerTestImplementation("org.testcontainers:neo4j")

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.docker.compose.service.connection.neo4j;
package org.springframework.boot.neo4j.docker.compose;
import org.neo4j.driver.AuthTokens;
import org.neo4j.driver.Driver;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.docker.compose.service.connection.neo4j;
package org.springframework.boot.neo4j.docker.compose;
import java.net.URI;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.docker.compose.service.connection.neo4j;
package org.springframework.boot.neo4j.docker.compose;
import java.util.Map;

View File

@ -15,6 +15,6 @@
*/
/**
* Auto-configuration for Docker Compose Neo4j service connections.
* Support for Docker Compose Neo4J service connections.
*/
package org.springframework.boot.docker.compose.service.connection.neo4j;
package org.springframework.boot.neo4j.docker.compose;

View File

@ -1,3 +1,4 @@
# Connection Details Factories
org.springframework.boot.autoconfigure.service.connection.ConnectionDetailsFactory=\
org.springframework.boot.neo4j.docker.compose.Neo4jDockerComposeConnectionDetailsFactory,\
org.springframework.boot.neo4j.testcontainers.Neo4jContainerConnectionDetailsFactory

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.docker.compose.service.connection.neo4j;
package org.springframework.boot.neo4j.docker.compose;
import java.util.Collections;
import java.util.Map;