-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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 support for Spring Cloud Gateway MVC #25715
Comments
This comment was marked as outdated.
This comment was marked as outdated.
There is no support for service discovery yet. |
This comment was marked as outdated.
This comment was marked as outdated.
There is no support for generator-jhipster/generators/server/templates/src/main/resources/config/application.yml.ejs Lines 194 to 206 in 1d0a1c2
Routes needs to be manually configured. |
Confirmed: spring-cloud/spring-cloud-gateway#3332 |
Gateway is reactive by default it’s possible to force it imperative by setting Issues:
Maybe we should require |
Yes, we should add the --experimental flag. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Yes |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@mraible following #25817 the routes option accepts
|
@mshima This seems like quite a few changes for a feature that might go away once Spring Cloud Gateway MVC supports it. However, I talked with the Gateway project lead and he said service discovery won't be GA until November, so we should probably implement this workaround until then. |
This could be reused for #21012, otherwise we should just close it. |
Yes, this would work, I think. |
Upstream issues:
|
Overview of the feature request
When we first integrated Spring Cloud Gateway, it only supported WebFlux. Now it supports Spring MVC, so we should try to support it too.
https://docs.spring.io/spring-cloud-gateway/reference/spring-cloud-gateway-server-mvc.html
Motivation for or Use Case
If you're developing microservices with Spring MVC, you might prefer MVC in your gateway too.
Related issues or PR
The text was updated successfully, but these errors were encountered: