tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spmalle...@apache.org
Subject [44/50] [abbrv] tinkerpop git commit: TINKERPOP-1552 Added graphson 2.0 serializer to test server settings for .net
Date Tue, 18 Jul 2017 13:09:21 GMT
TINKERPOP-1552 Added graphson 2.0 serializer to test server settings for .net


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

Branch: refs/heads/master
Commit: f03235e1ade10169d8b16b481aa4603c4dd8d680
Parents: 8fd4c8c
Author: Stephen Mallette <spmva@genoprime.com>
Authored: Fri Jul 14 13:39:36 2017 -0400
Committer: Stephen Mallette <spmva@genoprime.com>
Committed: Fri Jul 14 13:39:36 2017 -0400

----------------------------------------------------------------------
 gremlin-dotnet/test/pom.xml | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/f03235e1/gremlin-dotnet/test/pom.xml
----------------------------------------------------------------------
diff --git a/gremlin-dotnet/test/pom.xml b/gremlin-dotnet/test/pom.xml
index 2b09d26..524bed0 100644
--- a/gremlin-dotnet/test/pom.xml
+++ b/gremlin-dotnet/test/pom.xml
@@ -134,6 +134,7 @@ limitations under the License.
 import org.apache.tinkerpop.gremlin.server.GremlinServer
 import org.apache.tinkerpop.gremlin.server.Settings
 import org.apache.tinkerpop.gremlin.server.Settings.ScriptEngineSettings
+import org.apache.tinkerpop.gremlin.server.Settings.SerializerSettings
 
 if (${skipTests}) return
 
@@ -141,6 +142,7 @@ log.info("Starting Gremlin Server instances for native testing of gremlin-dotnet
 def settings = Settings.read("${gremlin.server.dir}/conf/gremlin-server-modern.yaml")
 settings.graphs.graph = "${gremlin.server.dir}/conf/tinkergraph-empty.properties"
 settings.scriptEngines["gremlin-groovy"].plugins["org.apache.tinkerpop.gremlin.jsr223.ScriptFileGremlinPlugin"].files
= ["${gremlin.server.dir}/scripts/generate-modern.groovy"]
+settings.serializers << new SerializerSettings("org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerGremlinV2d0",
[:])
 settings.port = 45950
 
 def server = new GremlinServer(settings)
@@ -152,6 +154,7 @@ log.info("Gremlin Server with no authentication started on port 45950")
 def settingsSecure = Settings.read("${gremlin.server.dir}/conf/gremlin-server-modern.yaml")
 settingsSecure.graphs.graph = "${gremlin.server.dir}/conf/tinkergraph-empty.properties"
 settingsSecure.scriptEngines["gremlin-groovy"].plugins["org.apache.tinkerpop.gremlin.jsr223.ScriptFileGremlinPlugin"].files
= ["${gremlin.server.dir}/scripts/generate-modern.groovy"]
+settingsSecure.serializers << new SerializerSettings("org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerGremlinV2d0",
[:])
 settingsSecure.port = 45951
 settingsSecure.authentication.className = "org.apache.tinkerpop.gremlin.server.auth.SimpleAuthenticator"
 settingsSecure.authentication.config = [credentialsDb: "${gremlin.server.dir}/conf/tinkergraph-credentials.properties",
credentialsDbLocation: "${gremlin.server.dir}/data/credentials.kryo"]


Mime
View raw message