Class IcannReportingStagingAction

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

public final class IcannReportingStagingAction extends Object implements Runnable
Action that generates monthly ICANN activity and transactions reports.

The reports are stored in GCS under gs://[project-id]-reporting/[subdir]. We also store a MANIFEST.txt file that contains a list of filenames generated, to facilitate subsequent uploads.

Parameters:

yearMonth: the reporting month in yyyy-MM format. Defaults to the previous month at runtime (i.e. a run on 2017-09-01 defaults to 2017-08's reports).

subdir: the subdirectory of gs://[project-id]-reporting/ to upload to. For example: "manual/dir" means reports will be stored under gs://[project-id]-reporting/manual/dir. Defaults to "icann/monthly/[yearMonth]".

reportTypes: the type of reports to generate. You can specify either 'activity' or 'transactions'. If none specified - defaults to generating both.

  • Method Details

    • run

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