-
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
Reservations RP 2018-06-01: Add new cosmosDb in the reservedResourceT… #4701
Conversation
…ype enum. Add name property in Patch properties
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.
Left a couple of comments
} | ||
// BEGIN: Code Generation Metadata Section | ||
public static readonly String AutoRestVersion = "latest"; | ||
public static readonly String AutoRestBootStrapperVersion = "(empty)"; |
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.
Was this manually modified?
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.
I think this is because I was using the generate.ps1
Start-AutoRestCodeGeneration -ResourceProvider "reservations/resource-manager" -AutoRestVersion "latest"
I used this to generate this PR. Do you think I need to change the autorestversion here from latest to "1.2.0-preview"
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 auto-generated.
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.
Thanks for confirming
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.
Sure. Please feel free to let me know if there is anything else I need to do.
/// </summary> | ||
[JsonProperty(PropertyName = "properties.name")] | ||
public string Name { get; set; } | ||
|
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.
These look like additive changes.
Please update package version, assembly version and package realease notes in the csproj and AssemblyInfo.cs file
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.
Sure. Currently, it is 1.1.0-preview. Should it be updated to 1.2.0-preview?
AssemblyInfo.cs should be 1.0.2.0 ?
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.
I also saw the AssemblyFileVersion currenlty as 1.8.0.0. Should I update that too.
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.
1.8.0-preview
is the last published version.
Please update package version to 1.9.0-preview
and AssemblyFileVersion
in AssemblyInfo.cs
to 1.9.0.0
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.
Done.
Please fix the CI build failures |
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 CI test failures
} | ||
// BEGIN: Code Generation Metadata Section | ||
public static readonly String AutoRestVersion = "latest"; | ||
public static readonly String AutoRestBootStrapperVersion = "(empty)"; |
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.
Thanks for confirming
@luluRagdoll Like I pointed out please take a look at the CI failures and fix them |
Sure! Working on that fix now.
…On Tue, Aug 28, 2018 at 2:34 PM Deepak Shankargouda < ***@***.***> wrote:
@luluRagdoll <https://github.com/luluRagdoll> Like I pointed out please
take a look at the CI failures and fix them
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4701 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AfclgjjQv8FtQH3B1XDsrCtr3fsoZmRBks5uVbdYgaJpZM4WL4wB>
.
|
@dsgouda However this is auto-generated by running generate.ps1: |
@luluRagdoll Acknowledged the issue, will fix the code generator |
@dsgouda Sure! Just updated that file manually. CI test is passing now. |
@luluRagdoll everything looks great. |
Do you mean I can squash merge my change to Azure:psSdkJson6 myself? |
Thanks, taking a look |
The new PR is way behind the psSdkJson6 branch. Please create a new branch with latest psSdkJson6 changes and copy over your changes to it. That PR should be good |
#4725 Just synced up with the latest version. This is the PR. Thx |
…ype enum. Add name property in Patch properties
Description
Add "CosmosDb" in the reservedResourceType enum
Add "name" property in the PatchProperties
Link to REST API spec PR: Azure/azure-rest-api-specs#3690
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.