Commit Graph

15 Commits

Author SHA1 Message Date
R. Tyler Croy a97996c885 Refactor RedisQueue into Java with additional minor updates
Some logging items were previously missed and the status code 429 as a
retryable error has been added in this commit
2015-04-06 10:06:47 -07:00
Mahesh V Kelkar 1a232c2553 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 83809fe156 Added logs to whoas using logback
References #9
2015-03-25 11:05:24 -07:00
Giri Dandu 871edc668e Update after code review comments
- Let client specify the full content type and take default value if the content type
   is null
 - Fixes #7
2015-03-25 12:06:34 -04:00
Giri Dandu 9920b2acdd Allow whoas clients to specify the content type param for each hook request
- Fixes #7
2015-03-25 10:34:39 -04:00
Mahesh V Kelkar c3be62612b 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 9e8244ddb8 Added more queue config for supporting Redis queue and changed it to struct
References #3
2015-03-18 16:27:15 -07:00
Mahesh V Kelkar 000737c163 Initial coding, tests for RedisQueue for Redis as a queue provider
References #3
2015-03-18 16:27:04 -07:00
Giri Dandu b8207117a6 Update after code review comments
- Fixes #14
2015-03-18 11:28:04 -04:00
Giri Dandu e8b4c4e788 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 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 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 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 d9ee4411dc Start adding some stub classes with the needed data attached to them
Relates to #2
2014-12-30 21:03:08 -08:00