orientdb-gremlin
orientdb-gremlin copied to clipboard
Import into Gremlin console
I'm just getting started with tinkerpop and orientdb. I've been trying to install this plugin using:
:install com.michaelpollmeier orientdb-gremlin 3.2.3.0
in the latest console (3.2.4) and getting dependency conflicts, so I'm guessing I need to downgrade to gremlin 3.2.3?
I am able to :install into 3.2.3, but it doesnt appear as a plugin (because it doesnt implement the Plugin interface). I did:
:import org.apache.tinkerpop.gremlin.orientdb.OrientGraphFactory
and I seem to be able to use it within the console, e.g.:
g = new OrientGraphFactory("remote:localhost/votes").getNoTx().traversal()
g.V()
So happy if you want to close this, but leaving open as it would be nice if it supported being a console plugin.
glad you got it sorted yourself. the main action in this repo seems to be in the develop
branch, but there's not actually a lot going on at the moment. Supporting 3.2.4 should be straightforward (I think), someone just needs to release it. (I started this repo and then handed it over to orienttechnologies)
Hi @christinedraper
The plugin interface has been implemented in develop,and it target OrientDB 3.0 see here
https://github.com/orientechnologies/orientdb-gremlin/tree/develop/driver/src/main/java/org/apache/tinkerpop/gremlin/orientdb/plugin
This repo has been aligned with the current development/release cycle of OrientDB. Our plan is to make a OrientDB TP3 distribution with OrientDB community + Gremlin Console + Gremlin Server + Gremlin Driver.
There is no release yet available but the 3.0-m1 should be out soon.
Once out you can download the OrientDB TP3 distribution or install the Gremlin Driver in your Gremlin Console/ Server
@maggiolo00 will the 3.0 release be compatible with OrientDB 2.2 server?
@christinedraper Do you mean the OrientDB TP3 driver 3.0 with OrientDB 2.2 server?
@maggiolo00 - Yes
@christinedraper
OrientDB TP3 3.0 driver uses OrientDB 3.0 libraries as dependency. I don't think in this case will work due some changes on the wire protocol.
If you need those changes on the current driver i can backport the plugin stuff and update the dependency to 3.2.4
@maggiolo00 That would be very useful, thanks! Would you be able to publish it to Maven, too?
hi @christinedraper
i guess we can publish it to Maven, but we still have to publish it under the com.michaelpollmeier
group id since in branch develop we switch to the new group id com.orientechnologies
and the versioning will be aligned with OrientDB one
I will try to switch to 3.2.4.
@mpollmeier will you release once updated to 3.2.4 or can we release under com.michaelpollmeier
?
Thanks
Sure, I can release it, just let me know.
Ok Thanks