Add ServerProperties in case not a web app (for tests)
This commit is contained in:
@@ -52,7 +52,7 @@ import com.netflix.zuul.http.ZuulServlet;
|
||||
* @author Dave Syer
|
||||
*/
|
||||
@Configuration
|
||||
@EnableConfigurationProperties(ZuulProperties.class)
|
||||
@EnableConfigurationProperties({ ZuulProperties.class, ServerProperties.class })
|
||||
@ConditionalOnClass(ZuulServlet.class)
|
||||
public class ZuulConfiguration {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user