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

Redis API changes to support zones #1915

Merged
merged 10 commits into from
Nov 2, 2017

Conversation

hrishikeshpathak
Copy link
Contributor

@hrishikeshpathak hrishikeshpathak commented Oct 24, 2017

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.

PR information

  • The title of the PR is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
  • Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
  • If applicable, the PR references the bug/issue that it fixes.
  • Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

@msftclas
Copy link

msftclas commented Oct 24, 2017

CLA assistant check
All CLA requirements met.

Copy link
Contributor

@veronicagg veronicagg left a comment

Choose a reason for hiding this comment

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

thanks @hrishikeshpathak

  1. Is this PR based on the previous API version?, if so, could you make a first commit with the previous version unchanged, then do your modification in subsequent commits (this makes the review more readable - see https://github.com/Azure/azure-rest-api-specs/blob/current/.github/CONTRIBUTING.md#filenames-and-folder-structure )
  2. Please move your spec "redis.json" outside the swagger folder, placing it in the api-versioned folder and remove the "swagger" folder. Relative references in the file are not working due to this.
  3. CLA check is failing, if you're a MS FTE, could you double check your account is linked to MS?

@veronicagg
Copy link
Contributor

@mcardosos feel free to pick up this review, when @hrishikeshpathak makes the next update.

@mcardosos
Copy link
Contributor

mcardosos commented Oct 26, 2017

Hello @ravbhatnagar !
This PR LGTM, except for the last 2 linter errors in travis that have to do with ARM. Are you ok with this errors?

@veronicagg
Copy link
Contributor

@hrishikeshpathak please take a look at the linter errors at https://travis-ci.org/Azure/azure-rest-api-specs/jobs/293400556#L771, they are both violations of ARM rules.
@ravbhatnagar can comment further if needed.
Also, please update readme.md at https://github.com/hrishikeshpathak/azure-rest-api-specs/blob/99773449126fadd14b13085e9dfb7df256e27d05/specification/redis/resource-manager/readme.md and if you'd like it to be use as the latest package, please update the label in the basic configuration section to refer to it. Thanks!

@ravbhatnagar
Copy link
Contributor

For the first one, please plan on fixing it in an api-version update. This will be non-compliant with all the Azure platform. Why not just fix it in a new api-version?
For #2, it is fine. It is a tooling issue. @veronicagg @salameer – The linter rule needs to be updated to include “zones” as an allowed top level property.
So looks good from ARM side.

@veronicagg
Copy link
Contributor

@ravbhatnagar ok, on the linter rule update, I've logged an issue for it, we weren't aware of that allowed property.

@veronicagg
Copy link
Contributor

@hrishikeshpathak for the linter error that will get fixed in the tool, you could add a suppression - see https://github.com/Azure/adx-documentation-pr/wiki/Swagger-Validation-Errors-Suppression.
Please address the "readme.md" comment I made above, as the files are not getting included in it. Feel free to let us know if you have questions about it. Thanks.

@veronicagg
Copy link
Contributor

@hrishikeshpathak one more question, was the service side updated for camel casing of the property updated in your last commits?

@azuresdkciprbot
Copy link

Hi There,

I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result:

💡 Please review potentially introduced Error(s)/Warning(s): Analysis Report 💡

File: specification/redis/resource-manager/readme.md
Before the PR: Warning(s): 0 Error(s): 6
After the PR: Warning(s): 4 Error(s): 0

AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback

Thanks for your co-operation.

@azuresdkciprbot
Copy link

Hi There,

I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result:

File: specification/redis/resource-manager/readme.md
Before the PR: Warning(s): 0 Error(s): 6
After the PR: Warning(s): 0 Error(s): 0

AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback

Thanks for your co-operation.

@veronicagg veronicagg merged commit 5869823 into Azure:current Nov 2, 2017
@AutorestCI
Copy link

No modification for AutorestCI/azure-sdk-for-node

@AutorestCI
Copy link

@AutorestCI
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants