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-api | |
parent | 3a066100ef96ffd3ac73d1d06096c98da077f296 (diff) |
New maintainer to report usage
Diffstat (limited to 'controller-api')
2 files changed, 8 insertions, 0 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/ServiceRegistry.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/ServiceRegistry.java index dccdeac50b8..df07f522186 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/ServiceRegistry.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/ServiceRegistry.java @@ -12,6 +12,7 @@ import com.yahoo.vespa.hosted.controller.api.integration.aws.ResourceTagger; import com.yahoo.vespa.hosted.controller.api.integration.aws.RoleService; 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.BillingReporter; import com.yahoo.vespa.hosted.controller.api.integration.billing.PlanRegistry; import com.yahoo.vespa.hosted.controller.api.integration.certificates.EndpointCertificateProvider; import com.yahoo.vespa.hosted.controller.api.integration.certificates.EndpointCertificateValidator; @@ -122,4 +123,6 @@ public interface ServiceRegistry { RoleMaintainer roleMaintainer(); GcpSecretStore gcpSecretStore(); + + BillingReporter billingReporter(); } diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/billing/BillingReporter.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/billing/BillingReporter.java new file mode 100644 index 00000000000..a4b3abf3bf9 --- /dev/null +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/billing/BillingReporter.java @@ -0,0 +1,5 @@ +package com.yahoo.vespa.hosted.controller.api.integration.billing; + +public interface BillingReporter { + double maintain(); +} |