CE-936 - Move per-record pause & resume to run on quartzJob tables, not trigger; update previewMessage

This commit is contained in:
2024-03-19 20:00:24 -05:00
parent 605578d661
commit 17899c3fdc
2 changed files with 4 additions and 2 deletions

View File

@ -52,11 +52,12 @@ public class PauseQuartzJobsProcess extends AbstractLoadStep implements MetaData
@Override
public QProcessMetaData produce(QInstance qInstance) throws QException
{
String tableName = "quartzTriggers";
String tableName = "quartzJobDetails";
return StreamedETLWithFrontendProcess.processMetaDataBuilder()
.withName(getClass().getSimpleName())
.withLabel("Pause Quartz Jobs")
.withPreviewMessage("This is a preview of the jobs that will be paused.")
.withTableName(tableName)
.withSourceTable(tableName)
.withDestinationTable(tableName)

View File

@ -52,11 +52,12 @@ public class ResumeQuartzJobsProcess extends AbstractLoadStep implements MetaDat
@Override
public QProcessMetaData produce(QInstance qInstance) throws QException
{
String tableName = "quartzTriggers";
String tableName = "quartzJobDetails";
return StreamedETLWithFrontendProcess.processMetaDataBuilder()
.withName(getClass().getSimpleName())
.withLabel("Resume Quartz Jobs")
.withPreviewMessage("This is a preview of the jobs that will be resumed.")
.withTableName(tableName)
.withSourceTable(tableName)
.withDestinationTable(tableName)