You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ok...@apache.org on 2016/01/07 00:04:10 UTC

[1/2] incubator-tinkerpop git commit: Add protocol to the list of Settings for the driver.

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/TINKERPOP-1033 5c9e81b0c -> a7db52bda


Add protocol to the list of Settings for the driver.

This was a minor oversight from previous work where the "protocol" value was not being passed in from yaml file. CTR


Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/b44253d9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/b44253d9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/b44253d9

Branch: refs/heads/TINKERPOP-1033
Commit: b44253d949c0e07e0cd1e1c3568783faaf382a78
Parents: 46c7189
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Wed Jan 6 13:13:44 2016 -0500
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Wed Jan 6 13:13:44 2016 -0500

----------------------------------------------------------------------
 .../main/java/org/apache/tinkerpop/gremlin/driver/Cluster.java    | 3 +++
 .../main/java/org/apache/tinkerpop/gremlin/driver/Settings.java   | 2 ++
 2 files changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/b44253d9/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Cluster.java
----------------------------------------------------------------------
diff --git a/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Cluster.java b/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Cluster.java
index ddc6081..c8d3bd6 100644
--- a/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Cluster.java
+++ b/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Cluster.java
@@ -145,6 +145,9 @@ public final class Cluster {
         if (settings.jaasEntry != null)
             builder.jaasEntry(settings.jaasEntry);
 
+        if (settings.protocol != null)
+            builder.protocol(settings.protocol);
+
         // the first address was added above in the constructor, so skip it if there are more
         if (addresses.size() > 1)
             addresses.stream().skip(1).forEach(builder::addContactPoint);

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/b44253d9/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Settings.java
----------------------------------------------------------------------
diff --git a/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Settings.java b/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Settings.java
index 7faa377..7a40d4f 100644
--- a/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Settings.java
+++ b/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Settings.java
@@ -53,6 +53,8 @@ final class Settings {
 
     public String jaasEntry = null;
 
+    public String protocol = null;
+
     /**
      * Read configuration from a file into a new {@link Settings} object.
      *


[2/2] incubator-tinkerpop git commit: Merge branch 'master' into TINKERPOP-1033

Posted by ok...@apache.org.
Merge branch 'master' into TINKERPOP-1033


Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/a7db52bd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/a7db52bd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/a7db52bd

Branch: refs/heads/TINKERPOP-1033
Commit: a7db52bda732810fc8d5d3a8279a4f7095285d3d
Parents: 5c9e81b b44253d
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Wed Jan 6 16:03:59 2016 -0700
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Wed Jan 6 16:03:59 2016 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/tinkerpop/gremlin/driver/Cluster.java    | 3 +++
 .../main/java/org/apache/tinkerpop/gremlin/driver/Settings.java   | 2 ++
 2 files changed, 5 insertions(+)
----------------------------------------------------------------------