Re: [TinkerPop] Migrating Rexster to Gremlin-Server

30 views
Skip to first unread message

Stephen Mallette

unread,
Dec 7, 2015, 7:36:19 AM12/7/15
to Gremlin-users
I don't know of any documents that explicitly describe rexster migrations to gremlin server.  Here's a rough guide:

1. If you were using Rexster REST APIs then you'd have to convert to Gremlin scripts for Gremlin Server.  From what I've seen/heard in production environments very few folks use those routes when they start to build a "real application", so hopefully, there aren't too many of those folks out there. 

2. If you were doing Rexster Extensions,  you would pull that logic out into a "utility class", build a jar from it, place it on Gremlin Server's path, add the imports to Gremlin Server's yaml, and then call it from gremlin scripts sent to the server.  Alternatively you could turn it into a "plugin" and write it in such a way that the imports happen automatically as a result of enabling the plugin in Gremlin Server's yaml. You could see the TinkerGraphGremlinPlugin for an example.

3. If you were using a Rexster init script to build custom functions and such, then nothing much changes - you can do the same with Gremlin Server's init script.

4. If you were deploying a jar of custom functions/classes to Rexster, then nothing much changes, you can do the same with Gremlin Server, though I would consider making it a plugin for convenience and better reusability.



On Fri, Dec 4, 2015 at 5:14 PM, <b...@siftsec.com> wrote:
Could someone point me in the right direction? Just an example of gremlin-server in action would be immensely helpful.

--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/892ba971-c56f-416e-b7b9-1b6f92d5adad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages