Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove usage of the ESRI WGS geocoder find endpoint #30

Merged
merged 1 commit into from
Jun 29, 2017

Conversation

jwalgran
Copy link
Member

ESRI deprecated the find endpoint. On or around June 28th 2017 several WGS related unit test started failing. This commit removes the usage of find and passes all ESRI WGS geocoder requests to the findAddressCandidates endpoint. The capitalization of a few attributes returned from the findAddressCandidates endpoint differed from what the code expected and required changes.


Testing

Before the ESRI WGS test began failing, these three tests were already failling:

  • test_geocode_nom
  • test_geocode_mapquest
  • test_geocode_mapquest_ssl

Only these three tests should fail when running the unit tests.


Connects to https://github.com/OpenTreeMap/otm-cloud/issues/384

ESRI deprecated the `find` endpoint. On or around June 28th 2017
several WGS related unit test started failing. This commit removes the
usage of `find` and passes all ESRI WGS geocoder requests to the
`findAddressCandidates` endpoint. The capitalization of a few
attributes returned from the `findAddressCandidates` endpoint differed
from what the code expected and required changes.
@hectcastro
Copy link
Contributor

You ran these tests with all of the API keys present or just the Esri ones?

@maurizi
Copy link
Contributor

maurizi commented Jun 29, 2017

@hectcastro I believe the ESRI geocoding services do not require an API key.

@jwalgran
Copy link
Member Author

When running the tests I exported the same API keys that the CI job on jenkins01 does.

hectcastro pushed a commit that referenced this pull request Jun 29, 2017
Add Travis CI support for testing the library's supported APIs with Python 2.7.
In addition, add support for automatic package publishing to PyPI.

Lastly, skip failing MapQuest test that were failing prior to the bug addressed
in #30.
@hectcastro hectcastro changed the base branch from master to develop June 29, 2017 16:16
Copy link
Contributor

@KlaasH KlaasH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Tests pass, and I tried a few ad hoc combinations that worked fine.
👍

@jwalgran jwalgran merged commit 917a906 into develop Jun 29, 2017
@jwalgran jwalgran deleted the jcw/switch-esri-endpoint branch June 29, 2017 16:47
hectcastro pushed a commit that referenced this pull request Jun 29, 2017
Add Travis CI support for testing the library's supported APIs with Python 2.7.
In addition, add support for automatic package publishing to PyPI.

Lastly, skip failing MapQuest test that were failing prior to the bug addressed
in #30.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants