tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spmalle...@apache.org
Subject [35/50] [abbrv] tinkerpop git commit: TINKERPOP-1130 Added TinkerGraph support in gremlin-io-test
Date Tue, 03 Jan 2017 15:44:44 GMT
TINKERPOP-1130 Added TinkerGraph support in gremlin-io-test

Fixes in tp32/master allowed this to suddenly be supported.


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

Branch: refs/heads/TINKERPOP-1130
Commit: baf1d1700fa57b652ff938c5cd737b11a28f0b96
Parents: ad72c47
Author: Stephen Mallette <spmva@genoprime.com>
Authored: Thu Dec 29 06:58:03 2016 -0500
Committer: Stephen Mallette <spmva@genoprime.com>
Committed: Tue Jan 3 10:34:55 2017 -0500

----------------------------------------------------------------------
 .../tinkerpop/gremlin/structure/io/Model.java       |   6 +++++-
 .../structure/io/gryo/_3_3_0/tinkergraph-v3d0.kryo  | Bin 0 -> 1117 bytes
 2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/baf1d170/gremlin-tools/gremlin-io-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/Model.java
----------------------------------------------------------------------
diff --git a/gremlin-tools/gremlin-io-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/Model.java
b/gremlin-tools/gremlin-io-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/Model.java
index 75521ae..d2a646e 100644
--- a/gremlin-tools/gremlin-io-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/Model.java
+++ b/gremlin-tools/gremlin-io-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/Model.java
@@ -130,7 +130,11 @@ public class Model {
         addGraphStructureEntry(g.V().out().out().path().next(), "Path");
         addGraphStructureEntry(graph.edges().next().properties().next(), "Property");
         addEntry("Graph Structure", StarGraph.of(graph.vertices().next()), "StarGraph", "",
GRYO_ONLY);
-        addEntry("Graph Structure", graph, "TinkerGraph", "`TinkerGraph` has a custom serializer
that is registered as part of the `TinkerIoRegistry`.", Collections.emptyList());
+        addEntry("Graph Structure", graph, "TinkerGraph", "`TinkerGraph` has a custom serializer
that is registered as part of the `TinkerIoRegistry`.",
+                new HashMap<Compatibility, String>() {{
+                    put(GryoCompatibility.V1D0_3_2_3, "Serialization of TinkerGraph had a
bug that prevented proper operation in versions prior to 3.2.4.");
+                    put(GraphSONCompatibility.V2D0_PARTIAL_3_2_3, "Serialization of TinkerGraph
had a bug that prevented proper operation in versions prior to 3.2.4.");
+                }}, GryoCompatibility.V1D0_3_2_3, GraphSONCompatibility.V2D0_PARTIAL_3_2_3);
         addEntry("Graph Structure", g.V().out().out().tree().next(), "Tree", "", GRYO_ONLY);
         addGraphStructureEntry(graph.vertices().next(), "Vertex");
         addGraphStructureEntry(graph.vertices().next().properties().next(), "VertexProperty");

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/baf1d170/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/gryo/_3_3_0/tinkergraph-v3d0.kryo
----------------------------------------------------------------------
diff --git a/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/gryo/_3_3_0/tinkergraph-v3d0.kryo
b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/gryo/_3_3_0/tinkergraph-v3d0.kryo
new file mode 100644
index 0000000..5789986
Binary files /dev/null and b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/gryo/_3_3_0/tinkergraph-v3d0.kryo
differ


Mime
View raw message