greenkeeper[bot]
152e7cf7c4
fix(package): update elasticsearch to version 14.2.1
...
Closes #1062
7 years ago
Julian Simioni
054acc8a8f
fix: Merge pull request #1106 from pelias/remove-expose
...
Remove EXPOSE command from Dockerfile
7 years ago
Julian Simioni
38c082357b
Remove EXPOSE command from Dockerfile
...
Since we use the `PORT` env var to configure the port, this value will
often be out of date. It leads to some confusing output in, for example
`docker-compose ps` when using a port other than the default:
```
julian@manhattan ~/repos/pelias/dockerfiles $ docker-compose ps
Name Command State Ports
---------------------------------------------------------------------------------------------------------------------
pelias_api ./bin/start Up 3100/tcp, 0.0.0.0:4000->4000/tcp
```
Notice how the Ports section shows 3100, even though nothing is running
on that port in the container, because the `PORT` env var was set to
4000.
7 years ago
Julian Simioni
79e41c5c14
feat: Merge pull request #1105 from pelias/attribution_url
...
fix attribution link
7 years ago
missinglink
1752875f11
feat: fix attribution link
7 years ago
Julian Simioni
a8a6991b26
Avoid NPM when starting Dockerfile
7 years ago
Julian Simioni
2cec2d5c6b
feat: Merge pull request #1097 from pelias/reduce-reverse-maxSize
...
Reduce minimum result size of reverse Elasticsearch query
7 years ago
Julian Simioni
dccad99d78
Move sizeCalculator middleware tests to the correct place
7 years ago
Julian Simioni
f887d7a249
Rename test setup function
...
It now can be confused for the middleware setup function
7 years ago
Julian Simioni
94946989bb
Test cases with a lower min query size
7 years ago
Julian Simioni
825b506a75
Revise tests to account for sizeCalculator setup params
7 years ago
Julian Simioni
5247ea575d
Give variable a better name
7 years ago
Julian Simioni
07dd704e1d
Set ES query minimum size to 2 for /v1/reverse
7 years ago
Julian Simioni
c966e6f6ae
Allow the minimum Elasticearch query size to be set per endpoint
...
Reverse queries don't need as much deduping, for example
7 years ago
Julian Simioni
2e92f15a91
Whitespace
7 years ago
Julian Simioni
581a8ebfb1
Merge pull request #1095 from pelias/fix-address-reverse
...
fix: Avoid querying PIP service for non-coarse reverse
7 years ago
Julian Simioni
07cabd8a32
fix: Avoid querying PIP service for non-coarse reverse
...
Queries that specified only non-corase layers (address or venue) and had
no results returned from Elasticsearch would trigger a request to the
PIP service.
The PIP service does not contain any addresses or venues so this query
will never return anything, and only waste time.
7 years ago
Julian Simioni
f5fb04b995
Merge pull request #1096 from pelias/rewrite-dockerfile
...
Rewrite Dockerfile
7 years ago
Julian Simioni
a3e8ae918b
Rewrite Dockerfile
...
There were a couple problems with the current dockerfile:
* It set the userid of the processes running in the container to 9999,
without creating a user with that ID. This leads to confusion and an
annoying message when you run an interactive bash session (the shell PS1
would display something like `I have no name!@1438586f786e:~$`
* It tried to run `chown` on _all_ code files after running NPM install.
This takes a really long time
* It did not copy `package.json` and run `npm install` before copying
other files. This means even a one line code change causes the image
rebuild process to re-run `npm install`, which takes 30 seconds or so
Now the image creates and uses a pelias user, sets permissions correctly
from the start to avoid `chown`, and only runs `npm install` when it
absolutely has to.
7 years ago
Julian Simioni
1654269b68
fix: Merge pull request #1093 from pelias/antoine-de-addr_dedup
...
dedup osm/OA address
7 years ago
antoine-de
3489517da3
dedup osm/OA address
...
linked to https://github.com/pelias/pelias/issues/541
and maybe to https://github.com/pelias/pelias/issues/541 but I cannot
reproduce it.
and to the fact that there are lots of dupplicates in france like:
[20 rue hector malot
paris](https://mapzen.com/search/explorer/?query=search&text=20%20rue%20hector%20malot%20paris )
that returns 1 result from open address and 1 result from OSM
now we first check which source has a zipcode and if both have, we
prefer OA over OSM
7 years ago
Julian Simioni
41681f3e2f
fix: Merge pull request #1091 from pelias/joxit-saint-fixes
...
Improved Saint/Sainte synonym handling
7 years ago
Joxit
551f0227db
Transliterates Saint and Sainte in ES schema see pelias/schema#268
7 years ago
Joxit
d187e7d950
Fix for #1077 , fail to search `Saint..` cities in structured queries
7 years ago
Stephen Hess
c56336dcf5
Merge pull request #1087 from pelias/greenkeeper/pelias-logger-0.3.1
...
Update pelias-logger to the latest version 🚀
7 years ago
greenkeeper[bot]
b8494ae41b
fix(package): update pelias-logger to version 0.3.1
7 years ago
Stephen Hess
64b4712112
Merge pull request #1086 from pelias/greenkeeper/pelias-model-5.3.2
...
fix(package): update pelias-model to version 5.3.2
7 years ago
Stephen Hess
3b85e67ee1
Merge branch 'master' into greenkeeper/pelias-model-5.3.2
7 years ago
Stephen Hess
ec5f81c211
Merge pull request #1085 from pelias/greenkeeper/pelias-config-2.14.0
...
Update pelias-config to the latest version 🚀
7 years ago
Stephen Hess
daecd54209
Merge branch 'master' into greenkeeper/pelias-config-2.14.0
7 years ago
greenkeeper[bot]
8f4069d91c
fix(package): update pelias-model to version 5.3.2
...
Closes #1065
7 years ago
Stephen Hess
d824c39a00
Merge pull request #1078 from pelias/greenkeeper/source-map-0.7.0
...
Update source-map to the latest version 🚀
7 years ago
Stephen Hess
4bb61e6cd0
Merge branch 'master' into greenkeeper/source-map-0.7.0
7 years ago
greenkeeper[bot]
533cb4b39e
fix(package): update pelias-config to version 2.14.0
7 years ago
Julian Simioni
a8cbb39d1a
Merge pull request #1084 from Echelon9/fix/switch-whosonfirst-URL
...
Update to current upstream Who's On First URL
7 years ago
Rhys Kidd
466eb12a61
Update to current upstream Who's On First URL
...
grep used to confirm no other direct whosonfirst.mapzen.com links remain.
7 years ago
Julian Simioni
2d9c64ede3
Merge pull request #1081 from Echelon9/fix/new-contact-email-address
...
Update to current Pelias contact email address
7 years ago
Julian Simioni
c5edba5886
Merge pull request #1082 from Echelon9/fix/license
...
Add MIT license
7 years ago
Rhys Kidd
c2b86f305a
Add MIT license
...
pelias-api never previously had a LICENSE, although it appears clear from
contextual information that the intention was for pelias-api to be MIT
licensed (e.g. metadata in package.json to this effect).
Copy over MIT license as formatted in the pelias/pelias meta repository.
7 years ago
Rhys Kidd
1dfc6988ed
Update to current Pelias contact email address
...
Per https://github.com/pelias/pelias/tree/master/announcements/2018-01-02-pelias-update
replace all @mapzen.com email addresses with the current Pelias contact email address.
grep used to confirm no '@mapzen.com' remain.
7 years ago
Rhys Kidd
ca66c0a333
Dockerfile: Update to current Pelias contact email address
...
Per https://github.com/pelias/pelias/tree/master/announcements/2018-01-02-pelias-update
replace @mapzen.com email address in Dockerfile with the current Pelias contact email address.
For example this will be visible from `docker inspect` with the other labels.
7 years ago
greenkeeper[bot]
c007245a5a
chore(package): update source-map to version 0.7.0
7 years ago
Diana Shkolnikov
a8f27171fe
fix: Merge pull request #1063 from sweco-semhul/correcting-ciao-test
...
Updating ciao tests to reflect current status in master to make them run
7 years ago
Diana Shkolnikov
781782cd88
Merge branch 'master' into correcting-ciao-test
7 years ago
Stephen Hess
0cc1eed8ff
Merge pull request #1060 from pelias/microserviceify-libpostal
...
Microserviceify libpostal
7 years ago
sweco-semhul
51709b58ff
Updating ciao tests to reflect current status in master to make them run
7 years ago
Julian Simioni
9cb4118ddb
Merge pull request #1061 from pelias/libpostal-service-dockerfile
...
Update Dockerfile for libpostal service
7 years ago
Stephen Hess
0a95dd2583
removed references to `textAnalyzer` config setting
7 years ago
Julian Simioni
d4d52443dc
Update Dockerfile for libpostal service
...
The Dockerfile no longer needs to be build on the libpostal_baseimage
(which will probably go away soon)
7 years ago
Stephen Hess
e0c25d0f57
convert libpostal calls to a microservice
7 years ago