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

Support configuring RESTAPI to GRPC via HTTPFilterPolicy #605

Open
spacewander opened this issue Jun 24, 2024 · 1 comment
Open

Support configuring RESTAPI to GRPC via HTTPFilterPolicy #605

spacewander opened this issue Jun 24, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@spacewander
Copy link
Member

Description

No response

Use Scenes

We can leverage the https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter#config-http-filters-grpc-json-transcoder filter to do it.

Let's add it as a plugin under https://github.com/mosn/htnn/tree/main/controller/plugins.
The test needs to be added under https://github.com/mosn/htnn/tree/main/controller/internal/translation/testdata/plugins. (Maybe we can move the tests to https://github.com/mosn/htnn/tree/main/controller/plugins in a new PR?)

Don't forget to add e2e test under https://github.com/mosn/htnn/tree/main/e2e/tests.
We can setup a GPRC backend using the image from gateway-api repo.

Feel free to submit the doc in a separate PR if this PR is too big.

Advice

No response

@spacewander spacewander added the enhancement New feature or request label Jun 24, 2024
@hanxiantao
Copy link
Contributor

plz assign this issue to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants