Move Neo4j testcontainers support into spring-boot-neo4j
This commit is contained in:
committed by
Phillip Webb
parent
00a989d047
commit
c6c47fdf0a
@@ -17,10 +17,11 @@ 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-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("org.junit.jupiter:junit-jupiter")
|
||||
dockerTestImplementation("org.testcontainers:junit-jupiter")
|
||||
dockerTestImplementation("org.testcontainers:neo4j")
|
||||
|
||||
@@ -28,6 +29,7 @@ dependencies {
|
||||
|
||||
testImplementation(project(":spring-boot-project:spring-boot-test"))
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
testImplementation(testFixtures(project(":spring-boot-project:spring-boot-testcontainers")))
|
||||
testImplementation("io.projectreactor:reactor-test")
|
||||
|
||||
testRuntimeOnly("ch.qos.logback:logback-classic")
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.testcontainers.service.connection.neo4j;
|
||||
package org.springframework.boot.neo4j.testcontainers;
|
||||
|
||||
import java.net.URI;
|
||||
|
||||
@@ -17,4 +17,4 @@
|
||||
/**
|
||||
* Support for testcontainers Neo4J service connections.
|
||||
*/
|
||||
package org.springframework.boot.testcontainers.service.connection.neo4j;
|
||||
package org.springframework.boot.neo4j.testcontainers;
|
||||
@@ -0,0 +1,3 @@
|
||||
# Connection Details Factories
|
||||
org.springframework.boot.autoconfigure.service.connection.ConnectionDetailsFactory=\
|
||||
org.springframework.boot.neo4j.testcontainers.Neo4jContainerConnectionDetailsFactory
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.testcontainers.service.connection.neo4j;
|
||||
package org.springframework.boot.neo4j.testcontainers;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.neo4j.driver.AuthToken;
|
||||
@@ -40,19 +40,16 @@ dependencies {
|
||||
optional(project(":spring-boot-project:spring-boot-actuator-autoconfigure-all"))
|
||||
optional(project(":spring-boot-project:spring-boot-data-redis"))
|
||||
optional(project(":spring-boot-project:spring-boot-jdbc"))
|
||||
optional(project(":spring-boot-project:spring-boot-neo4j"))
|
||||
optional(project(":spring-boot-project:spring-boot-pulsar"))
|
||||
optional(project(":spring-boot-project:spring-boot-r2dbc"))
|
||||
optional(project(":spring-boot-project:spring-boot-tx"))
|
||||
optional("org.springframework:spring-test")
|
||||
optional("org.springframework.data:spring-data-neo4j")
|
||||
optional("org.testcontainers:clickhouse")
|
||||
optional("org.testcontainers:grafana")
|
||||
optional("org.testcontainers:jdbc")
|
||||
optional("org.testcontainers:mariadb")
|
||||
optional("org.testcontainers:mssqlserver")
|
||||
optional("org.testcontainers:mysql")
|
||||
optional("org.testcontainers:neo4j")
|
||||
optional("org.testcontainers:oracle-xe")
|
||||
optional("org.testcontainers:oracle-free")
|
||||
optional("org.testcontainers:postgresql")
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
# Connection Details Factories
|
||||
org.springframework.boot.autoconfigure.service.connection.ConnectionDetailsFactory=\
|
||||
org.springframework.boot.testcontainers.service.connection.neo4j.Neo4jContainerConnectionDetailsFactory,\
|
||||
org.springframework.boot.testcontainers.service.connection.otlp.GrafanaOpenTelemetryLoggingContainerConnectionDetailsFactory,\
|
||||
org.springframework.boot.testcontainers.service.connection.otlp.GrafanaOpenTelemetryMetricsContainerConnectionDetailsFactory,\
|
||||
org.springframework.boot.testcontainers.service.connection.otlp.GrafanaOpenTelemetryTracingContainerConnectionDetailsFactory,\
|
||||
|
||||
Reference in New Issue
Block a user