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

Consistent defaults and initialization APIs for drivers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Done
    • 3.4.6
    • 3.6.0
    • driver
    • 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

            spmallette Stephen Mallette
            spmallette Stephen Mallette
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: