Skip to content

Commit

Permalink
Merge branch 'sdkAutomation/Microsoft.Azure.Management.ContainerServi…
Browse files Browse the repository at this point in the history
…ce' of https://github.com/test-repo-billy/azure-sdk-for-net into sdkAutomation/Microsoft.Azure.Management.ContainerService
  • Loading branch information
SDK Automation committed Oct 17, 2019
1 parent 51c6870 commit f66085e
Show file tree
Hide file tree
Showing 761 changed files with 78,471 additions and 73,974 deletions.
2 changes: 1 addition & 1 deletion eng/Directory.Build.Data.props
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
<DelaySign>false</DelaySign>
<PublicSign>false</PublicSign>
<ImportDefaultReferences>false</ImportDefaultReferences>
<UseProjectReferenceToAzureCore>true</UseProjectReferenceToAzureCore>
<UseProjectReferenceToAzureCore>false</UseProjectReferenceToAzureCore>
<LangVersion>preview</LangVersion>
<DocumentationFile>$(IntermediateOutputPath)$(TargetFramework)\$(MSBuildProjectName).xml</DocumentationFile>
</PropertyGroup>
Expand Down
12 changes: 6 additions & 6 deletions eng/Packages.Data.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<PackageReference Update="ApprovalUtilities" Version="3.0.22" />
<PackageReference Update="Azure.Core" Version="1.0.0-preview.9" />
<PackageReference Update="Azure.Identity" Version="1.0.0-preview.5" />
<PackageReference Update="Azure.Messaging.EventHubs" Version="5.0.0-preview.4" />
<PackageReference Update="Azure.Storage.Blobs" Version="12.0.0-preview.4" />
<PackageReference Update="Azure.Messaging.EventHubs" Version="5.0.0-preview.3" />
<PackageReference Update="Azure.Storage.Blobs" Version="12.0.0-preview.3" />
<PackageReference Update="BenchmarkDotNet" Version="0.11.5" />
<PackageReference Update="FsCheck.Xunit" Version="2.14.0" />
<PackageReference Update="Microsoft.AspNetCore.Server.Kestrel" Version="2.2.0" />
Expand Down Expand Up @@ -105,13 +105,13 @@
<ItemGroup Condition="'$(IsClientLibrary)' == 'true'">
<PackageReference Update="Azure.ClientSdk.Analyzers" Version="0.1.1-dev.20190716.1" />
<PackageReference Update="System.Memory" Version="4.5.3" />
<PackageReference Update="Microsoft.Bcl.AsyncInterfaces" Version="1.0.0" />
<PackageReference Update="Microsoft.Bcl.AsyncInterfaces" Version="1.0.0-rc1.19456.4" />
<PackageReference Update="Microsoft.Extensions.DependencyInjection.Abstractions" Version="2.1.0" />
<PackageReference Update="Microsoft.Extensions.DependencyInjection" Version="2.1.0" />
<PackageReference Update="Microsoft.Extensions.Logging.Abstractions" Version="2.1.0" />
<PackageReference Update="Microsoft.Extensions.Options" Version="2.1.0" />
<PackageReference Update="System.Threading.Channels" Version="4.6.0" />
<PackageReference Update="System.Text.Json" Version="4.6.0" />
<PackageReference Update="System.Diagnostics.DiagnosticSource" Version="4.6.0" />
<PackageReference Update="System.Threading.Channels" Version="4.6.0-rc1.19456.4" />
<PackageReference Update="System.Text.Json" Version="4.6.0-rc1.19456.4" />
<PackageReference Update="System.Diagnostics.DiagnosticSource" Version="4.6.0-rc1.19456.4" />
</ItemGroup>
</Project>
6 changes: 3 additions & 3 deletions eng/mgmt/mgmtmetadata/azure-kusto_resource-manager.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ AutoRest installed successfully.
Commencing code generation
Generating CSharp code
Executing AutoRest command
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/azure-kusto/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=C:\repos\azure-sdk-for-net\sdk
2019-10-10 18:05:55 UTC
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/azure-kusto/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=C:\Git\Clients\azure-sdk-for-net\src\SDKs
2019-09-02 13:37:08 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
Commit: 1dec7ad95de2a996e02f119eaa1f00e49e45cb3a
Commit: 8fff657a61cd85b0a9ce9a42d17dc4f536d9f7a8
AutoRest information
Requested version: latest
Bootstrapper version: autorest@2.0.4283
6 changes: 3 additions & 3 deletions eng/mgmt/mgmtmetadata/datafactory_resource-manager.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ AutoRest installed successfully.
Commencing code generation
Generating CSharp code
Executing AutoRest command
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/datafactory/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --tag=package-2018-06 --csharp-sdks-folder=C:\Git\azure-sdk-for-net\sdk
2019-10-11 21:16:15 UTC
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/datafactory/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --tag=package-2018-06 --csharp-sdks-folder=D:\GitHub\azure-sdk-for-net\sdk
2019-10-02 00:16:37 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
Commit: 6560b6724324bc795979e807bac151336b2b3153
Commit: 3c8a224ea99e66f09dbec8eb45bac12d66a411d6
AutoRest information
Requested version: latest
Bootstrapper version: autorest@2.0.4283
4 changes: 2 additions & 2 deletions eng/mgmt/mgmtmetadata/datamigration_resource-manager.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Commencing code generation
Generating CSharp code
Executing AutoRest command
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/datamigration/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=C:\Dev\Git\azure-sdk-for-net\sdk
2019-10-15 23:51:19 UTC
2019-08-13 19:30:49 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
Commit: 411d4cf447639289e4ee1efa4d066df2773ebccd
Commit: e9b03021559994e2988fd977d465685795c2f70d
AutoRest information
Requested version: latest
Bootstrapper version: autorest@2.0.4283
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Commencing code generation
Generating CSharp code
Executing AutoRest command
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/recoveryservicesbackup/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=D:\one\Azure\azure-sdk-for-net\sdk
2019-10-10 08:00:26 UTC
2019-08-22 09:53:16 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
Commit: 1dec7ad95de2a996e02f119eaa1f00e49e45cb3a
Commit: fb8f078deac2367f3dbcfbd8a542c77083c28a5b
AutoRest information
Requested version: latest
Bootstrapper version: autorest@2.0.4283
4 changes: 2 additions & 2 deletions eng/mgmt/mgmtmetadata/storage_resource-manager.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Commencing code generation
Generating CSharp code
Executing AutoRest command
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/storage/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp.output-folder=C:\code\srpsdk\sdk\storage\Microsoft.Azure.Management.Storage\src\Generated
2019-10-16 06:38:05 UTC
2019-09-27 02:06:40 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
Commit: 2c079a493e904166c7ecc4d1c4dbf2a01ea8059d
Commit: 2b882a303a4a28b77081edb40820ae4fb8fffb23
AutoRest information
Requested version: latest
Bootstrapper version: autorest@2.0.4283
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using Azure.Core.Testing;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Azure.Core.Testing;
using NUnit.Framework;
using System;
using Azure.Core;
using Azure.Core.Pipeline;

namespace Azure.Data.AppConfiguration.Samples
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using NUnit.Framework;
using System;
using System.Net.Http;
using Azure.Core;

namespace Azure.Data.AppConfiguration.Samples
{
Expand Down Expand Up @@ -48,17 +47,17 @@ public void ConfiguringPipeline()
client.Delete("some_key");
}

private class AddHeaderPolicy : HttpPipelineSynchronousPolicy
private class AddHeaderPolicy : SynchronousHttpPipelinePolicy
{
public override void OnSendingRequest(HttpMessage message)
public override void OnSendingRequest(HttpPipelineMessage message)
{
message.Request.Headers.Add("User-Agent", "ConfiguraingPipelineSample");
}
}

private class CustomLogPolicy : HttpPipelineSynchronousPolicy
private class CustomLogPolicy : SynchronousHttpPipelinePolicy
{
public override void OnSendingRequest(HttpMessage message)
public override void OnSendingRequest(HttpPipelineMessage message)
{
Console.WriteLine(message.ToString());
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System;
using System.Threading;
using Azure.Core.Http;
using Moq;
using NUnit.Framework;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@

using System;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Core.Pipeline;

namespace Azure.Data.AppConfiguration
{
internal class ApiVersionPolicy : HttpPipelineSynchronousPolicy
internal class ApiVersionPolicy : SynchronousHttpPipelinePolicy
{
private readonly string _versionString;

Expand All @@ -17,7 +16,7 @@ public ApiVersionPolicy(string versionString)
_versionString = versionString;
}

public override void OnSendingRequest(HttpMessage message)
public override void OnSendingRequest(HttpPipelineMessage message)
{
message.Request.Uri.AppendQuery("api-version", _versionString);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Core.Pipeline;

namespace Azure.Data.AppConfiguration
Expand All @@ -23,14 +22,14 @@ public AuthenticationPolicy(string credential, byte[] secret)
_secret = secret;
}

public override async ValueTask ProcessAsync(HttpMessage message, ReadOnlyMemory<HttpPipelinePolicy> pipeline)
public override async ValueTask ProcessAsync(HttpPipelineMessage message, ReadOnlyMemory<HttpPipelinePolicy> pipeline)
{
await ProcessAsync(message, async: true).ConfigureAwait(false);

await ProcessNextAsync(message, pipeline).ConfigureAwait(false);
}

private async ValueTask ProcessAsync(HttpMessage message, bool async)
private async ValueTask ProcessAsync(HttpPipelineMessage message, bool async)
{
string contentHash;

Expand Down Expand Up @@ -75,7 +74,7 @@ private async ValueTask ProcessAsync(HttpMessage message, bool async)
}
}

public override void Process(HttpMessage message, ReadOnlyMemory<HttpPipelinePolicy> pipeline)
public override void Process(HttpPipelineMessage message, ReadOnlyMemory<HttpPipelinePolicy> pipeline)
{
ProcessAsync(message, async: false).GetAwaiter().GetResult();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
<Compile Include="$(AzureCoreSharedSources)ContentTypeUtilities.cs" />
<Compile Include="$(AzureCoreSharedSources)ConditionalRequestOptionsExtensions.cs" />
<Compile Include="$(AzureCoreSharedSources)DiagnosticScope.cs" />
<Compile Include="$(AzureCoreSharedSources)ArrayBufferWriter.cs" />
<Compile Include="$(AzureCoreSharedSources)ContentTypeUtilities.cs" />
<Compile Include="$(AzureCoreSharedSources)ConditionalRequestOptionsExtensions.cs" />
<Compile Include="$(AzureCoreSharedSources)HashCodeBuilder.cs" />
<Compile Include="$(AzureCoreSharedSources)NoBodyResponse{T}.cs" />
<Compile Include="$(AzureCoreSharedSources)PageResponseEnumerator.cs" />
Expand Down
Loading

0 comments on commit f66085e

Please sign in to comment.