[
https://issues.apache.org/jira/browse/TINKERPOP-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15094587#comment-15094587
]
ASF GitHub Bot commented on TINKERPOP-1036:
-------------------------------------------
Github user laxatives commented on the pull request:
https://github.com/apache/incubator-tinkerpop/pull/175#issuecomment-171024783
Thanks Stephen.
Integration test `BUILD SUCCESSFUL`.
```
mvn clean install -DskipIntegrationTests=false -DincludeNeo4j
...
[INFO] Reactor Summary:
[INFO]
[INFO] Apache TinkerPop ................................... SUCCESS [
7.636 s]
[INFO] Apache TinkerPop :: Gremlin Shaded ................. SUCCESS [
4.199 s]
[INFO] Apache TinkerPop :: Gremlin Core ................... SUCCESS [01:42
min]
[INFO] Apache TinkerPop :: Gremlin Test ................... SUCCESS [
29.099 s]
[INFO] Apache TinkerPop :: Gremlin Groovy ................. SUCCESS [
42.608 s]
[INFO] Apache TinkerPop :: Gremlin Groovy Test ............ SUCCESS [
7.104 s]
[INFO] Apache TinkerPop :: TinkerGraph Gremlin ............ SUCCESS [03:53
min]
[INFO] Apache TinkerPop :: Hadoop Gremlin ................. SUCCESS [06:17
min]
[INFO] Apache TinkerPop :: Spark Gremlin .................. SUCCESS [04:56
min]
[INFO] Apache TinkerPop :: Giraph Gremlin ................. SUCCESS [
02:02 h]
[INFO] Apache TinkerPop :: Neo4j Gremlin .................. SUCCESS [23:01
min]
[INFO] Apache TinkerPop :: Gremlin Driver ................. SUCCESS [
16.517 s]
[INFO] Apache TinkerPop :: Gremlin Server ................. SUCCESS [11:46
min]
[INFO] Apache TinkerPop :: Gremlin Console ................ SUCCESS [01:21
min]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 02:56 h
[INFO] Finished at: 2016-01-12T11:20:45-08:00
[INFO] Final Memory: 104M/765M
[INFO]
------------------------------------------------------------------------
```
VOTE +1
> Support self-looping edges in IO
> --------------------------------
>
> Key: TINKERPOP-1036
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1036
> Project: TinkerPop
> Issue Type: Bug
> Components: io
> Affects Versions: 3.1.0-incubating
> Reporter: stephen mallette
> Assignee: stephen mallette
> Fix For: 3.1.1-incubating
>
>
> Seems like GraphSON is having trouble with self-loops. Not sure about other
> IO at this time.
> {code}
> gremlin> a = TinkerGraph.open()
> ==>tinkergraph[vertices:0 edges:0]
> gremlin> v1 = a.addVertex()
> ==>v[0]
> gremlin> v2 = a.addVertex()
> ==>v[1]
> gremlin> control = v1.addEdge("CONTROL", v2)
> ==>e[2][0-CONTROL->1]
> gremlin> selfLoop = v1.addEdge("SELF-LOOP", v1)
> ==>e[3][0-SELF-LOOP->0]
> gremlin> a.io(IoCore.graphson()).writeGraph("test.gson")
> ==>null
> gremlin> b = TinkerGraph.open()
> ==>tinkergraph[vertices:0 edges:0]
> gremlin> b.io(IoCore.graphson()).readGraph("test.gson")
> ==>null
> gremlin> b.traversal().E()
> ==>e[2][0-CONTROL->1]
> {code}
> with graphson of:
> {code}
> {"id":0,"label":"vertex","inE":{"SELF-LOOP":[{"id":3,"outV":0}]},"outE":{"CONTROL":[{"id":2,"inV":1}]}}
> {"id":1,"label":"vertex","inE":{"CONTROL":[{"id":2,"outV":0}]}}
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)