tinkerpop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TINKERPOP-1959) Provide a way to submit scripts to the server in gremlin-javascript
Date Sat, 01 Sep 2018 07:15:00 GMT

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

ASF GitHub Bot commented on TINKERPOP-1959:

Github user mattallenuk commented on the issue:

    Hiya guys,
    I have moved the code out of the existing classes and have created a Client class that
can handle script sending and a Translator class that can convert bytecode into a string.

    The Translator class accepts bindings in the form of a javascript object passed into the
step function and converts it into Gremlin Groovy Tuple in the translated script. I haven't
considered the impact of this upon Bytecode so this may need to be changed or addressed on
the Bytecode side, or Bytecode may already handle parameter maps?
    In terms of consumption is there a way we could make the Translator more transparent to
the user, I did have an eval function added to Traversal which did the conversion and sending,
I removed this but would that be an acceptable solution? It's not inline with other GLV's

> Provide a way to submit scripts to the server in gremlin-javascript
> -------------------------------------------------------------------
>                 Key: TINKERPOP-1959
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1959
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: javascript
>    Affects Versions: 3.2.8
>            Reporter: stephen mallette
>            Priority: Critical
> It is currently only possible to submit bytecode based requests to the server with gremlin-javascript.
We should also provide some means for submitting scripts.

This message was sent by Atlassian JIRA

View raw message