[ADLA] - Adding PS support for Catalog ACLs (v1)#6252
[ADLA] - Adding PS support for Catalog ACLs (v1)#6252cormacpayne merged 4 commits intoAzure:previewfrom
Conversation
b2dfc90 to
b34016c
Compare
b34016c to
30e418f
Compare
|
@idear1203 You have merge conflicts that need to be resolved. |
30e418f to
7e123df
Compare
2024d96 to
d244b3c
Compare
|
@MiYanni Thanks for informing the issue. I have fixed the merge conflicts. Please go ahead review the PR. |
d244b3c to
d561b17
Compare
f56354c to
792fe95
Compare
|
@idear1203 To fix the current Jenkins failure, please update the profile changelog (to ensure your common code changes are picked up in the next release and documented): https://github.com/Azure/azure-powershell/blob/preview/src/ResourceManager/Profile/ChangeLog.md |
|
@cormacpayne Could you please go ahead to review this PR? Note I have put |
cormacpayne
left a comment
There was a problem hiding this comment.
@idear1203 some comments for you to take a look at
There was a problem hiding this comment.
@idear1203 nit: you can remove the List<PSDataLakeAnalyticsAcl> output type from this line and just have PSDataLakeAnalyticsAcl #Resolved
There was a problem hiding this comment.
@idear1203 you can remove the ValueFromPipelineByPropertyName and Position properties from parameters that are of type SwitchParameter (this comment applies to all files) #Resolved
There was a problem hiding this comment.
@idear1203 since this is a list, make sure that each object in the list is individually written to the output stream by changing this to WriteObject(toReturn, true) #Resolved
There was a problem hiding this comment.
@idear1203 is the -Force parameter necessary? We suggest using the -Force parameter when the cmdlet performs additional prompting that the user should be able to skip (e.g., deleting an empty folder requires no prompting, but deleting a folder with files in it will prompt the user asking if they want to delete the files too). If this cmdlet doesn't do any additional prompting, then you should remove the -Force parameter. #Resolved
There was a problem hiding this comment.
Thanks! -Force will be removed #Resolved
There was a problem hiding this comment.
@idear1203 nit: same comment here about removing List<PSDataLakeAnalyticsAcl> #Resolved
There was a problem hiding this comment.
@idear1203 same comment about changing this line to WriteObject(toReturn, true) #Resolved
There was a problem hiding this comment.
No. I will remove this line #Resolved
There was a problem hiding this comment.
@idear1203 for the examples you're adding in this PR, would you be able to add the corresponding output from the cmdlet call so users have an idea of what is returned? #Resolved
There was a problem hiding this comment.
Output are added for examples of Get-AzureRmDataLakeAnalyticsCatalogItemAclEntry and Set-AzureRmDataLakeAnalyticsCatalogItemAclEntry
In reply to: 197487475 [](ancestors = 197487475)
There was a problem hiding this comment.
@idear1203 this line can be changed to ### Microsoft.Azure.Commands.DataLakeAnalytics.Models.PSDataLakeAnalyticsAcl #Resolved
There was a problem hiding this comment.
@idear1203 same comment about changing this line to ### Microsoft.Azure.Commands.DataLakeAnalytics.Models.PSDataLakeAnalyticsAcl #Resolved
0363fdf to
c95d0e4
Compare
|
@cormacpayne Thanks for your comments! I have resolved all of them. Please take a look. |
This change aims to update Microsoft.Azure.Management.DataLake.Analytics to version 3.3.0-preview, and fix the breaking changes due to the version upgrade
* Add support for Catalog ACLs through the following commands:
- Get-AzureRmDataLakeAnalyticsCatalogItemAclEntry
- Set-AzureRmDataLakeAnalyticsCatalogItemAclEntry
- Remove-AzureRmDataLakeAnalyticsCatalogItemAclEntry
c95d0e4 to
95f8feb
Compare
|
@vladimir-shcherbakov Merge conflicts have been resolved |
cormacpayne
left a comment
There was a problem hiding this comment.
@idear1203 a few minor comments, otherwise LGTM
There was a problem hiding this comment.
@idear1203 nit: we can go ahead and remove this project reference since we aren't using the RBAC client #Resolved
There was a problem hiding this comment.
@idear1203 nit: we should remove this client since we don't use it anywhere in the cmdlet code #Resolved
There was a problem hiding this comment.
@idear1203 it looks like this line was repeated #Resolved
95f8feb to
11a215c
Compare
|
@cormacpayne Thanks, I've addressed your comment. Please take a look. |
Description
Swagger PR Links
Changes
Microsoft.Azure.Management.DataLake.Analyticspackage to version3.3.0-previewand fix corresponding compilation errorsChecklist
CONTRIBUTING.mdplatyPSmodule