Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dmhub-plugin
Project
Project
Details
Activity
Releases
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
qinxunjia
dmhub-plugin
Commits
b90775e7
Commit
b90775e7
authored
Jul 22, 2020
by
qinxunjia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
d5a8021d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
65 additions
and
12 deletions
+65
-12
application-dev.yml
src/main/resources/application-dev.yml
+1
-3
application-k8sTest.yml
src/main/resources/application-k8sTest.yml
+58
-0
application-prod.yml
src/main/resources/application-prod.yml
+1
-5
application-test.yml
src/main/resources/application-test.yml
+3
-2
application.yml
src/main/resources/application.yml
+2
-2
No files found.
src/main/resources/application-dev.yml
View file @
b90775e7
# 测试环境配置
# 本地环境配置
server
:
tomcat
:
max-threads
:
50
port
:
15600
#contextPath: /resource
spring
:
...
...
src/main/resources/application-k8sTest.yml
0 → 100644
View file @
b90775e7
# 测试k8s环境配置
server
:
tomcat
:
max-threads
:
50
port
:
${dmhub-sms-port}
spring
:
datasource
:
db1
:
jdbc-url
:
${dataSource1_url}
driverClassName
:
com.mysql.cj.jdbc.Driver
username
:
${dataSource_username}
password
:
${dataSource_password}
enabled
:
true
db2
:
jdbc-url
:
${dataSource2_url}
driverClassName
:
com.mysql.cj.jdbc.Driver
username
:
${dataSource_username}
password
:
${dataSource_password}
enabled
:
true
type
:
com.zaxxer.hikari.HikariDataSource
hikari
:
minimumIdle
:
5
maxLifetime
:
1765000
maximumPoolSize
:
20
connectionTimeout
:
30000
idleTimeout
:
600000
pool-name
:
dmhub-plug-pool
redis
:
database
:
0
host
:
${redis_url}
port
:
${redis_port}
timeout
:
5000
password
:
${redis_pwd}
system
:
config
:
bgy
:
appId
:
${bgy-sms-appId}
# 系统id
securityCode
:
${bgy-sms-security}
# 鉴权码
url
:
${bgy-sms-url}
areaId
:
${bgy-sms-areaId}
api
:
SendSms
dmHub
:
applicationId
:
${plugin-dmhub-appId}
applicationKey
:
${plugin-dmhub-appKey}
baseApiURL
:
${plugin-dmhub-aip-url}
tokenUrl
:
${system.config.dmHub.baseApiURL}/security/accesstoken
report
:
${system.config.dmHub.baseApiURL}/v1/sms/report
appId
:
${smsAppId}
appSecret
:
${smsSecret}
shortUrl
:
${shortUrl}
logging
:
level
:
${logLevel}
level.com.bgy
:
${logLevel}
# 单独指定包下的日志级别
config
:
classpath:logback-spring.xml
file
:
path
:
logs.log
\ No newline at end of file
src/main/resources/application-prod.yml
View file @
b90775e7
# 测试环境配置
# 生产环境配置
server
:
tomcat
:
max-threads
:
50
port
:
${dmhub-sms-port}
#contextPath: /resourceapplication-test.yml
spring
:
datasource
:
db1
:
...
...
src/main/resources/application-test.yml
View file @
b90775e7
...
...
@@ -42,8 +42,9 @@ system:
dmHub
:
applicationId
:
cl0300171a6012c21
applicationKey
:
4017078e9dfd593b2d9a0ede58eff589644fbe50
tokenUrl
:
https://api.convertlab.com/security/accesstoken
report
:
https://api.convertlab.com/v1/sms/report
baseApiURL
:
https://api-xscdp.bgy.com.cn
tokenUrl
:
${system.config.dmHub.baseApiURL}/security/accesstoken
report
:
${system.config.dmHub.baseApiURL}/v1/sms/report
appId
:
1smsdemo
appSecret
:
ac031765c3a8c9acc4747808e4fe5918
shortUrl
:
urlshort-xsma-sit.bgy.com.cn
...
...
src/main/resources/application.yml
View file @
b90775e7
...
...
@@ -8,8 +8,8 @@ info:
spring
:
profiles
:
active
:
test
#
active: ${sms-active}
#
active: test
active
:
${sms-active}
mybatis-plus
:
mapper-locations
:
classpath:mapper/*.xml
...
...
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