From b242423b61d232ef770fa8c30488aa36a524da8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=9F=E6=B0=B8=E8=B6=85?= Date: Fri, 22 Jul 2016 17:12:36 +0800 Subject: [PATCH] =?UTF-8?q?Spring=20Cloud=E6=9E=84=E5=BB=BA=E5=BE=AE?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E6=9E=B6=E6=9E=84=EF=BC=88=E4=BA=94=EF=BC=89?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E7=BD=91=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Chapter9-1-5/api-gateway/pom.xml | 11 ----------- .../src/main/resources/application.properties | 2 -- 2 files changed, 13 deletions(-) diff --git a/Chapter9-1-5/api-gateway/pom.xml b/Chapter9-1-5/api-gateway/pom.xml index 1a80d78..5ad32b6 100644 --- a/Chapter9-1-5/api-gateway/pom.xml +++ b/Chapter9-1-5/api-gateway/pom.xml @@ -25,12 +25,6 @@ - - org.springframework.boot - spring-boot-starter-test - test - - org.springframework.cloud spring-cloud-starter-zuul @@ -41,11 +35,6 @@ spring-cloud-starter-eureka - - org.springframework.boot - spring-boot-starter-web - - diff --git a/Chapter9-1-5/api-gateway/src/main/resources/application.properties b/Chapter9-1-5/api-gateway/src/main/resources/application.properties index 64abddd..1f70d66 100644 --- a/Chapter9-1-5/api-gateway/src/main/resources/application.properties +++ b/Chapter9-1-5/api-gateway/src/main/resources/application.properties @@ -1,8 +1,6 @@ spring.application.name=api-gateway server.port=5555 -zuul.ignoredServices="*" - # routes to serviceId zuul.routes.api-a.path=/api-a/** zuul.routes.api-a.serviceId=service-A