google-nomulus/java/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 Replace Stream.concat with Streams.concat 2017-12-27 11:35:47 -05:00
batch Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
beam Prepare billing pipeline for production 2017-12-27 11:39:21 -05:00
bigquery Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
billing Prepare billing pipeline for production 2017-12-27 11:39:21 -05:00
braintree Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
builddefs Rename set to depset in .bzl and BUILD files 2017-08-29 16:53:21 -04:00
config Put help information on the main page 2017-12-13 12:43:45 -05:00
cron Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
dns Skip RRS update if existing records are equal to desired records 2017-12-27 11:18:21 -05:00
eclipse Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
env Prepare billing pipeline for production 2017-12-27 11:39:21 -05:00
export Replace com.google.common.base.Predicate with java.util.function.Predicate 2017-12-27 11:21:28 -05:00
flows Replace Stream.concat with Streams.concat 2017-12-27 11:35:47 -05:00
gcs Use compound return statements for greater readability 2017-11-07 17:12:57 -05:00
groups Clean up some code quality issues 2017-12-01 22:14:06 -05:00
idn Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
keyring Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
loadtest Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
mapreduce Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -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 Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
pricing Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -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 Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
reporting Prepare billing pipeline for production 2017-12-27 11:39:21 -05:00
request Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
security Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
storage/drive Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
tldconfig/idn Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
tmch Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
tools Replace Stream.concat with Streams.concat 2017-12-27 11:35:47 -05:00
ui Replace com.google.common.base.Predicate with java.util.function.Predicate 2017-12-27 11:21:28 -05:00
util Replace com.google.common.base.Predicate with java.util.function.Predicate 2017-12-27 11:21:28 -05:00
whois Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
xjc Clean up some code quality issues 2017-12-01 22:14:06 -05:00
xml Remove unnecessary generic type arguments 2017-11-21 18:17:31 -05:00
BUILD Add nocron ear and deployer rules for the crash environment 2017-10-04 16:16:45 -04:00
repositories.bzl Add beam package to open source build 2017-12-13 12:43:45 -05:00