application.yml 1005 Bytes
spring:
  application:
    name: iot-scheduler
  main:
    banner-mode: off
  datasource:
    url: jdbc:postgresql://60.175.90.27:5433/thingskit
    username: postgres
    password: thingskit
    driver-class-name: org.postgresql.Driver
  jpa:
    database-platform: org.hibernate.dialect.PostgreSQLDialect
    show-sql: false
    hibernate:
      ddl-auto: none

server:
  port: 33221

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 * * * ?"

# MES Sync Configuration
mes:
  sync:
    enabled: true
    url: http://192.168.1.203/SMES_Production_Services/InvokeJSON
    method: ServicesCUS.Module_CUS.CUS_EQPState_Collect
    cron: "0 */1 * * * ?"  # Every 1 minute