application.yml
1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
spring:
application:
name: iot-scheduler
main:
banner-mode: off
datasource:
url: jdbc:mysql://10.9.1.252:3306/qixiao-apaas?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
username: root
password: "qiXiao.20240826.mysql.com"
driver-class-name: com.mysql.cj.jdbc.Driver
data:
redis:
cluster:
nodes: # 集群节点列表
- 10.9.1.252:16380
- 10.9.1.252:16381
- 10.9.1.252:16382
max-redirects: 3 # 最大重定向次数
password: "Qixiao@redis20240410.com" # 如果有密码
server:
port: 8080
logging:
level:
root: INFO
com.iot.scheduler: DEBUG
# Scheduler Configuration (Cron Expressions)
# Format: sec min hour day month day-of-week
scheduler:
huaining:
pull: "0 0/5 * * * ?" # Every 5 minutes
push: "0 0/10 * * * ?" # Every 10 minutes
chizhou:
pull: "0 0/5 * * * ?"
push: "0 0/10 * * * ?"
panji:
pull: "0 0/5 * * * ?"
push: "0 0/10 * * * ?"
device:
token:
url: "https://iotgc.cniot.vip/auth/token"
userName: "guests"
password: "Lingzhi"
info:
url: "https://iotgc.cniot.vip/triColorLamp/userGroupDtuSns"
detail:
url: "https://iotgc.cniot.vip/triColorLamp/dtuSnState"
snRate:
url: "https://iotgc.cniot.vip/triColorLamp/dtuSnRateOfAction"
energyInfo:
url: "https://iotgc.cniot.vip/api/energy/userGroupDtuSns"
energyDetail:
url: "https://iotgc.cniot.vip/api/energy/dtuSnRateEnergy"
db:
corpCode: "ymk"
tableName: "t_auto_ymk_iot_device"