google-nomulus/java/google/registry/reporting/spec11
jianglai ea154a8378 Refactor threat emails for daily+monthly usage
Eventually the Publish action will control daily/monthly sending and provide
the correct threats to email. The goal of this PR is to entirely separate
the "sending email" functionality from the "parsing threat matches"
functionality.

The PublishAction will figure out if the monthly emails should be sent out,
then will ask the Spec11ThreatMatchesParser for the monthly threats (if
appropriate) and the new threat matches for today. It will then pass those
matches and the appropriate email subject+body to the email utils class,
whose only job is to format and send the emails.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=224869643
2018-12-12 13:22:34 -05:00
..
BUILD Run the Spec11 pipeline daily without sending emails 2018-12-12 13:22:34 -05:00
GenerateSpec11ReportAction.java Switch all added usages of java.time to be joda.time 2018-12-12 13:22:34 -05:00
PublishSpec11ReportAction.java Refactor threat emails for daily+monthly usage 2018-12-12 13:22:34 -05:00
RegistrarThreatMatches.java Run the Spec11 pipeline daily without sending emails 2018-12-12 13:22:34 -05:00
Spec11EmailUtils.java Refactor threat emails for daily+monthly usage 2018-12-12 13:22:34 -05:00
Spec11Module.java Switch all added usages of java.time to be joda.time 2018-12-12 13:22:34 -05:00
Spec11RegistrarThreatMatchesParser.java Switch all added usages of java.time to be joda.time 2018-12-12 13:22:34 -05:00