tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spmalle...@apache.org
Subject [11/50] [abbrv] tinkerpop git commit: TINKERPOP-1694 Added a warning if using useMapperFromGraph
Date Wed, 28 Jun 2017 19:13:56 GMT
TINKERPOP-1694 Added a warning if using useMapperFromGraph


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

Branch: refs/heads/TINKERPOP-1552
Commit: 9160a8ae3507ae67a2b88b656ee88580069aa342
Parents: d49548e
Author: Stephen Mallette <spmva@genoprime.com>
Authored: Mon Jun 26 09:24:02 2017 -0400
Committer: Stephen Mallette <spmva@genoprime.com>
Committed: Wed Jun 28 13:52:12 2017 -0400

----------------------------------------------------------------------
 .../org/apache/tinkerpop/gremlin/server/AbstractChannelizer.java | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/9160a8ae/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/AbstractChannelizer.java
----------------------------------------------------------------------
diff --git a/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/AbstractChannelizer.java
b/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/AbstractChannelizer.java
index 5f2b785..0a784d9 100644
--- a/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/AbstractChannelizer.java
+++ b/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/AbstractChannelizer.java
@@ -204,6 +204,10 @@ public abstract class AbstractChannelizer extends ChannelInitializer<SocketChann
                 for (String graphName : settings.graphs.keySet()) {
                     graphsDefinedAtStartup.put(graphName, graphManager.getGraph(graphName));
                 }
+
+                if (config.config.containsKey(AbstractGryoMessageSerializerV1d0.TOKEN_USE_MAPPER_FROM_GRAPH))
+                    logger.warn("{} utilizes the {} configuration setting which is deprecated
- prefer use of {}", config.className, AbstractGryoMessageSerializerV1d0.TOKEN_USE_MAPPER_FROM_GRAPH,
AbstractGryoMessageSerializerV1d0.TOKEN_IO_REGISTRIES);
+
                 if (config.config != null)
                     serializer.configure(config.config, graphsDefinedAtStartup);
 


Mime
View raw message