Skip to main content

support-api: Rake tasks

These rake tasks come from the desc descriptions in support-api’s lib/tasks folder. To change what’s shown here, change the description in the code.

anonymous_feedback_deduplication:nightly

Trigger deduplication for yesterday’s anonymous feedback

k exec deploy/support-api -- rake anonymous_feedback_deduplication:nightly

View source (lib/tasks/anonymous_feedback_deduplication.rake)

anonymous_feedback_deduplication:recent

Trigger deduplication for recently created anonymous feedback (run regularly)

k exec deploy/support-api -- rake anonymous_feedback_deduplication:recent

View source (lib/tasks/anonymous_feedback_deduplication.rake)

api_sync:import_organisations

Imports all organisations from the Whitehall Organisations API

k exec deploy/support-api -- rake api_sync:import_organisations

View source (lib/tasks/import_organisations.rake)

service_feedback_aggregation:daily

Extract service feedback of previous day to a different table, and add aggregated results

k exec deploy/support-api -- rake service_feedback_aggregation:daily

View source (lib/tasks/service_feedback_aggregation.rake)

service_feedback_aggregation:date

Extract service feedback of specified date to a different table, and add aggregated results. Enter date in DD-MM-YYYY format.

k exec deploy/support-api -- rake service_feedback_aggregation:date[start_date,end_date]

View source (lib/tasks/service_feedback_aggregation.rake)