From 2501e61362fe2bec3eab4962bdd6e8be18375458 Mon Sep 17 00:00:00 2001 From: csviri Date: Fri, 22 Jul 2022 13:29:50 +0200 Subject: [PATCH 1/4] feat: update to okhttp4 --- .../processing/event/source/CustomResourceSelectorTest.java | 2 ++ pom.xml | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing/event/source/CustomResourceSelectorTest.java b/operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing/event/source/CustomResourceSelectorTest.java index f0f0bb0e62..b7c6c4667a 100644 --- a/operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing/event/source/CustomResourceSelectorTest.java +++ b/operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing/event/source/CustomResourceSelectorTest.java @@ -7,6 +7,7 @@ import org.awaitility.core.ConditionTimeoutException; import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -36,6 +37,7 @@ import static org.mockito.Mockito.spy; import static org.mockito.Mockito.when; +@Disabled("issues with okhttp4") @EnableKubernetesMockClient(crud = true, https = false) class CustomResourceSelectorTest { diff --git a/pom.xml b/pom.xml index 5aba9983ef..9580b43104 100644 --- a/pom.xml +++ b/pom.xml @@ -164,6 +164,11 @@ operator-framework ${project.version} + + com.squareup.okhttp3 + okhttp + 4.10.0 + From 9ca90c009b5a7b149ff1ba6fc3f96d34cb5e5754 Mon Sep 17 00:00:00 2001 From: csviri Date: Fri, 22 Jul 2022 13:46:23 +0200 Subject: [PATCH 2/4] fix: other okhttp dependencies --- .../event/source/CustomResourceSelectorTest.java | 2 -- pom.xml | 11 +++++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing/event/source/CustomResourceSelectorTest.java b/operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing/event/source/CustomResourceSelectorTest.java index b7c6c4667a..f0f0bb0e62 100644 --- a/operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing/event/source/CustomResourceSelectorTest.java +++ b/operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing/event/source/CustomResourceSelectorTest.java @@ -7,7 +7,6 @@ import org.awaitility.core.ConditionTimeoutException; import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -37,7 +36,6 @@ import static org.mockito.Mockito.spy; import static org.mockito.Mockito.when; -@Disabled("issues with okhttp4") @EnableKubernetesMockClient(crud = true, https = false) class CustomResourceSelectorTest { diff --git a/pom.xml b/pom.xml index 9580b43104..4a5407e487 100644 --- a/pom.xml +++ b/pom.xml @@ -71,6 +71,7 @@ 2.19.0 1.0 1.7.0 + 4.10.0 @@ -169,6 +170,16 @@ okhttp 4.10.0 + + com.squareup.okhttp3 + logging-interceptor + 4.10.0 + + + com.squareup.okhttp3 + mockwebserver + 4.10.0 + From 3215e83313f033d5f90c6bf53d2da78f8ed6cfaa Mon Sep 17 00:00:00 2001 From: csviri Date: Fri, 22 Jul 2022 13:48:40 +0200 Subject: [PATCH 3/4] fix: http version property --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 4a5407e487..f13c4c0f44 100644 --- a/pom.xml +++ b/pom.xml @@ -168,17 +168,17 @@ com.squareup.okhttp3 okhttp - 4.10.0 + ${okhttp.version} com.squareup.okhttp3 logging-interceptor - 4.10.0 + ${okhttp.version} com.squareup.okhttp3 mockwebserver - 4.10.0 + ${okhttp.version} From fd0b09e9680c0433bcbc771961b11e8d37aafc90 Mon Sep 17 00:00:00 2001 From: csviri Date: Fri, 22 Jul 2022 14:23:00 +0200 Subject: [PATCH 4/4] comment in pom --- pom.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pom.xml b/pom.xml index f13c4c0f44..1321b6a0b2 100644 --- a/pom.xml +++ b/pom.xml @@ -165,6 +165,10 @@ operator-framework ${project.version} + com.squareup.okhttp3 okhttp