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
I will take a look. |
There is no support for service discovery yet. |
I was able to get service discovery working when I wrote this blog post back in December. |
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. |
Done |
I tried using the following JDL with 8.3.0:
The command I used to create my apps:
If I look for webflux in the gateway's build file, it's still there:
Do I have to specify |
Yes |
Since there is no service discovery integration, due to #25715 (comment), that's expected. |
@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. |
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: