dsccommunity / SqlServerDsc

This module contains DSC resources for deployment and configuration of Microsoft SQL Server.
MIT License
360 stars 227 forks source link

BREAKING CHANGE: SqlDatabasePermission: Refactored resource (class-based resource) #1769

Closed johlju closed 2 years ago

johlju commented 2 years ago

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

Task list


This change is Reviewable

johlju commented 2 years ago

I would be happy to get initial review on this while I get the integration tests finished.

codecov[bot] commented 2 years ago

Codecov Report

Merging #1769 (ce11053) into main (5b0a7e3) will decrease coverage by 1%. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           main   #1769    +/-   ##
=====================================
- Coverage    87%     86%    -2%     
=====================================
  Files        38      37     -1     
  Lines      6349    6261    -88     
=====================================
- Hits       5575    5422   -153     
- Misses      774     839    +65     
Flag Coverage Δ
unit 86% <100%> (-2%) :arrow_down:
Impacted Files Coverage Δ
...dules/SqlServerDsc.Common/SqlServerDsc.Common.psm1 98% <100%> (ø)
...ces/DSC_SqlConfiguration/DSC_SqlConfiguration.psm1 94% <0%> (-6%) :arrow_down:
...DSC_SqlAlwaysOnService/DSC_SqlAlwaysOnService.psm1 95% <0%> (-5%) :arrow_down:
...efaultLocation/DSC_SqlDatabaseDefaultLocation.psm1 95% <0%> (-5%) :arrow_down:
...ces/DSC_SqlAgentFailsafe/DSC_SqlAgentFailsafe.psm1 95% <0%> (-5%) :arrow_down:
...urce/DSCResources/DSC_SqlScript/DSC_SqlScript.psm1 95% <0%> (-5%) :arrow_down:
...sources/DSC_SqlScriptQuery/DSC_SqlScriptQuery.psm1 95% <0%> (-5%) :arrow_down:
...SCResources/DSC_SqlWaitForAG/DSC_SqlWaitForAG.psm1 95% <0%> (-5%) :arrow_down:
...lEndpointPermission/DSC_SqlEndpointPermission.psm1 95% <0%> (-5%) :arrow_down:
...Resources/DSC_SqlPermission/DSC_SqlPermission.psm1 96% <0%> (-4%) :arrow_down:
... and 13 more