-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Add mysql replica APIs into spec #3216
Conversation
Automation for azure-sdk-for-rubyNothing to generate for azure-sdk-for-ruby |
Automation for azure-sdk-for-pythonA PR has been created for you based on this PR content. Once this PR will be merged, content will be added to your service PR: |
Automation for azure-libraries-for-javaA PR has been created for you based on this PR content. Once this PR will be merged, content will be added to your service PR: |
Automation for azure-sdk-for-nodeA PR has been created for you: |
Automation for azure-sdk-for-goA PR has been created for you based on this PR content. Once this PR will be merged, content will be added to your service PR: |
@Suna-MS are you planning to add more changes for replica? (i see api to create and list replicas). Or this is the final version? |
@Suna-MS just to clarify, the reason I asked about completion status is to see whether it's ready for ARM review so that we can move faster. |
@anuchandy, this is the final version, no more APIs needed for replica. We can begin the ARM review. |
"parameters": { | ||
"serverName": "testprimary", | ||
"resourceGroupName": "TestGroup", | ||
"api-version": "2017-12-01-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 under stable folder. Please use the stable version as well
@@ -283,6 +286,45 @@ | |||
} | |||
} | |||
}, | |||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/Replicas": { |
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.
fix casing for replicas. It should be camel case.
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.
fixed
"200": { | ||
"description": "OK", | ||
"schema": { | ||
"$ref": "#/definitions/ServerListResult" |
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.
from the API it looks like replicas is a resource type and GET on this resource type is returning a resource of another type. Is there a way to expose this via the GET on /servers and using a filter query parameter to only show the replica servers?
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.
Replica server is also a server, not a new resource type. Replica - Primary is a relation between two servers. This API is to get all replica servers that belongs to a specified (primary) server, not all replica servers in a resource group.
Automation for azure-sdk-for-javaA PR has been created for you based on this PR content. Once this PR will be merged, content will be added to your service PR: |
There is new requirement for resource provider backend changes, need to update this spec accordingly. Please don't merge, let's wait the new public review schedule. |
@Suna-MS any updates from your side? thx! |
The backend changes is rolling out to production this week, will update the spec accordingly once the word-wide deployment finished. The only change needed is update keyword from 'Primary' to 'Master'. |
@Suna-MS have the changes been deployed? |
Can one of the admins verify this patch? |
@Suna-MS just checking - is this deployed? |
The public review day postponed again, waiting for new schedule. |
@anuchandy, we can go ahead for this PR and if no other comments, can check it in. |
@veronicagg @anuchandy, we can continue this PR currently, can you please help to merge it? |
@Suna-MS sure, @anuchandy who did the review can take it from here. thanks! |
@anuchandy, any updates? |
Merging this PR. There is a example validation error, but doesn't look like issue with this PR. Opened an issue here Azure/oav#325 to triage. |
Automation for azure-sdk-for-jsNothing to generate for azure-sdk-for-js |
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
api-version
in the path should match theapi-version
in the spec).Quality of Swagger