-
Notifications
You must be signed in to change notification settings - Fork 332
feat(bicep): Show property-level changes in provision preview #6262
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
Merged
Merged
Changes from 10 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
02cebad
Initial plan
Copilot 213b5d5
Add property-level change details to azd provision --preview for Bicep
Copilot edf4654
Add test for property change display in provision preview
Copilot c59ec9c
Add manual test project for preview enhancement
Copilot 5dd5579
Final implementation complete - all tasks done
Copilot de782ae
Improve UX for provision preview based on feedback
Copilot 9c96403
Merge main branch and resolve conflict in bicep_provider.go
Copilot 2c972fc
Merge main branch and resolve conflicts
Copilot 34bdd78
Merge branch 'main' of https://github.com/azure/azure-dev into copilo…
vhvb1989 f40fef7
Merge branch 'copilot/add-preview-details-to-provision' of https://gi…
vhvb1989 63eaede
Delete cli/azd/extensions/azure.ai.agents/internal/pkg/azure/logging.go
JeffreyCA 26e9370
Remove preview-enhancement test files
Copilot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
cli/azd/extensions/azure.ai.agents/internal/pkg/azure/logging.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| package azure | ||
|
|
||
| import "regexp" | ||
|
|
||
| var ConnectionStringJSONRegex = regexp.MustCompile(`("[\w]*(?:CONNECTION_STRING|ConnectionString)":\s*)"[^"]*"`) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
cli/azd/pkg/output/ux/testdata/TestPreviewProvisionSkipHidesProperties.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| Resources: | ||
|
|
||
| Modify : Microsoft.Storage/storageAccounts : mystorageaccount | ||
| ~ properties.sku.name: "Standard_LRS" => "Premium_LRS" | ||
| Skip : Microsoft.KeyVault/vaults : skippedvault | ||
| Skip : Microsoft.Network/virtualNetworks : unchangedvnet |
7 changes: 7 additions & 0 deletions
7
cli/azd/pkg/output/ux/testdata/TestPreviewProvisionWithPropertyChanges.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| Resources: | ||
|
|
||
| Modify : Microsoft.Storage/storageAccounts : mystorageaccount | ||
| ~ properties.sku.name: "Standard_LRS" => "Premium_LRS" | ||
| + properties.minimumTlsVersion: "TLS1_2" | ||
| Create : Microsoft.KeyVault/vaults : mykeyvault | ||
| + properties.sku.name: "standard" |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.