升级Spring Cloud Hoxton & Alibaba,认证授权改用Oauth2。
This commit is contained in:
13
mall-auth/src/main/resources/application.yml
Normal file
13
mall-auth/src/main/resources/application.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
server:
|
||||
port: 8401
|
||||
management:
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: "*"
|
||||
feign:
|
||||
okhttp:
|
||||
enabled: true
|
||||
ribbon:
|
||||
ConnectTimeout: 3000 #服务请求连接超时时间(毫秒)
|
||||
ReadTimeout: 3000 #服务请求处理超时时间(毫秒)
|
||||
11
mall-auth/src/main/resources/bootstrap-dev.yml
Normal file
11
mall-auth/src/main/resources/bootstrap-dev.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
spring:
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: http://localhost:8848
|
||||
config:
|
||||
server-addr: http://localhost:8848
|
||||
file-extension: yaml
|
||||
logging:
|
||||
level:
|
||||
root: debug
|
||||
11
mall-auth/src/main/resources/bootstrap-prod.yml
Normal file
11
mall-auth/src/main/resources/bootstrap-prod.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
spring:
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: http://nacos-registry:8848
|
||||
config:
|
||||
server-addr: http://nacos-registry:8848
|
||||
file-extension: yaml
|
||||
logging:
|
||||
level:
|
||||
root: info
|
||||
5
mall-auth/src/main/resources/bootstrap.yml
Normal file
5
mall-auth/src/main/resources/bootstrap.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
spring:
|
||||
profiles:
|
||||
active: dev
|
||||
application:
|
||||
name: mall-auth
|
||||
BIN
mall-auth/src/main/resources/jwt.jks
Normal file
BIN
mall-auth/src/main/resources/jwt.jks
Normal file
Binary file not shown.
Reference in New Issue
Block a user