aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Chen (JIRA)" <>
Subject [jira] [Commented] (AURORA-957) JobConfiguration should not contain a cron schedule
Date Sat, 30 Sep 2017 02:29:00 GMT


Jing Chen commented on AURORA-957:

thanks Bill, please correct me if I were wrong or you had a better solution, I would like
to introduce a new option, while this option is applied, we would accept {{CronJobConfiguration}},
{{JobConfiguration}} is executed as it is now.

> JobConfiguration should not contain a cron schedule
> ---------------------------------------------------
>                 Key: AURORA-957
>                 URL:
>             Project: Aurora
>          Issue Type: Story
>          Components: Scheduler, Usability
>            Reporter: Bill Farner
>            Assignee: Jing Chen
> Cron behavior is treated as a composed characteristic of a job, so therefore it should
not be a trait of jobs that are not cron.  Create a new struct for cron jobs:
> {noformat}
> struct CronJobConfiguration {
>   1: string schedule
>   2: JobConfiguration job
> }
> {noformat}
> Change cron-related RPCs to accept this type instead of JobConfiguration (with a deprecation
cycle), and remove cronSchedule from JobConfiguration.

This message was sent by Atlassian JIRA

View raw message