-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Move configuration-based client logic to Microsoft.Azure.WebJobs.Extensions.Clients #15804
Move configuration-based client logic to Microsoft.Azure.WebJobs.Extensions.Clients #15804
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good to me.
...age/Azure.Storage.Webjobs.Extensions.Blobs/src/Azure.WebJobs.Extensions.Storage.Blobs.csproj
Outdated
Show resolved
Hide resolved
sdk/storage/Azure.Storage.Webjobs.Extensions.Common/src/Shared/Constants.cs
Show resolved
Hide resolved
@@ -33,7 +33,7 @@ public static class StorageQueuesWebJobsBuilderExtensions | |||
/// <returns></returns> | |||
public static IWebJobsBuilder AddAzureStorageQueues(this IWebJobsBuilder builder, Action<QueuesOptions> configureQueues = null) | |||
{ | |||
builder.Services.AddAzureClients(_ => { }); | |||
builder.Services.AddAzureClientsCore(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess similar change is due in blobs part.
/azp where |
Unrecognized OpenAPI bot command (where). |
Azure DevOps orgs getting events for this repository: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Considering the idea that
Microsoft.Extensions.Azure
would be able to handle all logic of client creation by only knowing the connection name and having IConfiguration instance failed and we moved to it providing helpers to create client "components" viaAzureComponentFactory
I'm removing the feature fromMicrosoft.Extensions.Azure