Stephen Hess
27194a620e
added tests for geocode_place_details
7 years ago
Stephen Hess
30b7290990
added stub request_language sanitizer that just allows lang param
7 years ago
Lily He
7ecf770d79
create stackTraceLine helper to debug predicates
7 years ago
Stephen Hess
ab332e43ee
removed unused is_service_enabled predicate
7 years ago
Stephen Hess
951b18e656
switched to has_parsed_text_properties
7 years ago
Stephen Hess
c8c969db74
added predicate for any/all parsed_text fields
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
518240dcec
added new tests
7 years ago
Stephen Hess
83d5cf1bd5
added ServiceConfiguration for Language call
7 years ago
Lily He
cafb7d9277
created new debug helper class and debug sanitizer
7 years ago
Stephen Hess
257ee8161f
removed unused predicate
7 years ago
Stephen Hess
a39d760bb1
added libpostal controller test
7 years ago
Stephen Hess
b9e86dbaaa
add new predicates to test driver
7 years ago
Stephen Hess
40ddc93bbf
added conditional fallback to addressit
7 years ago
Stephen Hess
442c2b5c9b
add ability to skip filters in placeholder
7 years ago
Stephen Hess
9ae838903a
converted to 'any' property for brevity
7 years ago
Stephen Hess
147d76f9d7
added controller for searching with ids
7 years ago
Stephen Hess
e158c21685
added has_parsed_text_property predicate
7 years ago
Lily He
f67664c3e0
location bias feature - sets default focus.point
7 years ago
Stephen Hess
67360a4d0b
added geonames_deprecation to reverse sanitizing
8 years ago
Stephen Hess
1f6b6b1ed0
finished conversion to use generic http/json service
8 years ago
Stephen Hess
c602794ed8
added predicate for finding results at given layers
8 years ago
Stephen Hess
8429e0f22a
added response data sorting middleware
8 years ago
Stephen Hess
8ebae9a2ae
added warnings/errors when sources includes geonames
8 years ago
Stephen Hess
471f565997
converted placeholder to microservice-wrapper
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
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
missinglink
8d774ab6d3
language service
8 years ago
Peter Johnson
1847fb3692
add unit tests for language
8 years ago
Stephen Hess
f06704985e
renamed predicates to be more accurate
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
2288e227a3
converted configValidation to basic schema object
...
to inject into `config.generate`
fixed tests
8 years ago
Peter Johnson
69be6e062a
service: interpolation: tests
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
948c6a9de5
enable all unit tests
8 years ago
Stephen Hess
e35ba28137
add proxyquire to tests for pelias-logger to swallow some error logging
8 years ago
Stephen Hess
d8cffe4b9b
added configuration validation + tests
8 years ago
Stephen Hess
9e569bae17
renamed mt/st/ft sanitizer to something more generic
8 years ago
Stephen Hess
35ab050341
transliterate mt/ft/saint/sainte into mount/fort/st/ste
...
respectively
8 years ago
Stephen Hess
be2a336038
updated naming from component to structured
8 years ago
Stephen Hess
b18cb234b2
added sanitizer to convert country iso2->iso3
8 years ago
Stephen Hess
d2c32b5afd
added unit tests for component_geocoding query
...
started folder structure for fixture as it's getting unwieldy
8 years ago
Stephen Hess
08f4aa4b95
renamed files to be more indicative of what the function is
8 years ago