-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Updated Management.ServiceFabric for API version 2018-02-01 #4293
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix the test failures reported in CI
@@ -4,7 +4,7 @@ | |||
<PackageId>ServiceFabric.Test</PackageId> | |||
<Description>ServiceFabric Tests Class Library</Description> | |||
<AssemblyName>ServiceFabric.Test</AssemblyName> | |||
<VersionPrefix>1.0.0-preview</VersionPrefix> | |||
<VersionPrefix>1.0.2</VersionPrefix> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is never published, please set this to 1.0.0
@@ -7,7 +7,7 @@ | |||
<PackageId>Microsoft.Azure.Management.ServiceFabric</PackageId> | |||
<Description>Microsoft Azure Management ServiceFabric Library</Description> | |||
<AssemblyName>Microsoft.Azure.Management.ServiceFabric</AssemblyName> | |||
<Version>1.0.1-preview</Version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like breaking changes are being introduced here, please set version to 1.1.0
Also, if this is a stable release, please update the PackageReleaseNotes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be no breaking changes.
@@ -0,0 +1,11 @@ | |||
2018-05-07 20:57:23 UTC | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please create a generate.ps1
file similar to this and regenerate the code
@juhacket Please address the test failures |
/// <return> | ||
/// A response object containing the response body and response headers. | ||
/// </return> | ||
public async Task<AzureOperationResponse<IPage<Cluster>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@juhacket Removing these methods means a breaking change to the end users using the current package version.
@shahabhijeet can you confirm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dsgouda Pushed too soon, missed a file.
@@ -78,7 +289,7 @@ internal ClusterVersionsOperations(ServiceFabricManagementClient client) | |||
/// <return> | |||
/// A response object containing the response body and response headers. | |||
/// </return> | |||
public async Task<AzureOperationResponse<IPage<ClusterCodeVersionsResult>>> ListWithHttpMessagesAsync(string location, string environment, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) | |||
public async Task<AzureOperationResponse<ClusterCodeVersionsListResult>> GetByEnvironmentWithHttpMessagesAsync(string location, string environment, string clusterVersion, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@juhacket Still looks like renaming a method, looks like this can affect current users
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we changed the model for our paged objects. I have updated the version to reflect the intent to make this breaking change.
3da3f12
to
2d1629b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM apart from a minor comment
@@ -7,7 +7,7 @@ | |||
<PackageId>Microsoft.Azure.Management.ServiceFabric</PackageId> | |||
<Description>Microsoft Azure Management ServiceFabric Library</Description> | |||
<AssemblyName>Microsoft.Azure.Management.ServiceFabric</AssemblyName> | |||
<Version>1.0.1-preview</Version> | |||
<Version>1.1.0</Version> | |||
<PackageTags>Microsoft Azure Management Library;ServiceFabric;ServiceFabric management;</PackageTags> | |||
<PackageReleaseNotes/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We highly recommend adding PackageReleaseNotes
since it helps developers using nuget
You can find an example here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dsgouda Added PackageReleaseNotes section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM subject to CIs passing
Thanks @juhacket
@dsgouda Can you remove the Changes Requested tag so this will get merged? |
Description
Azure/azure-rest-api-specs#2844
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Testing Guidelines
SDK Generation Guidelines
*.csproj
andAssemblyInfo.cs
files have been updated with the new version of the SDK.