diff options
author | olaaun <olaa@oath.com> | 2019-03-08 09:52:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-08 09:52:38 +0100 |
commit | 511cdf2bea96cb39c7aee78b720fb9f05ba0a780 (patch) | |
tree | f7fbf2c95cb686d3fa5a0817d29a9d03f313c827 /controller-api/src/main | |
parent | 85e978f6c57edafb6d24c4a9f47ae9760dc65c53 (diff) | |
parent | 4fa8c17165a313e5a5b25505f57178a966574804 (diff) |
Merge pull request #8700 from vespa-engine/olaa/stream-logs
Stream logs
Diffstat (limited to 'controller-api/src/main')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java index 07eaf046eeb..b43cb176607 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java @@ -9,7 +9,7 @@ import com.yahoo.vespa.hosted.controller.api.integration.zone.ZoneId; import com.yahoo.vespa.serviceview.bindings.ApplicationView; import java.io.IOException; -import java.util.HashMap; +import java.io.InputStream; import java.util.List; import java.util.Map; import java.util.Optional; @@ -41,7 +41,9 @@ public interface ConfigServer { Map<?,?> getServiceApiResponse(String tenantName, String applicationName, String instanceName, String environment, String region, String serviceName, String restPath); - Optional<Logs> getLogs(DeploymentId deployment, HashMap<String, String> queryParameters); + Optional<Logs> getLogs(DeploymentId deployment, Map<String, String> queryParameters); + + InputStream getLogStream(DeploymentId deployment, Map<String, String> queryParameters); List<String> getContentClusters(DeploymentId deployment); |