Spring Cloud构建微服务架构(五)服务网关

This commit is contained in:
翟永超
2016-07-22 17:12:36 +08:00
parent a8a20a76cb
commit b242423b61
2 changed files with 0 additions and 13 deletions
-11
View File
@@ -25,12 +25,6 @@
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-zuul</artifactId>
@@ -41,11 +35,6 @@
<artifactId>spring-cloud-starter-eureka</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
@@ -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