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

@ -32,11 +32,6 @@ public final class RequestParameters {
/** The standardized request parameter name used by any action that takes a tld parameter. */
public static final String PARAM_TLD = "tld";
/**
* The standardized request parameter name used by any action that takes a year/month parameter.
*/
public static final String PARAM_YEAR_MONTH = "yearMonth";
/**
* Returns first GET or POST parameter associated with {@code name}.
*