Using S. Boot 2.0.3.RELEASE and Finchley.RELEASE the DiscoveryClientRouteDefinitionLocator require 2 params. Using this I'm not able to reach the rest of my service, discovered by eureka, through my gateway
@SpringBootApplication
public class GatewayApplication {
@Bean
DiscoveryClientRouteDefinitionLocator discoveryRoutes(DiscoveryClient dc, DiscoveryLocatorProperties dlp) {
return new DiscoveryClientRouteDefinitionLocator(dc, dlp);
}
public static void main(String[] args) {
SpringApplication.run(GatewayApplication.class, args);
}
I can not find a way to recreate your example with the new versions.
Thanks