-
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
Update SDK and test for BatchAI for GA #4153
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.
Looks like you are making some breaking changes here.
Please update the package version number in csproj file
(1.1.0-preview
)
Also, please create a generate.ps1
file similar to this and generate the code again using this script
@@ -55,21 +57,27 @@ public JobsListOutputFilesOptions(string outputdirectoryid, int? linkexpiryinmin | |||
/// OutputDirectory-->id parameter that is given by the user | |||
/// during Create Job. | |||
/// </summary> | |||
[JsonProperty(PropertyName = "")] | |||
[Newtonsoft.Json.JsonIgnore] |
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.
@shahabhijeet Just want to confirm if this is a breaking change
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 not a breaking change. They are query parameters not Json properties, this is not by intention for sure, maybe C# swagger generator got enhanced to understand this
We need to confirm whether the changes to |
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.
Confirmed that the generated code is as expected. Thanks for addressing the comments.
Looks good apart from the minor comment
@@ -6,7 +6,7 @@ | |||
<PropertyGroup> | |||
<PackageId>Microsoft.Azure.Management.BatchAI</PackageId> | |||
<Description>Provides management capabilities for Azure Batch AI.</Description> | |||
<Version>1.0.0-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.
Is this meant to be a GA package? If yes, 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.
PackageReleaseNotes have been updated
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
Description
Onboarding of .NET SDK for Azure BatchAI Service and related tests for GA. This is being generated by the following spec: https://github.com/Azure/azure-rest-api-specs/tree/master/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-03-01
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.