Skip to content

Commit 15701f4

Browse files
committed
fix : springCloudVersion
1 parent fd39fd6 commit 15701f4

2 files changed

Lines changed: 48 additions & 53 deletions

File tree

gateway/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ dependencies {
4242
implementation 'org.springframework.boot:spring-boot-starter-security'
4343
}
4444
ext {
45-
springCloudVersion = '2023.0.5'
45+
springCloudVersion = '2025.0.0'
4646
}
4747
dependencyManagement {
4848
imports {

gateway/src/main/resources/application.yml

Lines changed: 47 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -4,58 +4,55 @@ server:
44
spring:
55
security:
66
user:
7-
name: none # 임의 계정
8-
password: none # 임의 비번
7+
name: none
8+
password: none
99
cloud:
1010
gateway:
11-
routes:
12-
- id: auth-service
13-
uri: http://auth:8082
14-
predicates:
15-
- Path=/auth/**, /oauth/**
16-
/auth/swagger-ui/**,
17-
/auth/swagger-ui.html,
18-
/auth/webjars/**,
19-
/auth/v3/api-docs/**,
20-
/auth/swagger-resources/**,
21-
/auth/favicon.ico
22-
filters:
23-
- StripPrefix=1
24-
- id: review-service
25-
uri: http://review:8083
26-
predicates:
27-
- Path=/review/**
28-
filters:
29-
- StripPrefix=1
30-
- JwtAuth
31-
- id: tour-service
32-
uri: http://tour:8084
33-
predicates:
34-
- Path=/tour/**
35-
filters:
36-
- StripPrefix=1
37-
- JwtAuth
38-
- id: util-service
39-
uri: http://util:8085
40-
predicates:
41-
- Path=/util/**
42-
filters:
43-
- StripPrefix=1
44-
- JwtAuth
45-
- id: threer-service
46-
uri: http://threer:8086
47-
predicates:
48-
- Path=/threer/**
49-
filters:
50-
- StripPrefix=1
51-
- JwtAuth
52-
- id: threerReview-service
53-
uri: http://threerReview:8087
54-
predicates:
55-
- Path=/threerReview/**
56-
filters:
57-
- StripPrefix=1
58-
- JwtAuth
11+
server:
12+
webflux:
13+
routes:
14+
- id: auth-service
15+
uri: http://auth:8082
16+
predicates:
17+
- Path=/auth/**, /oauth/**, /auth/swagger-ui/**, /auth/swagger-ui.html, /auth/webjars/**, /auth/v3/api-docs/**, /auth/swagger-resources/**, /auth/favicon.ico
18+
filters:
19+
- StripPrefix=1
20+
- id: review-service
21+
uri: http://review:8083
22+
predicates:
23+
- Path=/review/**
24+
filters:
25+
- StripPrefix=1
26+
- JwtAuth
27+
- id: tour-service
28+
uri: http://tour:8084
29+
predicates:
30+
- Path=/tour/**
31+
filters:
32+
- StripPrefix=1
33+
- JwtAuth
34+
- id: util-service
35+
uri: http://util:8085
36+
predicates:
37+
- Path=/util/**
38+
filters:
39+
- StripPrefix=1
40+
- JwtAuth
41+
- id: threer-service
42+
uri: http://threer:8086
43+
predicates:
44+
- Path=/threer/**
45+
filters:
46+
- StripPrefix=1
47+
- JwtAuth
48+
- id: threerReview-service
49+
uri: http://threerReview:8087
50+
predicates:
51+
- Path=/threerReview/**
52+
filters:
53+
- StripPrefix=1
54+
- JwtAuth
55+
5956
management:
6057
endpoints:
6158
web:
@@ -84,7 +81,6 @@ springdoc:
8481
app:
8582
jwt:
8683
secret: "U3Ryb25nS2FuZ0hlZUlzSG90Z3V5QW5kVmVyeVBvd2VyZnVsTGlrZTMwMDBCdXRIZVJlYWxseVN0dXBpZA=="
87-
# secret: "StrongKangHeeIsHotguyAndVeryPowerfulLike3000ButHeReallyStupid"
8884
access:
8985
validity: 3600
9086
refresh:
@@ -94,7 +90,6 @@ app:
9490
path: /
9591
secure: false
9692
sameSite: Lax
97-
9893
redirect-uris:
9994
success:
10095
frontend: http://localhost:3000/oauth2/redirect

0 commit comments

Comments
 (0)