From 2cadcf7e14f4a420790c460b64cd6f99e9f7b22a Mon Sep 17 00:00:00 2001 From: MDeLuise <66636702+MDeLuise@users.noreply.github.com> Date: Tue, 17 Dec 2024 16:46:08 +0100 Subject: [PATCH] fix: correct trigger property descriptions for jobId and scopeId --- .../trigger/definition/quartz/CronJobTriggerDefinition.java | 6 +++--- .../definition/quartz/IntervalJobTriggerDefinition.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/service/scheduler/quartz/src/main/java/org/eclipse/kapua/service/scheduler/trigger/definition/quartz/CronJobTriggerDefinition.java b/service/scheduler/quartz/src/main/java/org/eclipse/kapua/service/scheduler/trigger/definition/quartz/CronJobTriggerDefinition.java index 1583aa215e3..a2896d1c6b3 100644 --- a/service/scheduler/quartz/src/main/java/org/eclipse/kapua/service/scheduler/trigger/definition/quartz/CronJobTriggerDefinition.java +++ b/service/scheduler/quartz/src/main/java/org/eclipse/kapua/service/scheduler/trigger/definition/quartz/CronJobTriggerDefinition.java @@ -12,13 +12,13 @@ *******************************************************************************/ package org.eclipse.kapua.service.scheduler.trigger.definition.quartz; -import com.beust.jcommander.internal.Lists; import org.eclipse.kapua.model.id.KapuaId; import org.eclipse.kapua.service.job.Job; import org.eclipse.kapua.service.scheduler.quartz.job.KapuaJobLauncher; import org.eclipse.kapua.service.scheduler.trigger.definition.TriggerDefinitionRecord; import org.eclipse.kapua.service.scheduler.trigger.definition.TriggerPropertyRecord; import org.eclipse.kapua.service.scheduler.trigger.definition.TriggerType; +import com.beust.jcommander.internal.Lists; /** * Interval {@link Job} {@link TriggerDefinitionRecord} @@ -36,12 +36,12 @@ public CronJobTriggerDefinition() { Lists.newArrayList( new TriggerPropertyRecord( CronJobTriggerDefinitionPropertyKeys.SCOPE_ID, - "Identifier of the job this schedule will be applied to", + "Identifier of the scope of the job this schedule will be applied to", KapuaId.class.getName(), null), new TriggerPropertyRecord( CronJobTriggerDefinitionPropertyKeys.JOB_ID, - "Identifier of the scope of the job this schedule will be applied to", + "Identifier of the job this schedule will be applied to", KapuaId.class.getName(), null), new TriggerPropertyRecord( diff --git a/service/scheduler/quartz/src/main/java/org/eclipse/kapua/service/scheduler/trigger/definition/quartz/IntervalJobTriggerDefinition.java b/service/scheduler/quartz/src/main/java/org/eclipse/kapua/service/scheduler/trigger/definition/quartz/IntervalJobTriggerDefinition.java index 378b69f3a24..978d533268c 100644 --- a/service/scheduler/quartz/src/main/java/org/eclipse/kapua/service/scheduler/trigger/definition/quartz/IntervalJobTriggerDefinition.java +++ b/service/scheduler/quartz/src/main/java/org/eclipse/kapua/service/scheduler/trigger/definition/quartz/IntervalJobTriggerDefinition.java @@ -12,13 +12,13 @@ *******************************************************************************/ package org.eclipse.kapua.service.scheduler.trigger.definition.quartz; -import com.beust.jcommander.internal.Lists; import org.eclipse.kapua.model.id.KapuaId; import org.eclipse.kapua.service.job.Job; import org.eclipse.kapua.service.scheduler.quartz.job.KapuaJobLauncher; import org.eclipse.kapua.service.scheduler.trigger.definition.TriggerDefinitionRecord; import org.eclipse.kapua.service.scheduler.trigger.definition.TriggerPropertyRecord; import org.eclipse.kapua.service.scheduler.trigger.definition.TriggerType; +import com.beust.jcommander.internal.Lists; /** * Interval {@link Job} {@link TriggerDefinitionRecord} @@ -36,12 +36,12 @@ public IntervalJobTriggerDefinition() { Lists.newArrayList( new TriggerPropertyRecord( IntervalJobTriggerDefinitionPropertyKeys.SCOPE_ID, - "Identifier of the job this schedule will be applied to", + "Identifier of the scope of the job this schedule will be applied to", KapuaId.class.getName(), null), new TriggerPropertyRecord( IntervalJobTriggerDefinitionPropertyKeys.JOB_ID, - "Identifier of the scope of the job this schedule will be applied to", + "Identifier of the job this schedule will be applied to", KapuaId.class.getName(), null), new TriggerPropertyRecord(