[ 
https://issues.apache.org/jira/browse/TINKERPOP-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16171500#comment-16171500
 ] 

ASF GitHub Bot commented on TINKERPOP-1787:
-------------------------------------------

GitHub user spmallette opened a pull request:

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

    TINKERPOP-1787 Add syntax for :remote to accept a Cluster object

    https://issues.apache.org/jira/browse/TINKERPOP-1787
    
    Allows for this syntax:
    
    ```text
    gremlin> cluster = Cluster.open()
    ==>localhost/127.0.0.1:8182
    gremlin> :remote connect tinkerpop.server cluster
    ==>Configured localhost/127.0.0.1:8182
    ```
    
    All tests pass and docs generate with `docker/build.sh -t -n -i -d`
    
    VOTE +1

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

    $ git pull https://github.com/apache/tinkerpop TINKERPOP-1787

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

    https://github.com/apache/tinkerpop/pull/718.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 #718
    
----
commit 79999e9769529ccdea7b22577dfb4be5d9bbe069
Author: Stephen Mallette <sp...@genoprime.com>
Date:   2017-09-18T18:54:31Z

    TINKERPOP-1787 Add syntax for :remote to accept a Cluster object

----


> Allow :remote command to accept a user defined Cluster instance
> ---------------------------------------------------------------
>
>                 Key: TINKERPOP-1787
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1787
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: plugin
>    Affects Versions: 3.2.6
>            Reporter: stephen mallette
>            Assignee: stephen mallette
>            Priority: Minor
>
> Make a minor adjustment to the {{DriverRemoteAcceptor}} to allow for this 
> type of syntax:
> {code}
> gremlin> cluster = Cluster.open()
> ==>localhost/127.0.0.1:8182
> gremlin> :remote connect tinkerpop.server cluster
> ==>Configured localhost/127.0.0.1:8182
> {code}
> which will provide more flexibility to those those who are trying to script 
> the console.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to