forked from Azure/azure-sdk-for-net
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Potentially Breaking Change: Update ADLA catalog (Azure#3118)
* Update to latest swagger spec for ADL This change affects catalog functionality: * Add new package catalog item type * Update to allow for listing of common catalog items from a base database: - Table - TableValuedFunction - TableStatistics - Views Updates for tests and versions. comment out new tests for ADL doing this until i can run tests in my local environment. Update tests and recordings. Actually copying the right file to the right place. update changelog. * Cleanup ADL after migration to dev17 This cleans up files that are no longer used and updates csproj files to remove commented out sections * Added a number of null checks to ADLS client We were getting some null reference exceptions on occasion so ensuring none of these nested properties are null before indexing to them. * Move package ID to the top to address PR.
- Loading branch information
1 parent
e5f49e5
commit 178ed88
Showing
23 changed files
with
7,491 additions
and
4,024 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
999 changes: 619 additions & 380 deletions
999
...sts/SessionRecords/DataLakeAnalytics.Tests.CatalogOperationTests/GetCatalogItemsTest.json
Large diffs are not rendered by default.
Oops, something went wrong.
2,703 changes: 2,413 additions & 290 deletions
2,703
...sionRecords/DataLakeAnalyticsCatalog.Tests.CatalogOperationTests/GetCatalogItemsTest.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3,690 changes: 3,170 additions & 520 deletions
3,690
src/SDKs/DataLake.Analytics/Management.DataLake.Analytics/Generated/CatalogOperations.cs
Large diffs are not rendered by default.
Oops, something went wrong.
746 changes: 717 additions & 29 deletions
746
...DataLake.Analytics/Management.DataLake.Analytics/Generated/CatalogOperationsExtensions.cs
Large diffs are not rendered by default.
Oops, something went wrong.
424 changes: 421 additions & 3 deletions
424
src/SDKs/DataLake.Analytics/Management.DataLake.Analytics/Generated/ICatalogOperations.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
84 changes: 84 additions & 0 deletions
84
src/SDKs/DataLake.Analytics/Management.DataLake.Analytics/Generated/Models/USqlPackage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for | ||
// license information. | ||
// | ||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0 | ||
// Changes may cause incorrect behavior and will be lost if the code is | ||
// regenerated. | ||
|
||
namespace Microsoft.Azure.Management.DataLake.Analytics.Models | ||
{ | ||
using Microsoft.Azure; | ||
using Microsoft.Azure.Management; | ||
using Microsoft.Azure.Management.DataLake; | ||
using Microsoft.Azure.Management.DataLake.Analytics; | ||
using Newtonsoft.Json; | ||
using System.Linq; | ||
|
||
/// <summary> | ||
/// A Data Lake Analytics catalog U-SQL package item. | ||
/// </summary> | ||
public partial class USqlPackage : CatalogItem | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the USqlPackage class. | ||
/// </summary> | ||
public USqlPackage() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the USqlPackage class. | ||
/// </summary> | ||
/// <param name="computeAccountName">the name of the Data Lake | ||
/// Analytics account.</param> | ||
/// <param name="version">the version of the catalog item.</param> | ||
/// <param name="databaseName">the name of the database containing the | ||
/// package.</param> | ||
/// <param name="schemaName">the name of the schema associated with | ||
/// this package and database.</param> | ||
/// <param name="name">the name of the package.</param> | ||
/// <param name="definition">the definition of the package.</param> | ||
public USqlPackage(string computeAccountName = default(string), System.Guid? version = default(System.Guid?), string databaseName = default(string), string schemaName = default(string), string name = default(string), string definition = default(string)) | ||
: base(computeAccountName, version) | ||
{ | ||
DatabaseName = databaseName; | ||
SchemaName = schemaName; | ||
Name = name; | ||
Definition = definition; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Gets or sets the name of the database containing the package. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "databaseName")] | ||
public string DatabaseName { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the name of the schema associated with this package | ||
/// and database. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "schemaName")] | ||
public string SchemaName { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the name of the package. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "packageName")] | ||
public string Name { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the definition of the package. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "definition")] | ||
public string Definition { get; set; } | ||
|
||
} | ||
} |
58 changes: 3 additions & 55 deletions
58
...lytics/Management.DataLake.Analytics/Microsoft.Azure.Management.DataLake.Analytics.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,14 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<Import Project="$([MSBuild]::GetPathOfFileAbove('AzSdk.reference.props'))" /> | ||
<PropertyGroup> | ||
<PackageId>Microsoft.Azure.Management.DataLake.Analytics</PackageId> | ||
<Description>Provides Data Lake Analytics account, job and catalog management capabilities for Microsoft Azure.</Description> | ||
<VersionPrefix>2.1.0-preview</VersionPrefix> | ||
<VersionPrefix>2.2.0-preview</VersionPrefix> | ||
<AssemblyName>Microsoft.Azure.Management.DataLake.Analytics</AssemblyName> | ||
|
||
<!--<Authors>Microsoft</Authors> | ||
<TargetFrameworks>net45;netstandard1.5;netstandard1.1</TargetFrameworks> | ||
<DelaySign>true</DelaySign> | ||
<AssemblyOriginatorKeyFile>../../../../tools/MSSharedLibKey.snk</AssemblyOriginatorKeyFile> | ||
<SignAssembly>true</SignAssembly>--> | ||
<PackageId>Microsoft.Azure.Management.DataLake.Analytics</PackageId> | ||
<PackageTags>Microsoft Azure Data Lake Analytics management;DataLakeAnalytics;Data Lake Analytics management;REST HTTP client;windowsazureofficial;netcore451511</PackageTags> | ||
<PackageReleaseNotes>See https://github.com/azure/azure-sdk-for-net/blob/AutoRest/src/ResourceManagement/DataLake.Analytics/changelog.md for release notes.</PackageReleaseNotes> | ||
<PackageIconUrl>http://go.microsoft.com/fwlink/?LinkID=288890</PackageIconUrl> | ||
<PackageProjectUrl>https://github.com/Azure/azure-sdk-for-net</PackageProjectUrl> | ||
<PackageLicenseUrl>https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE</PackageLicenseUrl> | ||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | ||
<!--<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.5' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback> | ||
<NetStandardImplicitPackageVersion Condition=" '$(TargetFramework)' == 'netstandard1.5' ">1.6.1</NetStandardImplicitPackageVersion> | ||
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.1' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback> | ||
<NetStandardImplicitPackageVersion Condition=" '$(TargetFramework)' == 'netstandard1.1' ">1.6.1</NetStandardImplicitPackageVersion>--> | ||
<GenerateAssemblyTitleAttribute>false</GenerateAssemblyTitleAttribute> | ||
<GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute> | ||
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute> | ||
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute> | ||
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute> | ||
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute> | ||
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute> | ||
<GenerateAssemblyCopyrightAttribute>false</GenerateAssemblyCopyrightAttribute> | ||
<GenerateNeutralResourcesLanguageAttribute>false</GenerateNeutralResourcesLanguageAttribute> | ||
<PackageReleaseNotes>See https://github.com/azure/azure-sdk-for-net/blob/vs17Dev/src/SDKs/DataLake.Analytics/changelog.md for release notes.</PackageReleaseNotes> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>net452;netstandard1.4</TargetFrameworks> | ||
</PropertyGroup> | ||
|
||
|
||
|
||
<!-- | ||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Rest.ClientRuntime.Azure" Version="[3.3.5,4.0.0)" /> | ||
<PackageReference Include="Microsoft.Rest.ClientRuntime" Version="[2.3.5,3.0.0)" /> | ||
</ItemGroup> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' "> | ||
<Reference Include="System" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
</ItemGroup> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.5' "> | ||
<PackageReference Include="Microsoft.NETCore.Platforms" Version="1.1.0" /> | ||
<PackageReference Include="System.Diagnostics.Tools" Version="4.3.0" /> | ||
<PackageReference Include="System.Net.Http" Version="4.3.0" /> | ||
<PackageReference Include="System.Runtime.Serialization.Primitives" Version="4.1.1" /> | ||
<PackageReference Include="System.Threading.Tasks" Version="4.3.0" /> | ||
</ItemGroup> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.1' "> | ||
<PackageReference Include="Microsoft.NETCore.Platforms" Version="1.1.0" /> | ||
<PackageReference Include="System.Runtime.Serialization.Primitives" Version="4.1.1" /> | ||
</ItemGroup> | ||
--> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.