Skip to content
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

[ADLS] Account APIs object refactor and couple of bugfixes #4046

Merged
merged 11 commits into from
Feb 10, 2018

Conversation

ro-joowan
Copy link
Contributor

@ro-joowan ro-joowan commented Feb 5, 2018

Swagger PR Links

Changes in 2.4.0-preview

Breaking changes

  • The Account operations object has been changed from Account to Accounts
    • E.g., Account.Get(...) to Accounts.Get(...)
  • When creating or updating resources (accounts, firewall rules, etc.), explicit parameter objects are now required:
    • Account creation:
      • DataLakeStoreAccount to CreateDataLakeStoreAccountParameters
        • List of FirewallRule to CreateFirewallRuleWithAccountParameters
        • List of TrustedIdProvider to CreateTrustedIdProviderWithAccountParameters
    • Account update:
      • DataLakeStoreUpdateParameters to UpdateDataLakeStoreParameters
        • List of FirewallRule to UpdateFirewallRuleWithAccountParameters
        • List of TrustedIdProvider to UpdateTrustedIdProviderWithAccountParameters
    • Firewall rule creation and update:
      • FirewallRule to CreateOrUpdateFirewallRuleParameters
      • FirewallRule to UpdateFirewallRuleParameters
    • Trusted identity provider creation and update:
      • TrustedIdProvider to CreateOrUpdateTrustedIdProviderParameters
      • TrustedIdProvider to UpdateTrustedIdProviderParameters
  • Bugfix: Removed the childrenNum field from FileStatusProperties because it was not supported
  • Bugfix: Changed the data type of the permission field of AclStatus from int to string

Description


This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

SDK Generation Guidelines

  • If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
  • The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
  • The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

* Removed ErrorDetails.cs -- it was unused
* Account to Accounts for operations
* Explicit parameter objects for creation and update
* Account refactor
* Permission field of AclStatus from int to string
Branch: current
Commit: db22f73d75fba57c9f1dcbd118bd1337ade842cf
GitHub user: ro-joowan
Branch: revert-path-parameters
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this has to be generated from master branch

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shahabhijeet Done. I also updated the metadata files for ADLA -- the PR that you already merged: #4043

@ro-joowan ro-joowan force-pushed the adls-account-refactor branch from e8114f7 to 790e322 Compare February 7, 2018 22:33
@ro-joowan
Copy link
Contributor Author

@shahabhijeet The last commit was to resolve merge conflicts

@ro-joowan
Copy link
Contributor Author

@shahabhijeet Ping -- I don't think the build error is coming from my changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants