-
Notifications
You must be signed in to change notification settings - Fork 226
SqlAgentAlert: Refactor to class-bases resource
#2150
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
johlju
merged 37 commits into
dsccommunity:main
from
johlju:f/refactor-sqlagentalert-resource
Aug 29, 2025
Merged
Changes from 31 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
4d5b237
`SqlAgentAlert`: Refactor to class-bases resource
johlju 4897a08
Fix typo in DSC class resource guidelines for ExcludeDscProperties co…
johlju 11a2f00
Remove unit tests for DSC_SqlAgentAlert resource
johlju e62febd
Update SqlServerDsc guidelines to clarify resource inheritance and pr…
johlju 4dfbc14
Update ExcludeDscProperties in SqlAgentAlert constructor to include I…
johlju 642a742
Remove unnecessary blank lines from DSC_SqlAgentAlert_Remove_Config c…
johlju d74eedd
Update integration test to verify resource name against Configuration…
johlju 9398b1d
Update AssertProperties method to validate Severity and MessageId par…
johlju 9a5cba3
Fix AssertProperties method to validate Ensure property from input pa…
johlju 017f3a8
Enhance SqlAgentAlert to restrict Severity and MessageId when Ensure …
johlju 0afbd30
Clarify guideline on nullable property types in DSC class-based resou…
johlju c4050a5
Clarify guidelines for nullable property types in DSC class-based res…
johlju 207ce9c
Add support for MessageId in SqlAgentAlert configuration and tests
johlju 5856af5
Update module name placeholders in integration, localization, and uni…
johlju 1c74791
Refactor AI instructions header to generalize project guidance
johlju 670f853
Clarify hashtable formatting guideline for multi-line properties
johlju 6d1226d
Add "RAISERROR" to cSpell words list in settings.json
johlju d75a5da
Enhance SQL Agent alert configurations to utilize MessageId with RAIS…
johlju 2d0a7da
Add optional encryption parameter to SQL Agent alert configurations
johlju 8a08ce4
Enhance PowerShell guidelines with output stream usage and backtick l…
johlju c4263f1
Correct capitalization in PowerShell guidelines for Write-Verbose usage
johlju 54a02bf
Fix variable name in BeforeAll block for consistency in integration t…
johlju b3a7de8
Fix variable name in BeforeAll block for consistency in unit test gui…
johlju 8fceb2a
Refactor naming section in Pester guidelines for clarity and consistency
johlju 809953f
Enhance SqlAgentAlert validation logic in AssertProperties method and…
johlju 05fe912
Update SqlAgentAlert documentation and adjust validation ranges for S…
johlju cd6e952
Update SqlAgentAlert parameter documentation to correct valid ranges …
johlju b60438e
Fix constructor definition in DSC class guidelines to include $PSScri…
johlju f898566
Update SqlServerDsc guidelines to clarify resource inheritance and co…
johlju 51175ed
Refine documentation for SqlAgentAlert to improve clarity on alert ty…
johlju 3354094
Refactor SqlAgentAlert to streamline absence validation for Severity …
johlju 5c97552
Fix formatting in changelog guidelines for issue references
johlju 0a2fba5
Add assertion for bound parameters in SqlAgentAlert Set method
johlju a245ba2
Add tests for Modify() method in SqlAgentAlert to validate alert updates
johlju 250b7f0
Update build and test workflow instructions for clarity and consistency
johlju 87fec7e
Refactor test descriptions in SqlAgentAlert.Tests.ps1 for clarity and…
johlju 2f86af9
Refactor test assertions in SqlAgentAlert.Tests.ps1 to use assignment…
johlju 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
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
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
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
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.