summaryrefslogtreecommitdiffstats
path: root/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java
diff options
context:
space:
mode:
Diffstat (limited to 'configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java')
-rw-r--r--configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java18
1 files changed, 3 insertions, 15 deletions
diff --git a/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java b/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java
index 1ffefd1a6b7..6cc05a0f69e 100644
--- a/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java
+++ b/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java
@@ -32,11 +32,8 @@ import com.yahoo.transaction.Transaction;
import com.yahoo.vespa.config.server.application.Application;
import com.yahoo.vespa.config.server.application.ApplicationReindexing;
import com.yahoo.vespa.config.server.application.ApplicationSet;
-import com.yahoo.vespa.config.server.application.ClusterReindexing;
-import com.yahoo.vespa.config.server.application.ClusterReindexingStatusClient;
import com.yahoo.vespa.config.server.application.CompressedApplicationInputStream;
import com.yahoo.vespa.config.server.application.ConfigConvergenceChecker;
-import com.yahoo.vespa.config.server.application.DefaultClusterReindexingStatusClient;
import com.yahoo.vespa.config.server.application.FileDistributionStatus;
import com.yahoo.vespa.config.server.application.HttpProxy;
import com.yahoo.vespa.config.server.application.TenantApplications;
@@ -137,7 +134,6 @@ public class ApplicationRepository implements com.yahoo.config.provision.Deploye
private final LogRetriever logRetriever;
private final TesterClient testerClient;
private final Metric metric;
- private final ClusterReindexingStatusClient clusterReindexingStatusClient;
@Inject
public ApplicationRepository(TenantRepository tenantRepository,
@@ -161,8 +157,7 @@ public class ApplicationRepository implements com.yahoo.config.provision.Deploye
Clock.systemUTC(),
testerClient,
metric,
- flagSource,
- new DefaultClusterReindexingStatusClient());
+ flagSource);
}
private ApplicationRepository(TenantRepository tenantRepository,
@@ -176,8 +171,7 @@ public class ApplicationRepository implements com.yahoo.config.provision.Deploye
Clock clock,
TesterClient testerClient,
Metric metric,
- FlagSource flagSource,
- ClusterReindexingStatusClient clusterReindexingStatusClient) {
+ FlagSource flagSource) {
this.tenantRepository = Objects.requireNonNull(tenantRepository);
this.hostProvisioner = Objects.requireNonNull(hostProvisioner);
this.infraDeployer = Objects.requireNonNull(infraDeployer);
@@ -189,7 +183,6 @@ public class ApplicationRepository implements com.yahoo.config.provision.Deploye
this.clock = Objects.requireNonNull(clock);
this.testerClient = Objects.requireNonNull(testerClient);
this.metric = Objects.requireNonNull(metric);
- this.clusterReindexingStatusClient = clusterReindexingStatusClient;
}
public static class Builder {
@@ -273,8 +266,7 @@ public class ApplicationRepository implements com.yahoo.config.provision.Deploye
clock,
testerClient,
metric,
- flagSource,
- ClusterReindexingStatusClient.DUMMY_INSTANCE);
+ flagSource);
}
}
@@ -536,10 +528,6 @@ public class ApplicationRepository implements com.yahoo.config.provision.Deploye
CLUSTERCONTROLLER_CONTAINER.serviceName, relativePath);
}
- public Map<String, ClusterReindexing> getClusterReindexingStatus(ApplicationId applicationId) {
- return uncheck(() -> clusterReindexingStatusClient.getReindexingStatus(getApplication(applicationId)));
- }
-
public Long getApplicationGeneration(ApplicationId applicationId) {
return getApplication(applicationId).getApplicationGeneration();
}