Skip to content

Geocoding V6 Support#1577

Merged
ahmedaly16 merged 8 commits into
mainfrom
df-geocoding-v6-preview
Apr 23, 2024
Merged

Geocoding V6 Support#1577
ahmedaly16 merged 8 commits into
mainfrom
df-geocoding-v6-preview

Conversation

@ahmedaly16

@ahmedaly16 ahmedaly16 commented Apr 16, 2024

Copy link
Copy Markdown
Contributor

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.

@codecov

codecov Bot commented Apr 16, 2024

Copy link
Copy Markdown

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 force-pushed the df-geocoding-v6-preview branch from eb5adec to 7dce6ad Compare April 18, 2024 23:12
@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 vadzim-vys and removed request for a team April 19, 2024 17:47

@trescube trescube left a comment

Copy link
Copy Markdown

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 force-pushed the df-geocoding-v6-preview branch from 7af8023 to 57f31a0 Compare April 23, 2024 19:48
@ahmedaly16 ahmedaly16 force-pushed the df-geocoding-v6-preview branch from 57f31a0 to 31cbd9e Compare April 23, 2024 22:08
@ahmedaly16 ahmedaly16 merged commit 97ca334 into main Apr 23, 2024
@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.

3 participants