google-nomulus/javatests/google/registry
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
..
backup Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
batch Use method references when possible 2017-12-27 11:25:02 -05:00
beam Prepare billing pipeline for production 2017-12-27 11:39:21 -05:00
bigquery Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:42:36 -05:00
billing Prepare billing pipeline for production 2017-12-27 11:39:21 -05:00
builddefs Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
config Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
cron Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:42:36 -05:00
dns Skip RRS update if existing records are equal to desired records 2017-12-27 11:18:21 -05:00
export Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
flows Replace Stream.concat with Streams.concat 2017-12-27 11:35:47 -05:00
groups Use method references when possible 2017-12-27 11:25:02 -05:00
keyring Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
mapreduce/inputs Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
model Replace Stream.concat with Streams.concat 2017-12-27 11:35:47 -05:00
module Prepare billing pipeline for production 2017-12-27 11:39:21 -05:00
monitoring Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
pricing Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:42:36 -05:00
proxy Add ability to configure proxy quotas 2017-12-13 12:43:45 -05:00
rdap Add next page navigation for RDAP domain searches 2017-12-27 11:15:18 -05:00
rde Use method references when possible 2017-12-27 11:25:02 -05:00
reporting Prepare billing pipeline for production 2017-12-27 11:39:21 -05:00
request Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
security Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
server Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
storage/drive Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
testing Replace LinkedList with ArrayList 2017-12-27 11:37:18 -05:00
tldconfig/idn Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
tmch Use method references instead of lambdas when possible 2017-12-27 10:55:03 -05:00
tools Replace assertThat(stream.collect(toImmutableList())) with assertThat(stream) 2017-12-27 11:32:45 -05:00
ui Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
util Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
whois Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:42:36 -05:00
xjc Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:42:36 -05:00
xml Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:42:36 -05:00