Closed sebdalgarno closed 2 years ago
also see result from trying to get the JSON:
Fixed.
Table fwa_bcboundary
name changed (from fwa_bc_boundary
and I missed updating the the post data load script that updates permissions to allow queries by featureserv.
Couple of things I can do to make sure issues like this don't pop up again:
GRANT
script to fwapg repo@smnorris - do you want permissions to trigger the GitHub actions tests scripts for the package?
The only challenge is that I think the caching of results can mean some tests pass when the database is broken. Are you able to configure the database so it doesn't cache results from particular IP addresses?
That could work well.
It looks like I can configure server to accept requests with argument ?nocache=true
for cache bypass, eg:
http://www.example.com/?nocache=true
Ok, the webserver is configured to bypass the cache if argument nocache=true
is set for these services:
https://features.hillcrestgeo.ca/fwa
https://features.hillcrestgeo.ca/bcfishobs
https://features.hillcrestgeo.ca/bcfishpass
Testing on this one and I can confirm the query is going through to the db each time request is made: https://features.hillcrestgeo.ca/fwa/collections/whse_basemapping.fwa_obstructions_sp/items.json?nocache=true
Hi @smnorris - I've made you a maintainer of this repository so you can trigger GitHub actions for testing.
We'll update our tests to have /?nocache=true
.
For example try: https://features.hillcrestgeo.ca/fwa/functions/postgisftw.fwa_watershedatmeasure/items.html?blue_line_key=356308001&downstream_route_measure=10000&limit=10