You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Align Yahoo test configuration with provider settings
Root cause: Yahoo credentials and behavior had drifted away from the shared provider-configuration pattern, which left tests, sample config, and README guidance out of sync. This restores Yahoo credential gating in tests under Providers:Yahoo while keeping the sample app clear that Yahoo stays out of the runnable surface because the legacy provider still uses insecure endpoints.
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Includes a model and interface for communicating with current geocoding provider
9
9
| Bing Maps |`Geocoding.Microsoft`| Deprecated compatibility | Bing Maps enterprise key |`BingMapsGeocoder` remains available for existing consumers and is marked obsolete for new development. |
10
10
| HERE Geocoding and Search |`Geocoding.Here`| Supported | HERE API key | Uses the current HERE Geocoding and Search API. |
11
11
| MapQuest |`Geocoding.MapQuest`| Supported | API key | Commercial API only. OpenStreetMap mode is no longer supported. |
12
-
| Yahoo PlaceFinder/BOSS |`Geocoding.Yahoo`| Deprecated |None verified | Legacy package retained only for source compatibility and planned removal. |
12
+
| Yahoo PlaceFinder/BOSS |`Geocoding.Yahoo`| Deprecated |OAuth consumer key + secret | Legacy package retained for compatibility, but the service remains deprecated and unverified. |
13
13
14
14
The API returns latitude/longitude coordinates and normalized address information. This can be used to perform address validation, real time mapping of user-entered addresses, distance calculations, and much more.
15
15
@@ -64,7 +64,7 @@ var country = addresses.Where(a => !a.IsPartialMatch).Select(a => a[GoogleAddres
64
64
Console.WriteLine("Country: "+country.LongName+", "+country.ShortName); //Country: United States, US
65
65
```
66
66
67
-
The Microsoft providers expose `AzureMapsAddress`, and the legacy `BingMapsGeocoder` / `BingAddress` surface remains available as an obsolete compatibility layer. The Yahoo package remains deprecated.
67
+
The Microsoft providers expose `AzureMapsAddress`, and the legacy `BingMapsGeocoder` / `BingAddress` surface remains available as an obsolete compatibility layer. The Yahoo package also remains deprecated and should only be used for compatibility scenarios.
68
68
69
69
## API Keys
70
70
@@ -78,7 +78,7 @@ MapQuest requires a [developer API key](https://developer.mapquest.com/user/me/a
78
78
79
79
HERE requires a [HERE API key](https://www.here.com/docs/category/identity-and-access-management).
80
80
81
-
Yahoo credential onboarding could not be validated and the package is deprecated.
81
+
Yahoo still uses the legacy OAuth consumer key and consumer secret flow, but onboarding remains unverified and the package is deprecated.
82
82
83
83
## How to Build from Source
84
84
@@ -95,14 +95,14 @@ Alternatively, if you are on Windows, you can open the solution in [Visual Studi
95
95
96
96
You will need to generate API keys for each respective service to run the service tests. Make a `settings-override.json` as a copy of `settings.json` in the test project and put in your API keys. Then you should be able to run the tests.
97
97
98
-
Most provider-backed integration tests skip with a message indicating which setting is required when credentials are missing. The Yahoo suite remains explicitly skipped while the provider is deprecated.
98
+
Most provider-backed integration tests skip with a message indicating which setting is required when credentials are missing. The Yahoo suite now follows the same credential gating, but the provider remains deprecated and unverified.
99
99
100
100
## Sample App
101
101
102
-
The sample app in `samples/Example.Web` is an ASP.NET Core 10 minimal API that can geocode and reverse geocode against any configured provider, including the deprecated Bing compatibility option when explicitly enabled.
102
+
The sample app in `samples/Example.Web` is an ASP.NET Core 10 minimal API that can geocode and reverse geocode against any configured provider, including the deprecated Bing compatibility option when explicitly enabled. Yahoo remains excluded from the sample because the legacy provider still targets discontinued non-TLS endpoints.
103
103
104
104
```bash
105
105
dotnet run --project samples/Example.Web/Example.Web.csproj
106
106
```
107
107
108
-
Configure a provider in `samples/Example.Web/appsettings.json` or via environment variables such as `Providers__Google__ApiKey`, `Providers__Azure__ApiKey`, `Providers__Bing__ApiKey`, `Providers__Here__ApiKey`, or `Providers__MapQuest__ApiKey`. Once the app is running, use `samples/Example.Web/sample.http` to call `/providers`, `/geocode`, and `/reverse`.
108
+
Configure a provider in `samples/Example.Web/appsettings.json` or via environment variables such as `Providers__Azure__ApiKey`, `Providers__Bing__ApiKey`, `Providers__Google__ApiKey`, `Providers__Here__ApiKey`, or `Providers__MapQuest__ApiKey`. Once the app is running, use `samples/Example.Web/sample.http` to call `/providers`, `/geocode`, and `/reverse`.
0 commit comments