Commit 9287e66c by Dave Syer

Add ServerProperties in case not a web app (for tests)

parent 98e1ac73
...@@ -52,7 +52,7 @@ import com.netflix.zuul.http.ZuulServlet; ...@@ -52,7 +52,7 @@ import com.netflix.zuul.http.ZuulServlet;
* @author Dave Syer * @author Dave Syer
*/ */
@Configuration @Configuration
@EnableConfigurationProperties(ZuulProperties.class) @EnableConfigurationProperties({ ZuulProperties.class, ServerProperties.class })
@ConditionalOnClass(ZuulServlet.class) @ConditionalOnClass(ZuulServlet.class)
public class ZuulConfiguration { public class ZuulConfiguration {
......
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