diff options
Diffstat (limited to 'controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/TesterId.java')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/TesterId.java | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/TesterId.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/TesterId.java deleted file mode 100644 index 67316c6fb7f..00000000000 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/TesterId.java +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -package com.yahoo.vespa.hosted.controller.api.integration.deployment; - -import com.yahoo.config.provision.ApplicationId; - -/** - * Holds an application ID for a tester application. - * - * @author jonmv - */ -public class TesterId { - - public static final String suffix = "-t"; - - private final ApplicationId id; - - private TesterId(ApplicationId id) { - this.id = id; - } - - /** Creates a new TesterId for a tester of the given application. */ - public static TesterId of(ApplicationId id) { - return new TesterId(ApplicationId.from(id.tenant().value(), - id.application().value(), - id.instance().value() + suffix)); - } - - /** Returns the id of this tester application. */ - public ApplicationId id() { - return id; - } - -} |