Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
traffic-signal-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
signal
traffic-signal-platform
Commits
69b901f1
Commit
69b901f1
authored
Feb 06, 2023
by
hanbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加生产环境配置文件
parent
04a213d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
72 additions
and
27 deletions
+72
-27
application-pro.yml
...al-control-service/src/main/resources/application-pro.yml
+23
-27
application-pro.yml
signal-utc-service/src/main/resources/application-pro.yml
+49
-0
No files found.
signal-control-service/src/main/resources/application-pro.yml
View file @
69b901f1
...
@@ -18,34 +18,30 @@ threadPool:
...
@@ -18,34 +18,30 @@ threadPool:
keepAliveTime
:
60000
keepAliveTime
:
60000
spring
:
spring
:
datasource
:
dynamic
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
primary
:
master
url
:
jdbc:mysql://10.100.1.59:3306/t_signal?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&sessionVariables=sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'&useSSL=false&useCursorFetch=true
datasource
:
username
:
root
master
:
password
:
Wanji300552
type
:
com.alibaba.druid.pool.DruidDataSource
type
:
com.alibaba.druid.pool.DruidDataSource
url
:
jdbc:mysql://10.100.4.14:3306/t_signal_control?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&sessionVariables=sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'&useSSL=false&useCursorFetch=true
filters
:
stat
# url: jdbc:mysql://10.102.1.112:53306/t_signal_control?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&sessionVariables=sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'&useSSL=false&useCursorFetch=true
minIdle
:
50
username
:
root
maxActive
:
200
password
:
Wanji300552
initialSize
:
10
driverClassName
:
com.mysql.cj.jdbc.Driver
maxWait
:
5000
slave
:
minEvictableIdleTimeMillis
:
60000
type
:
com.alibaba.druid.pool.DruidDataSource
timeBetweenEvictionRunsMillis
:
30000
url
:
jdbc:mysql://10.100.4.14:3306/t_signal_control?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&sessionVariables=sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'&useSSL=false&useCursorFetch=true
testWhileIdle
:
true
username
:
root
testOnBorrow
:
false
password
:
Wanji300552
testOnReturn
:
false
driverClassName
:
com.mysql.cj.jdbc.Driver
keepAlive
:
false
webService
:
validationQuery
:
SELECT
1
driver-class-name
:
com.mysql.cj.jdbc.Driver
poolPreparedStatements
:
false
url
:
jdbc:mysql://10.100.4.14:3306/t_signal?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&sessionVariables=sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'&useSSL=false&useCursorFetch=true
maxPoolPreparedStatementPerConnectionSize
:
-1
username
:
root
maxOpenPreparedStatements
:
-1
password
:
Wanji300552
logAbandoned
:
true
type
:
com.alibaba.druid.pool.DruidDataSource
encoding
:
force
:
true
charset
:
UTF-8
enabled
:
true
redis
:
redis
:
host
:
10.100.
1.59
host
:
10.100.
4.14
port
:
6379
port
:
6379
password
:
Wanji300552
password
:
Wanji300552
jedis
:
jedis
:
...
...
signal-utc-service/src/main/resources/application-pro.yml
View file @
69b901f1
server
:
port
:
32000
servlet
:
context-path
:
/utc
spring
:
datasource
:
dynamic
:
primary
:
master
datasource
:
master
:
type
:
com.alibaba.druid.pool.DruidDataSource
url
:
jdbc:mysql://10.100.4.14:3306/t_signal_utc?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&sessionVariables=sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'&useSSL=false&useCursorFetch=true
username
:
root
password
:
Wanji300552
driverClassName
:
com.mysql.cj.jdbc.Driver
slave
:
type
:
com.alibaba.druid.pool.DruidDataSource
url
:
jdbc:mysql://10.100.4.14:3306/t_signal_utc?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&sessionVariables=sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'&useSSL=false&useCursorFetch=true
username
:
root
password
:
Wanji300552
driverClassName
:
com.mysql.cj.jdbc.Driver
redis
:
host
:
10.100.4.14
port
:
6379
password
:
Wanji300552
jedis
:
pool
:
max-active
:
200
max-wait
:
5000
max-idle
:
20
min-idle
:
10
timeout
:
5000
database
:
5
# todo 生产环境信号平台
signal
:
# true测试不执行方案下发 重点
mock
:
false
# 厂商接口
manufacturer
:
hk
:
# 服务地址
artemisHost
:
10.100.1.101
# 接口服务验证用户名
artemisAppKey
:
21560443
# 接口服务验证密钥
artemisAppSecret
:
5z0O0DRKALWyIxdQU4kp
# 海康能力开放平台的网站路径
artemisPath
:
/artemis
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