-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
Add proxy support for the rest controller #1100
Comments
Hello. We had some discussions in the past about this feature, but we weren't sure how it fit our target use cases... You give some details above but I'd like to learn more ;-) |
Also, couldn't we integrate this into the existing mechanisms of dispatcher + dispatcher rules? |
This is an interesting idea! |
For the implementation, I found this article a while ago (https://blogs.ashrithgn.com/writing-a-reverse-proxy-service-in-spring-boot/) and I was thinking if it couldn't be a good starting point ... It seems easy, lightweight and would avoid pulling out new dependencies. What do you think? |
I've tried this approach and it works just fine. I'll test it a bit more next week. But it's still demo :) Integration into the dispatching mechanism looks more interesting. |
Looks promising! I wonder if we could expand this to their protocol than rest? At least Soap and maybe GraphQL... |
I think it's worth at least trying :) If we can make an elegant implementation with the dispatching mechanism, I hope that expanding to other protocols will be a matter of technique.
Yes and yes :) Features of Microcks look very interesting, and now I'm working on integrating it into the development process. So all my issues are inspired by integration or users problems. |
Have you ever considered taking the time to chat with us and joining our adopters list?? 😉 |
I think it's possible, but there are also several stop factors for acting on behalf of a company at this stage. If you have some kind of communication channel for such discussions, we can disscuss this in more detail. |
Please reach out to me via email at: laurent at microcks dot io, or via DM on LinkedIn. We can setup a Zoom call to discuss these points - I'll be on vacations this evening 1 week so expect some news starting March 4th. |
Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com>
Reason/Context
Sometimes it may be useful to forward Microcks' client to real endpoint, so we can implement some logic when we need mock and when a real call. With such feature we don't have to change the url on the client's side if we want both (mock or real) behaviors.
Description
To do this, we can add Spring proxy support and use some header to say that we want proxy behavior
Implementation ideas
Idea
The text was updated successfully, but these errors were encountered: