Commit Graph

74 Commits

Author SHA1 Message Date
R. Tyler Croy 2de429e000 Turns out we have JDK7+ dependencies, so no JDK6 support! 2015-04-07 10:24:59 -07:00
R. Tyler Croy 73f12243bb Run and build on OpenJDK6 as our lower supported platform 2015-04-06 17:32:28 -07:00
R. Tyler Croy a1682622d5 Add latest library download link 2015-04-06 11:18:49 -07:00
R. Tyler Croy dd847dc826 Merge pull request #27 from lookout/java
Remove the Groovy runtime dependency
2015-04-06 11:16:36 -07:00
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
R. Tyler Croy 2d137d80c1 Keep the Groovy plugin in Gradle to ensure that tests are run properly 2015-04-03 10:08:09 -07:00
R. Tyler Croy f496b0e04e Expand the javadocs in code and add to docs/ tree 2015-04-03 08:40:34 -07:00
R. Tyler Croy 55969e7499 Add the eclipse project files 2015-04-03 08:17:41 -07:00
R. Tyler Croy 312679b79e Update gradle to build this project as Java only
Since Spock and Groovy make writing tests MUCH easier, so we'll keep the groovy
test dependency

Fixes #25
2015-04-03 08:17:41 -07:00
R. Tyler Croy fc9917966a Move the groovy/ directory to java/
Fixes #25
2015-04-03 08:17:41 -07:00
R. Tyler Croy 666769e9f6 Move the configuration handling over to Java 2015-04-03 08:07:07 -07:00
R. Tyler Croy aa84bad7b9 Move SequentialHookRunner into Java
This required a bit more refactoring of some interfaces which I didn't do quite
right previously
2015-04-03 07:44:42 -07:00
R. Tyler Croy 1b44cd2c1e Move AbstractHook into Java 2015-04-03 07:31:53 -07:00
R. Tyler Croy 5751ba80fc Move AbstractHookQueue into Java 2015-04-03 07:30:34 -07:00
R. Tyler Croy 4fa2667c16 Move InMemoryQueue into Java, refactor some Groovy-specific interfaces away 2015-04-03 07:25:40 -07:00
R. Tyler Croy a79048c9e8 Rewrite HookRequest in Java 2015-04-03 06:56:24 -07:00
R. Tyler Croy 67af6a1a25 Rebuild the Publisher class in Java 2015-04-03 06:52:41 -07:00
R. Tyler Croy 8a11a25ed2 Add travis support for OpenJDK7 and spinning up a redis server for integ testing
We're not using redis integration tests right now, but I might as well make it
available while I'm here.
2015-03-30 08:35:55 -07:00
R. Tyler Croy c138d754df Minor documentation update 2015-03-25 11:08:16 -07:00
R. Tyler Croy 8b3010fce6 Merge from pull request #23 2015-03-25 11:06:09 -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 1f623174b1 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 83809fe156 Added logs to whoas using logback
References #9
2015-03-25 11:05:24 -07:00
R. Tyler Croy 9e160d2d71 Bump version for 0.2.0 2015-03-25 11:03:52 -07:00
R. Tyler Croy 7c4a31efb5 Support publishing the sources and groovydoc jars
Fixes #10
2015-03-25 11:02:59 -07:00
R. Tyler Croy b4e84f04f5 Merge pull request #24 from GiriDandu/issue-7-hook-request-should-allow-support-for-content-type
Allow whoas clients to specify the content type param for each hook request
2015-03-25 10:56:09 -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
R. Tyler Croy f5899bac39 Bump version for the next release 2015-03-19 15:56:11 -07:00
R. Tyler Croy 8930c2cdf7 Merge pull request #22 from maheshkelkar/issues/21-another-redis-integ
Check for response variable before using in the whoas publish code
2015-03-19 15:34:09 -07:00
Mahesh V Kelkar f50b83bd04 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 0b9cba8731 Merge pull request #20 from lookout/redis-rebase
Rebasing mahesh's work
2015-03-18 16:47:30 -07:00
R. Tyler Croy 2f85172c17 Documentation update after resolving some conflicts with PR #18 2015-03-18 16:28:08 -07: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
R. Tyler Croy a702b21f75 Minor documentation update 2015-03-18 10:01:31 -07:00
R. Tyler Croy ac7b449a11 bump version for release, again! 2015-03-18 10:00:33 -07:00
R. Tyler Croy 551bf94274 Merge pull request #17 from GiriDandu/issue-3-whoas-needs-to-be-configurable
Upgrade groovy to 2.4.0+
2015-03-18 09:59:49 -07:00
Giri Dandu 2af63c89c1 Upgrade groovy to 2.4.0+
- Fixes #16
2015-03-18 12:28:45 -04:00
R. Tyler Croy 076c89ee8d Bump the version for release 2015-03-18 08:48:59 -07:00
GiriDandu b9c2eba6ca Merge pull request #15 from GiriDandu/issue-3-whoas-needs-to-be-configurable
Make whoas configuration optional
2015-03-18 11:45:03 -04: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 98efd846ef Merge pull request #12 from GiriDandu/issue-3-whoas-needs-to-be-configurable
Issue 11 whoas needs to be configurable
2015-03-17 16:54:29 -07:00
Giri Dandu 55f675d17a Update after review comments.
- Remove unused withSources(), we are not building javadocs anymore
  - Fixes #11
2015-03-17 18:55:59 -04:00
Giri Dandu 9ff42a96c2 Update after code review comments
- Make the java docs more meanigful
 - Fixes #11
2015-03-17 18:51:54 -04:00
Giri Dandu 5a8bc06243 Update after code review comments
- Remove unnecessary dependencies from build.gradle
 - For easy plug in for thirdparty queues and runners, use class names to create them
 - Fixes #11
2015-03-17 14:58:25 -04:00
Giri Dandu 9e3b180483 Make gitignore work
- Fixes #11
2015-03-17 11:24:06 -04:00
Giri Dandu beaff13063 Add whoas configuration and factory to create runner and queue based on configuration
- Fixes #3
 - Modified .gitignore to remove idea directory
2015-03-17 10:21:28 -04:00