-
Notifications
You must be signed in to change notification settings - Fork 225
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
xSQLServerRSConfig: Virtual directories and URL reservations #638
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #638 +/- ##
====================================
+ Coverage 96% 96% +<1%
====================================
Files 31 31
Lines 3314 3410 +96
====================================
+ Hits 3197 3293 +96
Misses 117 117 |
@bozho Could you be so kind to add at an example, or several examples if it is necessary, to show how the resource should be used? Do you want to give it a shot to add code coverage in the unit test for this change? 😄 |
Reviewed 3 of 4 files at r1, 1 of 1 files at r2. README.md, line 755 at r2 (raw file):
Please align this description with the schema.mof. So they have the same description. README.md, line 756 at r2 (raw file):
Please align this description with the schema.mof. So they have the same description. README.md, line 757 at r2 (raw file):
Please align this description with the schema.mof. So they have the same description. README.md, line 758 at r2 (raw file):
Please align this description with the schema.mof. So they have the same description. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 38 at r2 (raw file):
This parameter is not used in the Get-TargetResource, so it can be removed. Only required to have all non-mandatory parameters in the Get-TargetResource function. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 42 at r2 (raw file):
This parameter is not used in the Get-TargetResource, so it can be removed. Only required to have all non-mandatory parameters in the Get-TargetResource function. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 46 at r2 (raw file):
This parameter is not used in the Get-TargetResource, so it can be removed. Only required to have all non-mandatory parameters in the Get-TargetResource function. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 50 at r2 (raw file):
This parameter is not used in the Get-TargetResource, so it can be removed. Only required to have all non-mandatory parameters in the Get-TargetResource function. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 89 at r2 (raw file):
When parameter is removed this should be changed to DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 90 at r2 (raw file):
When parameter is removed this should be changed to DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 94 at r2 (raw file):
When parameter is removed this should be changed to DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 95 at r2 (raw file):
When parameter is removed this should be changed to DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 97 at r2 (raw file):
Doesn't DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 162 at r2 (raw file):
Please add this to the comment-based help. Please use at least the same description as in the README.md (more text is okay too). DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 166 at r2 (raw file):
Please add this to the comment-based help. Please use at least the same description as in the README.md (more text is okay too). DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 170 at r2 (raw file):
Please add this to the comment-based help. Please use at least the same description as in the README.md (more text is okay too). DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 174 at r2 (raw file):
Please add this to the comment-based help. Please use at least the same description as in the README.md (more text is okay too). DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 177 at r2 (raw file):
Question. This code seems similar to the code in Get-TargetResource. Isn't it possible to call Get-TargetResource and remove some of this code? DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 186 at r2 (raw file):
Please use single quotes. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 187 at r2 (raw file):
Please use DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 187 at r2 (raw file):
Should be enough with DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 188 at r2 (raw file):
Please use DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 188 at r2 (raw file):
Should be enough with DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 189 at r2 (raw file):
Please use single quotes. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 194 at r2 (raw file):
Please use DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 194 at r2 (raw file):
Should be enough with DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 195 at r2 (raw file):
Please use DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 195 at r2 (raw file):
Should be enough with DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 224 at r2 (raw file):
Please use DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 228 at r2 (raw file):
Should be enough with DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 230 at r2 (raw file):
Please use single quotes. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 233 at r2 (raw file):
Should be enough with DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 235 at r2 (raw file):
Please use single quotes. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 241 at r2 (raw file):
Please use single quotes. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 244 at r2 (raw file):
Please use single quotes. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 257 at r2 (raw file):
Please add a blank line before this one. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 272 at r2 (raw file):
Please use single quotes. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 287 at r2 (raw file):
Please use single quotes. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 288 at r2 (raw file):
Please use single quotes. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 289 at r2 (raw file):
Please use single quotes. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 300 at r2 (raw file):
Won't this remove the URL added above? DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 305 at r2 (raw file):
Could you please move the DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 308 at r2 (raw file):
Please use single quotes. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 313 at r2 (raw file):
Please use single quotes. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 317 at r2 (raw file):
Could you please move the DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 370 at r2 (raw file):
Please add this to the comment-based help. Please use at least the same description as in the README.md (more text is okay too). DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 374 at r2 (raw file):
Please add this to the comment-based help. Please use at least the same description as in the README.md (more text is okay too). DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 378 at r2 (raw file):
Please add this to the comment-based help. Please use at least the same description as in the README.md (more text is okay too). DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 382 at r2 (raw file):
Please add this to the comment-based help. Please use at least the same description as in the README.md (more text is okay too). DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 389 at r2 (raw file):
Please use -not instead DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 395 at r2 (raw file):
Shouldn't it be enough with DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 401 at r2 (raw file):
Shouldn't it be enough with DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 407 at r2 (raw file):
Please fix all of these MSFT_xSQLServerRSConfig.psm1 (Line 228): $null should be on the left side of equality comparisons. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 407 at r2 (raw file):
Could you please move the DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 413 at r2 (raw file):
Could you please move the DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.schema.mof, line 7 at r2 (raw file):
Could we change to 'ReportServerVirtualDirectory'? DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.schema.mof, line 8 at r2 (raw file):
Could we change to 'ReportsVirtualDirectory'? Comments from Reviewable |
Review status: all files reviewed at latest revision, 57 unresolved discussions, some commit checks failed. README.md, line 755 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 756 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 757 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 758 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 38 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 42 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 46 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 50 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 89 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 90 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 94 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 95 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 97 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
No, since $reservedUrls has application names and url strings in two separate array properties (.Application and .UrlString) I could've been clever and zip the two arrays and then enumerate that, but the properties are only used here and I try to avoid "clever" code when a simple solution will do :-) DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 162 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 166 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 170 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 174 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 177 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Yes, looking at it, we could encapsulate getting $reportingServicesConfiguration into a helper method (e.g. Get-RSConfiguration, or something similar) It might be useful for the method to return both the configuration and the $reportsApplicationName value (which is based off the SQL Server version) What do you think? DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 187 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Eh, C# habits... I wasn't even aware that I find it a bit annoying that PowerShell sometimes implicitly converts Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 189 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 224 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 228 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
I prefer using explicit comparison against $null (C# habits), but if you prefer using DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 230 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 233 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
I prefer using explicit comparison against $null (C# habits), but if you prefer using DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 235 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 241 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 244 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 257 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 272 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 287 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 288 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 289 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 300 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
You mean the above We are handling DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 305 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 308 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 313 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 317 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 370 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 374 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 378 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 382 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 389 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 407 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 407 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 413 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.schema.mof, line 7 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.schema.mof, line 8 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Comments from Reviewable |
Review status: all files reviewed at latest revision, 57 unresolved discussions, some commit checks failed. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 186 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 187 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 188 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 194 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 195 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Comments from Reviewable |
@johlju I've addressed most of the CR comments (sorry for giving you a lot of work - the style is quite different from what I use, it takes a while to adjust :-) I'll add some examples. I've never done code coverage tests, can you point me to some tutorials, please? |
1b29d54
to
1ac81eb
Compare
Reviewed 1 of 2 files at r3, 1 of 3 files at r4, 2 of 2 files at r5. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 177 at r2 (raw file): Previously, bozho (Marko Bozikovic) wrote…
If that would remove duplicate code I'm all for it. If Get-TargetResource is gonna return more properties in the hash table, then remember to add them as Read properties in the schema.mof. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 188 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Missed writing Done on this one, so can't Acknowledge. I guess you wanted to answer the same thing as the previous comment. :) DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 194 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Same as comment above DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 195 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Same as comment above DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 300 at r2 (raw file): Previously, bozho (Marko Bozikovic) wrote…
My bad. Read this one wrong. All good. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 395 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Same comment as above DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 401 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Same comment as above Comments from Reviewable |
Review status: all files reviewed at latest revision, 12 unresolved discussions, some commit checks failed. README.md, line 757 at r5 (raw file):
Use single quotes here as well. README.md, line 758 at r5 (raw file):
Use single quotes here as well. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 134 at r5 (raw file):
Use single quotes here as well. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 137 at r5 (raw file):
Use single quotes here as well. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 372 at r5 (raw file):
Use single quotes here as well. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 375 at r5 (raw file):
Use single quotes here as well. Comments from Reviewable |
Review status: all files reviewed at latest revision, 12 unresolved discussions, some commit checks failed. README.md, line 757 at r5 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 758 at r5 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 177 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Shouldn't be too hard. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 188 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Yes :) Which style would you prefer here? DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 194 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Yup DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 195 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Yup DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 395 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Yup. Not really sure what I need to write here during the review :) DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 401 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Yup DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 134 at r5 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 137 at r5 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 372 at r5 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 375 at r5 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Comments from Reviewable |
@bozho No worries about the style, I know it can take a while to adjust 😄 I did not see any examples? Did you miss add them to a commit? In regards to Pester tests, you only need to change and add to the existing tests here; https://github.com/PowerShell/xSQLServer/blob/dev/Tests/Unit/MSFT_xSQLServerRSConfig.Tests.ps1 I think the best resource for learning all aspects of Pester is this book The Pester Book by Adam Bertram. And you can always reference the tests in this repo, since those cover many variants of tests. I learned by looking at others test code, the book did not exist then 😉. Also Mariah and Katie (in the PowerShell team) was kind to point out mistakes and how I could improve the tests. |
Reviewed 2 of 2 files at r6. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 177 at r2 (raw file): Previously, bozho (Marko Bozikovic) wrote…
Waiting for this commit then 😄 DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 188 at r2 (raw file): Previously, bozho (Marko Bozikovic) wrote…
You did right not answering on these, since you waited for an answer from me on the first review comment about this. It was my bad not answering. I just accepted that you want to use Agin my bad. You did correctly. Leave this as is. That's all good! 😄 Now you need to write Done though 😉 DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 395 at r2 (raw file): Previously, bozho (Marko Bozikovic) wrote…
You did right not answering on these, since you waited for an answer from me on the first review comment about this. It was my bad not answering. I just accepted that you want to use Agin my bad. You did correctly. Leave this as is. That's all good! 😄 Now you need to write Done though 😉 Comments from Reviewable |
@johlju I didn't add any examples yet, I thought I'd do that once we finish reviewing the code. I've added that helper method, I just need to quickly rebuild my test VM to check I haven't done and messed something up. I'll update the Reviewable comments when I've done that. |
Review status: 3 of 4 files reviewed at latest revision, 3 unresolved discussions, some commit checks failed. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 177 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 188 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 395 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Comments from Reviewable |
You got the code much cleaner! Great work. A few more comments. Reviewed 1 of 1 files at r7. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 83 at r7 (raw file):
Change this to and th next row can be removed.
DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 200 at r7 (raw file):
A potential problem with 'SilentlyContinue'? if this fails, $language will contain null which will break the function call using this? Add a check here if it is null, and throw an error? DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 239 at r7 (raw file):
Add -FilterScript to Where-Object. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 258 at r7 (raw file):
Please change DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 266 at r7 (raw file):
Please move the code in the script block to a separate row. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 268 at r7 (raw file):
Please move the code in the script block to a separate row. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 271 at r7 (raw file):
Please change DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 279 at r7 (raw file):
Please move the code in the script block to a separate row. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 281 at r7 (raw file):
Please move the code in the script block to a separate row. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 312 at r7 (raw file):
Please change DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 388 at r7 (raw file):
Please change DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 394 at r7 (raw file):
Please change Comments from Reviewable |
Review status: all files reviewed at latest revision, 22 unresolved discussions, some commit checks failed. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 220 at r7 (raw file):
Please add DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 230 at r7 (raw file):
Please add DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 266 at r7 (raw file):
Please add DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 268 at r7 (raw file):
Please add DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 279 at r7 (raw file):
Please add DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 281 at r7 (raw file):
Please add DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 287 at r7 (raw file):
Please add DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 291 at r7 (raw file):
Please add DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 300 at r7 (raw file):
Please add DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 304 at r7 (raw file):
Please add Comments from Reviewable |
Review status: all files reviewed at latest revision, 22 unresolved discussions, some commit checks failed. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 220 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 230 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 239 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 258 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 266 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 268 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 271 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 279 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 281 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 287 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 291 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 300 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 304 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 312 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 388 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 394 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Comments from Reviewable |
Review status: all files reviewed at latest revision, 22 unresolved discussions, some commit checks failed. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 83 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 200 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 266 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 268 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 279 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 281 at r7 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Comments from Reviewable |
Reviewed 1 of 1 files at r8. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 198 at r8 (raw file):
Please change to $wmiOperatingSystem Comments from Reviewable |
Reviewed 4 of 4 files at r18. Comments from Reviewable |
I did a rebase on this one to get all the changes I did in other PR's. Code looks okay. I will look at fixing the unit tests as soon as possible now. But all good now, so far. As I said, I will look at the unit tests as soon as possible. |
…ion in CHANGELOG.md
773d707
to
a564741
Compare
Reviewed 1 of 1 files at r19, 2 of 2 files at r20. Comments from Reviewable |
@bozho Really awesome work on this one! Hope you continue to approve on the Reporting Services resources. 😄 |
Thank you very much for your help with reviews and tests, too! |
Pull Request (PR) description
Added support for customising SSRS virtual server names.
This Pull Request (PR) fixes the following issues:
Fixes #570
Task list:
This change is