[release/13.2] API Review Feedback#15370
Conversation
Fixing some API review comments.
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 15370Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 15370" |
There was a problem hiding this comment.
Pull request overview
Addresses API review feedback around Azure private endpoint support by reducing redundant interface implementations and consolidating namespace usage for the notification interface.
Changes:
- Removed redundant
IAzurePrivateEndpointTarget.Idexplicit implementations from multiple Azure resource types where a suitableIdproperty already exists. - Moved
IAzurePrivateEndpointTargetNotificationinto theAspire.Hosting.Azurenamespace and cleaned up now-unnecessaryusingdirectives.
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/Aspire.Hosting.Azure.WebPubSub/AzureWebPubSubResource.cs | Removes redundant explicit IAzurePrivateEndpointTarget.Id implementation. |
| src/Aspire.Hosting.Azure.Sql/AzureSqlServerResource.cs | Removes redundant explicit Id implementation and a now-unused namespace import. |
| src/Aspire.Hosting.Azure.SignalR/AzureSignalRResource.cs | Removes redundant explicit IAzurePrivateEndpointTarget.Id implementation. |
| src/Aspire.Hosting.Azure.ServiceBus/AzureServiceBusResource.cs | Removes redundant explicit IAzurePrivateEndpointTarget.Id implementation. |
| src/Aspire.Hosting.Azure.Search/AzureSearchResource.cs | Removes redundant explicit IAzurePrivateEndpointTarget.Id implementation. |
| src/Aspire.Hosting.Azure.Redis/AzureManagedRedisResource.cs | Removes redundant explicit IAzurePrivateEndpointTarget.Id implementation. |
| src/Aspire.Hosting.Azure.PostgreSQL/AzurePostgresFlexibleServerResource.cs | Removes redundant explicit IAzurePrivateEndpointTarget.Id implementation. |
| src/Aspire.Hosting.Azure.Network/IAzurePrivateEndpointTargetNotification.cs | Changes namespace to Aspire.Hosting.Azure for API shaping/consistency. |
| src/Aspire.Hosting.Azure.Network/AzurePrivateEndpointExtensions.cs | Cleans up unused using after namespace adjustment. |
| src/Aspire.Hosting.Azure.KeyVault/AzureKeyVaultResource.cs | Removes redundant explicit IAzurePrivateEndpointTarget.Id implementation. |
| src/Aspire.Hosting.Azure.EventHubs/AzureEventHubsResource.cs | Removes redundant explicit IAzurePrivateEndpointTarget.Id implementation. |
| src/Aspire.Hosting.Azure.CosmosDB/AzureCosmosDBResource.cs | Removes redundant explicit IAzurePrivateEndpointTarget.Id implementation. |
| src/Aspire.Hosting.Azure.AppConfiguration/AzureAppConfigurationResource.cs | Removes redundant explicit IAzurePrivateEndpointTarget.Id implementation. |
|
Re-running the failed jobs in the CI workflow for this pull request because 1 job was identified as retry-safe transient failures in the CI run attempt.
|
|
Is this ready to get merged Eric? |
Yes, I believe so. |
Fixing some API review comments.