Use uuid in Map Matching response
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 438
- フォーク
- 117
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Soon the Map Matching API will start returning a uuid field for all successful map match requests.
Once this field is returned for all profiles we should start using it in MapboxJava and remove the placeholder here https://github.com/mapbox/mapbox-java/blob/aa126fcad9e7dba2f5b7f74c5a46291463d9b85e/services-matching/src/main/java/com/mapbox/api/matching/v5/MatchingResponseFactory.java#L73
In the meantime, while we transition to including the uuid in all responses, we could consider adding optional parsing of the uuid field that falls back gracefully to the placeholder string. This could be useful for responses like NoMatch or NoRoute that don't return a uuid either.
/cc @Guardiola31337
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
services-matching/src/main/java/com/mapbox/api/matching/v5/MatchingResponseFactory.java の issue で参照されているプレースホルダーから始め、Map Matching のレスポンスがどのようにパースされるかを確認します。成功したレスポンスと NoMatch および NoRoute のレスポンスを比較し、uuid の想定される扱いを判断します。レスポンスが存在する場合は API uuid を使用し、存在しない場合も適切な動作を維持すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- api
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100