Skip to content

Commit

Permalink
Update azure SDKs to new packages
Browse files Browse the repository at this point in the history
  • Loading branch information
safern committed Feb 27, 2019
1 parent 3e862cb commit 49cb506
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 10 deletions.
7 changes: 4 additions & 3 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<LibGit2SharpVersion>0.25.2</LibGit2SharpVersion>
<log4netVersion>2.0.8</log4netVersion>
<SystemNetHttpVersion>4.3.3</SystemNetHttpVersion>
<MicrosoftAzureKeyVaultVersion>3.0.0</MicrosoftAzureKeyVaultVersion>
<MicrosoftAzureKeyVaultVersion>3.0.3</MicrosoftAzureKeyVaultVersion>
<MicrosoftBuildVersion>15.7.179</MicrosoftBuildVersion>
<MicrosoftBuildFrameworkVersion>15.7.179</MicrosoftBuildFrameworkVersion>
<MicrosoftBuildTasksCoreVersion>15.7.179</MicrosoftBuildTasksCoreVersion>
Expand All @@ -31,7 +31,7 @@
<MoqVersion>4.8.3</MoqVersion>
<MonoOptionsVersion>5.3.0.1</MonoOptionsVersion>
<McMasterExtensionsCommandLineUtils>2.3.0</McMasterExtensionsCommandLineUtils>
<NewtonsoftJsonVersion>9.0.1</NewtonsoftJsonVersion>
<NewtonsoftJsonVersion>10.0.2</NewtonsoftJsonVersion>
<NuGetVersioningVersion>4.4.0</NuGetVersioningVersion>
<NuGetVersion>4.4.0</NuGetVersion>
<OctokitVersion>0.30.0</OctokitVersion>
Expand All @@ -45,14 +45,15 @@
<SystemReflectionMetadataVersion>1.4.2</SystemReflectionMetadataVersion>
<SystemTextEncodingsWebVersion>4.5.0</SystemTextEncodingsWebVersion>
<SystemValueTupleVersion>4.4.0</SystemValueTupleVersion>
<WindowsAzureStorageVersion>8.5.0</WindowsAzureStorageVersion>
<XUnitVersion>2.4.1-pre.build.4059</XUnitVersion>
<XUnitAbstractionsVersion>2.0.3</XUnitAbstractionsVersion>
<XUnitVSRunnerVersion>2.4.1-pre.build.4059</XUnitVSRunnerVersion>
<MicrosoftDotNetBuildTasksFeedVersion>2.2.0-beta.19121.5</MicrosoftDotNetBuildTasksFeedVersion>
<MicrosoftDotNetSignToolVersion>1.0.0-beta.19121.5</MicrosoftDotNetSignToolVersion>
<MicrosoftAzureDocumentDBVersion>1.22.0</MicrosoftAzureDocumentDBVersion>
<MicrosoftAzureCosmosDBTableVersion>1.1.2</MicrosoftAzureCosmosDBTableVersion>
<MicrosoftAzureStorageVersion>9.4.2</MicrosoftAzureStorageVersion>
<MicrosoftAzureCosmosTableVersion>0.10.1-preview</MicrosoftAzureCosmosTableVersion>
<MicrosoftAspNetCoreAllVersion>2.0.0</MicrosoftAspNetCoreAllVersion>
<MicrosoftDotNetGitHubIssueLabelerAssetsVersion>1.2.0</MicrosoftDotNetGitHubIssueLabelerAssetsVersion>
<MicrosoftMLVersion>0.4.0</MicrosoftMLVersion>
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.DotNet.GitSync.CommitManager/CommitEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using Microsoft.WindowsAzure.Storage.Table;
using Microsoft.Azure.Cosmos.Table;

namespace Microsoft.DotNet.GitSync.CommitManager
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
<ItemGroup>
<PackageReference Include="CommandLineParser" Version="$(CommandLineParserVersion)" />
<PackageReference Include="log4net" Version="$(log4netVersion)" />
<PackageReference Include="WindowsAzure.Storage" Version="$(WindowsAzureStorageVersion)" />
<PackageReference Include="Microsoft.Azure.Cosmos.Table" Version="$(MicrosoftAzureCosmosTableVersion)" />
<PackageReference Include="Microsoft.Azure.Storage.Blob" Version="$(MicrosoftAzureStorageVersion)" />
<PackageReference Include="Microsoft.Azure.KeyVault.Core" Version="$(MicrosoftAzureKeyVaultVersion)" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/Microsoft.DotNet.GitSync.CommitManager/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using CommandLine;
using log4net;
using log4net.Config;
using Microsoft.WindowsAzure.Storage.Table;
using Microsoft.Azure.Cosmos.Table;

namespace Microsoft.DotNet.GitSync.CommitManager
{
Expand Down
3 changes: 1 addition & 2 deletions src/Microsoft.DotNet.GitSync.CommitManager/Table.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Table;
using Microsoft.Azure.Cosmos.Table;

namespace Microsoft.DotNet.GitSync.CommitManager
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
<ItemGroup>
<PackageReference Include="System.IO.Compression" Version="$(SystemIOCompressionVersion)" />
<PackageReference Include="System.ValueTuple" Version="$(SystemValueTupleVersion)" />
<PackageReference Include="WindowsAzure.Storage" Version="$(WindowsAzureStorageVersion)" />
<PackageReference Include="Microsoft.Azure.Storage.Blob" Version="$(MicrosoftAzureStorageVersion)" />
<PackageReference Include="Microsoft.Azure.KeyVault.Core" Version="$(MicrosoftAzureKeyVaultVersion)" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private async Task DownloadFilesForWorkItem(ITaskItem workItem, string directory

var uri = new Uri($"{ResultsContainer}{workItemName}/{file}");
CloudBlob blob = string.IsNullOrEmpty(ResultsContainerReadSAS) ? new CloudBlob(uri) : new CloudBlob(uri, new StorageCredentials(ResultsContainerReadSAS));
await blob.DownloadToFileAsync(destinationFile, FileMode.Create);
await blob.DownloadToFileAsync(destinationFile, FileMode.Create, ct);
}
catch (StorageException e)
{
Expand Down

0 comments on commit 49cb506

Please sign in to comment.