application.yml
1005 Bytes
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
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