spring-cloud-deployer
spring-cloud-deployer copied to clipboard
Schedule Cloning proposal
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.