GitHub user davebshow opened a pull request:
https://github.com/apache/tinkerpop/pull/379
added simple WebSocketRemoteConnection
Also: Made RemoteConnection into actual abstract base class, fixed typo in
remote_graph.
This PR starts the process of adding a websocket driver to the
gremlin-python GLV. It is basically working, except I am not sure how you
submit the `Bytecode` object and `traversal_source` to the server, since the
`Bytecode` object does not serialize to JSON. As is, the the
`RESTRemoteConnection` has the same problem. I'm sure there are just a few
things missing of which I am not aware. Also, I am not sure how the
`traversal_source` should be passed. My initial thought was to pass it as an
alias, but this is obviously not correct. Anyway, let me know how to proceed
with this and I will move forward.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/davebshow/tinkerpop python_websocket_driver
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tinkerpop/pull/379.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #379
----
commit 1f026658f1615d203161fcd469752b6dbb8fc306
Author: davebshow <[email protected]>
Date: 2016-08-14T22:47:55Z
added simple WebSocketRemoteConnection, made RemoteConnection into actual
abstract base class, fixed typo in remote_graph
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---