Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2379

Consistent defaults and initialization APIs for drivers

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4.6
    • Fix Version/s: None
    • Component/s: driver
    • Labels:
      None

      Description

      Some drivers allow the connection URL to be directly set which means that it is wholly configurable. For example, Javascript allows:

      const g = traversal().withRemote(new DriverRemoteConnection('ws://localhost:8182/gremlin'));
      

      Python allows something similar, but Java and .NET do not. I don't recall a reason for that inconsistency and there are times when it seems that such options would be helpful.

      In addition, some drivers will take a file for configuration and some will not. Furthermore, defaults for various settings are different from one driver to the next.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              spmallette Stephen Mallette
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: