Skip to content

Commit a7b059d

Browse files
committed
Replace deprecated configuration
1 parent 986dab8 commit a7b059d

7 files changed

Lines changed: 45 additions & 43 deletions

File tree

gateway-oauth2-login/gateway-login/src/main/resources/application.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ spring:
4141
user-name-attribute: sub
4242

4343
session:
44-
store-type: redis # session storage type
4544
redis:
4645
flush-mode: on_save # session refresh mode
4746
namespace: gateway:session # namespace for keys used to store sessions

oauth2-jwk-consul-config/authorization-server-with-consul/src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ spring:
2424
format: YAML
2525
name: apps
2626
data-key: data
27-
prefix: config
2827
profileSeparator: "::"
28+
prefixes: config

oauth2-jwk-consul-config/oauth2-client-with-consul/src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ spring:
2828
config:
2929
enabled: true
3030
format: YAML
31-
prefix: config
3231
name: apps
3332
data-key: data
3433
profileSeparator: "::"
34+
prefixes: config
3535

3636
security:
3737
oauth2:

oauth2-jwk-consul-config/resource-server-with-consul/src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spring:
2525
config:
2626
enabled: true
2727
format: YAML
28-
prefix: config
2928
name: apps
3029
data-key: data
3130
profileSeparator: "::"
31+
prefixes: config

oauth2-jwk-redis/authorization-server/src/main/resources/application.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@ server:
22
port: 8080
33

44
spring:
5-
redis:
6-
host: localhost
7-
database: 0
8-
port: 6379
9-
password: 123456
10-
timeout: 1800
11-
lettuce:
12-
pool:
13-
max-active: 20
14-
max-wait: 60
15-
max-idle: 5
16-
min-idle: 0
17-
shutdown-timeout: 100
5+
data:
6+
redis:
7+
host: localhost
8+
database: 0
9+
port: 6379
10+
password: 123456
11+
timeout: 1800
12+
lettuce:
13+
pool:
14+
max-active: 20
15+
max-wait: 60
16+
max-idle: 5
17+
min-idle: 0
18+
shutdown-timeout: 100

oauth2-jwk-redis/jwk-cache-resource-server/src/main/resources/application.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,20 @@ server:
22
port: 8090
33

44
spring:
5-
redis:
6-
host: localhost
7-
database: 0
8-
port: 6379
9-
password: 123456
10-
timeout: 1800
11-
lettuce:
12-
pool:
13-
max-active: 20
14-
max-wait: -1
15-
max-idle: 5
16-
min-idle: 0
17-
shutdown-timeout: 100
5+
data:
6+
redis:
7+
host: localhost
8+
database: 0
9+
port: 6379
10+
password: 123456
11+
timeout: 1800
12+
lettuce:
13+
pool:
14+
max-active: 20
15+
max-wait: -1
16+
max-idle: 5
17+
min-idle: 0
18+
shutdown-timeout: 100
1819
security:
1920
oauth2:
2021
resourceserver:

oauth2-token-access-restrictions/oauth2-service-with-token-access-restriction/src/main/resources/application.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@ server:
22
port: 8080
33

44
spring:
5-
redis:
6-
host: localhost
7-
database: 0
8-
port: 6379
9-
password: 123456
10-
timeout: 1800
11-
lettuce:
12-
pool:
13-
max-active: 20
14-
max-wait: 60
15-
max-idle: 5
16-
min-idle: 0
17-
shutdown-timeout: 100
5+
data:
6+
redis:
7+
host: localhost
8+
database: 0
9+
port: 6379
10+
password: 123456
11+
timeout: 1800
12+
lettuce:
13+
pool:
14+
max-active: 20
15+
max-wait: 60
16+
max-idle: 5
17+
min-idle: 0
18+
shutdown-timeout: 100

0 commit comments

Comments
 (0)