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
Is your feature request related to a problem? Please describe.
When multiple http providers are on classpath it's unclear which is being picked up.
I.e. this code picks first one
// Use the first provider found in the service loader iterator.
Iterator<HttpClientProvider> it = serviceLoader.iterator();
if (it.hasNext()) {
defaultProvider = it.next();
}
}
Describe the solution you'd like
The HttpClientProviders should either throw runtime exception (and fail fast) or at least log warnings enumerating providers being on classpatch and printing one that has been chosen.
Maybe we should consider some priority list to decide which is picked if multiple are present to make it more predictable.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
[ x] Description Added
[x ] Expected solution specified
The text was updated successfully, but these errors were encountered:
[Hub Generated] Review request for Microsoft.DocumentDB to add version preview/2022-02-15-preview (Azure#18087)
* Adds base for updating Microsoft.DocumentDB from version preview/2021-11-15-preview to version 2022-02-15-preview
* Updates readme
* Updates API version in new specs and examples
* Partition Merge RP API changes
* fix spec to reflect the returned value
* fix serialization of merge response
* Add mongodb API
* prettier fix
* fixed Linter and Prettier errors
* prettier fixes
* fix linter errors
* address CR feedback
* semantic validation fixes
* fix mongodb merge example
* support for pitr basic/lite
* fix pretty and add mongo 4.2
* Adding Support for Client Encryption Policy in swagger spec
* Update cosmos-db.json
* Update cosmos-db.json
* Update CosmosDBSqlContainerCreateUpdate.json
* Fixed prettier checl
* Fixed prettier check
Co-authored-by: Vinh Trinh <[email protected]>
Co-authored-by: Santosh Kulkarni <[email protected]>
Is your feature request related to a problem? Please describe.
When multiple http providers are on classpath it's unclear which is being picked up.
I.e. this code picks first one
azure-sdk-for-java/sdk/core/azure-core/src/main/java/com/azure/core/implementation/http/HttpClientProviders.java
Lines 15 to 29 in a564e07
Describe the solution you'd like
The HttpClientProviders should either throw runtime exception (and fail fast) or at least log warnings enumerating providers being on classpatch and printing one that has been chosen.
Maybe we should consider some priority list to decide which is picked if multiple are present to make it more predictable.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: