GitHub user deejvince opened a pull request:

    https://github.com/apache/tinkerpop/pull/929

    Pass custom headers to the websocket connection

    In order to authorize to the gremlin server (in this case AWS Neptune) i 
need to pass custom headers for authorization to the service. the PR will allow 
to send any headers (like an API key or signature) and pass them to the 
Websocket function.
    While there can be many use cases for this, in my case i pass the 
Authorization & x-amz-date required for Signature V4 (IAM) authentication.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/deejvince/tinkerpop patch-1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tinkerpop/pull/929.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 #929
    
----
commit 1acb4f78d827f7903d4ebe73a21a0b45f0ce124e
Author: Lior Pollack <deejvince@...>
Date:   2018-09-10T19:16:38Z

    Pass custom headers to the websocket connection
    
    In order to authorize to the gremlin server (in this case AWS Neptune) i 
need to pass custom headers for authorization to the service. the PR will allow 
to send any headers (like an API key or signature) and pass them to the 
Websocket function.
    While there can be many use cases for this, in my case i pass the 
Authorization & x-amz-date required for Signature V4 (IAM) authentication.

----


---

Reply via email to