Class ResaveAllEppResourcesPipelineAction

java.lang.Object
google.registry.batch.ResaveAllEppResourcesPipelineAction
All Implemented Interfaces:
Runnable

public class ResaveAllEppResourcesPipelineAction extends Object implements Runnable
Starts a Dataflow pipeline that resaves all EPP resources projected to the current time.

This is useful for a few situations. First, as a fallback option for resource transfers that have expired pending transfers (this will resolve them), just in case the enqueued action fails. Second, it will reflect domain autorenews that have happened. Third, it will remove any expired grace periods.

There's also the general principle that it's good to have the data in the database remain as current as is reasonably possible.

If the ?isFast=true query string parameter is passed as true, the pipeline will only attempt to load, project, and resave entities where we expect one of the previous situations has occurred. Otherwise, we will load, project, and resave all EPP resources.

This runs the ResaveAllEppResourcesPipeline.

  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable