Skip to content

Commit b242423

Browse files
author
翟永超
committed
Spring Cloud构建微服务架构(五)服务网关
1 parent a8a20a7 commit b242423

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

Chapter9-1-5/api-gateway/pom.xml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@
2525

2626
<dependencies>
2727

28-
<dependency>
29-
<groupId>org.springframework.boot</groupId>
30-
<artifactId>spring-boot-starter-test</artifactId>
31-
<scope>test</scope>
32-
</dependency>
33-
3428
<dependency>
3529
<groupId>org.springframework.cloud</groupId>
3630
<artifactId>spring-cloud-starter-zuul</artifactId>
@@ -41,11 +35,6 @@
4135
<artifactId>spring-cloud-starter-eureka</artifactId>
4236
</dependency>
4337

44-
<dependency>
45-
<groupId>org.springframework.boot</groupId>
46-
<artifactId>spring-boot-starter-web</artifactId>
47-
</dependency>
48-
4938
</dependencies>
5039

5140
<dependencyManagement>

Chapter9-1-5/api-gateway/src/main/resources/application.properties

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
spring.application.name=api-gateway
22
server.port=5555
33

4-
zuul.ignoredServices="*"
5-
64
# routes to serviceId
75
zuul.routes.api-a.path=/api-a/**
86
zuul.routes.api-a.serviceId=service-A

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy