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

[do not merge before 4118] Adding changes to support Private DNS Public Preview #4109

Merged
merged 17 commits into from
Mar 14, 2018
Merged

[do not merge before 4118] Adding changes to support Private DNS Public Preview #4109

merged 17 commits into from
Mar 14, 2018

Conversation

muwaqar
Copy link
Contributor

@muwaqar muwaqar commented Mar 5, 2018

Description

Swagger (REST spec) PR link: Azure/azure-rest-api-specs#2587


This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

SDK Generation Guidelines

  • If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
  • The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
  • The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

Copy link
Contributor

@dsgouda dsgouda left a comment

Choose a reason for hiding this comment

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

Please generate the code using generate.cmd this should generate a .txt file, please commit that file.
If generate.cmd does not seem to generate this file, please pull down the latest changes and try again.

@muwaqar
Copy link
Contributor Author

muwaqar commented Mar 5, 2018

Please do NOT merge the pull request until the corresponding Swagger changes have been merged and our relevant services have been updated.

@dsgouda
Copy link
Contributor

dsgouda commented Mar 7, 2018

@azuresdkci retest

@shahabhijeet
Copy link
Member

@azuresdkci retest this please

<ProjectReference Include="..\Management.Dns\Microsoft.Azure.Management.Dns.csproj" />
</ItemGroup>

Copy link
Member

Choose a reason for hiding this comment

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

@muwaqar remove empty lines

using Xunit;
using Microsoft.Azure.Management.Dns.Models;
using SubResource = Microsoft.Azure.Management.Dns.Models.SubResource;
Copy link
Member

Choose a reason for hiding this comment

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

@muwaqar sort and remove unused usings (if applicable)

Branch: current
Commit: 765c5a6807e3a093868bff793ec3e8ea0cdabe75
GitHub user: owolabi2
Branch: koowolab/private-dns-public-preview
Copy link
Member

Choose a reason for hiding this comment

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

@muwaqar this SDK will need to be generated from master of spec repo.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will do once our Swagger PR (Azure/azure-rest-api-specs#2587) is approved.

@@ -7,7 +7,7 @@
[assembly: AssemblyTitle("Microsoft Azure DNS Management Library")]
[assembly: AssemblyDescription("Provides management functionality for Microsoft Azure DNS Resources.")]
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.2.0.0")]
Copy link
Member

Choose a reason for hiding this comment

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

@muwaqar why go to 2.2 instead of 2.1?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

2.1 is taken by 2017-10-01 API version (changes for which should be in psSdkJson6 branch already).

@@ -6,12 +6,12 @@
<PropertyGroup>
<PackageId>Microsoft.Azure.Management.Dns</PackageId>
<Description>Provides management capabilities for Azure Dns.</Description>
<Version>2.0.0-preview</Version>
<Version>2.2.0-preview</Version>
Copy link
Member

Choose a reason for hiding this comment

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

@muwaqar why move to 2.2 instead of 2.1?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

2.1 is taken by 2017-10-01 API version (changes for which should be in psSdkJson6 branch already).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Don't know why GitHub is showing 2.0.0-preview (as before). The latest file (https://github.com/Azure/azure-sdk-for-net/blob/psSdkJson6/src/SDKs/Dns/Management.Dns/Microsoft.Azure.Management.Dns.csproj) has 2.1.0-preview version.

@shahabhijeet
Copy link
Member

shahabhijeet commented Mar 10, 2018

@muwaqar I see another PR for DNS #4118
Are these both PR should be merged at the same time?

@shahabhijeet shahabhijeet changed the title Adding changes to support Private DNS Public Preview [do not merge before 4118] Adding changes to support Private DNS Public Preview Mar 10, 2018
Copy link
Contributor

@dsgouda dsgouda left a comment

Choose a reason for hiding this comment

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

Looks good for the most part bar a minor change

@@ -6,8 +6,8 @@

[assembly: AssemblyTitle("Microsoft Azure DNS Management Library")]
[assembly: AssemblyDescription("Provides management functionality for Microsoft Azure DNS Resources.")]
[assembly: AssemblyVersion("2.1.0.0")]
[assembly: AssemblyFileVersion("2.1.0.0")]
[assembly: AssemblyVersion("2.2.0.0")]
Copy link
Contributor

Choose a reason for hiding this comment

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

Please do not update the AssemblyVersion here.

Copy link
Contributor

@dsgouda dsgouda left a comment

Choose a reason for hiding this comment

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

LGTM

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