Commit Graph

16 Commits

Author SHA1 Message Date
R. Tyler Croy fe5a55d754
Introduce some GradleTestKit-based tests and the supporting infra to run them
Some of this was unapologetically pilfered from the core plugins
2015-08-14 11:24:32 -07:00
R. Tyler Croy 352d44b34b
Properly make use of JRubyExecTraits API to run our environment and prepare dependencies
Fixes #4
Fixes #7
2015-07-30 07:35:14 -07:00
R. Tyler Croy 3f39e00e95
WIP checkpointing some refactoring and structuring around the JRubyStorm task 2015-07-28 05:19:21 -07:00
R. Tyler Croy cc4b707d1d
Start relocating basic topology jar functionality into JRubyStorm class
This will make it easier to move over to JRubyJar soon

References #6, #8
2015-07-27 08:01:21 -07:00
R. Tyler Croy 611a52820f
Support modifying the version of redstorm included as well
References #3
2015-07-27 00:03:50 -07:00
R. Tyler Croy 6aa1174faf
Add an extension to the Gradle project which allows for configuring the Storm version
Since this is only used for running local topologies, we're just adding it to
the jrubyStormLocal configuration

Fixes #3
2015-07-26 23:50:31 -07:00
R. Tyler Croy 072210343f
Introduce codenarc to keep this groovy tidy 2015-07-26 22:41:25 -07:00
R. Tyler Croy 28756c36c4
Disable the creation of a JRuby-specific jar and remove the BC dependency
The BC version being included was an artifact from using older versions of
jruby-complete (pre 1.7.20), see 5d59833e998ceed24e0805e09d36897de770838f

The fact that this doesn't fail any tests is a problem :)
2015-07-26 22:31:55 -07:00
R. Tyler Croy 7028b6cc8f Revert "Remove bolts/ from the default topology jar"
Turns out this is kind of useful, whoops

This reverts commit fce4bb3488.
2014-11-17 20:10:02 -08:00
R. Tyler Croy fce4bb3488 Remove bolts/ from the default topology jar 2014-11-15 08:46:19 -08:00
R. Tyler Croy 72911dd80a Ensure the bouncycastle dependency is included in storm topologies so JRuby can run effectively 2014-11-15 08:45:13 -08:00
R. Tyler Croy f15caeca6f Upgrade the jrubyStormLocal dependency on storm-core 0.9.2-incubating by default
0.9.2 includes many fixes/improvements and is API incompatible with 0.9.1. The
only requirement that we have for 0.9.1 anymore is on storm topology
deployment, everywhere else we should rely on 0.9.2 if possible

This resolves some frustrating issues with incompatibilities with zookeeper and
curator dependencies underneath storm-kafka 0.9.2-incubating. If you've seen
"cannot initialize class `backtype.storm.LocalCluster` then that means that ZK
dependencies are somehow incorrect in the classpath causing the LocalCluster
class, which is defined in Clojure, to fail to get created. Cute error
2014-11-04 06:08:09 -08:00
R. Tyler Croy 8cd3e8ce66 Rely on shadowJar for unzipping dependencies into the jar instead of doing it manually 2014-10-22 14:01:53 -07:00
R. Tyler Croy ece8b5f9eb Exclude jar signing keys when we're creating the shadow jar 2014-10-22 13:19:31 -07:00
R. Tyler Croy 24af77c088 Refactor the work into a shadowJar backed JRubyStorm task, and JavaExec-based JRubyStormLocal 2014-10-22 12:00:42 -07:00
R. Tyler Croy dfe50ccb9c Bring basic for JRubyStorm(Jar) tasks and basic plugin machinery 2014-09-16 17:42:20 -07:00