Refactor ICANN reporting and billing into common package

This moves the default yearMonth logic into a common ReportingModule, rather than the coarse-scoped BackendModule, which may not want the default parameter extraction logic, as well as moving the 'yearMonth' parameter constant to the common package it's used in. This also provides a basis for future consolidation of the ReportingEmailUtils and BillingEmailUtils classes, which have modest overlap.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=183130311
This commit is contained in:
larryruili 2018-01-24 13:16:51 -08:00 committed by Ben McIlwain
parent 9d532cb507
commit 74ced1e907
71 changed files with 233 additions and 142 deletions

View file

@ -41,8 +41,8 @@ import javax.inject.Inject;
* Publish a single registrar detail report from GCS to Drive.
*
* <p>This is now DEPRECATED, and will be removed upon completion of the billing migration. If you
* wish to use the functionality, use {@link google.registry.billing.CopyDetailReportsAction}
* instead.
* wish to use the functionality, use {@link
* google.registry.reporting.billing.CopyDetailReportsAction} instead.
*/
@Action(
path = PublishDetailReportAction.PATH,