Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
loginservice
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanmw
loginservice
Commits
de29735b
Commit
de29735b
authored
Dec 22, 2020
by
chenzx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tb-sso配置文件
parent
5a3a73b5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
7 deletions
+22
-7
application-test.yml
src/main/resources/application-test.yml
+22
-7
No files found.
src/main/resources/application-test.yml
View file @
de29735b
...
@@ -7,14 +7,25 @@ spring:
...
@@ -7,14 +7,25 @@ spring:
session
:
session
:
store-type
:
redis
store-type
:
redis
redis
:
redis
:
namespace
:
dataplatformdev
namespace
:
tb
redis
:
redis
:
host
:
localhost
cluster
:
port
:
6379
nodes
:
192.168.0.192:6379
max-redirects
:
6
timeout
:
10000
#客户端超时时间单位是毫秒 默认是2000
maxIdle
:
300
#最大空闲数
maxTotal
:
1000
#控制一个pool可分配多少个jedis实例,用来替换上面的redis.maxActive,如果是jedis 2.4以后用该属性
maxWaitMillis
:
1000
#最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
minEvictableIdleTimeMillis
:
300000
#连接的最小空闲时间 默认1800000毫秒(30分钟)
numTestsPerEvictionRun
:
1024
#每次释放连接的最大数目,默认3
timeBetweenEvictionRunsMillis
:
30000
#逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认-1
testOnBorrow
:
true
#是否在从池中取出连接前进行检验,如果检验失败,则从池中去除连接并尝试取出另一个
testWhileIdle
:
true
#在空闲时检查有效性, 默认false
password
:
datasource
:
datasource
:
url
:
jdbc:mysql://
localhost:3306/dataSharing?autoReconnect=true
url
:
jdbc:mysql://
dev-vm-00:3306/dev0?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8
username
:
roo
t
username
:
tes
t
password
:
dataSharing
password
:
test
servlet
:
servlet
:
multipart
:
multipart
:
max-file-size
:
100Mb
max-file-size
:
100Mb
...
@@ -26,7 +37,7 @@ eureka:
...
@@ -26,7 +37,7 @@ eureka:
region
:
default
region
:
default
registryFetchIntervalSeconds
:
5
registryFetchIntervalSeconds
:
5
serviceUrl
:
serviceUrl
:
defaultZone
:
http://
localhost
:8081/eureka/
defaultZone
:
http://
192.168.0.216
:8081/eureka/
zuul
:
zuul
:
prefix
:
/api
prefix
:
/api
...
@@ -35,3 +46,6 @@ zuul:
...
@@ -35,3 +46,6 @@ zuul:
logging
:
logging
:
level
:
level
:
org.springframework.security
:
DEBUG
org.springframework.security
:
DEBUG
redirect-url
:
system-management
:
http://192.168.0.216:8089/views/login.html
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment