spring-cloud-deployer icon indicating copy to clipboard operation
spring-cloud-deployer copied to clipboard

Schedule Cloning proposal

Open taxone opened this issue 3 years ago • 0 comments

Hi, I've just started thinking about how to implement this new Schedule Cloning feature in Spring Cloud Data Flow. My idea is to modify the current implementation of org.springframework.cloud.deployer.spi.scheduler.Scheduler, adding a new method named "cloneSchedule" which accepts the parameters below:

  • name of he schedule to be cloned
  • name of the new schedule
  • cron expression of the new schedule

The result of the method invocation will be to create a new schedule with the same properties and configurations of the existing one, but with a different cron expression. What do you think?

Thanks in adavance.

taxone avatar Oct 01 '21 09:10 taxone