Update SRAT Catchment API Endpoint #3129
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
Updates endpoint URL for the SRAT Catchment API, as instructed by Scott Haag.
Also updates the URL and the KEY in deployment configuration in the fileshare and on civicci.
Connects #3128
Demo
Notes
Currently the new API is failing with this message:Because the key that should betploadrate_conc
is reported astploadate_conc
. We are trying to get this fixed on the SRAT end.This has been fixed in the API and it is now working correctly.
Testing Instructions
vagrant ssh
in toapp
andworker
and update/etc/mmw.d/env/MMW_SRAT_CATCHMENT_API_URL
and/etc/mmw.d/env/MMW_SRAT_CATCHMENT_API_KEY
with values from civicci's/var/lib/jenkins/.aws/staging.yml
mmw-app
andceleryd
servicesChecklist
./scripts/testem.sh