-
Notifications
You must be signed in to change notification settings - Fork 4k
Update to latest ADL Packages #3477
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
Conversation
This includes a rework of the PowerShell friendly client and smart settings for file and folder upload/download. I also re-ran all tests to ensure that they are all still passing, which resulted in discovering that the MASK is now properly populated immediately when creating an account, so had to update the permissions tests.
Also remove test package.
Add warning to deletes. Fix from using private package Was using private package previously that hadn't fully refactored Upload -> Transfer Missed removal of Uploader package in tests. Fix the wxi file.
This is difficult to maintain and the RP itself should handle this when the attempt is sent. Unfortunately this has the by-product of removing tab completion from the cmdlet for locations, but maintaining this set when new regions are on boarded does not scale.
@begoldsm ping for change log and package version update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@begoldsm a few comments
LGTM once they have been resolved
@@ -38,14 +38,24 @@ public void TestAdlaAccount() | |||
[Trait(Category.AcceptanceType, Category.CheckIn)] | |||
public void TestAdlaAccountTiers() | |||
{ | |||
AdlaTestsBase.NewInstance.RunPsTest(true, | |||
AdlaTestsBase.NewInstance.RunPsTest(false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@begoldsm out of curiosity, what does the boolean flip change, and is this something that needs to be changed throughout all RunPsTest
calls in this class?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was a fix to remove creation of a WASB storage account, since this test doesn't need it to be created, it was making recording runs of this test take longer. Only the TestAdlaAccount() test needs to create a WASB storage account.
@@ -63,8 +63,34 @@ public class SetAzureDataLakeAnalyticsAccount : DataLakeAnalyticsCmdletBase | |||
[ValidateNotNull] | |||
public TierType? Tier { get; set; } | |||
|
|||
[Parameter(ValueFromPipelineByPropertyName = true, Position = 4, Mandatory = false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@begoldsm is this position attribute needed? If so, it looks like it should be 3 instead of 4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, and no, it does not need to be positional, I can remove it.
# Add-AzureRmDataLakeAnalyticsFirewallRule | ||
|
||
## SYNOPSIS | ||
{{Fill in the Synopsis}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@begoldsm it looks like the markdown files added for DataLakeAnalytics have a few sections that contain the templates from platyPS. Would you mind updating these and regenerating the dll-Help.xml file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will update right now.
Description
Updates the following:
This checklist is used to make sure that common guidelines for a pull request are followed. You can find a more complete discussion of PowerShell cmdlet best practices here.
General Guidelines
Testing Guidelines
Cmdlet Signature Guidelines
ShouldProcess
and haveSupportShouldProcess=true
specified in the cmdlet attribute. You can find more information onShouldProcess
here.OutputType
attribute if any output is produced - if the cmdlet produces no output, it should implement aPassThru
parameter.Cmdlet Parameter Guidelines