Commit 6b029366 authored by zhoushiguang's avatar zhoushiguang

环境切换

parent cee4bb11
spring: spring:
application:
# dubbo启动需要程序名称
name: signal-optimize-service
elasticsearch: elasticsearch:
username: elastic username: elastic
password: Wanji300552 password: Wanji300552
uris: http://10.102.1.182:9200 uris: http://37.12.182.31:9200
application:
name: opt
datasource: datasource:
dynamic: dynamic:
primary: master primary: master
datasource: datasource:
master: master:
type: com.alibaba.druid.pool.DruidDataSource 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 username: root
password: Wanji300552 password: Wanji300552
driverClassName: com.mysql.cj.jdbc.Driver driverClassName: com.mysql.cj.jdbc.Driver
slave: slave:
type: com.alibaba.druid.pool.DruidDataSource 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 username: root
password: Wanji300552 password: Wanji300552
driverClassName: com.mysql.cj.jdbc.Driver 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: holo:
type: com.alibaba.druid.pool.DruidDataSource 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 username: root
password: Wanji300552 password: Wanji300552
driverClassName: com.mysql.cj.jdbc.Driver driverClassName: com.mysql.cj.jdbc.Driver
redis: redis:
host: 10.102.1.182 host: 37.12.182.29
port: 6379 port: 6379
password: Wanji300552 password: Wanji300552
jedis: jedis:
...@@ -38,17 +46,16 @@ spring: ...@@ -38,17 +46,16 @@ spring:
max-idle: 20 max-idle: 20
min-idle: 10 min-idle: 10
timeout: 5000 timeout: 5000
database: 3 database: 7
kafka: kafka:
bootstrap-servers: 10.102.1.182:9092 bootstrap-servers: 37.12.182.29:9092
empty-phase-topic: phase.emptiness.analysis empty-phase-topic: phase.emptiness.analysis
#消费者配置 #消费者配置
consumer: consumer:
max-poll-records: 1 max-poll-records: 1
broker-id: 1 broker-id: 0
auto-commit-interval: 1S auto-commit-interval: 1S
auto-offset-reset: earliest auto-offset-reset: latest
enable-auto-commit: false enable-auto-commit: false
key-deserializer: org.apache.kafka.common.serialization.StringDeserializer key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
value-deserializer: org.apache.kafka.common.serialization.StringDeserializer value-deserializer: org.apache.kafka.common.serialization.StringDeserializer
...@@ -64,6 +71,27 @@ spring: ...@@ -64,6 +71,27 @@ spring:
mvc: mvc:
pathmatch: pathmatch:
matching-strategy: ant_path_matcher 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: service:
name: signal-optimize-service name: signal-optimize-service
...@@ -113,7 +141,7 @@ threadPoolConfig: ...@@ -113,7 +141,7 @@ threadPoolConfig:
allowCoreTimeOut: false allowCoreTimeOut: false
server: server:
port: 39001 port: 39002
servlet: servlet:
display-name: Wanji display-name: Wanji
context-path: /opt context-path: /opt
...@@ -142,8 +170,30 @@ crossOptParam: ...@@ -142,8 +170,30 @@ crossOptParam:
minVehheadTime: 2.0 minVehheadTime: 2.0
defaultVehheadTime: 2.8 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: direction-mappings:
mappings: mappings:
"13NF80B5QN0": ["东:2","西:6"] "13NF80B5QN0": ["东:2","西:6"]
"13NGH0B5RC0": ["西: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
...@@ -10,3 +10,6 @@ spring: ...@@ -10,3 +10,6 @@ spring:
password: nacos password: nacos
main: main:
allow-circular-references: true allow-circular-references: true
application:
# dubbo启动需要程序名称
name: signal-optimize-service
spring: spring:
profiles: profiles:
active: docker active: test
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment