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
6b029366
Commit
6b029366
authored
Dec 31, 2024
by
zhoushiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
环境切换
parent
cee4bb11
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
67 additions
and
14 deletions
+67
-14
application-local.yaml
...ptimize-service/src/main/resources/application-local.yaml
+63
-13
bootstrap-dev.yaml
...al-optimize-service/src/main/resources/bootstrap-dev.yaml
+3
-0
bootstrap.yaml
signal-optimize-service/src/main/resources/bootstrap.yaml
+1
-1
No files found.
signal-optimize-service/src/main/resources/application-local.yaml
View file @
6b029366
spring
:
application
:
# dubbo启动需要程序名称
name
:
signal-optimize-service
elasticsearch
:
username
:
elastic
password
:
Wanji300552
uris
:
http://10.102.1.182:9200
application
:
name
:
opt
uris
:
http://37.12.182.31:9200
datasource
:
dynamic
:
primary
:
master
datasource
:
master
:
type
:
com.alibaba.druid.pool.DruidDataSource
url
:
jdbc:mysql://10.102.1.182:3306/t_signal_control_jinan?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
#url: jdbc:mysql://37.12.182.29:3306/t_signal_control_jinan?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
url
:
jdbc:mysql://37.12.182.29:3306/t_signal_control_jinan?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.102.1.182
:3306/t_signal_control_jinan?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
url
:
jdbc:mysql://
37.12.182.29
:3306/t_signal_control_jinan?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
webService
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://37.12.182.29:3306/t_signal_control_jinan?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
type
:
com.alibaba.druid.pool.DruidDataSource
holo
:
type
:
com.alibaba.druid.pool.DruidDataSource
url
:
jdbc:mysql://
10.102.1.182:3306/holo_roadnet_jn
?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
url
:
jdbc:mysql://
37.12.182.29:3306/holo_roadnet
?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.102.1.182
host
:
37.12.182.29
port
:
6379
password
:
Wanji300552
jedis
:
...
...
@@ -38,17 +46,16 @@ spring:
max-idle
:
20
min-idle
:
10
timeout
:
5000
database
:
3
database
:
7
kafka
:
bootstrap-servers
:
10.102.1.182
:9092
bootstrap-servers
:
37.12.182.29
:9092
empty-phase-topic
:
phase.emptiness.analysis
#消费者配置
consumer
:
max-poll-records
:
1
broker-id
:
1
broker-id
:
0
auto-commit-interval
:
1S
auto-offset-reset
:
earli
est
auto-offset-reset
:
lat
est
enable-auto-commit
:
false
key-deserializer
:
org.apache.kafka.common.serialization.StringDeserializer
value-deserializer
:
org.apache.kafka.common.serialization.StringDeserializer
...
...
@@ -64,6 +71,27 @@ spring:
mvc
:
pathmatch
:
matching-strategy
:
ant_path_matcher
#MQ Config
rabbitmq
:
host
:
172.17.150.46
port
:
5672
username
:
guest
password
:
Ehl1234
virtual-host
:
/
#指定上屏消息队列
#queue-name: 27efbf6d-53f0-4c09-9934-38e620916c60
queue-name
:
vms_control_queue
sending
:
false
#诱导屏推送模板
freemarker
:
template-loader-path
:
classpath:/templates/
charset
:
GB2312
content-type
:
text/html;charset=gb2312
check-template-location
:
true
settings
:
classic_compatible
:
true
service
:
name
:
signal-optimize-service
...
...
@@ -113,7 +141,7 @@ threadPoolConfig:
allowCoreTimeOut
:
false
server
:
port
:
3900
1
port
:
3900
2
servlet
:
display-name
:
Wanji
context-path
:
/opt
...
...
@@ -142,8 +170,30 @@ crossOptParam:
minVehheadTime
:
2.0
defaultVehheadTime
:
2.8
# 信号平台
system
:
address
:
# UTC服务地址
utc
:
http://37.12.182.29:32000/utc
# control服务地址
control
:
http://37.12.182.29:32001/web
# 绿波方向转换
direction-mappings
:
mappings
:
"
13NF80B5QN0"
:
[
"
东:2"
,
"
西:6"
]
"
13NGH0B5RC0"
:
[
"
西:6"
]
synthesis
:
strategyUrl
:
http://37.12.182.50:8082/api/traffic/strategy/info
ftp
:
#ftp服务器用户名
username
:
vms
#ftp服务器密码
password
:
ehl1234
#ftp服务器的地址
url
:
172.24.0.31
#ftp服务器的端口号
port
:
21
#rsu上传日志文件父目录
path
:
/WJ
\ No newline at end of file
signal-optimize-service/src/main/resources/bootstrap-dev.yaml
View file @
6b029366
...
...
@@ -10,3 +10,6 @@ spring:
password
:
nacos
main
:
allow-circular-references
:
true
application
:
# dubbo启动需要程序名称
name
:
signal-optimize-service
signal-optimize-service/src/main/resources/bootstrap.yaml
View file @
6b029366
spring
:
profiles
:
active
:
docker
\ No newline at end of file
active
:
test
\ 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