Skip to content
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

Merged

Conversation

pakrym
Copy link
Contributor

@pakrym pakrym commented Oct 8, 2020

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" via AzureComponentFactory I'm removing the feature from Microsoft.Extensions.Azure

@ghost ghost added the Storage Storage Service (Queues, Blobs, Files) label Oct 8, 2020
Copy link
Contributor

@kasobol-msft kasobol-msft left a 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.

@@ -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();
Copy link
Contributor

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.

@mikeharder
Copy link
Member

/azp where

@openapi-assignment-bot
Copy link

/azp where

Unrecognized OpenAPI bot command (where).
Try sdkautomation or run instead.

@azure-pipelines
Copy link

Azure DevOps orgs getting events for this repository:

Copy link
Contributor

@kasobol-msft kasobol-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@pakrym pakrym closed this Oct 9, 2020
@pakrym pakrym reopened this Oct 9, 2020
@pakrym pakrym merged commit 839bb6c into Azure:master Oct 9, 2020
@pakrym pakrym deleted the pakrym/move-configuration-based-clients-out branch October 9, 2020 16:48
suhas92 pushed a commit to suhas92/azure-sdk-for-net that referenced this pull request Oct 12, 2020
annelo-msft pushed a commit to annelo-msft/azure-sdk-for-net that referenced this pull request Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants