diff options
author | Øyvind Grønnesby <oyving@yahooinc.com> | 2023-06-29 14:23:41 +0200 |
---|---|---|
committer | Øyvind Grønnesby <oyving@yahooinc.com> | 2023-06-29 15:31:24 +0200 |
commit | b4126b644d2214564a9ed76c1c006b09454dbb6f (patch) | |
tree | 28f2f47539f27890b64508e63368ac696853e614 /controller-server/src/test | |
parent | 3a066100ef96ffd3ac73d1d06096c98da077f296 (diff) |
New maintainer to report usage
Diffstat (limited to 'controller-server/src/test')
2 files changed, 9 insertions, 0 deletions
diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/integration/ServiceRegistryMock.java b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/integration/ServiceRegistryMock.java index 02b4d6de5ac..cba620987f0 100644 --- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/integration/ServiceRegistryMock.java +++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/integration/ServiceRegistryMock.java @@ -21,6 +21,7 @@ import com.yahoo.vespa.hosted.controller.api.integration.aws.MockRoleService; import com.yahoo.vespa.hosted.controller.api.integration.billing.BillingController; import com.yahoo.vespa.hosted.controller.api.integration.billing.BillingDatabaseClient; import com.yahoo.vespa.hosted.controller.api.integration.billing.BillingDatabaseClientMock; +import com.yahoo.vespa.hosted.controller.api.integration.billing.BillingReporter; import com.yahoo.vespa.hosted.controller.api.integration.billing.MockBillingController; import com.yahoo.vespa.hosted.controller.api.integration.billing.PlanRegistry; import com.yahoo.vespa.hosted.controller.api.integration.billing.PlanRegistryMock; @@ -312,4 +313,9 @@ public class ServiceRegistryMock extends AbstractComponent implements ServiceReg } public GcpSecretStore gcpSecretStore() { return new NoopGcpSecretStore(); } + + @Override + public BillingReporter billingReporter() { + return () -> 0.0; + } } diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/controller/responses/maintenance.json b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/controller/responses/maintenance.json index 7a0316dfec0..eb376a95c74 100644 --- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/controller/responses/maintenance.json +++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/controller/responses/maintenance.json @@ -25,6 +25,9 @@ "name": "BillingDatabaseMaintainer" }, { + "name": "BillingReportMaintainer" + }, + { "name": "CertificatePoolMaintainer" }, { |