content-data-api: Rake tasks
These rake tasks come from the desc descriptions in content-data-api’s lib/tasks folder.
To change what’s shown here, change the description in the code.
data_migrations:satisfaction_defaults_to_null
Sets all metrics with no useful yes/no responses to have null for satisfaction
k exec deploy/content-data-api -- rake data_migrations:satisfaction_defaults_to_null[from,to]
View source (lib/tasks/data_migrations.rake)
editions:set_withdrawn
Update withdrawn editions
k exec deploy/content-data-api -- rake editions:set_withdrawn
View source (lib/tasks/editions.rake)
editions:set_organisation_ids
Update organisation ids for editions
k exec deploy/content-data-api -- rake editions:set_organisation_ids
View source (lib/tasks/editions.rake)
editions:update_existing
Update existing live editions
k exec deploy/content-data-api -- rake editions:update_existing
View source (lib/tasks/editions.rake)
editions:unset_live_for_unpublished_editions
Update live attribute for unpublished editions
k exec deploy/content-data-api -- rake editions:unset_live_for_unpublished_editions
View source (lib/tasks/editions.rake)
editions:unset_live_for_coming_soon_editions
Update live attribute for coming soon editions
k exec deploy/content-data-api -- rake editions:unset_live_for_coming_soon_editions
View source (lib/tasks/editions.rake)
etl:main
Run ETL main process for yesterday
k exec deploy/content-data-api -- rake etl:main
View source (lib/tasks/etl.rake)
etl:repopulate_aggregations_month
Run Etl::Aggregations::Monthly for range of dates
k exec deploy/content-data-api -- rake etl:repopulate_aggregations_month[from,to]
View source (lib/tasks/etl.rake)
etl:repopulate_aggregations_search
Run Etl::Aggregations::Search
k exec deploy/content-data-api -- rake etl:repopulate_aggregations_search
View source (lib/tasks/etl.rake)
etl:repopulateviews
Run Etl::GA::ViewsAndNavigationProcessor for range of dates
k exec deploy/content-data-api -- rake etl:repopulateviews[from,to]
View source (lib/tasks/etl.rake)
etl:repopulate_searches
Run Etl::GA::InternalSearchProcessor for range of dates
k exec deploy/content-data-api -- rake etl:repopulate_searches[from,to]
View source (lib/tasks/etl.rake)
etl:repopulate_useful
Run Etl::GA::UserFeedbackProcessor for range of dates
k exec deploy/content-data-api -- rake etl:repopulate_useful[from,to]
View source (lib/tasks/etl.rake)
etl:repopulate_feedex
Run Etl::Feedex::Processor for range of dates
k exec deploy/content-data-api -- rake etl:repopulate_feedex[from,to]
View source (lib/tasks/etl.rake)
etl:rerun_main
Run ETL Main process across a range of dates or a single date
k exec deploy/content-data-api -- rake etl:rerun_main[from,to]
View source (lib/tasks/etl.rake)
etl:rerun_main_list
Run ETL Main process for a list of dates
k exec deploy/content-data-api -- rake etl:rerun_main_list
View source (lib/tasks/etl.rake)
organisations:check_missing
Identify organisations missing from CDA and provide replay instructions
k exec deploy/content-data-api -- rake organisations:check_missing
View source (lib/tasks/organisations.rake)
publishing_api:consumer
Run worker to publishing API from rabbitmq
k exec deploy/content-data-api -- rake publishing_api:consumer
View source (lib/tasks/publishing_api_consumer.rake)
publishing_api:bulk_import_consumer
Run worker to publishing API from rabbitmq for bulk import
k exec deploy/content-data-api -- rake publishing_api:bulk_import_consumer
View source (lib/tasks/publishing_api_consumer.rake)
editions:update_file_counts
Update file counts for editions
k exec deploy/content-data-api -- rake editions:update_file_counts
View source (lib/tasks/update_file_counts.rake)