From fd6817805d1556a3c5d1ba059012089820ad681e Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Mon, 23 Mar 2015 16:53:20 +0000 Subject: [PATCH] Tweak tests while verifying changes in netflix core --- configserver-eureka/src/main/resources/application.yml | 10 +++++++++- eureka-first/pom.xml | 4 ++++ zuul-proxy/src/main/resources/application.properties | 4 +++- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/configserver-eureka/src/main/resources/application.yml b/configserver-eureka/src/main/resources/application.yml index 73cad7f..1b367d2 100644 --- a/configserver-eureka/src/main/resources/application.yml +++ b/configserver-eureka/src/main/resources/application.yml @@ -13,4 +13,12 @@ eureka: leaseRenewalIntervalInSeconds: 10 client: registryFetchIntervalSeconds: 5 - \ No newline at end of file + +--- +spring: + profiles: native + cloud: + config: + server: + native: + searchLocations: /tmp/ \ No newline at end of file diff --git a/eureka-first/pom.xml b/eureka-first/pom.xml index 53565fe..587e244 100644 --- a/eureka-first/pom.xml +++ b/eureka-first/pom.xml @@ -33,6 +33,10 @@ org.springframework.cloud spring-cloud-starter-eureka + + org.springframework.boot + spring-boot-starter-actuator + org.springframework.boot spring-boot-starter-test diff --git a/zuul-proxy/src/main/resources/application.properties b/zuul-proxy/src/main/resources/application.properties index 1b1354d..8e55068 100644 --- a/zuul-proxy/src/main/resources/application.properties +++ b/zuul-proxy/src/main/resources/application.properties @@ -1,4 +1,6 @@ spring.application.name: zuulproxy server.port: 9900 zuul.routes.ui.path: /ui/** -zuul.routes.ui.url: http://localhost:8080 \ No newline at end of file +zuul.routes.ui.url: http://localhost:8080 +zuul.routes.bad.path: /bad/** +zuul.routes.bad.url: http://localhost:7777 \ No newline at end of file