You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.2 KiB
58 lines
1.2 KiB
|
4 weeks ago
|
# Techsor数据转发系统接收部分
|
||
|
|
# Version V0.2.1
|
||
|
|
|
||
|
|
# DBM
|
||
|
|
mqtt订阅已经完成
|
||
|
|
|
||
|
|
# OviPhone
|
||
|
|
测试接口:
|
||
|
|
http://IP:8200/api/v1/oviphone/raw
|
||
|
|
功能:接收数据并存储进restful_history.
|
||
|
|
|
||
|
|
# RoadMap
|
||
|
|
|
||
|
|
+ 代码优化
|
||
|
|
+ 功能实现
|
||
|
|
+ 测试代码
|
||
|
|
|
||
|
|
|
||
|
|
### docker 环境配置
|
||
|
|
#### 环境启动问题
|
||
|
|
aws上应该可以设置环境变量 `env`
|
||
|
|
|
||
|
|
`env`=dev
|
||
|
|
|
||
|
|
或者
|
||
|
|
`env`=prd
|
||
|
|
|
||
|
|
#### 接收服务器
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
## ????
|
||
|
|
```properties
|
||
|
|
spring.datasource.url=${jdbcUrl} //jdbcUrl
|
||
|
|
spring.datasource.username=${jdbcUsername} //jdbcUsername
|
||
|
|
spring.datasource.password=${jdbcPassword} //jdbcPassword
|
||
|
|
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
|
||
|
|
spring.datasource.hikari.driver-class-name=com.mysql.jdbc.Driver
|
||
|
|
spring.datasource.hikari.schema=data_center
|
||
|
|
|
||
|
|
spring.redis.host=${redisHost}
|
||
|
|
spring.redis.password=${redisPassword}
|
||
|
|
spring.redis.port=${redisPort}
|
||
|
|
spring.redis.database=${redisDatabase}
|
||
|
|
spring.redis.timeout=${redisTimeout}
|
||
|
|
spring.redis.lettuce.pool.max-active=${redisMaxActive}
|
||
|
|
spring.redis.lettuce.pool.min-idle=${redisMinIdle}
|
||
|
|
spring.redis.lettuce.pool.max-idle=${redisMaxIdle}
|
||
|
|
spring.redis.lettuce.pool.max-wait=${redisMaxWait}
|
||
|
|
spring.redis.lettuce.shutdown-timeout=${redisShutdownTimeout}
|
||
|
|
|
||
|
|
|
||
|
|
data.center.sender.url=${dataCenterSenderTargetUrl}
|
||
|
|
```
|
||
|
|
|