This looks really neat! I downloaded it this morning to play around with it and see if I could get it to work, but I get this:
NameError: uninitialized constant Java::ComTinkerpopBlueprintsPgmImplsRexster::RexsterVertex::ElementMixin
const_missing at org/jruby/RubyModule.java:2694
RexsterVertex at /Users/mccraw/Documents/com.sas.deployment.datastore/lib/ruby/pacer-rexster/vertex.rb:8
Pacer at /Users/mccraw/Documents/com.sas.deployment.datastore/lib/ruby/pacer-rexster/vertex.rb:6
(root) at /Users/mccraw/Documents/com.sas.deployment.datastore/lib/ruby/pacer-rexster/vertex.rb:3
require at org/jruby/RubyKernel.java:1028
require at jar:file:/Users/mccraw/Documents/com.sas.deployment.datastore/lib/java/jruby-complete.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36
(root) at /Users/mccraw/Documents/com.sas.deployment.datastore/lib/ruby/pacer-rexster.rb:1
require at org/jruby/RubyKernel.java:1028
require at jar:file:/Users/mccraw/Documents/com.sas.deployment.datastore/lib/java/jruby-complete.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36
(root) at /Users/mccraw/Documents/com.sas.deployment.datastore/lib/ruby/pacer-rexster.rb:9
require at org/jruby/RubyKernel.java:1028
(root) at /Users/mccraw/Documents/com.sas.deployment.datastore/lib/ruby/titan.rb:1
(root) at lib/ruby/main.rb:149
The code being executed looks like this:
class RexsterVertex
include Pacer::Core::Graph::VerticesRoute
include ElementMixin
include VertexMixin
end
I found a refactoring commit notice that mentioned moving the '...Mixin' pieces into wrapper classes:
So the error message makes good sense. But I can't include the contents of a class in a class, and since the code is no longer captured in modules, I'm a little stuck I guess. Apparently no one is using this, since it's been broken for almost a year, but I can't understand why. It seems like such a great idea for tacking a graph datastore onto an existing rails application, for instance, which still uses a relational datastore as well (that's how I want to use it, anyway). Any suggestions to make this work?
Also, one quick question: Does this go through rexster's REST API, or does it use the binary protocol (which I assume is much more efficient)?
Thanks!
Mark