google-nomulus/javatests/google/registry/reporting
larryruili 552ab12314 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
2017-12-27 11:39:21 -05:00
..
testdata Fix reporting module parameters and yearMonth usage 2017-11-07 17:15:47 -05:00
ActivityReportingQueryBuilderTest.java Rename all testdata loading files to conform to a single naming scheme 2017-12-01 22:14:06 -05:00
BUILD Add reporting retry, emailing and better logging 2017-11-07 16:46:48 -05:00
IcannHttpReporterTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:42:36 -05:00
IcannReportingModuleTest.java Prepare billing pipeline for production 2017-12-27 11:39:21 -05:00
IcannReportingStagerTest.java Fix reporting module parameters and yearMonth usage 2017-11-07 17:15:47 -05:00
IcannReportingStagingActionTest.java Prepare billing pipeline for production 2017-12-27 11:39:21 -05:00
IcannReportingUploadActionTest.java Add reporting retry, emailing and better logging 2017-11-07 16:46:48 -05:00
ReportingEmailUtilsTest.java Add reporting retry, emailing and better logging 2017-11-07 16:46:48 -05:00
ReportingTestData.java Rename all testdata loading files to conform to a single naming scheme 2017-12-01 22:14:06 -05:00
TransactionsReportingQueryBuilderTest.java Rename all testdata loading files to conform to a single naming scheme 2017-12-01 22:14:06 -05:00