Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import into Gremlin console #123

Open
christinedraper opened this issue Mar 1, 2017 · 11 comments
Open

Import into Gremlin console #123

christinedraper opened this issue Mar 1, 2017 · 11 comments
Assignees
Labels

Comments

@christinedraper
Copy link

christinedraper commented Mar 1, 2017

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?

@christinedraper christinedraper changed the title Support for gremlin 3.2.4 Import into Gremlin console Mar 1, 2017
@christinedraper
Copy link
Author

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.

@mpollmeier
Copy link
Collaborator

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)

@wolf4ood
Copy link
Member

wolf4ood commented Mar 2, 2017

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

@wolf4ood wolf4ood self-assigned this Mar 2, 2017
@christinedraper
Copy link
Author

@maggiolo00 will the 3.0 release be compatible with OrientDB 2.2 server?

@wolf4ood
Copy link
Member

wolf4ood commented Mar 2, 2017

@christinedraper
Do you mean the OrientDB TP3 driver 3.0 with OrientDB 2.2 server?

@christinedraper
Copy link
Author

christinedraper commented Mar 2, 2017

@maggiolo00 - Yes

@wolf4ood
Copy link
Member

wolf4ood commented Mar 2, 2017

@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

@christinedraper
Copy link
Author

@maggiolo00 That would be very useful, thanks! Would you be able to publish it to Maven, too?

@wolf4ood
Copy link
Member

wolf4ood commented Mar 7, 2017

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

@mpollmeier
Copy link
Collaborator

Sure, I can release it, just let me know.

@wolf4ood
Copy link
Member

wolf4ood commented Mar 7, 2017

Ok Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants