79 Commits (4daf2aa6ddbc25f98405aefb35eb1e57c2310129)

Author SHA1 Message Date
Julian Simioni a7932d0b8c
feat(log): move retry info to structured logs 6 years ago
Julian Simioni d681a114d6
feat(log): Remove most unstructured controller logs 6 years ago
Julian Simioni c91fd58ec6
fix(log): replace brittle string extraction 6 years ago
Julian Simioni 8c37ee63dd
feat(log): Add JSON log for Elasticsearch queries 6 years ago
Julian Simioni 02aac0c13e
Remove use stricts 7 years ago
Lily He 9405a8f370 correct timer timings for controller debug logs 7 years ago
Lily He 12a1dcba08 update controller debug timers to new format 7 years ago
Lily He a2848ff6f0 debug messages for controller/search & predicates 8 years ago
Stephen Hess d3bd68b95a removed debug 8 years ago
Stephen Hess 568a258406 code cleanup, shorter function syntax 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 ece98a2ae6 converted to let/const 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
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
Diana Shkolnikov 3888ae0385 change query module interfaces to allow for additional meta data 8 years ago
Stephen Hess cc5c9f8468 disable calling GeodisambiguationQuery 8 years ago
Stephen Hess 2a9c25f8c4 added condition that `res.data` must be non-empty to return early 8 years ago
Stephen Hess 4952a0ed2b added condition to exit early if there are already results in `res` 8 years ago
Julian Simioni 2557c68368
Use index name from config in controllers 9 years ago
Alec Vulfson 31adf09870
Using new layers view to filter layers 9 years ago
Julian Simioni 23ff51fd57
Add custom access_log handlers that remove user info 9 years ago
Julian Simioni 3c1d758229
Fix timeout error handling 9 years ago
Vesa Meskanen a2e96987fc Remove expensive JSON.stringify from api debug logging calls 9 years ago
Julian Simioni 79883594b8 Use clean.layers to determine types 9 years ago
Julian Simioni ef78b2e0fd Filter source and layer by new fields 9 years ago
Vesa Meskanen 899d520cd7 Debug log full queries and responses between Pelias and Elasticsearch 9 years ago
Diana Shkolnikov 42d940f8c8 Add simple normalizer (lowercase + remove punctuation) 9 years ago
Diana Shkolnikov 54187dde67 Add dedupe middleware 9 years ago
Peter Johnson c609ae3ccf http friendly status codes. resolves #321 9 years ago
Diana Shkolnikov 2b22d611bd Fix lost confidence score 9 years ago
Peter Johnson 348d2e70e2 more conformance 9 years ago
Peter Johnson 7c46aed4a7 expose error messages in geojson 9 years ago
Peter Johnson 6ab81ffca5 set response data/meta on instead of 9 years ago