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 #1429

Merged
merged 5 commits into from
Jul 18, 2017

Conversation

begoldsm
Copy link
Contributor

@begoldsm begoldsm commented Jul 17, 2017

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.

Description

This PR addresses the following issues by restructuring our object models, which is a breaking change

Specifically we have done the following:

  • Break up JobInformation into CreateJobParameters, JobInformationBasic and JobInformation
  • Break up DataLakeAnalyticsAccount and DataLakeAnalyticsAccountProperties into those and Basic
    Versions
  • Break up DataLakeStoreAccount and DataLakeStoreAccountProperties into those and Basic Versions

PR information

  • The title of the PR 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 information on cleaning up the commits in your pull request, see this page.
  • Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
  • If applicable, the PR references the bug/issue that it fixes.
  • Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

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> -> Object inheritance pattern.
@begoldsm
Copy link
Contributor Author

@veronicagg this PR should address the validation issues that were opened previously. Can you take a look and help confirm? Is there something I need to run to ensure this fixes those issues?

@begoldsm
Copy link
Contributor Author

@olydis is looking into why CI is failing here. It looks like it isn't properly running against Node 8 instead of Node 6. I will restart CI once it is fixed.

@olydis olydis mentioned this pull request Jul 17, 2017
@olydis
Copy link
Contributor

olydis commented Jul 17, 2017

So it seems that Travis always picks up the config from the very branch you're trying to merge, even if it wasn't touched. I.e. it doesn't perform a git merge before getting that file... I've rebased your PR (#1433) and it works, so we can take it from there.

@olydis
Copy link
Contributor

olydis commented Jul 17, 2017

begoldsm added 3 commits July 17, 2017 17:26
* Missed some of the example changes
* Missed Job_Build, which should have its own parameters object as well.
@olydis olydis merged commit 5f839ce into Azure:current Jul 18, 2017
@AutorestCI
Copy link

No modification for AutorestCI/azure-sdk-for-ruby

@AutorestCI
Copy link

No modification for AutorestCI/azure-sdk-for-node

@AutorestCI
Copy link

ro-joowan added a commit to ro-joowan/azure-rest-api-specs that referenced this pull request Jul 21, 2017
* There is no functional change in this commit

* This change is purely for refactoring related to Ben's refactoring
changes (which has already been accepted):
Azure#1429

* Reordering fields in the example files to match with Ben's refactoring
changes

* Other minor changes or moving code around
vishrutshah pushed a commit that referenced this pull request Jul 24, 2017
…1452)

* There is no functional change in this commit

* This change is purely for refactoring related to Ben's refactoring
changes (which has already been accepted):
#1429

* Reordering fields in the example files to match with Ben's refactoring
changes

* Other minor changes or moving code around
ro-joowan added a commit to ro-joowan/azure-sdk-for-net that referenced this pull request Jul 24, 2017
* This change is mapped to this PR:
Azure/azure-rest-api-specs#1429

* This commit is for ADLA
ro-joowan added a commit to ro-joowan/azure-sdk-for-net that referenced this pull request Jul 24, 2017
* This change is mapped to this PR:
Azure/azure-rest-api-specs#1429

* This commit for ADLS
ro-joowan added a commit to ro-joowan/azure-sdk-for-node that referenced this pull request Jul 25, 2017
* This change is mapped to this PR:
Azure/azure-rest-api-specs#1429
ro-joowan added a commit to ro-joowan/azure-sdk-for-node that referenced this pull request Jul 25, 2017
* This change is mapped to this PR:
Azure/azure-rest-api-specs#1429

* Checking in the successful tests
shahabhijeet pushed a commit to Azure/azure-sdk-for-net that referenced this pull request Aug 4, 2017
* Code gen for ADLA

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

* This commit is for ADLA

* Code gen for ADLS

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

* This commit for ADLS

* Code gen for ADLS (part 2)

* I missed this file!

* Code gen for ADL (part 3)

* Updating to the correct commit number:
Azure/azure-rest-api-specs#1452

* Update Azure Batch to 5.1.0 (#3513)

* Fixing publishing of symbols. Fixing issue# 3518 (#3519)

* Fix Batch changelog references (#3517)

* Do hydra to swagger specs migration for azure-sdk-for-net (#3482)

* 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

* Fixing changelog.md

* Fixing up changelog.md
shahabhijeet pushed a commit to Azure/azure-sdk-for-net that referenced this pull request Aug 10, 2017
* Code gen for ADLA

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

* This commit is for ADLA

* Code gen for ADLS

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

* This commit for ADLS

* Code gen for ADLS (part 2)

* I missed this file!

* Code gen for ADL (part 3)

* Updating to the correct commit number:
Azure/azure-rest-api-specs#1452

* Update Azure Batch to 5.1.0 (#3513)

* Fixing publishing of symbols. Fixing issue# 3518 (#3519)

* Fix Batch changelog references (#3517)

* Do hydra to swagger specs migration for azure-sdk-for-net (#3482)

* 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

* Fixing changelog.md

* Fixing up changelog.md

* [DataLake Analytics] Fixing changelog.md

More descriptive and fixing indent issue that was not addressed in the previous commit

* [DataLake Store] Fixing changelog.md

More descriptive and fixing indent issue not addressed in a previous commit

* [DataLake Analytics] Fixing changelog.md

Adding an important note about retrieving a list of jobs and accounts
shahabhijeet pushed a commit to Azure/azure-sdk-for-net that referenced this pull request Aug 21, 2017
* Code gen for ADLA

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

* This commit is for ADLA

* Code gen for ADLS

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

* This commit for ADLS

* Code gen for ADLS (part 2)

* I missed this file!

* Code gen for ADL (part 3)

* Updating to the correct commit number:
Azure/azure-rest-api-specs#1452

* Update Azure Batch to 5.1.0 (#3513)

* Fixing publishing of symbols. Fixing issue# 3518 (#3519)

* Fix Batch changelog references (#3517)

* Do hydra to swagger specs migration for azure-sdk-for-net (#3482)

* 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

* Fixing changelog.md

* Fixing up changelog.md

* [DataLake Analytics] Fixing changelog.md

More descriptive and fixing indent issue that was not addressed in the previous commit

* [DataLake Store] Fixing changelog.md

More descriptive and fixing indent issue not addressed in a previous commit

* [DataLake Analytics] Fixing changelog.md

Adding an important note about retrieving a list of jobs and accounts

* Revising custom Job Exists method

* Ran into two regressions in JobOperationTests.cs
* The custom Job Exists method is expecting a non-empty response body to
validate non-existence.  After speaking with a team member who
implemented the service, I can no longer rely on this.  Thus, I am
removing the logic that checks for a non-empty response body.
* Commenting out the test case for listing Jobs with a select parameter.
This is currently being fixed.

* Adding a TODO comment

* Adding this as a reminder to re-enable the test
ro-joowan added a commit to ro-joowan/azure-rest-api-specs that referenced this pull request Aug 26, 2017
* In this already-merged PR
(Azure#1429), Ben made some
object-refactoring changes - one of them being to make all the fields in
USqlJobProperties read-only as a good design decision.  However, by
making the fields statistics and debugData read-only, this caused some
conflicts in the Powershell code.  We need to pan out the design more
carefully for these two fields with respect to their associated APIs
("/Jobs/{jobIdentity}/GetDebugDataPath" for the debugData field and
"/Jobs/{jobIdentity}/GetStatistics" for the statistics field) before
making them read-only.  If I do not make the change proposed here, I
would have to create two new cmdlets: one for getting the JobDataPath
object and another for getting the JobStatistics object, which we do not
want to do until we have a better understanding of their designs as a
whole.  Hence, the reverting change proposed here.
olydis pushed a commit that referenced this pull request Aug 26, 2017
* Refactoring changes in order to match with Ben's refactoring changes

* There is no functional change in this commit

* This change is purely for refactoring related to Ben's refactoring
changes (which has already been accepted):
#1429

* Reordering fields in the example files to match with Ben's refactoring
changes

* Other minor changes or moving code around

* [BUGFIX] - Reverting readOnly for two fields

* In this already-merged PR
(#1429), Ben made some
object-refactoring changes - one of them being to make all the fields in
USqlJobProperties read-only as a good design decision.  However, by
making the fields statistics and debugData read-only, this caused some
conflicts in the Powershell code.  We need to pan out the design more
carefully for these two fields with respect to their associated APIs
("/Jobs/{jobIdentity}/GetDebugDataPath" for the debugData field and
"/Jobs/{jobIdentity}/GetStatistics" for the statistics field) before
making them read-only.  If I do not make the change proposed here, I
would have to create two new cmdlets: one for getting the JobDataPath
object and another for getting the JobStatistics object, which we do not
want to do until we have a better understanding of their designs as a
whole.  Hence, the reverting change proposed here.
ro-joowan added a commit to ro-joowan/azure-sdk-for-java that referenced this pull request Aug 28, 2017
* Code gen based on this PR:
Azure/azure-rest-api-specs#1429

* Modifying the gulpfile to align with the directory revamp of the
Swagger repo

* Modifying the test files to work with the object-refactoring changes
in the PR

* Adding a few more tests to align with the well-covered tests for .NET
SDK

* Removing "import com.microsoft.azure.SubResource"
shahabhijeet pushed a commit to Azure/azure-sdk-for-net that referenced this pull request Aug 29, 2017
* Code gen for ADLA

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

* This commit is for ADLA

* Code gen for ADLS

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

* This commit for ADLS

* Code gen for ADLS (part 2)

* I missed this file!

* Code gen for ADL (part 3)

* Updating to the correct commit number:
Azure/azure-rest-api-specs#1452

* Update Azure Batch to 5.1.0 (#3513)

* Fixing publishing of symbols. Fixing issue# 3518 (#3519)

* Do hydra to swagger specs migration for azure-sdk-for-net (#3482)

* 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

* Fix Batch changelog references (#3517)

* Fixing changelog.md

* Fixing up changelog.md

* [DataLake Analytics] Fixing changelog.md

More descriptive and fixing indent issue that was not addressed in the previous commit

* [DataLake Store] Fixing changelog.md

More descriptive and fixing indent issue not addressed in a previous commit

* [DataLake Analytics] Fixing changelog.md

Adding an important note about retrieving a list of jobs and accounts

* Revising custom Job Exists method

* Ran into two regressions in JobOperationTests.cs
* The custom Job Exists method is expecting a non-empty response body to
validate non-existence.  After speaking with a team member who
implemented the service, I can no longer rely on this.  Thus, I am
removing the logic that checks for a non-empty response body.
* Commenting out the test case for listing Jobs with a select parameter.
This is currently being fixed.

* Adding a TODO comment

* Adding this as a reminder to re-enable the test

* [CODE GEN] - Reverting readOnly for two fields

* Code gen based on this very descriptive PR:
Azure/azure-rest-api-specs@e33ebf8

* [CODE GEN] - Updating the version (3.1.0 to 3.1.1)
veronicagg pushed a commit that referenced this pull request Sep 5, 2017
…bject recursively (#1627)

* Refactoring changes in order to match with Ben's refactoring changes

* There is no functional change in this commit

* This change is purely for refactoring related to Ben's refactoring
changes (which has already been accepted):
#1429

* Reordering fields in the example files to match with Ben's refactoring
changes

* Other minor changes or moving code around

* Adding an innerError field to JobInnerError object

There can be more levels of the innerError field in an JobInnerError
object.  There is currently only one level of nesting or innerError.
Practically, however, the service returns up to two levels.  Thus we
made the change below:

Currently we have:
* JobErrorDetails
* JobInnerError

Now we have:
* JobErrorDetails
* JobInnerError
* JobInnerSecond
* JobInnerThird

* Getting rid of JobInnerErrorSecond and JobInnerErrorThird

* Getting rid of JobInnerErrorSecond and JobInnerErrorThird in place of
a recursive definition

* [BUGFIX] - Reverting readOnly for two fields

* In this already-merged PR
(#1429), Ben made some
object-refactoring changes - one of them being to make all the fields in
USqlJobProperties read-only as a good design decision.  However, by
making the fields statistics and debugData read-only, this caused some
conflicts in the Powershell code.  We need to pan out the design more
carefully for these two fields with respect to their associated APIs
("/Jobs/{jobIdentity}/GetDebugDataPath" for the debugData field and
"/Jobs/{jobIdentity}/GetStatistics" for the statistics field) before
making them read-only.  If I do not make the change proposed here, I
would have to create two new cmdlets: one for getting the JobDataPath
object and another for getting the JobStatistics object, which we do not
want to do until we have a better understanding of their designs as a
whole.  Hence, the reverting change proposed here.
shahabhijeet pushed a commit to Azure/azure-sdk-for-net that referenced this pull request Sep 7, 2017
* Code gen for ADLA

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

* This commit is for ADLA

* Code gen for ADLS

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

* This commit for ADLS

* Code gen for ADLS (part 2)

* I missed this file!

* Code gen for ADL (part 3)

* Updating to the correct commit number:
Azure/azure-rest-api-specs#1452

* Update Azure Batch to 5.1.0 (#3513)

* Fixing publishing of symbols. Fixing issue# 3518 (#3519)

* Do hydra to swagger specs migration for azure-sdk-for-net (#3482)

* 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

* Fix Batch changelog references (#3517)

* Fixing changelog.md

* Fixing up changelog.md

* [DataLake Analytics] Fixing changelog.md

More descriptive and fixing indent issue that was not addressed in the previous commit

* [DataLake Store] Fixing changelog.md

More descriptive and fixing indent issue not addressed in a previous commit

* [DataLake Analytics] Fixing changelog.md

Adding an important note about retrieving a list of jobs and accounts

* Revising custom Job Exists method

* Ran into two regressions in JobOperationTests.cs
* The custom Job Exists method is expecting a non-empty response body to
validate non-existence.  After speaking with a team member who
implemented the service, I can no longer rely on this.  Thus, I am
removing the logic that checks for a non-empty response body.
* Commenting out the test case for listing Jobs with a select parameter.
This is currently being fixed.

* Adding a TODO comment

* Adding this as a reminder to re-enable the test

* [CODE GEN] - Reverting readOnly for two fields

* Code gen based on this very descriptive PR:
Azure/azure-rest-api-specs@e33ebf8

* [CODE GEN] - Updating the version (3.1.0 to 3.1.1)

* [CODE REFACTOR] - Removing flaky test

* Removing test case: DataLakeUploader_FreshFolderUploadDownload()

* Note: In the near future, the custom ADLS Filesystem code will be
replaced with a new SDK that has its own set of test cases.  The account
management side of ADLS will still remain, however.

* [DOC] - Updating the changelog to describe 3.1.1-preview

* [CODE REFACTOR] - Skipping flaky test

* Skipping the flaky test as opposed to commenting it out
* Also, I forgot to replace a SessionRecord file from last update, so I
doing it now
shahabhijeet pushed a commit to Azure/azure-sdk-for-net that referenced this pull request Sep 13, 2017
* Code gen for ADLA

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

* This commit is for ADLA

* Code gen for ADLS

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

* This commit for ADLS

* Code gen for ADLS (part 2)

* I missed this file!

* Code gen for ADL (part 3)

* Updating to the correct commit number:
Azure/azure-rest-api-specs#1452

* Update Azure Batch to 5.1.0 (#3513)

* Fixing publishing of symbols. Fixing issue# 3518 (#3519)

* Do hydra to swagger specs migration for azure-sdk-for-net (#3482)

* 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

* Fix Batch changelog references (#3517)

* Fixing changelog.md

* Fixing up changelog.md

* [DataLake Analytics] Fixing changelog.md

More descriptive and fixing indent issue that was not addressed in the previous commit

* [DataLake Store] Fixing changelog.md

More descriptive and fixing indent issue not addressed in a previous commit

* [DataLake Analytics] Fixing changelog.md

Adding an important note about retrieving a list of jobs and accounts

* Revising custom Job Exists method

* Ran into two regressions in JobOperationTests.cs
* The custom Job Exists method is expecting a non-empty response body to
validate non-existence.  After speaking with a team member who
implemented the service, I can no longer rely on this.  Thus, I am
removing the logic that checks for a non-empty response body.
* Commenting out the test case for listing Jobs with a select parameter.
This is currently being fixed.

* Adding a TODO comment

* Adding this as a reminder to re-enable the test

* [CODE GEN] - Reverting readOnly for two fields

* Code gen based on this very descriptive PR:
Azure/azure-rest-api-specs@e33ebf8

* [CODE GEN] - Updating the version (3.1.0 to 3.1.1)

* [CODE REFACTOR] - Removing flaky test

* Removing test case: DataLakeUploader_FreshFolderUploadDownload()

* Note: In the near future, the custom ADLS Filesystem code will be
replaced with a new SDK that has its own set of test cases.  The account
management side of ADLS will still remain, however.

* [DOC] - Updating the changelog to describe 3.1.1-preview

* [CODE REFACTOR] - Skipping flaky test

* Skipping the flaky test as opposed to commenting it out
* Also, I forgot to replace a SessionRecord file from last update, so I
doing it now

* [BUG FIX] - Making JobInnerError object recursively defined

* Based on this PR:
Azure/azure-rest-api-specs#1627

* We are essentially adding one more property to the JobInnerError
object (recursively) in order to capture the additional error
information that's returned by the service

* This added property has been tested successfully by a team member
jianghaolu pushed a commit to Azure/azure-sdk-for-java that referenced this pull request Sep 14, 2017
…and object refactoring (#1893)

* Adding a parameter to catalogs, Pipeline and Recurrence information, and object refactoring

* Catalogs.java: added a parameter, called basic, to indicate that you
want basic information rather than nested information about a table
(i.e., list tables method) for performance increase

* Adding Pipeline and Recurrence information to jobs
* Added methods to get such information

* Refactoring and comment changes

* Code gen for ADLS

* Refactoring and comment changes

* [CODE GEN] - BREAKING CHANGE: Adl object refactor

* Code gen based on this PR:
Azure/azure-rest-api-specs#1429

* Modifying the gulpfile to align with the directory revamp of the
Swagger repo

* Modifying the test files to work with the object-refactoring changes
in the PR

* Adding a few more tests to align with the well-covered tests for .NET
SDK

* Removing "import com.microsoft.azure.SubResource"

* [BUGFIX] - Fixing up and commenting out tests

* For JobOperationsTests, I found a server side bug while testing this
call in the .NET SDK, so I was not surprised to see that it fails here
as well.

* For CatalogOperationsTests, I commented out "BUCKETS" from the script
because apparently that keyword is deprecated.  Furthermore, I commented
out the "canCreateUpdateDeleteSecretsAndCredentials" test because the
scripts that are being used are deprecated.  According to the error
message, I must use Azure Powershell cmdlets for such opeartions.  I am
not surprised at this because, to my knowledge, it's been a while since
this test case was run.  I will look into how I can test this in the
near future.

* Other than that, I made sure that JobOperationsTests as well as
AccountOperationsTests (for both ADLA and ADLS) passed.

* [CODE REFACTOR] - Removing an import to pass style check

* Removing the unused import java.io.IOException across files to pass
Maven style check

* [CODE REFACTOR] - Generating UUID from SdkContext

* This is so that Travis passes!

* [FILE REFACTOR] - Updating Session Records

* [BUGFIX] - Making sure variables are caught in recording

* Three variables in DataLakeAnalyticsMangementTestBase.java weren't
recorded

* [COMMENT] - The moving of the declaration of variables

* [COMMENT REFACTORING] - Minor refactoring

* [CODE REFACTOR] - Adding a small sleep for better test results

* [CODE REFACTOR] - Making the sleep longer

* Apparently the cache is restored every 5 minutes
jianghaolu pushed a commit to Azure/azure-libraries-for-java that referenced this pull request Oct 21, 2017
…and object refactoring (#1893)

* Adding a parameter to catalogs, Pipeline and Recurrence information, and object refactoring

* Catalogs.java: added a parameter, called basic, to indicate that you
want basic information rather than nested information about a table
(i.e., list tables method) for performance increase

* Adding Pipeline and Recurrence information to jobs
* Added methods to get such information

* Refactoring and comment changes

* Code gen for ADLS

* Refactoring and comment changes

* [CODE GEN] - BREAKING CHANGE: Adl object refactor

* Code gen based on this PR:
Azure/azure-rest-api-specs#1429

* Modifying the gulpfile to align with the directory revamp of the
Swagger repo

* Modifying the test files to work with the object-refactoring changes
in the PR

* Adding a few more tests to align with the well-covered tests for .NET
SDK

* Removing "import com.microsoft.azure.SubResource"

* [BUGFIX] - Fixing up and commenting out tests

* For JobOperationsTests, I found a server side bug while testing this
call in the .NET SDK, so I was not surprised to see that it fails here
as well.

* For CatalogOperationsTests, I commented out "BUCKETS" from the script
because apparently that keyword is deprecated.  Furthermore, I commented
out the "canCreateUpdateDeleteSecretsAndCredentials" test because the
scripts that are being used are deprecated.  According to the error
message, I must use Azure Powershell cmdlets for such opeartions.  I am
not surprised at this because, to my knowledge, it's been a while since
this test case was run.  I will look into how I can test this in the
near future.

* Other than that, I made sure that JobOperationsTests as well as
AccountOperationsTests (for both ADLA and ADLS) passed.

* [CODE REFACTOR] - Removing an import to pass style check

* Removing the unused import java.io.IOException across files to pass
Maven style check

* [CODE REFACTOR] - Generating UUID from SdkContext

* This is so that Travis passes!

* [FILE REFACTOR] - Updating Session Records

* [BUGFIX] - Making sure variables are caught in recording

* Three variables in DataLakeAnalyticsMangementTestBase.java weren't
recorded

* [COMMENT] - The moving of the declaration of variables

* [COMMENT REFACTORING] - Minor refactoring

* [CODE REFACTOR] - Adding a small sleep for better test results

* [CODE REFACTOR] - Making the sleep longer

* Apparently the cache is restored every 5 minutes
jianghaolu pushed a commit to Azure/azure-libraries-for-java that referenced this pull request Oct 21, 2017
…and object refactoring (#1893)

* Adding a parameter to catalogs, Pipeline and Recurrence information, and object refactoring

* Catalogs.java: added a parameter, called basic, to indicate that you
want basic information rather than nested information about a table
(i.e., list tables method) for performance increase

* Adding Pipeline and Recurrence information to jobs
* Added methods to get such information

* Refactoring and comment changes

* Code gen for ADLS

* Refactoring and comment changes

* [CODE GEN] - BREAKING CHANGE: Adl object refactor

* Code gen based on this PR:
Azure/azure-rest-api-specs#1429

* Modifying the gulpfile to align with the directory revamp of the
Swagger repo

* Modifying the test files to work with the object-refactoring changes
in the PR

* Adding a few more tests to align with the well-covered tests for .NET
SDK

* Removing "import com.microsoft.azure.SubResource"

* [BUGFIX] - Fixing up and commenting out tests

* For JobOperationsTests, I found a server side bug while testing this
call in the .NET SDK, so I was not surprised to see that it fails here
as well.

* For CatalogOperationsTests, I commented out "BUCKETS" from the script
because apparently that keyword is deprecated.  Furthermore, I commented
out the "canCreateUpdateDeleteSecretsAndCredentials" test because the
scripts that are being used are deprecated.  According to the error
message, I must use Azure Powershell cmdlets for such opeartions.  I am
not surprised at this because, to my knowledge, it's been a while since
this test case was run.  I will look into how I can test this in the
near future.

* Other than that, I made sure that JobOperationsTests as well as
AccountOperationsTests (for both ADLA and ADLS) passed.

* [CODE REFACTOR] - Removing an import to pass style check

* Removing the unused import java.io.IOException across files to pass
Maven style check

* [CODE REFACTOR] - Generating UUID from SdkContext

* This is so that Travis passes!

* [FILE REFACTOR] - Updating Session Records

* [BUGFIX] - Making sure variables are caught in recording

* Three variables in DataLakeAnalyticsMangementTestBase.java weren't
recorded

* [COMMENT] - The moving of the declaration of variables

* [COMMENT REFACTORING] - Minor refactoring

* [CODE REFACTOR] - Adding a small sleep for better test results

* [CODE REFACTOR] - Making the sleep longer

* Apparently the cache is restored every 5 minutes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants