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

Add mysql replica APIs into spec #3216

Merged
merged 4 commits into from
Oct 1, 2018
Merged

Add mysql replica APIs into spec #3216

merged 4 commits into from
Oct 1, 2018

Conversation

Suna-MS
Copy link
Contributor

@Suna-MS Suna-MS commented Jun 12, 2018

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

@AutorestCI
Copy link

AutorestCI commented Jun 12, 2018

Automation for azure-sdk-for-ruby

Nothing to generate for azure-sdk-for-ruby

@AutorestCI
Copy link

AutorestCI commented Jun 12, 2018

Automation for azure-sdk-for-python

A 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:
Azure/azure-sdk-for-python#3469

@AutorestCI
Copy link

AutorestCI commented Jun 12, 2018

Automation for azure-libraries-for-java

A 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:
AutorestCI/azure-libraries-for-java#246

@AutorestCI
Copy link

AutorestCI commented Jun 12, 2018

Automation for azure-sdk-for-node

A PR has been created for you:
Azure/azure-sdk-for-node#2978

@AutorestCI
Copy link

AutorestCI commented Jun 12, 2018

Automation for azure-sdk-for-go

A 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:
Azure/azure-sdk-for-go#2873

@anuchandy
Copy link
Member

@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?

@anuchandy
Copy link
Member

@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.

@Suna-MS
Copy link
Contributor Author

Suna-MS commented Jun 13, 2018

@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",
Copy link
Contributor

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

@anuchandy anuchandy added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Jun 13, 2018
@@ -283,6 +286,45 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/Replicas": {
Copy link
Contributor

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.

Copy link
Contributor Author

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"
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@AutorestCI
Copy link

AutorestCI commented Jun 21, 2018

Automation for azure-sdk-for-java

A 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:
Azure/azure-sdk-for-java#2339

@Suna-MS Suna-MS changed the title [Don't merge until 06/29/2018] Add mysql replica APIs into spec [Don't merge, release postponed] Add mysql replica APIs into spec Jun 26, 2018
@Suna-MS
Copy link
Contributor Author

Suna-MS commented Jun 26, 2018

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.

@ravbhatnagar ravbhatnagar added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Jun 27, 2018
@veronicagg
Copy link
Contributor

@Suna-MS any updates from your side? thx!

@Suna-MS
Copy link
Contributor Author

Suna-MS commented Jul 17, 2018

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'.

@veronicagg
Copy link
Contributor

@Suna-MS have the changes been deployed?

@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

@anuchandy
Copy link
Member

@Suna-MS just checking - is this deployed?

@Suna-MS
Copy link
Contributor Author

Suna-MS commented Aug 21, 2018

The public review day postponed again, waiting for new schedule.

@Suna-MS Suna-MS changed the title [Don't merge, release postponed] Add mysql replica APIs into spec Add mysql replica APIs into spec Sep 12, 2018
@Suna-MS
Copy link
Contributor Author

Suna-MS commented Sep 12, 2018

@anuchandy, we can go ahead for this PR and if no other comments, can check it in.

@Suna-MS
Copy link
Contributor Author

Suna-MS commented Sep 17, 2018

@veronicagg @anuchandy, we can continue this PR currently, can you please help to merge it?

@veronicagg
Copy link
Contributor

@Suna-MS sure, @anuchandy who did the review can take it from here. thanks!

@Suna-MS
Copy link
Contributor Author

Suna-MS commented Sep 29, 2018

@anuchandy, any updates?

@anuchandy
Copy link
Member

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.

@anuchandy anuchandy merged commit d222b8d into Azure:master Oct 1, 2018
@AutorestCI
Copy link

AutorestCI commented Oct 1, 2018

Automation for azure-sdk-for-js

Nothing to generate for azure-sdk-for-js

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