diff --git a/README.md b/README.md index 86e00eba..5168e38c 100644 --- a/README.md +++ b/README.md @@ -161,7 +161,8 @@ docker-compose logs [service-name] Die Client-Anwendungen sind als ein gemeinsames Kotlin Multiplatform (KMP) Modul `:client` organisiert und liefern: - Desktop (JVM) über Compose Desktop -- Web (WASM im Browser) über Compose HTML/WASM +- Web (Kotlin/JS im Browser) über Compose Multiplatform +- Optional: WASM mit Flag -PenableWasm=true ```bash # Desktop (JVM) starten diff --git a/clients/ping-feature/src/commonTest/kotlin/at/mocode/clients/pingfeature/PingApiClientTest.kt b/clients/ping-feature/src/commonTest/kotlin/at/mocode/clients/pingfeature/PingApiClientTest.kt index 4b4b7a57..2bbc6f3b 100644 --- a/clients/ping-feature/src/commonTest/kotlin/at/mocode/clients/pingfeature/PingApiClientTest.kt +++ b/clients/ping-feature/src/commonTest/kotlin/at/mocode/clients/pingfeature/PingApiClientTest.kt @@ -1,16 +1,15 @@ package at.mocode.clients.pingfeature -import at.mocode.ping.api.PingResponse import at.mocode.ping.api.EnhancedPingResponse import at.mocode.ping.api.HealthResponse +import at.mocode.ping.api.PingResponse import io.ktor.client.engine.mock.* -import io.ktor.client.plugins.contentnegotiation.* import io.ktor.http.* -import io.ktor.serialization.kotlinx.json.* -import io.ktor.utils.io.* -import kotlinx.coroutines.test.* +import kotlinx.coroutines.test.runTest import kotlinx.serialization.json.Json -import kotlin.test.* +import kotlin.test.Test +import kotlin.test.assertEquals + class PingApiClientTest { private fun createMockApiClient(mockEngine: MockEngine): PingApiClient { diff --git a/docker-compose.services.yml b/docker-compose.services.yml index 0b40cc75..11d80c53 100644 --- a/docker-compose.services.yml +++ b/docker-compose.services.yml @@ -48,13 +48,6 @@ services: - "${PING_SERVICE_PORT:-8082}:8082" networks: - meldestelle-network -# depends_on: -# postgres: -# condition: service_healthy -# redis: -# condition: service_healthy -# consul: -# condition: service_healthy healthcheck: test: [ "CMD", "curl", "--fail", "http://localhost:8082/actuator/health/readiness" ] interval: 15s