Commit Graph

74 Commits

Author SHA1 Message Date
R. Tyler Croy 763e29a7a8 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 d6c6f56b16 Bump to version 0.1.1 to release the project with poms properly generated 2015-01-01 18:16:19 -08:00
R. Tyler Croy a2111bfa4f 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 7bb472da62 Add ta link to the bintray artifacts 2014-12-31 12:37:46 -08:00
R. Tyler Croy 63865ba12d 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 3b85e6a3e6 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 b97d8fe153 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 66325fc723 Rename IHookQueue to AbstractHookQueue to be more conventional 2014-12-31 08:37:06 -08:00
R. Tyler Croy 58b4a4c710 Add the build status to the site 2014-12-30 22:05:27 -08:00
R. Tyler Croy 3bcc971ae8 Missed the generated index page, whoops! 2014-12-30 22:03:00 -08:00
R. Tyler Croy 5b7f835d10 Add a simple asciidoc homepage 2014-12-30 22:02:16 -08:00
R. Tyler Croy c45d2da864 Add an MIT license 2014-12-30 21:59:04 -08:00
R. Tyler Croy 526490b585 Add groovydocs and the ability to publish to gh-pages 2014-12-30 21:55:54 -08:00
R. Tyler Croy f57db21bba Finish implementing the InMemoryQueue
This will provide just the simplest of queueing operations for testing of Whoas
but also for integration testing in users of Whoas

Fixes #2
2014-12-30 21:54:18 -08:00
R. Tyler Croy 8087920b71 Add support for supplying your own Queue implementation to the InMemoryQueue
This will make it a bit easier to test inside of Spock with pre-configured/set
up queues
2014-12-30 21:23:12 -08:00
R. Tyler Croy 2689feb2cd Add a simple default constructor for whoas library consumers to use 2014-12-30 21:22:52 -08:00
R. Tyler Croy d9ee4411dc Start adding some stub classes with the needed data attached to them
Relates to #2
2014-12-30 21:03:08 -08:00
R. Tyler Croy 9abf01cc04 Force target compatibility to start at JDK6 2014-12-30 17:52:57 -08:00
R. Tyler Croy 9acd233344 I can acronym 2014-12-30 17:44:51 -08:00
R. Tyler Croy d793bc3f57 Add support for testing in Travis CI 2014-12-30 17:42:09 -08:00
R. Tyler Croy ad77cbaa38 Add a simple gradle file with some basic project configuratio 2014-12-30 17:40:04 -08:00
R. Tyler Croy c3e9110930 Markdown scmarkdown 2014-12-30 17:31:44 -08:00
R. Tyler Croy 6e57210cbf Whoa. 2014-12-30 17:29:43 -08:00
R. Tyler Croy 20fa2962fc Initial commit 2014-12-30 17:27:45 -08:00