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:benchmark
Benchmark the feedback queries for one named run
k exec deploy/support-api -- rake anonymous_feedback:benchmark[label]
View source (lib/tasks/anonymous_feedback_benchmark.rake)
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)
old_feedback:delete
Delete feedback older than 2 years, keeping aggregated service feedback
k exec deploy/support-api -- rake old_feedback:delete
View source (lib/tasks/old_feedback.rake)
old_feedback:delete_including_aggregates
Delete feedback older than 2 years, including aggregated service feedback
k exec deploy/support-api -- rake old_feedback:delete_including_aggregates
View source (lib/tasks/old_feedback.rake)
old_feedback:vacuum
Shrink anonymous_contacts on disk after old_feedback:delete
k exec deploy/support-api -- rake old_feedback:vacuum
View source (lib/tasks/old_feedback.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)