alphagov / trade-tariff-backend

Enabling the population and distribution via API of UK Customs tariffs and duties
MIT License
7 stars 6 forks source link

50000203 database rollback api endpoint #137

Closed saulius closed 10 years ago

saulius commented 10 years ago

This change is for https://www.pivotaltracker.com/story/show/50000203

Adds API endpoint and infrastructure for rolling back database to specific date with ability to redownload updates.

Depends on:

Puppet/alphagov deployment needs updating for redis/sidekiq

jabley commented 10 years ago

Travis needs redis setting up?

matthewford commented 10 years ago

@sauliusg can we add something like https://github.com/alphagov/signonotron2/blob/master/config/initializers/sidekiq.rb scoped to the tariff-api so that our jobs wont clash on the dev vm?

alext commented 10 years ago

@matthewford @sauliusg that file is actually overwritten on deploy. Check alphagov-deployment for the corresponding production config.

matthewford commented 10 years ago

@alext Adding one atm.

saulius commented 10 years ago

@matthewford @alext implemented Redis based locks for rolllbacks, update application and transformation.