158 Commits (2ad3bec3b4c54203bd0c8127a5880e0d5176018f)

Author SHA1 Message Date
Stephen Hess 2ad3bec3b4 added guard clause for string/negative population 8 years ago
Stephen Hess d1b87235c4 pull population from placeholder repsonse 8 years ago
Stephen Hess a6f6d3d6cd filter out results and hierarchies that don't match boundary.country 8 years ago
Stephen Hess 83101505c0 removed support for alpha3 since it's not used anywhere 8 years ago
Stephen Hess 8a14dcc48a guard clauses, more tests, code cleanup 8 years ago
Stephen Hess 7983e979d0 remove spurious '+' 8 years ago
Diana Shkolnikov c1daf18d68 fix tests 8 years ago
Diana Shkolnikov 6cc53e4e0b merge multiple hierarchies into arrays and use first ones 8 years ago
Stephen Hess b04309c533 added conversion to number before finite check 8 years ago
Stephen Hess 5734d35656 filter synthesized docs on boundary.country 8 years ago
Stephen Hess 4a8711017e filter placeholder results by requested layers 8 years ago
Stephen Hess 1f6fefb3eb converted placeholder controller to use generic service 8 years ago
Stephen Hess e5a5fe8f3f more strictly enforce valid bbox content 8 years ago
Stephen Hess c3be7844cb added comments, made code conciser 8 years ago
Stephen Hess 39a5312140 added guard clauses for bbox and centroid 8 years ago
Stephen Hess fa95fe510a handle case where result has data but no lineage 8 years ago
Stephen Hess 539edf09b7 added better error handling 8 years ago
Stephen Hess 8a7ba3d8de added support for do_not_track header 8 years ago
Stephen Hess f14400ebce added placeholder service support to API for admin-only queries 8 years ago
Diana Shkolnikov 7c58f98ee1 add coarse reverse logging so we can tell how often it's getting called 8 years ago
Stephen Hess d80d34cfd9 actually pass do-not-track to service 8 years ago
Stephen Hess f06704985e renamed predicates to be more accurate 8 years ago
Stephen Hess f57ac6fa05 removed lodash 8 years ago
Stephen Hess 0d1d67d6a2 added street layer 8 years ago
Stephen Hess 58701f0169 return do-nothing PiP lookup function if config lacks `pipService` 8 years ago
Stephen Hess 52a6ec68ff added support for coarse reverse geocoding 8 years ago
Stephen Hess 6918d866b8 added comments clarifying retry logic 8 years ago
Stephen Hess 73ef71d863 moved helper functions outside of setup scope 8 years ago
Stephen Hess 5148198e1d added helper functions 8 years ago
Stephen Hess ac0776e2be match error handling to controller/search 8 years ago
Stephen Hess 9da4b9d236 standardized on name to match controller/search 8 years ago
Stephen Hess ece98a2ae6 converted to let/const 8 years ago
Stephen Hess 6425cc6444 added request retries for ES request timeouts 8 years ago
Stephen Hess a4a6a691c8 cleaned up log message parts 8 years ago
Stephen Hess 96f9d12ff5 rewrote tests to proxyquire service/search to reduce complexity 8 years ago
Stephen Hess fbe0de386e added ending ']' 8 years ago
Stephen Hess bf62a1844b added tests for verifying request retry behavior 8 years ago
Stephen Hess 995b6109e3 removed used variable 8 years ago
Stephen Hess 0121d3db2a get # of retries from API config instead of ES client 8 years ago
Stephen Hess 67bba11001 removed object indirection in favor of function for easier proxyquire 8 years ago
Stephen Hess e83c12cd0e added test for early bail when errors are present 8 years ago
Stephen Hess 40e6b1b3b7 renamed variable for clarity 8 years ago
Stephen Hess fe0457cb8b removed maxRetries default 8 years ago
Stephen Hess 4ed4b8b357 added retry support for ES requests that timeout 8 years ago
Stephen Hess 8c249c26f4 initialize esclient in routes/v1, eliminating need for src/backend 8 years ago
Stephen Hess 00234265e6 always inject backend instead of require'ing inside 8 years ago
Stephen Hess de2ff8cad7 removed debug 8 years ago
Diana Shkolnikov ec91f4055f add controller logging 8 years ago
Peter Johnson 1451e9038e
change all log labels to 'api' 8 years ago
Diana Shkolnikov 9ff383cc2b change the query module interfaces back to simple functions 8 years ago