diff options
author | Øyvind Grønnesby <oyving@verizonmedia.com> | 2021-06-16 14:54:21 +0200 |
---|---|---|
committer | Øyvind Grønnesby <oyving@verizonmedia.com> | 2021-06-16 14:54:21 +0200 |
commit | 2bb589cfeee64cefdab36ad41af5fedd59a64c94 (patch) | |
tree | 5b8811f5802b060ab4ca131b4c64b9f4c316b642 /controller-server | |
parent | d06349ca09122c5d0e2c022910edc4aa7a5c8bfa (diff) |
Javadoc + @author
Diffstat (limited to 'controller-server')
2 files changed, 10 insertions, 1 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/CloudTrialExpirer.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/CloudTrialExpirer.java index 35aa606f53a..be8f4254b79 100644 --- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/CloudTrialExpirer.java +++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/CloudTrialExpirer.java @@ -1,7 +1,7 @@ +// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.controller.maintenance; import com.yahoo.config.provision.SystemName; -import com.yahoo.vespa.flags.FlagSource; import com.yahoo.vespa.flags.ListFlag; import com.yahoo.vespa.flags.PermanentFlags; import com.yahoo.vespa.hosted.controller.Controller; @@ -13,6 +13,11 @@ import java.time.Duration; import java.util.List; import java.util.stream.Collectors; +/** + * Expires unused tenants from Vespa Cloud. + * + * @author ogronnesby + */ public class CloudTrialExpirer extends ControllerMaintainer { private static Duration loginExpiry = Duration.ofDays(14); diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/maintenance/CloudTrialExpirerTest.java b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/maintenance/CloudTrialExpirerTest.java index 7a6f8f1d764..f3c4f9f7438 100644 --- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/maintenance/CloudTrialExpirerTest.java +++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/maintenance/CloudTrialExpirerTest.java @@ -1,3 +1,4 @@ +// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.controller.maintenance; import com.yahoo.config.provision.SystemName; @@ -18,6 +19,9 @@ import java.util.List; import static org.junit.Assert.assertEquals; +/** + * @author ogronnesby + */ public class CloudTrialExpirerTest { private final ControllerTester tester = new ControllerTester(SystemName.Public); private final DeploymentTester deploymentTester = new DeploymentTester(tester); |