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

Implement gRPC-Web protocol #89

Merged
merged 7 commits into from
Apr 5, 2024
Merged

Conversation

tsegismont
Copy link
Contributor

@tsegismont tsegismont commented Feb 21, 2024

Closes #55

Each commit can be reviewed individually.

  • Test suite
  • Implementation
  • Documentation
  • Integration test with Vert.x Web, CORS and a browser app (binary and text)
  • grpc-web interop tests and automation

@tsegismont tsegismont marked this pull request as ready for review February 22, 2024 17:30
@vietj vietj added this to the 5.0.0 milestone Mar 5, 2024
@vietj vietj added the enhancement New feature or request label Mar 5, 2024
@tsegismont tsegismont removed the enhancement New feature or request label Mar 7, 2024
@tsegismont tsegismont removed this from the 5.0.0 milestone Mar 7, 2024
@tsegismont
Copy link
Contributor Author

@vietj I've removed the milestone and label, they are already set on the corresponding issue

@tsegismont tsegismont requested a review from vietj March 7, 2024 10:45
@tsegismont
Copy link
Contributor Author

@vietj PTAL

These tests have been built by inspection of a TCP traffic capture between a browser and the Envoy proxy, configured as recommended by the gRPC-Web project.

More tests will be added in follow-up commits

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
Including about CORS setup in Vert.x Web.

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
https://github.com/grpc/grpc-web/blob/a639b4cf2611de2b68883571787083b73cf61f5e/doc/interop-test-descriptions.md

Create gRPC-Web prereqs image from a main branch checkout: the prereqs image on Docker Hub might not always be up-to-date (confirmed by gRPC-Web maintainer).

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
@tsegismont
Copy link
Contributor Author

@vietj I've squashed commits to ease the next review

Copy link
Member

@vietj vietj left a comment

Choose a reason for hiding this comment

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

A few comments to address

@tsegismont tsegismont requested a review from vietj March 29, 2024 10:48
@tsegismont
Copy link
Contributor Author

@vietj PTAL

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
The browser does not expose HTTP protocol details so, even if the client and server communicate over HTTP/2, standard gRPC cannot be used and gRPC-Web is mandatory.

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
@tsegismont tsegismont requested a review from kureuil April 2, 2024 12:34
Copy link
Member

@vietj vietj left a comment

Choose a reason for hiding this comment

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

A few minor things and we are good to go

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
@tsegismont tsegismont requested a review from vietj April 5, 2024 15:34
@tsegismont
Copy link
Contributor Author

@vietj PTAL

@tsegismont tsegismont merged commit 8456fdf into eclipse-vertx:main Apr 5, 2024
5 checks passed
@tsegismont tsegismont deleted the grpc-web branch April 5, 2024 16:09
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.

gRPC Web
3 participants