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