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

Geocoding V6 Support #1577

Merged
merged 8 commits into from Apr 23, 2024
Merged

Geocoding V6 Support #1577

merged 8 commits into from Apr 23, 2024

Conversation

ahmedaly16
Copy link
Contributor

@ahmedaly16 ahmedaly16 commented Apr 16, 2024

Geocoding V6 is going to be GA on Monday, and it's going to be the default Geocoding API service listed under https://docs.mapbox.com/api/search/geocoding/ instead of V5.

This PR is reopening the original PR by @DzmitryFomchyn: #1550

Also I included all changes that we're aware of that happened to Geocoding V6 since the original PR was closed, I updated the tests as well.

Copy link

codecov bot commented Apr 16, 2024

Codecov Report

Attention: Patch coverage is 83.26531% with 41 lines in your changes are missing coverage. Please review.

Project coverage is 77.77%. Comparing base (ed56be1) to head (96b8b9c).

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #1577      +/-   ##
============================================
+ Coverage     77.44%   77.77%   +0.32%     
- Complexity      976     1041      +65     
============================================
  Files           136      156      +20     
  Lines          4123     4368     +245     
  Branches        588      606      +18     
============================================
+ Hits           3193     3397     +204     
- Misses          679      708      +29     
- Partials        251      263      +12     
Files Coverage Δ
...mapbox/api/geocoding/v6/MapboxV6BaseGeocoding.java 100.00% <100.00%> (ø)
...ox/api/geocoding/v6/V6GeocodingAdapterFactory.java 100.00% <100.00%> (ø)
...apbox/api/geocoding/v6/models/V6BatchResponse.java 100.00% <100.00%> (ø)
.../com/mapbox/api/geocoding/v6/models/V6Context.java 100.00% <100.00%> (ø)
...pbox/api/geocoding/v6/models/V6ContextAddress.java 100.00% <100.00%> (ø)
...pbox/api/geocoding/v6/models/V6ContextElement.java 100.00% <100.00%> (ø)
.../mapbox/api/geocoding/v6/models/V6Coordinates.java 100.00% <100.00%> (ø)
.../com/mapbox/api/geocoding/v6/models/V6Feature.java 100.00% <100.00%> (ø)
...com/mapbox/api/geocoding/v6/models/V6Response.java 100.00% <100.00%> (ø)
.../com/mapbox/api/geocoding/v6/V6GeocodingUtils.java 85.71% <85.71%> (ø)
... and 10 more

@ahmedaly16 ahmedaly16 marked this pull request as ready for review April 19, 2024 17:45
@ahmedaly16 ahmedaly16 requested a review from a team as a code owner April 19, 2024 17:45
@ahmedaly16 ahmedaly16 requested review from DzmitryFomchyn, dzinad, mpothier and VysotskiVadim and removed request for a team April 19, 2024 17:47
Copy link

@trescube trescube left a comment

Choose a reason for hiding this comment

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

Looks great! Very clean, well-structured, and maintainable.

@ahmedaly16 ahmedaly16 merged commit 97ca334 into main Apr 23, 2024
5 checks passed
@ahmedaly16 ahmedaly16 deleted the df-geocoding-v6-preview branch April 23, 2024 22:54
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

3 participants