Class IcannReportingUploadAction

java.lang.Object
google.registry.reporting.icann.IcannReportingUploadAction
All Implemented Interfaces:
Runnable

public final class IcannReportingUploadAction extends Object implements Runnable
Action that uploads the monthly activity/transactions reports from GCS to ICANN via an HTTP PUT.

This should be run after IcannReportingStagingAction, which writes out the month's reports and a MANIFEST.txt file. This action checks each ICANN_UPLOAD_TX and ICANN_UPLOAD_ACTIVITY cursor and uploads the corresponding report if the cursor time is before now.

Parameters:

subdir: the subdirectory of gs://[project-id]-reporting/ to retrieve reports from. For example, "manual/dir" means reports will be stored under gs://[project-id]-reporting/manual/dir. Defaults to "icann/monthly/[last month in yyyy-MM format]".

  • Method Details

    • run

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