-
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 directory creation for SQL 2016 #575
xSQLServerRSConfig: Virtual directory creation for SQL 2016 #575
Conversation
2587476
to
1d356b1
Compare
Codecov Report
@@ Coverage Diff @@
## dev #575 +/- ##
===================================
+ Coverage 93% 94% +1%
===================================
Files 28 28
Lines 2880 2883 +3
===================================
+ Hits 2682 2737 +55
+ Misses 198 146 -52 |
7c00eda
to
aba4e8a
Compare
aba4e8a
to
50ff653
Compare
81d5b06
to
cd1692e
Compare
@bozho Tests added. I rebased this one becuase AppVeyor does not run test when there is merge conflicts. |
I did manually integration test of this code as well and this code works flawless in my lab also, for both SQL Server 2016 and SQL Server 2017, of what I can see. One thing though, it seems Reporting Services service need a restart to get the 'Reports' site working. 'ReportServer' site works without restart, but not 'Reports'. Have you seen this too? If so I can submit an issue for that so that can be added (optional restart parameter). |
Waiting for PR #573 to be merged before label this one for review. |
d15422f
to
9bfc9fc
Compare
It seems like reporting services must be restarted for the Reports web site to work, because just installed again and Reports does not start without restarting the service. |
Ok, I can add the fix for that on this branch. |
Hi, are you ok with me rebasing this on top of #569 after rebasing onto current dev? |
... or should we just merge stuff? I know the history will look ugly until the patch goes into dev, but with rebasing we're risking overwriting each other's work... |
18da6aa
to
5aa939b
Compare
Rebased. Phew! |
1a29064
to
7d6179b
Compare
Sorry about all the style comments. This is a resource that nobody has touch yet, so the style guidelines has not been enforced. Reviewed 1 of 2 files at r2, 1 of 1 files at r4. CHANGELOG.md, line 15 at r4 (raw file):
Add "(issue #569)" so there is a reference to the issue number. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 5 at r4 (raw file):
Could you please change this row to this, so it is the same as in other resource.
After fixing this, please remove line 1-4 which is not needed (?). DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 7 at r4 (raw file):
Could you please add comment-based help to the Get-TargetResource function? DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 13 at r4 (raw file):
Change to 'Parameter' - Upper 'P' DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 17 at r4 (raw file):
Change to 'Parameter' - Upper 'P' DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 21 at r4 (raw file):
Change to 'Parameter' - Upper 'P' DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 26 at r4 (raw file):
Please add a blank space after each if-statement. Also change to single quote ' around the string DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 28 at r4 (raw file):
This has the same path as the one above, could we add the path to a variable, and use the variable in both places instead? DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 28 at r4 (raw file):
Please change to DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 29 at r4 (raw file):
Please change to Also change to single quote ' around the strings that do not have variables in them. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 31 at r4 (raw file):
Could you please change this to DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 32 at r4 (raw file):
Please add a blank space after each if-statement. Also change to single quote ' around the string DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 34 at r4 (raw file):
Please change to single quote ' around the string DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 35 at r4 (raw file):
Please change to single quote ' around the string DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 40 at r4 (raw file):
Please change to single quote ' around the string DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 42 at r4 (raw file):
Please add a blank row before this row. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 42 at r4 (raw file):
Please change to DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 45 at r4 (raw file):
Two blank space on this row. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 59 at r4 (raw file):
Please remove extra blank line here DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 60 at r4 (raw file):
Could you please add comment-based help to the Set-TargetResource function? DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 65 at r4 (raw file):
Change to 'Parameter' - Upper 'P' DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 69 at r4 (raw file):
Change to 'Parameter' - Upper 'P' DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 73 at r4 (raw file):
Change to 'Parameter' - Upper 'P' DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 78 at r4 (raw file):
Please add a blank space after each if-statement. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 80 at r4 (raw file):
What do you mean by 'smart import'? DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 83 at r4 (raw file):
This has the same path as the one above, could we add the path to a variable, and use the variable in both places instead? Please change to single quote ' around the string DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 83 at r4 (raw file):
Please change to DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 84 at r4 (raw file):
Could we change to DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 84 at r4 (raw file):
Please change to DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 85 at r4 (raw file):
Please add a blank space after each if-statement. And please add a blank row before this row. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 87 at r4 (raw file):
Please change to single quote ' around the string DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 88 at r4 (raw file):
Please change to single quote ' around the string DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 89 at r4 (raw file):
Please change to single quote ' around the string DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 90 at r4 (raw file):
Please change to single quote ' around the string DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 99 at r4 (raw file):
Please add a blank space after each if-statement. And please add a blank row before this row. Please change to single quote ' around the string DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 101 at r4 (raw file):
Could you please change this to DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 107 at r4 (raw file):
Please add a blank row before this row. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 107 at r4 (raw file):
Please change to DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 108 at r4 (raw file):
Could you please change this to DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 109 at r4 (raw file):
Please add a blank space after each if-statement. And please add a blank row before this row. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 111 at r4 (raw file):
Please change to single quote ' around the string DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 112 at r4 (raw file):
Please change to single quote ' around the string DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 114 at r4 (raw file):
Please add a blank space after each if-statement. And please add a blank row before this row. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 120 at r4 (raw file):
Please change to single quote ' around the string DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 122 at r4 (raw file):
Please add a blank row before this row. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 130 at r4 (raw file):
Please change to single quote ' around the string DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 134 at r4 (raw file):
Please add a blank space after each if-statement. And please add a blank row before this row. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 140 at r4 (raw file):
Please remove extra blank line here DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 141 at r4 (raw file):
Could you please add comment-based help to the Test-TargetResource function? DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 147 at r4 (raw file):
Change to 'Parameter' - Upper 'P' DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 151 at r4 (raw file):
Change to 'Parameter' - Upper 'P' DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 155 at r4 (raw file):
Change to 'Parameter' - Upper 'P' DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 161 at r4 (raw file):
Four blank spaces here. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 164 at r4 (raw file):
Please remove extra blank line here Comments from Reviewable |
No worries, mate. You're code reviewing my stuff and writing tests :-) |
Review status: 2 of 3 files reviewed at latest revision, 54 unresolved discussions. CHANGELOG.md, line 15 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 5 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 7 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 13 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 17 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 21 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 26 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 28 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 29 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 31 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 32 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 34 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 35 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 40 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 42 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 45 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 65 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 69 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 73 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 78 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 80 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Import-SQLPSModule cmdlet will import SQLPS (SQL 2012/14) or SqlServer module (SQL 2016), and if importing SQLPS, change directory back to the original one, since SQLPS changes the current directory to SQLSERVER:\ on import. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 83 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 84 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 84 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 87 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 88 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 89 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 90 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 101 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 107 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 108 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 111 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 112 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 120 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 130 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 134 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 147 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 151 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 155 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 161 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Comments from Reviewable |
Review status: 2 of 3 files reviewed at latest revision, 54 unresolved discussions. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 28 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 42 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 59 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 60 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 83 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 85 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 99 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 107 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 109 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 114 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 122 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 140 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 141 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 164 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Comments from Reviewable |
Thanks for the changes! And I'm happy to help where I can :) A little more comments, just style again. I also missed some rows in the previous review. Reviewed 2 of 2 files at r5. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 80 at r4 (raw file): Previously, bozho (Marko Bozikovic) wrote…
Ah, then I suggest that you could add that in a comment block instead of the present comment? :)
DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 5 at r5 (raw file):
Could you remove two of the blank rows here so only one remains? DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 118 at r5 (raw file):
I missed these in previous review, saw them as parameters, but they weren't. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 119 at r5 (raw file):
I would like to change this to something else (not abbreviated). Do you have any suggestions? DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 120 at r5 (raw file):
I would like to change this to something else (not abbreviated). Do you have any suggestions? DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 121 at r5 (raw file):
Could you change this to DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 125 at r5 (raw file):
Same comment as above for this line and the three rows below. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 133 at r5 (raw file):
Should be needed to have quotes around this variable? DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 151 at r5 (raw file):
This two comments need to be a comment block.
DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 153 at r5 (raw file):
Could you please put the braces on separate lines - and could we do it like below which would be easier to read. But the way it is done is okay also as long as the braces are on a separate line.
DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 158 at r5 (raw file):
Could you change this to DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 161 at r5 (raw file):
Could you change this to DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 162 at r5 (raw file):
Could you change this to Comments from Reviewable |
Review status: 2 of 3 files reviewed at latest revision, 13 unresolved discussions. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 118 at r5 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 119 at r5 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 120 at r5 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 121 at r5 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 125 at r5 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 133 at r5 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 158 at r5 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 161 at r5 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 162 at r5 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Comments from Reviewable |
Review status: 2 of 3 files reviewed at latest revision, 13 unresolved discussions. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 80 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 5 at r5 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 151 at r5 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerRSConfig/MSFT_xSQLServerRSConfig.psm1, line 153 at r5 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Comments from Reviewable |
Done. Sorry for the delay, got distracted by priorities at work :) |
3adff1c
to
008c15d
Compare
Force pushed a newline change. |
No worries! :) The code looks good now. I have to improve the tests a little bit, so the comments below, I can fix them. I don't know why I didn't do that at the beginning, feels like I cheated. 😄 Reviewed 1 of 1 files at r3, 1 of 1 files at r6. Tests/Unit/MSFT_xSQLServerRSConfig.Tests.ps1, line 24 at r6 (raw file):
I missed to remove this comment. Tests/Unit/MSFT_xSQLServerRSConfig.Tests.ps1, line 163 at r6 (raw file):
Should be: 'Should throw the correct error message' Tests/Unit/MSFT_xSQLServerRSConfig.Tests.ps1, line 206 at r6 (raw file):
There should be some Assert-MockCalled here, and we need to verify that the methods are actually called. Tests/Unit/MSFT_xSQLServerRSConfig.Tests.ps1, line 209 at r6 (raw file):
'When there is no Reporting Services instance after Set-TargetResource has been called' Tests/Unit/MSFT_xSQLServerRSConfig.Tests.ps1, line 215 at r6 (raw file):
Should be: 'Should throw the correct error message' Tests/Unit/MSFT_xSQLServerRSConfig.Tests.ps1, line 249 at r6 (raw file):
There should be some Assert-MockCalled here, and we need to verify that the methods are actually called.There should be some Assert-MockCalled here, and we need to verify that the methods are actually called. Comments from Reviewable |
Review status: 2 of 3 files reviewed at latest revision, 6 unresolved discussions. Tests/Unit/MSFT_xSQLServerRSConfig.Tests.ps1, line 24 at r6 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done Tests/Unit/MSFT_xSQLServerRSConfig.Tests.ps1, line 163 at r6 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done Tests/Unit/MSFT_xSQLServerRSConfig.Tests.ps1, line 206 at r6 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done Tests/Unit/MSFT_xSQLServerRSConfig.Tests.ps1, line 209 at r6 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done Tests/Unit/MSFT_xSQLServerRSConfig.Tests.ps1, line 215 at r6 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done Tests/Unit/MSFT_xSQLServerRSConfig.Tests.ps1, line 249 at r6 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done Comments from Reviewable |
Reviewed 1 of 1 files at r7. Comments from Reviewable |
Pull Request (PR) description
A fix for web portal application name change introduced in SQL Server 2016.
This Pull Request (PR) fixes the following issues:
Fixes #569
Fixes #295
Task list:
This change is