mirror of
https://github.com/google/nomulus
synced 2026-09-04 07:07:20 +00:00
Delete the useless MapreduceAction interface
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=122630519
This commit is contained in:
committed by
Justine Tunney
parent
6f4b059cc9
commit
68b75461db
@@ -26,7 +26,6 @@ import com.google.common.collect.ImmutableSet;
|
||||
|
||||
import com.googlecode.objectify.VoidWork;
|
||||
|
||||
import google.registry.mapreduce.MapreduceAction;
|
||||
import google.registry.mapreduce.MapreduceRunner;
|
||||
import google.registry.model.billing.BillingEvent.Flag;
|
||||
import google.registry.model.billing.BillingEvent.Recurring;
|
||||
@@ -40,7 +39,7 @@ import javax.inject.Inject;
|
||||
|
||||
/** A mapreduce that backfills new {@link Flag#AUTO_RENEW} flag on recurring billing events. */
|
||||
@Action(path = "/_dr/task/backfillAutorenewBillingFlag")
|
||||
public class BackfillAutorenewBillingFlagAction implements MapreduceAction {
|
||||
public class BackfillAutorenewBillingFlagAction implements Runnable {
|
||||
|
||||
private static final FormattingLogger logger = FormattingLogger.getLoggerForCallerClass();
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@ import com.google.appengine.tools.mapreduce.Mapper;
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import com.google.common.collect.ImmutableSet;
|
||||
|
||||
import google.registry.mapreduce.MapreduceAction;
|
||||
import google.registry.mapreduce.MapreduceRunner;
|
||||
import google.registry.model.EppResource;
|
||||
import google.registry.model.billing.BillingEvent.Recurring;
|
||||
@@ -37,7 +36,7 @@ import javax.inject.Inject;
|
||||
* <p>This is a test of the ChildEntityInput/ChildEntityReader classes.
|
||||
*/
|
||||
@Action(path = "/_dr/task/countRecurringBillingEvents")
|
||||
public class CountRecurringBillingEventsAction implements MapreduceAction {
|
||||
public class CountRecurringBillingEventsAction implements Runnable {
|
||||
|
||||
// TODO(b/27562876): Delete this mapreduce once tested in production.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user