Reservations RP 2018-06-01: Add new cosmosDb in the reservedResourceT…#4701
Reservations RP 2018-06-01: Add new cosmosDb in the reservedResourceT…#4701luluRagdoll wants to merge 7 commits intoAzure:psSdkJson6from luluRagdoll:reservations
Conversation
…ype enum. Add name property in Patch properties
dsgouda
left a comment
There was a problem hiding this comment.
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.
Was this manually modified?
There was a problem hiding this comment.
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.
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.
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.
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.
I also saw the AssemblyFileVersion currenlty as 1.8.0.0. Should I update that too.
There was a problem hiding this comment.
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
|
Please fix the CI build failures |
dsgouda
left a comment
There was a problem hiding this comment.
Please fix CI test failures
| } | ||
| // BEGIN: Code Generation Metadata Section | ||
| public static readonly String AutoRestVersion = "latest"; | ||
| public static readonly String AutoRestBootStrapperVersion = "(empty)"; |
|
@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
*.csprojandAssemblyInfo.csfiles have been updated with the new version of the SDK.