From 315409d0705c68c534648090c200d025a34ed82b Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Wed, 21 Nov 2012 14:54:56 +0000 Subject: The parser + queue insertion is now decoupled. The HTTP-test defaults to status code 200. --- TODO | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 921ae54..f489ec7 100644 --- a/TODO +++ b/TODO @@ -1,19 +1,11 @@ -1. Decouple the parsing from the queue insertion. - Use a callback in the driver + yield to push items into the queue. +Don't use beanstalk client directly, subclass custodian/queue, or similar +to allow us to swap out the queue and stub it for testing. +Use a class factory to instantiate tests on the worker-side. -2. Don't use beanstalk client directly, subclass custodian/queue, or similar - to allow us to swap out the queue and stub it for testing. +Use either a proper grammer, or use the protocol-tests when parsing. -3. Use a class factory to instantiate tests on the worker-side. +Rewrite rsync/ssh/ftp, etc, as a subclass of tcp.rb -4. Use either a proper grammer, or use the protocol-tests when parsing. - -5. Rewrite rsync/ssh/ftp, etc, as a subclass of tcp.rb - - -6. The HTTP-test should default to "with status 200" if not otherwise - specified. TODO: Remove such orphaned lines from /home/managed/*/sentinel-checks.cfg - -7. The HTTP/HTTPS-probe should be pure Ruby. Patrick will give me a stub. +The HTTP/HTTPS-probe should be pure Ruby. Patrick will give me a stub. -- cgit v1.2.1