application.yml
1.14 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
spring:
application:
name: iot-scheduler
main:
banner-mode: off
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"
energyInfo:
url: "https://iotgc.cniot.vip/api/energy/userGroupDtuSns"
energyDetail:
url: "https://iotgc.cniot.vip/api/energy/dtuSnRateEnergy"