Stephen Hess
5b86fbd7d8
add layers parameter support to PointInPolygon service request
7 years ago
Stephen Hess
cd6b9d9ed6
updated service name
7 years ago
Stephen Hess
41831ab7a0
converted middleware/interpolate to use injected service
7 years ago
Stephen Hess
d1461621c6
added ServiceConfiguration implementation for Interpolation
7 years ago
Stephen Hess
d1886a5073
removed unused modules
7 years ago
Stephen Hess
3663067698
added Language ServiceConfiguration implementation
7 years ago
Stephen Hess
83d5cf1bd5
added ServiceConfiguration for Language call
7 years ago
Stephen Hess
2363e9d739
added concatenation query building for placeholder
7 years ago
Stephen Hess
f94b683ef3
moved 'parser' placeholder url part to service config
8 years ago
Stephen Hess
143971e43e
use url.resolve to eliminate duplicate slashes
8 years ago
Stephen Hess
1f6b6b1ed0
finished conversion to use generic http/json service
8 years ago
Stephen Hess
dd172d782e
added PointInPolygon service configuration
8 years ago
Stephen Hess
471f565997
converted placeholder to microservice-wrapper
8 years ago
Stephen Hess
03667b0711
fixed error message
8 years ago
Stephen Hess
904ce71e37
removed superseded service/placeholder and dependency
8 years ago
Stephen Hess
3bf40fe51e
refactored ServiceConfiguration to be a class
8 years ago
Stephen Hess
5515fa4b6c
added placeholder config, added tests for http_json service
8 years ago
Stephen Hess
0f0bd3e4ce
added initial attempt at generic http json service
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
0adc76eca6
treat 404's from placeholder the same as other errors
8 years ago
Stephen Hess
f14400ebce
added placeholder service support to API for admin-only queries
...
Adds a controller, service (which could probably be made more generic and share with pointinpolygon), and predicates for determining when placeholder should be called.
This also renames `is_pip_service_enabled.js` to `is_service_enabled.js` since it's generic. If placeholder returns a non-empty response then `res.data` is populated, otherwise `res.data` is not populated, allowing fallback to existing production behavior.
8 years ago
Stephen Hess
a7867579de
pass dnt to pip service and sanitize error messages
8 years ago
Diana Shkolnikov
d6d328fdf6
fix: 500 errors returned when no language service is found
8 years ago
missinglink
8d774ab6d3
language service
8 years ago
Stephen Hess
58701f0169
return do-nothing PiP lookup function if config lacks `pipService`
...
- added URI-formatted `api.pipService` config support in schema
- added predicate that determines whether pipService is enabled/disabled
- reworked should-execute conditions for non-coarse reverse
8 years ago
Stephen Hess
52a6ec68ff
added support for coarse reverse geocoding
...
several things are in this commit:
- coarse reverse controller / pip service
- inject "conditional execute" predicate into search service to shortcut execution conditions
- added coarse reverse controller to precede standard reverse controller
- lots of tests!
8 years ago
Stephen Hess
bfecda2c07
refactored search service tests to inline mock callbacks
8 years ago
Peter Johnson
d135596c80
service: interpolation: typo
8 years ago
Peter Johnson
33341b7c99
service: interpolation: tests
8 years ago
Stephen Hess
8c249c26f4
initialize esclient in routes/v1, eliminating need for src/backend
8 years ago
Stephen Hess
e35ba28137
add proxyquire to tests for pelias-logger to swallow some error logging
8 years ago
Stephen Hess
8d532adb3f
added support for `_matched_queries` in ES hits
...
this will make it easier to sort thru results from FallbackQuery by knowing which query was called
8 years ago
Diana Shkolnikov
aff146aec3
Fix local naming convention and confidence score middlewares
9 years ago
Diana Shkolnikov
af8044ef29
Fix all unit tests
9 years ago
Diana Shkolnikov
2b22d611bd
Fix lost confidence score
9 years ago
Diana Shkolnikov
562338635c
Confidence score calculation
...
Fixes pelias/pelias#120
9 years ago
Harish Krishna
e5f783567f
remove all things that involved suggester including query mixer
...
keeping the suggest sanitizer for suggest/nearby wherein lat/lon are required
9 years ago
Harish Krishna
bcf823c519
cleanup + tests
10 years ago
Harish Krishna
fc7f6cb768
removing suggest_nearby, replacing suggest with suggest_multiple, commenting out a couple of tests for right now.
10 years ago
Harish Krishna
69a13e9105
fixing all the js lint related issues (lintified)
10 years ago
Harish Krishna
b1424797cd
adding tests for service wrapper
10 years ago