Remove endpoint infrastructure dependency from spring-boot-metrics

This commit is contained in:
Stéphane Nicoll
2025-05-22 16:19:51 +02:00
committed by Phillip Webb
parent 306a238e05
commit 92547def9d
3 changed files with 3 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ dependencies {
testImplementation(project(":spring-boot-project:spring-boot-http-converter"))
testImplementation(project(":spring-boot-project:spring-boot-jackson"))
testImplementation(project(":spring-boot-project:spring-boot-jersey"))
testImplementation(project(":spring-boot-project:spring-boot-metrics"))
testImplementation(project(":spring-boot-project:spring-boot-reactor-netty"))
testImplementation(project(":spring-boot-project:spring-boot-test"))
testImplementation(project(":spring-boot-project:spring-boot-tomcat"))

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.metrics.actuate.endpoint;
package org.springframework.boot.actuate.metrics;
import java.io.IOException;
import java.util.List;
@@ -28,6 +28,7 @@ import io.micrometer.core.instrument.simple.SimpleConfig;
import io.micrometer.core.instrument.simple.SimpleMeterRegistry;
import org.springframework.boot.actuate.endpoint.web.test.WebEndpointTest;
import org.springframework.boot.metrics.actuate.endpoint.MetricsEndpoint;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.test.web.reactive.server.WebTestClient;

View File

@@ -20,7 +20,6 @@ dependencies {
optional("org.apache.logging.log4j:log4j-core")
optional("org.aspectj:aspectjweaver")
testImplementation(project(":spring-boot-project:spring-boot-actuator-test-support"))
testImplementation(project(":spring-boot-project:spring-boot-test"))
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
testImplementation("com.fasterxml.jackson.core:jackson-databind")