<Spring Cloud API Gateway (MVC) - Route URI proper...
# stackoverflow
r
Spring Cloud API Gateway (MVC) - Route URI property with bean configuration? I'm using Spring Cloud API Gateway (MVC) - org.springframework.cloud:spring-cloud-starter-gateway-mvc and I have a route setup in application.yaml that I would like to move to a bean configuration. In application.yaml, an example route setup is as follows: spring: cloud: gateway: mvc: http-client: type: autodetect routes: - id: mock-route-id uri: ${mock-service-uri: http://mock-service:8080} predicates: -...