mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02:00
Prepare billing pipeline for production
This makes a few cosmetic changes that prepares the pipeline for production. Namely: - Converts file names to include the input yearMonth, mostly mirroring the original invoicing pipeline. - Factors out the yearMonth logic from the reporting module to the more common backend module. We will likely use the default yearMonth logic in other backend tasks (such as spec11 reporting). - Adds the "withTemplateCompatability" flag to the Bigquery read, which allows multiple uses of the same template. - Adds the 'billing' task queue, which retries up to 5 times every 3 minutes, which is about the rate we desire for checking if the pipeline is complete. - Adds a shell 'invoicing upload' class, which tests the retry semantics we want for post-generation work (e-mailing the invoice to crr-tech, and publishing detail reports) While this cl may look big, it's mostly just a refactor and setting up boilerplate needed to frame the upload logic. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179849586
This commit is contained in:
parent
53ed6035c4
commit
552ab12314
24 changed files with 436 additions and 115 deletions
|
@ -30,6 +30,7 @@ import google.registry.batch.ResaveAllEppResourcesAction;
|
|||
import google.registry.batch.VerifyEntityIntegrityAction;
|
||||
import google.registry.billing.BillingModule;
|
||||
import google.registry.billing.GenerateInvoicesAction;
|
||||
import google.registry.billing.PublishInvoicesAction;
|
||||
import google.registry.cron.CommitLogFanoutAction;
|
||||
import google.registry.cron.CronModule;
|
||||
import google.registry.cron.TldFanoutAction;
|
||||
|
@ -147,6 +148,7 @@ interface BackendRequestComponent {
|
|||
TmchDnlAction tmchDnlAction();
|
||||
TmchSmdrlAction tmchSmdrlAction();
|
||||
UpdateSnapshotViewAction updateSnapshotViewAction();
|
||||
PublishInvoicesAction uploadInvoicesAction();
|
||||
VerifyEntityIntegrityAction verifyEntityIntegrityAction();
|
||||
|
||||
@Subcomponent.Builder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue