diff --git a/envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/CustomRouteTest.kt b/envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/CustomRouteTest.kt index 390628994..917644b32 100644 --- a/envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/CustomRouteTest.kt +++ b/envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/CustomRouteTest.kt @@ -1,24 +1,15 @@ package pl.allegro.tech.servicemesh.envoycontrol -import okhttp3.Headers.Companion.toHeaders -import okhttp3.MediaType.Companion.toMediaType -import okhttp3.RequestBody -import okhttp3.Response import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension -import org.junit.jupiter.params.ParameterizedTest -import org.junit.jupiter.params.provider.Arguments -import org.junit.jupiter.params.provider.MethodSource import pl.allegro.tech.servicemesh.envoycontrol.config.consul.ConsulExtension import pl.allegro.tech.servicemesh.envoycontrol.config.envoy.EnvoyExtension import pl.allegro.tech.servicemesh.envoycontrol.config.envoycontrol.EnvoyControlExtension import pl.allegro.tech.servicemesh.envoycontrol.config.service.EchoServiceExtension import pl.allegro.tech.servicemesh.envoycontrol.snapshot.CustomRuteProperties -import pl.allegro.tech.servicemesh.envoycontrol.snapshot.SecuredRoute import pl.allegro.tech.servicemesh.envoycontrol.snapshot.StringMatcher import pl.allegro.tech.servicemesh.envoycontrol.snapshot.StringMatcherType -import java.util.stream.Stream internal class CustomRouteTest { companion object { diff --git a/envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/config/envoy/EnvoyContainer.kt b/envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/config/envoy/EnvoyContainer.kt index a6e0e1c8c..94e1bad3a 100644 --- a/envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/config/envoy/EnvoyContainer.kt +++ b/envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/config/envoy/EnvoyContainer.kt @@ -17,7 +17,7 @@ class EnvoyContainer( private val envoyControl2XdsPort: Int = envoyControl1XdsPort, private val logLevel: String = "info", image: String = DEFAULT_IMAGE, - private val wrapperServiceIp: () -> String = {"127.0.0.1"}, + private val wrapperServiceIp: () -> String = { "127.0.0.1" }, ) : SSLGenericContainer( dockerfileBuilder = DockerfileBuilder() .from(image)