Commit b0a44dba by Dave Syer

Add support for OAuth relay in zuul proxy

parent 78a428ec
......@@ -68,7 +68,7 @@ public class EurekaServerAutoConfiguration implements ServletContextAware,
private boolean running;
private int order = 0;
private int order = 1;
@Override
public void setServletContext(ServletContext servletContext) {
......
......@@ -3,10 +3,12 @@ package org.springframework.platform.netflix.zuul;
import java.lang.annotation.*;
import org.springframework.context.annotation.Import;
import org.springframework.platform.netflix.eureka.EnableEurekaClient;
/**
* @author Spencer Gibb
*/
@EnableEurekaClient
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
......
......@@ -26,7 +26,7 @@ public class Routes {
private String keyPrefix;
public Routes() {
keyPrefix = "zuul.route.";
keyPrefix = "zuul.proxy.route.";
initField();
}
......
......@@ -53,7 +53,7 @@ public class ZuulProxyConfiguration {
@Bean
Routes routes() {
return new Routes("zuul.proxy.route.");
return new Routes();
}
@Bean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment