Move invoice generation to billing bucket and improve emailing

This moves the new pipeline's invoice generation to the billing bucket, under the 'invoices/yyyy-MM' subdirectory.

This also changes the invoice e-mail to use a multipart message that attaches the invoice to the e-mail, to guarantee the correct MIME type and download.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=181746191
This commit is contained in:
larryruili 2018-01-12 08:18:49 -08:00 committed by Ben McIlwain
parent 5726f1dc4e
commit a42f18798e
16 changed files with 477 additions and 133 deletions

View file

@ -42,7 +42,7 @@ import org.joda.time.format.DateTimeFormatter;
@Module
public class BackendModule {
public static final String PARAM_YEAR_MONTH = "yearMonth";
private static final String PARAM_YEAR_MONTH = "yearMonth";
@Provides
@Parameter(RequestParameters.PARAM_TLD)