summaryrefslogtreecommitdiffstats
path: root/configserver
diff options
context:
space:
mode:
authorHarald Musum <musum@verizonmedia.com>2021-03-25 13:07:44 +0100
committerHarald Musum <musum@verizonmedia.com>2021-03-25 13:07:44 +0100
commit2715da47aa1883fdc916539d38b18fb6033d5623 (patch)
treee5893933bd588a67ef883e3685c670c20796e8ab /configserver
parent402f3dd5c5e45c219c0aeeec08b51cd0dadf1c23 (diff)
Add back constructor, needed by system test
Diffstat (limited to 'configserver')
-rw-r--r--configserver/src/main/java/com/yahoo/vespa/config/server/tenant/Tenant.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/configserver/src/main/java/com/yahoo/vespa/config/server/tenant/Tenant.java b/configserver/src/main/java/com/yahoo/vespa/config/server/tenant/Tenant.java
index 6e2402f40cc..115328300e1 100644
--- a/configserver/src/main/java/com/yahoo/vespa/config/server/tenant/Tenant.java
+++ b/configserver/src/main/java/com/yahoo/vespa/config/server/tenant/Tenant.java
@@ -27,14 +27,19 @@ public class Tenant {
private final RequestHandler requestHandler;
private final Instant created;
+ Tenant(TenantName name, SessionRepository sessionRepository, TenantApplications applicationRepo, Instant created) {
+ this(name, sessionRepository, applicationRepo, applicationRepo, created);
+ }
+
// Protected due to being subclassed in a system test
protected Tenant(TenantName name,
SessionRepository sessionRepository,
+ RequestHandler requestHandler,
TenantApplications applicationRepo,
Instant created) {
this.name = name;
this.path = TenantRepository.getTenantPath(name);
- this.requestHandler = applicationRepo;
+ this.requestHandler = requestHandler;
this.sessionRepository = sessionRepository;
this.applicationRepo = applicationRepo;
this.created = created;