diff options
author | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2017-11-17 09:39:49 +0100 |
---|---|---|
committer | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2017-11-17 09:39:49 +0100 |
commit | 03b6f06f2178bdf6801cf440fd475c81b4444446 (patch) | |
tree | a20a031e2d794d806bcd0ff54ea8f7f85d85a889 /controller-server | |
parent | df72655a81bcebb1bfed3c61d773c29ef641f589 (diff) |
Added doc and fixed typo
Diffstat (limited to 'controller-server')
2 files changed, 8 insertions, 2 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/ApplicationOwnershipConfirmer.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/ApplicationOwnershipConfirmer.java index 5d9cf291af7..0e2d35cdd82 100644 --- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/ApplicationOwnershipConfirmer.java +++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/ApplicationOwnershipConfirmer.java @@ -17,6 +17,13 @@ import java.util.NoSuchElementException; import java.util.Optional; import java.util.logging.Level; +/** + * Periodically request application ownership confirmation through filing issues. + * + * When to file new issues, escalate inactive ones, etc., is handled by the enclosed OwnershipIssues. + * + * @author jvenstad + */ public class ApplicationOwnershipConfirmer extends Maintainer { private final OwnershipIssues ownershipIssues; diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/maintenance/ApplicationOwnershipConfirmerTest.java b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/maintenance/ApplicationOwnershipConfirmerTest.java index 25daf81b319..68a1aab0f07 100644 --- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/maintenance/ApplicationOwnershipConfirmerTest.java +++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/maintenance/ApplicationOwnershipConfirmerTest.java @@ -22,7 +22,7 @@ import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; /** - * @#author jvenstad + * @author jvenstad */ public class ApplicationOwnershipConfirmerTest { @@ -37,7 +37,6 @@ public class ApplicationOwnershipConfirmerTest { confirmer = new ApplicationOwnershipConfirmer(tester.controller(), Duration.ofDays(1), new JobControl(new MockCuratorDb()), issues); } - @Test public void testConfirmation() { TenantId property = tester.createTenant("tenant", "domain", 1L); |