Closed thiagomata closed 3 years ago
@thiagomata you sure those changes work with AWS Neptune ? Other than that, I think those changes are great
I also don't see a way to enable debug logs in the current version, but yours seems to add that feature too. Can you confirm it ?
Yes. I added some very basic logging when getting error messages.
@thiagomata you sure those changes work with AWS Neptune ? Other than that, I think those changes are great
Yes, I was using for that. But you have to set the REST_SERVER to true.
One change that needs to be made before this PR is committed - Neptune specifically defaults to TLS/SSL only connectivity as of Feb. of 2020. Moreover, as of Neptune version 1.0.4.0 released in Oct. 2020, non-TLS traffic is no longer permitted. As such, the use of ws:// needs to be changed to wss:// or there needs to be some sort of flag to set the use of TLS or non-TLS for other TinkerPop compatible databases as well.
In the last version of the gremlin server, there are some problems using the WebSocket version. So, this branch uses the REST API to provide a similar experience. Also, it provides better data handling with the error messages when the query fails and add some logs to help to see what is happening.
The current version was tested with Gremlin 3.2.5 using the docker https://hub.docker.com/r/bricaud/gremlin-server-with-demo-graph/.![image](https://user-images.githubusercontent.com/581320/71993117-abf42000-328a-11ea-83d0-6cca7bb88bb7.png)