upgrade(docker)

This commit is contained in:
stefan
2025-08-16 15:47:57 +02:00
parent 1ef14a3692
commit 9c21154199
48 changed files with 6250 additions and 549 deletions
@@ -18,6 +18,4 @@ dependencies {
// Es enthält Spring Boot Actuator, Micrometer Prometheus und Zipkin Tracing.
implementation(libs.bundles.monitoring.client)
// Stellt alle Test-Abhängigkeiten gebündelt bereit.
testImplementation(projects.platform.platformTesting)
}
@@ -1,25 +0,0 @@
package at.mocode.infrastructure.monitoring.client
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import org.springframework.boot.autoconfigure.AutoConfigurations
import org.springframework.boot.test.context.runner.ApplicationContextRunner
class MonitoringClientAutoConfigurationTest {
private val contextRunner = ApplicationContextRunner()
.withConfiguration(AutoConfigurations.of(MonitoringClientAutoConfiguration::class.java))
@Test
fun `should load monitoring properties correctly into the environment`() {
// Arrange
val expectedPropertyValue = "true"
val propertyKey = "management.observations.http.server.requests.enabled"
// Act & Assert
contextRunner.run { context ->
val actualPropertyValue = context.environment.getProperty(propertyKey)
assertThat(actualPropertyValue).isEqualTo(expectedPropertyValue)
}
}
}
@@ -1,7 +0,0 @@
package at.mocode.infrastructure.monitoring.client
import org.springframework.boot.autoconfigure.SpringBootApplication
// Minimaler Test-Application-Context für Library-Tests.
@SpringBootApplication
class MonitoringClientTestApplication