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

AVS 1.0.0 SDK for 2020-03-20 API #12983

Merged
merged 10 commits into from
Nov 3, 2020
Merged

Conversation

ctaggart
Copy link
Contributor

@ctaggart ctaggart commented Jun 24, 2020

@ctaggart ctaggart changed the title update to AVS 2020-03-20 stable API AVS 1.0.0-preview.2 SDK Jun 24, 2020
@ctaggart
Copy link
Contributor Author

I'm headed out on leave for 12 weeks. @leedouglas will be creating a new pull request to replace this one.

@ctaggart ctaggart closed this Jul 24, 2020
@ctaggart ctaggart reopened this Oct 26, 2020
@ctaggart ctaggart changed the title AVS 1.0.0-preview.2 SDK AVS 1.0.0 SDK Oct 26, 2020
@ctaggart
Copy link
Contributor Author

ctaggart commented Oct 26, 2020

Hello, I'm back from medical leave and need to get this .NET SDK published for AVS, since the service is already GA. I could not figure out how to run autorest from the msbuild targets, so I just ran it directly with:

autorest ../azure-rest-api-specs/specification/vmware/resource-manager/readme.md --csharp --version=v2 --azure-arm=true --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=$PWD\sdk --reflect-api-versions

Using the latest commit from Azure/azure-rest-api-specs#11317. I'm expecting it to be merged very soon.

My goal in the next couple of days is to add all the tests.

@ctaggart
Copy link
Contributor Author

Hi @markcowl, the additional tests have been added and this is ready for review.

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.

One change, and Missing a few things,

  • The generation scripts creates a metadata file in th /eng/mgmt/... folder, please include it
  • Please include a link to the swagger PR associated with thsi change in the PR description or comments
  • You must add an api version tag for any new api-version in the Az.RP.Sdk.props file for this

@ctaggart ctaggart changed the title AVS 1.0.0 SDK AVS 1.0.0 SDK for 2020-03-20 API Oct 29, 2020
@ctaggart
Copy link
Contributor Author

@markcowl, thanks for the review. I made the updates. CI is passing, except for some unrelated issue with the CI infrastructure for MacOS testing.

@ctaggart ctaggart removed their assignment Oct 29, 2020
@@ -6,7 +6,7 @@
<PropertyGroup>
<PackageId>Microsoft.Azure.Management.Avs</PackageId>
<Description>Provides developers with libraries for Azure VMware Solution.</Description>
<Version>1.0.0-preview.1</Version>
<Version>1.0.0</Version>
Copy link
Member

Choose a reason for hiding this comment

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

You will need to make a change to at least the AssemblyFileVersion in AssemblyInfo.cs - the file version needs to be monotonically increasing, or some kinds of installation processes (like msis) will not recognize that this assembly is different from the preview.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I set AssemblyFileVersion in 8835f83.

@@ -0,0 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
Copy link
Member

Choose a reason for hiding this comment

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

I didn't realize this didn't have an assembly info. It should have all the appropriate properties in here. Here is a sample: https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/compute/Microsoft.Azure.Management.Compute/src/Properties/AssemblyInfo.cs

Assembly Version should be 1.0.0, Metadata should match this assembly name.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added the additional assembly info metadata as requested in 19b8c13. I set the AssemblyVersion to 1.0.0 as well.

@markcowl markcowl merged commit 2f0675f into Azure:master Nov 3, 2020
@ctaggart ctaggart deleted the AVS_2020-03-20 branch November 3, 2020 23:46
@ctaggart
Copy link
Contributor Author

ctaggart commented Nov 4, 2020

annelo-msft pushed a commit to annelo-msft/azure-sdk-for-net that referenced this pull request Feb 17, 2021
* update to AVS 2020-03-20 stable API

* generated from commit bbaa6841ceeafc5027b5b2d1f04875a4a22b80be

* lots more tests

* move to 1.0.0

* ran src/generate.ps1

* set AzureApiTag to AVS_2020-03-20

* add AssemblyFileVersion

* add other AssemblyInfo metadata
@ctaggart ctaggart mentioned this pull request May 10, 2021
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants