spring-cloud-netflix icon indicating copy to clipboard operation
spring-cloud-netflix copied to clipboard

Does zuul support @Controller?

Open wpstan opened this issue 7 years ago • 4 comments

I have a need for Zuul to provide restful api. so I add @RestController to do this,but it doesn't work. how can i solve this problem?

wpstan avatar Jan 16 '19 12:01 wpstan

but it doesn't work

This is not useful to us.

You should be able to add an @RestController to an application with @EnableZuulProxy

ryanjbaxter avatar Jan 16 '19 16:01 ryanjbaxter

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

spring-projects-issues avatar Jan 23 '19 16:01 spring-projects-issues

Do not use @RestController in Zuul application use @EnableZuulProxy in Zuul application class

dulipchandana avatar Jan 24 '19 03:01 dulipchandana

This module has entered maintenance mode. This means that the Spring Cloud team will no longer be adding new features to the module. We will fix blocker bugs and security issues, and we will also consider and review small pull requests from the community.

spencergibb avatar Jan 31 '19 19:01 spencergibb