GSA / data.gov

Main repository for the data.gov service
https://data.gov
Other
616 stars 98 forks source link

Old resources are not cleaned up in CKAN #1077

Open adborden opened 4 years ago

adborden commented 4 years ago

The Per Diem API covering years up to FY19, has been deleted from CKAN, but the API continues to work and causes confusion for users.

https://inventory.data.gov/api/action/datastore_search?resource_id=8ea44bc4-22ba-4386-b84c-1494ab28964b&limit=300000&filters={"FiscalYear":"2019","Zip":"63304"}

Despite the resource 8ea44bc4-22ba-4386-b84c-1494ab28964b having been removed.

How to reproduce

  1. Create a CSV resources to trigger datapusher/datastore
  2. Confirm the API is working
  3. Delete the resource
  4. Confirm the API is no longer working

Expected behavior

API returns an error (hopefully with a helpful message)

Actual behavior

API continues to serve data.

jbrown-xentity commented 3 days ago

Still outstanding, worth investigating.