-
Notifications
You must be signed in to change notification settings - Fork 4k
ADL Updates to latest Package #2892
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
Missed DataLakeStore upgrade. Updates for file and folder download. Tests will be in the next iteration. Fixing the connection manager overwriting. This is important to ensure that we have enough connections available for ingress/egress scenarios, and it must be set before the client is first used. Updating the help for ADLS to include new download. Signed local package for testing. Add full path property to ADLS Items Remove private package. Official is published Adding official package from nuget. Missed one disable of tracing. Fixing ADL tests and re-running them This enables ADL tests to run during CI and gets them totally updated. fix to always copy ADL session records. Add links to AzureRM.Resources.ps1 Following the pattern from compute tests. Adding records directory info for mock server This is a requirement for the tests to be discovered when run in playback mode. Fix ADL tests and update changelog This updates the change log to reflect the changes made Fixes to datetime offset for listing jobs fix to import/export logic due to inverted parameters. Missed one of the test updates test fixes for ADLA and ADLS Add specific exclusion for ADL acls Inside of ACLs we allow ":", which breaks the playback of tests, since it encodes ":", which results in a missed match in the recorded json (which contains the colon). This fixes that so playback does not encode colons for paths that start with: /webhdfs/v1/?aclspec Fix missing resume and bad merge. update to latest version of the store package. Update to latest ADLS sdks replace local feed with signed package Update tests and fix null reference bug for ADLA Remove test package. Update ADLS Filesystem tests and SDK package There was an SDK package mismatch caught by tests. Fixing this. Update to latest ADLA SDK package. Reverting the ADLA package update. Remove app.config that was added nuget update Temporary addition of package to get signed build. Missed commit of the csproj. need a signed package.
Update to latest packages Re-add support for Get/Set permissions Re-add support for removing full ACLs Update functionality of the ACL listing and setting logic Missed a save.
This is a prep commit for a PR to the release candidate while I wait on PR approval for SDK. Unchecked changes. Updates to make the compiler happy. Compilation fix that wasn't caught by VS for some reason. Make static analysis happy.
Update Microsoft.Azure.Commands.DataLakeStore.dll-help.xml (#3) Test updates and remove local packages Fix and re-run tests for ADLS More intentional with the not yet implemented APIs remove extraneous restore.config
@@ -55,7 +55,7 @@ public class NewAzureDataLakeAnalyticsCatalogSecret : DataLakeAnalyticsCmdletBas | |||
|
|||
[Parameter(ValueFromPipelineByPropertyName = true, ParameterSetName = BaseParameterSetName, Position = 3, | |||
Mandatory = true, HelpMessage = "The host of the database to connect to in the format 'myhost.dns.com'.")] | |||
public string Host { get; set; } | |||
public string DatabaseHost { get; set; } |
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.
Please add an alias to the previous parameter name to avoid a breakign change. Also, be sure to avoid any breaking changes in the properties of the output type for this cmdlet as well.
@begoldsm One overarchign concern is breakign changes - are there places where properties are renamed in the output types that could break customer scripts? Noted a couple of breaking changes in parameters, and please remvoe comments-out cmdlets |
@markcowl thanks! I will remove the commented out cmdlets for now. For the breaking parameter changes I will add aliases to reduce that risk. For a couple cmdlets we have to make breaking changes (for return types and our accepted object) for ACL management due to usability concerns. I will sync with you separately to figure out if there is something we need to do to help minimize the impact of the breaking change. |
Also update the help.xml to reflect reality better based on the latest from the PS Cmdlet help editor.
@markcowl all checks have passed with your comments addressed. Can this please be considered for the current PowerShell release? |
Reverted changes to ACL behavior and added obsolete warnings and deprecation warnings for existing cmdlets. In the next release, we will make these breaking changes.
find replace is bad!
@markcowl all tests are passing. Can you take a look and, if there are no other concerns, get this included? |
public void CreateCredential(string accountName, string databaseName, | ||
string credentialName, string userId, string password, string hostUri) | ||
{ | ||
/* |
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 Please remove commented code
@begoldsm - a couple of comments and questions. Note that changing a parameter from 'ValurFromPipelineByPropertyName' -> 'ValueFromPipeline', this could introduce breaking changes for scripts that use the pipeline. The recommendation is to use a different parameter set with a different parameter name for the new Pipeline property, if thsi is an intentional change, and deprecate the old one. |
on demand run here:http://azuresdkci.cloudapp.net/view/1-AzurePowerShell/job/powershell-demand/1173/ signing run here:http://azuresdkci.cloudapp.net/view/1-AzurePowerShell/job/powershell-sign/628/ LGTM once the build passes |
Comments
9. Add support for getting information about account encryption states (the ability to encrypt will come in a future release).
This checklist is used to make sure that common issues in a pull request are covered by the creator. You can find a more complete discussion of PowerShell cmdlet best practices here.
Below in Overall Changes, check off the boxes that apply to your PR. For the categories that you did not check off, you can remove them from this body. Within each of the categories that you did select, make sure that you can check off all of the boxes.
For information on cleaning up the commits in your pull request, click here.
Overall Changes
General
Tests
Cmdlet Signature
VerbsCommon
,VerbsCommunication
,VerbsLifecycle
,VerbsOther
whenever possibleOutputType
attribute if any output is produced; if the cmdlet produces no output, it should implement aPassThrough
parameterShouldProcess
and haveSupportShouldProcess = true
specified in the cmdlet attribute. See a discussion about correctShouldProcess
implementation hereDefaultParameterSetName
in its cmdlet attributeParameters
object
.ResourceGroup
type string marked as [ValueFromPipelineByPropertyName]ResourceName
type string marked as [ValueFromPipelineByPropertyName]HashTable
Parameters and the Pipeline
object
ResourceGroupName
andName
from the pipeline by property valueGet
andNew
cmdlets to the input ofSet
,Update
,Remove
and other action cmdlets for that resource