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

grpc mocking does not support proxying #190

Open
eraxillan opened this issue Sep 19, 2022 · 0 comments
Open

grpc mocking does not support proxying #190

eraxillan opened this issue Sep 19, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@eraxillan
Copy link

Is your feature request related to a problem? Please describe.
First of all, thanks for the great software.
The problem: for me and probably many other users, proxying is a critical feature for mock server.
Why: my production backend is very large, and mocking all of its data will take months.
So my first point was just to forward all GRPC calls to real backend using proxy handlebar, and write a few custom mocks only to currently developing feature.
But looks like proxying don't implemented for GRPC protocol, only for HTTP one.
Is it possible to implement?
I'm an Android Developer, so i just don't know JS/TS. and can't implement this feature myself yet.

Describe the solution you'd like
Add the handler for CamouflageResponseType="proxy" in GrpcParser.ts, that will forward the GRPC service method to specified remote backend

Describe alternatives you've considered
Leave it as is, and descibe a tons of mocks for dozens of my GRPC services :)

Additional context
I don't know whether the project contains the client GRPC code to call a remote routine. Looks like it have only server-side code

@eraxillan eraxillan added the enhancement New feature or request label Sep 19, 2022
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
Development

No branches or pull requests

2 participants