Commit Graph

21 Commits

Author SHA1 Message Date
R. Tyler Croy 64bb280924 Minor documentation update 2015-03-25 11:08:16 -07:00
Mahesh V Kelkar e72531e3c9 Removed the re-throw in the pop routines for in-memory and redis queue
References #9 and #23
2015-03-25 11:05:24 -07:00
Mahesh V Kelkar 030cc3ebff Instead of logging exception, pass exception object to logger API
References #9 and #23
2015-03-25 11:05:24 -07:00
Mahesh V Kelkar b54eb86fde Added logs to whoas using logback
References #9
2015-03-25 11:05:24 -07:00
R. Tyler Croy 47a2c7956b Support publishing the sources and groovydoc jars
Fixes #10
2015-03-25 11:02:59 -07:00
Mahesh V Kelkar d707b57340 Check for response variable before using in the whoas publish code
The response variable could be null on unsuccessful response from the
HTTP post.

References #21
2015-03-19 17:25:55 -04:00
R. Tyler Croy 05f8d0c018 Documentation update after resolving some conflicts with PR #18 2015-03-18 16:28:08 -07:00
Mahesh V Kelkar 26b6c42157 Moved JedisPool handling to RedisQueue class
Based on the review feedback comments

References #3 and #18
2015-03-18 16:27:15 -07:00
Mahesh V Kelkar 02b2ec55c0 Added more queue config for supporting Redis queue and changed it to struct
References #3
2015-03-18 16:27:15 -07:00
R. Tyler Croy b68e268b54 Minor documentation update 2015-03-18 10:01:31 -07:00
Giri Dandu 5dc6192c20 Make whoas configuration optional
- If configuration is not present, create InMemoryQueue and SequentialHookRunner
 - Add unit tests
 - Update docs with configuration section
 - Fixes #14
2015-03-18 10:25:16 -04:00
R. Tyler Croy 1cbcde8d1f Ensure we're reading the response from the Jersey client to cleanly close the response
Otherwise we'll litter our webserver with errors like:

    localhost - - [02/Jan/2015:10:42:49 PST] "POST /mailbox HTTP/1.1" 200 2
    - -> /mailbox
    [2015-01-02 10:42:49] ERROR Errno::ECONNRESET: Connection reset by peer @ io_fillbuf - fd:10
            /home/tyler/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:80:in `eof?'
            /home/tyler/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:80:in `run'
            /home/tyler/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
2015-01-02 12:14:28 -08:00
R. Tyler Croy f8ad7244be Add the AbstractHookRunner and SequentialHookRunner classes to bridge queues and publishers
This should meet the absolute most basic requirements of #1, it's not going to
execute things in parallel, but it's going to churn through queued webhooks one
by one without much issue
2014-12-31 12:41:02 -08:00
R. Tyler Croy 04d3267eb2 Add ta link to the bintray artifacts 2014-12-31 12:37:46 -08:00
R. Tyler Croy 782dfa8a11 Imagine what it would be like if I actually made classes abstract like I said I was 2014-12-31 11:49:33 -08:00
R. Tyler Croy 0cf9a67c54 Add the whoas.Publisher class for actually executing the HookRequests with retry/backoff
This has technically been tested against a local Sinatra application, but I've
not added automated integration tests yet (which I should) to validate that it
actually makes the requests it's supposed to
2014-12-31 10:51:32 -08:00
R. Tyler Croy 6023814d0d Start documenting the behavior and expectations around the Whoas Publisher
This is largely to make sure my own thoughts are organized right now
2014-12-31 08:37:27 -08:00
R. Tyler Croy 7e60bb6046 Rename IHookQueue to AbstractHookQueue to be more conventional 2014-12-31 08:37:06 -08:00
R. Tyler Croy 52952e7b9a Add the build status to the site 2014-12-30 22:05:27 -08:00
R. Tyler Croy 2ddc10e194 Missed the generated index page, whoops! 2014-12-30 22:03:00 -08:00
R. Tyler Croy 91ff0cef42 Add groovydocs and the ability to publish to gh-pages 2014-12-30 21:55:54 -08:00