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

*: replace grpc-gateway endpoint with /v3beta #8880

Merged
merged 7 commits into from
Nov 16, 2017

Conversation

gyuho
Copy link
Contributor

@gyuho gyuho commented Nov 15, 2017

Fix #8125.

@xiang90
Copy link
Contributor

xiang90 commented Nov 15, 2017

it is possible to still keep the alpha endpoint or do a redirection? we can remove the alpha one next release to give people some time for "migration".

@gyuho
Copy link
Contributor Author

gyuho commented Nov 16, 2017

@xiang90 I don't think grpc-gateway supports multi-paths (related grpc-ecosystem/grpc-gateway#322). You can define only one path in

https://github.com/coreos/etcd/blob/7a55a4084d5250a746ce4f055b9b3f7d553b480a/etcdserver/etcdserverpb/rpc.proto#L26-L31

So this PR does the redirection from /v3alpha to /v3beta by wrapping the HTTP handler.

@xiang90
Copy link
Contributor

xiang90 commented Nov 16, 2017

OK. Awesome. We should mention in the release note that the api is promoted to beta, and alpha is going to be removed in the next minor release.

Other than that, lgtm

@gyuho
Copy link
Contributor Author

gyuho commented Nov 16, 2017

@xiang90 Yeah I will make sure we note that. Thanks.

@gyuho gyuho merged commit cbe8c7e into etcd-io:master Nov 16, 2017
@gyuho gyuho deleted the v3beta-endpoint branch November 16, 2017 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants