application.yml 1.14 KB
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"