Stephen Hess
3bf40fe51e
refactored ServiceConfiguration to be a class
8 years ago
Stephen Hess
1f6fefb3eb
converted placeholder controller to use generic service
8 years ago
Stephen Hess
5515fa4b6c
added placeholder config, added tests for http_json service
8 years ago
Stephen Hess
e5a5fe8f3f
more strictly enforce valid bbox content
8 years ago
Stephen Hess
0f0bd3e4ce
added initial attempt at generic http json service
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
f38987d7b9
removed hardcoded URL in favor of config URL
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
94f512fe94
added placeholderService to schema
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
Julian Simioni
ac2b60240a
Merge pull request #894 from pelias/greenkeeper/morgan-1.8.2
...
Update morgan to the latest version π
8 years ago
Julian Simioni
8788014d10
Add carat to morgan version
8 years ago
Julian Simioni
9f80cc11c0
Merge pull request #887 from pelias/fix-readme
...
Fix table formatting
8 years ago
Diana Shkolnikov
d1bc06b2ac
Merge pull request #895 from pelias/staging
...
Merge staging into production
8 years ago
greenkeeper[bot]
00270390c8
fix(package): update morgan to version 1.8.2
8 years ago
Julian Simioni
7e42fb51e1
Merge pull request #891 from pelias/master
...
Merge master into staging
8 years ago
Diana Shkolnikov
f93aa171cf
Merge pull request #879 from pelias/greenkeeper/pelias-model-4.8.1
...
Update pelias-model to the latest version π
8 years ago
Diana Shkolnikov
fd7a14f71c
Merge pull request #878 from pelias/greenkeeper/pelias-text-analyzer-1.8.2
...
fix(package): update pelias-text-analyzer to version 1.8.2
8 years ago
Diana Shkolnikov
6309f685e9
Merge pull request #890 from kevincennis/kce/prefer-oa-results-with-zip
...
Prefer openaddresses results with zip code
8 years ago
Kevin Ennis
512cec9945
Prefer openaddresses results with zip code
8 years ago
Julian Simioni
092e1c0f57
Merge pull request #886 from pelias/greenkeeper/uglify-js-3.0.4
...
chore(package): update uglify-js to version 3.0.4
8 years ago
Julian Simioni
fde904f447
Merge pull request #873 from pelias/greenkeeper/extend-3.0.1
...
Update extend to the latest version π
8 years ago
Julian Simioni
34809ce25d
Use carat version of extend
8 years ago
greenkeeper[bot]
7d3ae793b7
fix(package): update extend to version 3.0.1
...
https://greenkeeper.io/
8 years ago
Julian Simioni
719badf43d
Fix table formatting
...
It looks like markdown tables don't allow for newlines, so the changes
in https://github.com/pelias/api/pull/883 break the table.
8 years ago
greenkeeper[bot]
eae0a65d49
chore(package): update uglify-js to version 3.0.4
...
Closes #880
8 years ago
Diana Shkolnikov
16c8db8b99
Merge pull request #883 from pelias/config-doc
...
Add config details
8 years ago
Diana Shkolnikov
a660d7e72f
textAnalyzer not required
8 years ago
Diana Shkolnikov
a5370e0738
add an example
8 years ago
Diana Shkolnikov
1a8fe30a56
Add config details
8 years ago
Diana Shkolnikov
708e71aea0
Merge pull request #882 from pelias/master
...
Merge master into staging
8 years ago
greenkeeper[bot]
c2d293038a
fix(package): update pelias-model to version 4.8.1
8 years ago
Diana Shkolnikov
826f6b02d7
Merge branch 'master' into greenkeeper/pelias-text-analyzer-1.8.2
8 years ago
Diana Shkolnikov
836c941c53
Merge pull request #877 from pelias/greenkeeper/pelias-text-analyzer-1.8.1
...
Update pelias-text-analyzer to the latest version π
8 years ago
Diana Shkolnikov
7534407c62
Merge pull request #876 from pelias/greenkeeper/pelias-config-2.10.0
...
Update pelias-config to the latest version π
8 years ago
greenkeeper[bot]
3978907fee
fix(package): update pelias-text-analyzer to version 1.8.2
...
Closes #877
8 years ago
greenkeeper[bot]
387ecd656b
fix(package): update pelias-text-analyzer to version 1.8.1
8 years ago
Diana Shkolnikov
df71d2ccfe
Merge pull request #870 from pelias/greenkeeper/addressit-1.5.0
...
Update addressit to the latest version π
8 years ago
greenkeeper[bot]
af2a888186
fix(package): update pelias-config to version 2.10.0
8 years ago
Julian Simioni
3427058cbb
fix: Merge pull request #874 from pelias/size-param-improvements
...
Always query for a minimum of 20 results from Elasticsearch
8 years ago
Julian Simioni
6b0b124d8f
Always query for a minimum of 20 results from Elasticsearch
...
Fallback and interpolation queries rely on several results coming back
from Elasticsearch to ensure the best result is returned. It was
possible that queries with `size=1` would not return enough results from
Elasticsearch. This change ensures even with `size=1` a sufficient
number of results are returned.
Fixes https://github.com/pelias/pelias/issues/562
8 years ago
greenkeeper[bot]
75f44f9932
fix(package): update addressit to version 1.5.0
...
https://greenkeeper.io/
8 years ago
Julian Simioni
d4ec375745
Merge pull request #861 from pelias/greenkeeper-pelias-model-4.8.0
...
Update pelias-model to version 4.8.0 π
8 years ago
greenkeeper[bot]
8fc5196f13
fix(package): update elasticsearch to version 13.0.0
...
https://greenkeeper.io/
8 years ago
Diana Shkolnikov
f446cfbccc
Merge pull request #865 from pelias/staging
...
Merge staging into production
8 years ago
Diana Shkolnikov
b4394dd45a
Merge pull request #864 from pelias/master
...
Merge master into staging
8 years ago