[ https://issues.apache.org/jira/browse/TINKERPOP-2110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16723269#comment-16723269 ]
ASF GitHub Bot commented on TINKERPOP-2110: ------------------------------------------- spmallette opened a new pull request #1020: TINKERPOP-2110 Added option to change path for java driver URL: https://github.com/apache/tinkerpop/pull/1020 https://issues.apache.org/jira/browse/TINKERPOP-2110 Builds with `mvn clean install && mvn verify -pl gremlin-driver,gremlin-server -DskipIntegrationTests=false` VOTE +1 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Allow Connection on Different Path (from /gremlin) > -------------------------------------------------- > > Key: TINKERPOP-2110 > URL: https://issues.apache.org/jira/browse/TINKERPOP-2110 > Project: TinkerPop > Issue Type: Improvement > Components: driver > Affects Versions: 3.3.4 > Reporter: Antony Scerri > Priority: Major > > Hi > It appears that the Java driver for Gremlin clients only supports connecting > to hosts on a fixed path (/gremlin). This is based on the code in > tinkerpop/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Host.java > > The function makeUriFromAddress doesn't provide a method for customizing the > path to use. The need arises from proxying multiple server instances through > a simple NGINX type proxy where you want to host each one under a different > path, currently you would need to use a different hostname or port on the > proxy which isn't so desirable. It would seem a relatively simple non > breaking change and provides a little bit more flexibility in usage. Other > clients like the Python one provide this naturally through passing of the > websocket URL. > Thanks > Tony -- This message was sent by Atlassian JIRA (v7.6.3#76005)