quartz jobs RED-3848

This commit is contained in:
Timo Bejan 2022-04-20 14:23:16 +03:00
parent b47dabbc8f
commit b1a8a596bb
2 changed files with 27 additions and 12 deletions

View File

@ -55,6 +55,20 @@ spring:
liquibase:
change-log: classpath:/db/changelog/db.changelog-master.yaml
quartz:
overwrite-existing-jobs: true
jdbc:
initialize-schema: never
properties:
org:
quartz:
jobStore:
clusterCheckinInterval: 1000
isClustered: true
driverDelegateClass: org.quartz.impl.jdbcjobstore.PostgreSQLDelegate
scheduler:
instanceId: AUTO
job-store-type: jdbc
management:
endpoint:
@ -75,3 +89,4 @@ storage:
endpoint: 'https://s3.amazonaws.com'
backend: 's3'

View File

@ -25,7 +25,7 @@ databaseChangeLog:
type: VARCHAR(200)
- column:
name: BLOB_DATA
type: BLOB
type: BYTEA
tableName: QRTZ_BLOB_TRIGGERS
- changeSet:
id: 1646818341589-2
@ -49,7 +49,7 @@ databaseChangeLog:
constraints:
nullable: false
name: CALENDAR
type: BLOB
type: BYTEA
tableName: QRTZ_CALENDARS
- changeSet:
id: 1646818341589-3
@ -145,10 +145,10 @@ databaseChangeLog:
type: VARCHAR(200)
- column:
name: IS_NONCONCURRENT
type: VARCHAR(1)
type: BOOL
- column:
name: REQUESTS_RECOVERY
type: VARCHAR(1)
type: BOOL
tableName: QRTZ_FIRED_TRIGGERS
- changeSet:
id: 1646818341589-5
@ -186,25 +186,25 @@ databaseChangeLog:
constraints:
nullable: false
name: IS_DURABLE
type: VARCHAR(1)
type: BOOL
- column:
constraints:
nullable: false
name: IS_NONCONCURRENT
type: VARCHAR(1)
type: BOOL
- column:
constraints:
nullable: false
name: IS_UPDATE_DATA
type: VARCHAR(1)
type: BOOL
- column:
constraints:
nullable: false
name: REQUESTS_RECOVERY
type: VARCHAR(1)
type: BOOL
- column:
name: JOB_DATA
type: BLOB
type: BYTEA
tableName: QRTZ_JOB_DETAILS
- changeSet:
id: 1646818341589-6
@ -366,10 +366,10 @@ databaseChangeLog:
type: DECIMAL(13, 4)
- column:
name: BOOL_PROP_1
type: VARCHAR(1)
type: BOOL
- column:
name: BOOL_PROP_2
type: VARCHAR(1)
type: BOOL
tableName: QRTZ_SIMPROP_TRIGGERS
- changeSet:
id: 1646818341589-11
@ -443,7 +443,7 @@ databaseChangeLog:
type: SMALLINT
- column:
name: JOB_DATA
type: BLOB
type: BYTEA
tableName: QRTZ_TRIGGERS
- changeSet:
id: 1646818341589-95