diff options
author | jonmv <venstad@gmail.com> | 2022-04-29 08:43:48 +0200 |
---|---|---|
committer | jonmv <venstad@gmail.com> | 2022-04-29 08:43:48 +0200 |
commit | 5b105439f736f8960c83eb4d20e7f91361384319 (patch) | |
tree | 244417a49d5006a705fb25f9a9e934f2b9863b59 /orchestrator | |
parent | 25a7bd67a5713646c40938738d4956f9ccd563c5 (diff) |
Support headers
Diffstat (limited to 'orchestrator')
3 files changed, 5 insertions, 7 deletions
diff --git a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/controller/ClusterControllerClientImpl.java b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/controller/ClusterControllerClientImpl.java index 76f2af43579..b4966e71bfa 100644 --- a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/controller/ClusterControllerClientImpl.java +++ b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/controller/ClusterControllerClientImpl.java @@ -7,7 +7,6 @@ import ai.vespa.hosted.client.HttpClient.ResponseException; import ai.vespa.hosted.client.HttpClient.ResponseVerifier; import ai.vespa.http.DomainName; import ai.vespa.http.HttpURL; -import ai.vespa.http.HttpURL.Path; import ai.vespa.http.HttpURL.Query; import ai.vespa.http.HttpURL.Scheme; import com.yahoo.concurrent.UncheckedTimeoutException; @@ -25,19 +24,15 @@ import com.yahoo.yolean.Exceptions; import org.apache.hc.core5.http.ClassicHttpRequest; import org.apache.hc.core5.http.Method; -import java.io.IOException; import java.io.UncheckedIOException; import java.net.URI; -import java.util.Iterator; import java.util.List; import java.util.stream.Collectors; import static java.nio.charset.StandardCharsets.UTF_8; /** - * Default implementation of the ClusterControllerClient. - * - * @author smorgrav + * @author jonmv */ public class ClusterControllerClientImpl implements ClusterControllerClient { diff --git a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/controller/RetryingClusterControllerClientFactory.java b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/controller/RetryingClusterControllerClientFactory.java index 08cffcc461c..c34aeed132c 100644 --- a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/controller/RetryingClusterControllerClientFactory.java +++ b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/controller/RetryingClusterControllerClientFactory.java @@ -14,7 +14,7 @@ import java.util.logging.Level; import java.util.logging.Logger; /** - * @author bakksjo + * @author jonmv */ public class RetryingClusterControllerClientFactory extends AbstractComponent implements ClusterControllerClientFactory { diff --git a/orchestrator/src/test/java/com/yahoo/vespa/orchestrator/controller/ClusterControllerClientImplTest.java b/orchestrator/src/test/java/com/yahoo/vespa/orchestrator/controller/ClusterControllerClientImplTest.java index 49bd0ebbd97..7746eff457e 100644 --- a/orchestrator/src/test/java/com/yahoo/vespa/orchestrator/controller/ClusterControllerClientImplTest.java +++ b/orchestrator/src/test/java/com/yahoo/vespa/orchestrator/controller/ClusterControllerClientImplTest.java @@ -30,6 +30,9 @@ import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; +/** + * @author jonmv + */ public class ClusterControllerClientImplTest { final HostName host = new HostName("node"); |