Scheduling of scans
Reported by Paul Jones | 2011-06-24 15:32:05 UTC
Currently scans need to be initiated manually via the user interface (or via the REST API). Since scans should be run somewhat frequently to ensure that the index is kept accurate, it should be possible to schedule scanning of the system via the XML configuration.
Comments and changes to this ticket
-

Ben Hood 2011-06-24 16:17:10 UTC
(from [198a0cefc050905d8675c899df2874e578770184]) [#266] Add scan schedule to data model. https://github.com/lshift/diffa/commit/198a0cefc050905d8675c899df28...
-

Ben Hood 2011-06-27 09:54:23 UTC
(from [e1b372602fc7f78a09f0fed44f9580189a387ace]) [#266] Persist scan cron spec. https://github.com/lshift/diffa/commit/e1b372602fc7f78a09f0fed44f95...
-

Ben Hood 2011-06-27 09:54:24 UTC
(from [8b3854f07a023946280deff495974a4ad0a90a68]) [#266] Introduce outline of scheduler interface. https://github.com/lshift/diffa/commit/8b3854f07a023946280deff49597...
-

Ben Hood 2011-06-27 09:54:24 UTC
(from [95766309c49a9364f67697ddb5b038764ad37c29]) [#266] Minor pom tweaks to make Maven3 happer. https://github.com/lshift/diffa/commit/95766309c49a9364f67697ddb5b0...
-

Ben Hood 2011-06-27 09:54:28 UTC
(from [343d27b29c77999ea75ea916f031971491f05c45]) [#266] Implement QuartzScanScheduler. https://github.com/lshift/diffa/commit/343d27b29c77999ea75ea916f031...
-

Ben Hood 2011-06-27 10:11:48 UTC
(from [c9a8fe38a220444ead9d8a0d03605d7da8305700]) [#266] Map schedule config back to XML configuration output. https://github.com/lshift/diffa/commit/c9a8fe38a220444ead9d8a0d0360...
-

Paul Jones 2011-06-27 10:12:24 UTC
- State changed from new to resolved
- Assigned user set to Ben Hood
Implemented using a Quartz backend.
-

Ben Hood 2011-06-28 11:17:04 UTC
- State changed from resolved to open
- Assigned user changed from Ben Hood to Paul Jones
There didn't appear to be a pull request on Github, so here are the QA notes:
- There doesn't seem to be way to validate the cron tab expression. Potentially this could be done in the ConfigStore before saving it.
- QuartzScanSchdeulerTest: Isn't concurrent.MailBox deprecated?
-

Ben Hood 2011-06-28 12:16:05 UTC
(from [65d5e6898ba6b232ef26580af9954cd974fc240e]) [#266] Validate cron expressions during the upload process to ensure they are valid. https://github.com/lshift/diffa/commit/65d5e6898ba6b232ef26580af995...
-

Ben Hood 2011-06-28 12:23:55 UTC
(from [647e86ff6159f30143eb8986ac31bfcedaf75eac]) [#266] Add validation of pairs in the Hibernate layer too. https://github.com/lshift/diffa/commit/647e86ff6159f30143eb8986ac31...
-

-

Paul Jones 2011-06-28 14:44:54 UTC
- State changed from open to resolved
- Assigned user changed from Paul Jones to Ben Hood
QA notes implemented:
- Add a validation framework; - Remove the new use of Mailbox in favour of LinkedBlockingQueue -

Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A Real Time Differencing Tool.