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

BREAKING CHANGE: Adl object refactor #3512

Merged
merged 12 commits into from
Aug 4, 2017

Conversation

ro-joowan
Copy link
Contributor

@ro-joowan ro-joowan commented Jul 24, 2017

This does the following:

  • Create an explicit set of parameters for job submission. NOTE: Only
    U-SQL is supported in this change, no hive jobs are supported at
    present.

  • Create a "Basic" jobInformation that is returned for LIST calls

  • Setup inheritance for GET jobs

  • Create an inheritance structure for GET and LIST ADLS and ADLA
    accounts.

  • This also follows the Basic -> Object inheritance pattern.

  • Fix examples and job_build

  • Missed some of the example changes

  • Missed Job_Build, which should have its own parameters object as well.

  • Moving accountId into the right place in the example.

  • Updates to include name for buildjob

  • 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.

* This change is mapped to this PR:
Azure/azure-rest-api-specs#1429

* This commit is for ADLA
* This change is mapped to this PR:
Azure/azure-rest-api-specs#1429

* This commit for ADLS
* I missed this file!
@msftclas
Copy link

@ro-joowan,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@begoldsm
Copy link
Contributor

@cormacpayne the check boxes are getting cleared every time the page is refreshed. I promise @ro-joowan checked all the boxes :)

Copy link
Contributor

@begoldsm begoldsm left a comment

Choose a reason for hiding this comment

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

I sat with Joo Wan while he made these changes and I approve this message :shipit:

matthchr and others added 4 commits July 28, 2017 11:13
* Do hydra to swagger specs migration for azure-sdk-for-net

* Fix build failed problem

* update the assemblyinfo file with the updated version 2.6.0

* Revert "update the assemblyinfo file with the updated version 2.6.0"

This reverts commit a33beb0.

* Updata the AssemblyFileVersion to 2.6.0.0

* revert package version

* Make project files concise.

* Add Provider test case

* update the pr with new tests with session records

* remove extra code
@shahabhijeet
Copy link
Member

@azuresdkci test this please

@shahabhijeet
Copy link
Member

@ro-joowan test this please

@shahabhijeet shahabhijeet merged commit 638fb1a into Azure:psSdkJson6 Aug 4, 2017
ro-joowan added a commit to ro-joowan/azure-powershell that referenced this pull request Sep 14, 2017
* Based on this Swagger PR: Azure/azure-rest-api-specs#1452

* Based on this .NET PR:
Azure/azure-sdk-for-net#3512

* Besides code refactoring for type changes, the only real change is
updating adapting to how Job submission/build works in
src\ResourceManager\DataLakeAnalytics\Commands.DataLakeAnalytics\Commands\SubmitAzureRmDataLakeAnalyticsJob.cs

* For the deleted PS<some properties object>.cs files, it is because via
Swagger these properties have been flattened.  E.g. in
src\ResourceManager\DataLakeAnalytics\Commands.DataLakeAnalytics\Models\PSDataLakeStoreAccountInfo.cs:

[Obsolete("In a future release this object will have all 'Properties'
properties flattened and the 'Properties' property will be removed.
Until then, nested properies will be duplicated.")]
* Updated the tests ever so slightly to make them more reliable.  I also
ran them live and updated the SessionRecords folder for both ADLA and
ADLS
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.

6 participants