summaryrefslogtreecommitdiffstats
path: root/configserver/src/main/java/com/yahoo/vespa/config/server/http/v2/ListApplicationsHandler.java
diff options
context:
space:
mode:
authorJon Bratseth <jonbratseth@yahoo.com>2016-07-08 15:16:01 +0200
committerGitHub <noreply@github.com>2016-07-08 15:16:01 +0200
commita2d774f4d8412862b425de61d7c8ac8d82c6e593 (patch)
treedc521c2f68afea0d1a137bd97cbd81c6c3da8895 /configserver/src/main/java/com/yahoo/vespa/config/server/http/v2/ListApplicationsHandler.java
parentf85ca3c2afdb7e909e7814a6f1f34a8b32d7019c (diff)
parentc990441c379cb20e5049c7dae842b1f03c4624c1 (diff)
Merge pull request #342 from yahoo/bratseth/transactional-application-remove
Bratseth/transactional application remove
Diffstat (limited to 'configserver/src/main/java/com/yahoo/vespa/config/server/http/v2/ListApplicationsHandler.java')
-rw-r--r--configserver/src/main/java/com/yahoo/vespa/config/server/http/v2/ListApplicationsHandler.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/configserver/src/main/java/com/yahoo/vespa/config/server/http/v2/ListApplicationsHandler.java b/configserver/src/main/java/com/yahoo/vespa/config/server/http/v2/ListApplicationsHandler.java
index e77c3928f11..8b7c138642a 100644
--- a/configserver/src/main/java/com/yahoo/vespa/config/server/http/v2/ListApplicationsHandler.java
+++ b/configserver/src/main/java/com/yahoo/vespa/config/server/http/v2/ListApplicationsHandler.java
@@ -9,10 +9,10 @@ import com.yahoo.container.jdisc.HttpRequest;
import com.yahoo.container.jdisc.HttpResponse;
import com.yahoo.container.logging.AccessLog;
import com.yahoo.jdisc.Response;
-import com.yahoo.vespa.config.server.Tenant;
-import com.yahoo.vespa.config.server.Tenants;
+import com.yahoo.vespa.config.server.tenant.Tenant;
+import com.yahoo.vespa.config.server.tenant.Tenants;
import com.yahoo.config.provision.ApplicationId;
-import com.yahoo.vespa.config.server.application.ApplicationRepo;
+import com.yahoo.vespa.config.server.application.TenantApplications;
import com.yahoo.vespa.config.server.http.HttpHandler;
import com.yahoo.vespa.config.server.http.Utils;
@@ -52,7 +52,7 @@ public class ListApplicationsHandler extends HttpHandler {
private List<ApplicationId> listApplicationIds(TenantName tenantName) {
Tenant tenant = Utils.checkThatTenantExists(tenants, tenantName);
- ApplicationRepo applicationRepo = tenant.getApplicationRepo();
+ TenantApplications applicationRepo = tenant.getApplicationRepo();
return applicationRepo.listApplications();
}