Skip to content

AzureRm.Storage module consuming api-version 2016-01-01 and common runtime #7041

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

Merged
merged 10 commits into from
Sep 5, 2018

Conversation

bganapa
Copy link
Member

@bganapa bganapa commented Aug 24, 2018

Description

AzureRM.Storage module version update to 2016-01-01
Copying Storage SDK version 5.0.0-preview
Corresponding cmdlet changes, redoing IStorageContext move and Common runtime move, Redoing HashTable[] to HashTable
references to 8.6.0 WindowsAzure.Storage.dll and dependent dlls update
Recorded test changes

Checklist

</None>
</ItemGroup>
<ItemGroup>
<!-- <ProjectReference Include="..\..\..\Common\Commands.Common.Authentication.Abstractions\Commands.Common.Authentication.Abstractions.csproj">
Copy link
Member Author

Choose a reason for hiding this comment

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

Remove commented project references

Copy link
Member Author

Choose a reason for hiding this comment

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

removed

@@ -40,10 +40,26 @@
<Compile Include="TestController.cs" />
</ItemGroup>
<ItemGroup>
<!-- <ProjectReference Include="..\..\..\Common\Commands.Common.Authentication.Abstractions\Commands.Common.Authentication.Abstractions.csproj">
Copy link
Member

Choose a reason for hiding this comment

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

Remove commented out code please.

Copy link
Member Author

Choose a reason for hiding this comment

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

done

<HintPath>..\..\..\..\packages\Microsoft.Azure.KeyVault.Core.1.0.0\lib\net40\Microsoft.Azure.KeyVault.Core.dll</HintPath>
<Private>True</Private>
</Reference>
<!-- <Reference Include="Microsoft.Azure.Management.Storage, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
Copy link
Member

Choose a reason for hiding this comment

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

You could shorten this if you wanted the reference version.

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@bganapa
Copy link
Member Author

bganapa commented Aug 27, 2018

@maddieclayton the PR is failing due to this test In Profile. I have already retried..

System.ArgumentException : An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Microsoft.Azure.Commands.Profile.Test.TelemetryTests.DataCollectionHandlesSerializationErrors() in c:\workspace\powershell\src\ResourceManager\Profile\Commands.Profile.Test\TelemetryTests.cs:line

@bganapa
Copy link
Member Author

bganapa commented Aug 27, 2018

Here is the build.. https://azuresdkci.westus2.cloudapp.azure.com/job/powershell/6915/. I am retrying again

@MiYanni
Copy link
Contributor

MiYanni commented Aug 27, 2018

@bganapa We skipped DataCollectionHandlesSerializationErrors in the latest from the preview branch. Pull in to get that update.

@deathly809
Copy link
Member

deathly809 commented Aug 31, 2018

@maddieclayton / @MiYanni I am very confused on how the tests are passing as we don't have the required Azure.Storage module for AzureRM.Storage in the repo anywhere. I don't see any output about the tests actually running.

Copy link
Member

@markcowl markcowl left a comment

Choose a reason for hiding this comment

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

Also, why remove all the help files?

@@ -14,7 +14,7 @@
<package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="net45" />
<package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="2.28.3" targetFramework="net45" />
<package id="Microsoft.Net.Http" version="2.2.28" targetFramework="net45" />
<package id="Microsoft.Rest.ClientRuntime" version="2.3.12" targetFramework="net452" />
<package id="Microsoft.Rest.ClientRuntime" version="2.3.11" targetFramework="net452" />
Copy link
Member

Choose a reason for hiding this comment

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

This should not be downgraded

@@ -0,0 +1,111 @@
#
Copy link
Member

Choose a reason for hiding this comment

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

You don't need this

@bganapa
Copy link
Member Author

bganapa commented Sep 5, 2018

@maddieclayton addressed the review comments. Thanks for the review

@maddieclayton
Copy link
Contributor

@bganapa Made two small changes but everything else looks good. Please get @deathly809 to approve and we will merge tomorrow morning.

sign job is passing here: https://azuresdkci.westus2.cloudapp.azure.com/view/PowerShell/job/ps-sign/1156/

@bganapa
Copy link
Member Author

bganapa commented Sep 5, 2018

@deathly809 , @knithinc to approve this PR

deathly809
deathly809 previously approved these changes Sep 5, 2018
@deathly809
Copy link
Member

deathly809 commented Sep 5, 2018

@maddieclayton I approved, but the build is failing trying to fetch from github. Bala is going to retry,

@maddieclayton
Copy link
Contributor

@deathly809 The build was previously failing to I pushed out a fix - we should see in about an hour if it fixed the build.

@bganapa
Copy link
Member Author

bganapa commented Sep 5, 2018

@maddieclayton rebased to resolve conflicts in stack.sln

@maddieclayton maddieclayton merged commit a8d21ee into Azure:preview Sep 5, 2018
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.

6 participants