
This commit introduces auto-configuration for the new Elasticsearch clients that are based upon their new Java client. The new Java client builds on top of their existing low-level REST client, replacing the high-level REST client which has been deprecated. As part of introducing support for the new Elasticsearch client, the auto-configuration for the templates (both imperative and reactive) provided by Spring Data has also been updated to use the new templates that build upon the new Java client. As part of these changes, support for the high-level REST client and the old Spring Data Elasticsearch templates has been removed. One significant change is that the new reactive template is no longer based on WebClient. As a result, the WebClient-specific configuration property has been removed. Closes gh-30647 Closes gh-28597 Closes gh-31755
47 lines
1.7 KiB
Groovy
47 lines
1.7 KiB
Groovy
plugins {
|
|
id "java-library"
|
|
id "org.springframework.boot.conventions"
|
|
}
|
|
|
|
description = "Spring Boot Testing Support"
|
|
|
|
dependencies {
|
|
api(platform(project(path: ":spring-boot-project:spring-boot-parent")))
|
|
|
|
compileOnly("com.datastax.oss:java-driver-core") {
|
|
exclude(group: "org.slf4j", module: "jcl-over-slf4j")
|
|
}
|
|
compileOnly("jakarta.servlet:jakarta.servlet-api")
|
|
compileOnly("junit:junit")
|
|
compileOnly("org.junit.jupiter:junit-jupiter")
|
|
compileOnly("org.junit.platform:junit-platform-engine")
|
|
compileOnly("org.junit.platform:junit-platform-launcher")
|
|
compileOnly("org.mockito:mockito-core")
|
|
compileOnly("org.springframework:spring-context")
|
|
compileOnly("org.springframework.data:spring-data-redis")
|
|
compileOnly("org.testcontainers:cassandra")
|
|
compileOnly("org.testcontainers:testcontainers")
|
|
|
|
implementation("jakarta.inject:jakarta.inject-api")
|
|
implementation("org.apache.maven.resolver:maven-resolver-connector-basic")
|
|
implementation("org.apache.maven.resolver:maven-resolver-impl")
|
|
implementation("org.apache.maven:maven-resolver-provider") {
|
|
exclude(group: "javax.inject", module: "javax.inject")
|
|
}
|
|
implementation("org.apache.maven.resolver:maven-resolver-transport-http") {
|
|
exclude group: "org.slf4j", module: "jcl-over-slf4j"
|
|
}
|
|
implementation("org.assertj:assertj-core")
|
|
implementation("org.hamcrest:hamcrest-core")
|
|
implementation("org.hamcrest:hamcrest-library")
|
|
implementation("org.springframework:spring-core")
|
|
implementation("org.springframework:spring-test")
|
|
|
|
testImplementation("jakarta.servlet:jakarta.servlet-api")
|
|
testImplementation("org.junit.jupiter:junit-jupiter")
|
|
testImplementation("org.springframework:spring-context")
|
|
|
|
testRuntimeOnly("org.hibernate.validator:hibernate-validator")
|
|
testRuntimeOnly("org.mockito:mockito-core")
|
|
}
|