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

Investigate GRPC-Web/JSON support in Ambassador #456

Closed
3 tasks
plombardi89 opened this issue May 22, 2018 · 15 comments
Closed
3 tasks

Investigate GRPC-Web/JSON support in Ambassador #456

plombardi89 opened this issue May 22, 2018 · 15 comments

Comments

@plombardi89
Copy link
Contributor

plombardi89 commented May 22, 2018

A number of users have asked for GRPC-Web/JSON transcoder support in Ambassador. We need to know how to integrate this into Ambassador before we proceed.

CoS

  • A design for how the mapping feature would work has been agreed upon by the team.
  • A prototype that supports the agreed design has been produced.
  • A plan for next steps / release has been created or decided.
@richarddli
Copy link
Contributor

See issue #411

@dvavili
Copy link
Contributor

dvavili commented May 31, 2018

Is this targeted for a particular release? Would be good to have this.

@neilcarpenter
Copy link

Is this issue also tracking using gRPC-web with binary wire format (as opposed to JSON), which is enabled in Envoy with this filter?

@mprigge
Copy link

mprigge commented Sep 15, 2018

For what it's worth, I'm very interested to see Ambassador support this as well. I'm sure you're already aware of the support that's in envoy already. Not sure how hard it would be to have Ambassador support a configuration similar to this one. Is it just an issue of wrapping envoy configuration correctly or does it go deeper than that? I'm bleeding new to both Ambassador and Envoy, but it seems like calling the grpc_web filer is really the only thing missing (unlike the JSON transcoder, it doesn't really have any associated configuration).

@nigeltiany
Copy link

There hasn't been feedback on this. I also want to know the answer to @neilcarpenter 's question and if there is a short-term alternative with little modification that will get it to work.

@slamdev
Copy link

slamdev commented Oct 1, 2018

@nigeltiany you can build ambassador from sources and replace envoy.j2 with custom one, like here https://github.com/slamdev/catalog/tree/master/infra/ambassador/deploy

key parts are: to add grpc_web filter and grpc and cors mappings for the service

@nigeltiany
Copy link

nigeltiany commented Oct 2, 2018

I have built ambassador from that envoy.j2 file and it works. I didn't even have to configure cors mappings. Thank you @slamdev 👈 True hero right here.
Now, submitting a PR is easy because it's just a single new object with one line of code but how to write the end-to-end/unit tests. Is any of the maintainers @Ambassador available to look at this fix?

@richarddli
Copy link
Contributor

@nigeltiany Would love to, although be warned that we've changed things up quite a bit in the (imminent) 0.50 ... so it's possible that your change won't just work in the next release. The current code is on the release/0.50.0 branch, if you want to take a look.

@richarddli
Copy link
Contributor

See PR #1201, thank you to @rotemtam.

@kflynn
Copy link
Member

kflynn commented Mar 21, 2019

gRPC-Web is supported in 0.52.0.

kflynn pushed a commit that referenced this issue Mar 27, 2019
For more information, please refer to
https://www.envoyproxy.io/docs/envoy/v1.9.0/configuration/http_filters/grpc_web_filter#config-http-filters-grpc-web

Thanks to @rotemtam for the original implementation with the gRPC HTTP/1.1
bridge in #1201 for making this so trivial for me to contribute!

Implements feature request #456.
LukeShu pushed a commit that referenced this issue Mar 31, 2019
For more information, please refer to
https://www.envoyproxy.io/docs/envoy/v1.9.0/configuration/http_filters/grpc_web_filter#config-http-filters-grpc-web

Thanks to @rotemtam for the original implementation with the gRPC HTTP/1.1
bridge in #1201 for making this so trivial for me to contribute!

Implements feature request #456.
@shubhamranjan
Copy link

I can see that support for grpc-web transcoder has been implemented but what about grpc-json transcoder ? I am unable to find ambassador documentation regarding this.

For more info, have a look at this : https://www.envoyproxy.io/docs/envoy/latest/configuration/http_filters/grpc_json_transcoder_filter

@richarddli
Copy link
Contributor

Not yet. There's an open issue for this I believe @shubhamranjan if you want to contribute a PR!

@shubhamranjan
Copy link

@richarddli I would love to contribute. Please lead me to the issue (issue link) for more insights and discussions. I was unable to find the issue.

@cyj5230
Copy link

cyj5230 commented May 16, 2019

Hello, I am looking for grpc-json transcoder support as well. Only found a closed issue #254 and this one. May I know the process of this feature?

@johannesehrhart
Copy link

Hi, is there any update on the grpc-json transcoder support?

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

No branches or pull requests