Skip to content

Commit

Permalink
Remove CSV endpoints
Browse files Browse the repository at this point in the history
These cause issues with timeouts on the database; I'm not sure why as we hash
the large CSV response so it shouldn't cause issues.

Remove CSV endpoints; if we want to include them we can add another ticket to
make them work.
  • Loading branch information
ethax-ross committed Oct 23, 2024
1 parent 6d4f354 commit 218490f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions config/parity_check_endpoints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ get:
"/api/v3/npq-applications":
paginate: true

"/api/v1/npq-applications.csv":
"/api/v2/npq-applications.csv":

"/api/v1/npq-applications/:id":
id: 'lead_provider.applications.order("RANDOM()").limit(1).pick(:ecf_id)'
"/api/v2/npq-applications/:id":
Expand All @@ -23,18 +20,13 @@ get:
"/api/v3/participant-declarations":
paginate: true

"/api/v1/participant-declarations.csv":
"/api/v2/participant-declarations.csv":

"/api/v1/participant-declarations/:id":
id: 'Declaration.where(lead_provider:).order("RANDOM()").limit(1).pick(:ecf_id)'
"/api/v2/participant-declarations/:id":
id: 'Declaration.where(lead_provider:).order("RANDOM()").limit(1).pick(:ecf_id)'
"/api/v3/participant-declarations/:id":
id: 'Declaration.where(lead_provider:).order("RANDOM()").limit(1).pick(:ecf_id)'

"/api/v2/npq-enrolments.csv":

"/api/v1/participants/npq/outcomes":
paginate: true
"/api/v2/participants/npq/outcomes":
Expand Down

0 comments on commit 218490f

Please sign in to comment.