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

Set provisioning state to read only, and fix force update property in 2015-06-15 version #359

Merged
merged 14 commits into from
Jun 29, 2016

Conversation

hyonholee
Copy link
Contributor

No description provided.

@hyonholee hyonholee changed the title Update descriptions and add more vm sizes. Set provisioning state to read only, and fix force update property in 2015-06-15 version Jun 17, 2016
@amarzavery
Copy link
Contributor

@hyonholee - Can you fix the issue mentioned here #352 at the same time? It should be a really simple fix.

"name": "ForceUpdateTagTypes",
"modelAsString": false
}
"description": "Gets or sets how the extension handler should be forced to update even if the extension configuration has not changed."
Copy link
Member

Choose a reason for hiding this comment

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

The description should just be: "How the extension handler..." The individual language generators will add the Gets or Sets if it's appropriate (some languages don't support properties). Adding Gets or Sets results in this description for C#:
/// Gets or sets gets or sets how the extension handler should be
/// forced to update even if the extension configuration has not
/// changed.

@@ -243,7 +243,7 @@
"VirtualMachineExtensionImages"
],
"operationId": "VirtualMachineExtensionImages_Get",
"description": "Gets a virtual machine extension image.",
"description": "a virtual machine extension image.",
"parameters": [
Copy link
Member

Choose a reason for hiding this comment

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

Sorry if I wasn't clear, currently Autorest only appends Gets or Gets and Sets to properties not operation descriptions

@John-Hart
Copy link
Member

@lmazuel the Travis CI is now failing with this error:
The command "if [[ $MODE == 'python' ]]; then $DOCKER_CMD AutorestCI/azure-sdk-for-python --pr-repo-id Azure/azure-sdk-for-python -o dev -v; fi" exited with 1.

Can you please take a look?

@lmazuel
Copy link
Member

lmazuel commented Jun 28, 2016

@John-Hart Yes, I answered in the email thread I'm on it :)

@huangpf
Copy link
Contributor

huangpf commented Jun 28, 2016

Test passed. Can it be merged? Thanks

"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/2016-03-30/swagger/compute.json",
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/2016-03-30/swagger/containerService.json"
"./arm-compute/2016-03-30/swagger/compute.json",
"./arm-compute/2016-03-30/swagger/containerService.json"
]
Copy link
Member

Choose a reason for hiding this comment

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

Per the discussion for Issue #177 @devigned and @lmazuel what is the final decision regarding the use of relative paths?

Copy link
Member

@lmazuel lmazuel Jun 28, 2016

Choose a reason for hiding this comment

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

On this only @devigned can make the final decision. I adapted my script in a feature branch ready to be merged in case of.
Currently testing this branch.

@John-Hart
Copy link
Member

LKTM

@John-Hart John-Hart merged commit b351a1f into Azure:master Jun 29, 2016
@AutorestCI
Copy link

No modification for NodeJS

@AutorestCI
Copy link

No modification for Python

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.

None yet

7 participants