Skip to content

Latest commit

 

History

History
52 lines (45 loc) · 852 Bytes

File metadata and controls

52 lines (45 loc) · 852 Bytes

Tasks Executor

This directory contains Google Cloud Functions used as a single point of access to multiple tasks.

Usage

The function receive the following payload:

{
   "task": "string", # [required] Name of the task to execute
   "payload": { } [optional] Payload to pass to the task
}

Examples:

{
   "task": "rebuild_missing_validation_reports",
   "payload": {
      "dry_run": true,
      "filter_after_in_days": 14,
      "filter_statuses": ["active", "inactive", "future"]
   }
}
{
   "task": "rebuild_missing_bounding_boxes",
   "payload": {
      "dry_run": true,
      "after_date": "2025-06-01"
   }
}
{
   "task": "refresh_materialized_view",
   "payload": {
    "dry_run": true
  }
}

To get the list of supported tasks use:

{
   "name": "list_tasks",
   "payload": {}
}