Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
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
徐少华
midjourney-proxy
Commits
517ca0e5
Commit
517ca0e5
authored
Dec 24, 2018
by
songxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据库密码加密处理
parent
7335b717
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
0 deletions
+34
-0
bootstrap.yml
pcloud-common-config/src/main/resources.prod/bootstrap.yml
+17
-0
bootstrap.yml
pcloud-common-config/src/main/resources.uat/bootstrap.yml
+17
-0
DataSourceConfig.java
...a/com/pcloud/common/core/datasource/DataSourceConfig.java
+0
-0
No files found.
pcloud-common-config/src/main/resources.prod/bootstrap.yml
View file @
517ca0e5
...
...
@@ -10,6 +10,23 @@ spring:
loadbalancer
:
retry
:
enabled
:
true
datasource
:
type
:
com.alibaba.druid.pool.DruidDataSource
driver-class-name
:
com.mysql.jdbc.Driver
initialSize
:
2
minIdle
:
5
maxActive
:
50
maxWait
:
60000
timeBetweenEvictionRunsMillis
:
3000
minEvictableIdleTimeMillis
:
3600000
validationQuery
:
SELECT 'x' FROM DUAL
testWhileIdle
:
true
testOnBorrow
:
false
testOnReturn
:
false
poolPreparedStatements
:
true
maxPoolPreparedStatementPerConnectionSize
:
20
connectionPropertiesNew
:
config.decrypt=true;config.decrypt.key=${spring.datasource.publicKey}
filtersNew
:
config
metrics
:
influx
:
uri
:
http://192.168.83.241:8086/write
...
...
pcloud-common-config/src/main/resources.uat/bootstrap.yml
View file @
517ca0e5
...
...
@@ -10,6 +10,23 @@ spring:
loadbalancer
:
retry
:
enabled
:
true
datasource
:
type
:
com.alibaba.druid.pool.DruidDataSource
driver-class-name
:
com.mysql.jdbc.Driver
initialSize
:
2
minIdle
:
5
maxActive
:
50
maxWait
:
60000
timeBetweenEvictionRunsMillis
:
3000
minEvictableIdleTimeMillis
:
3600000
validationQuery
:
SELECT 'x' FROM DUAL
testWhileIdle
:
true
testOnBorrow
:
false
testOnReturn
:
false
poolPreparedStatements
:
true
maxPoolPreparedStatementPerConnectionSize
:
20
connectionPropertiesNew
:
config.decrypt=true;config.decrypt.key=${spring.datasource.publicKey}
filtersNew
:
config
metrics
:
influx
:
uri
:
http://192.168.83.241:8086/write
...
...
pcloud-common-core/src/main/java/com/pcloud/common/core/datasource/DataSourceConfig.java
View file @
517ca0e5
This diff is collapsed.
Click to expand it.
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