TINKERPOP-1784 Removed duplicate entry from bad merge in changelog
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/33258993
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/33258993
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/33258993
Branch: refs/heads/TINKERPOP-1827
Commit: 33258993494225f61697fc8fe58d3b54d59766f8
Parents: 2b24f58
Author: Stephen Mallette
Authored: Fri Nov 10 20:13:12 2017 -0500
Committer: Stephen Mallette
Committed: Tue Nov 21 15:53:14 2017 -0500
--
CHANGELOG.asciidoc | 1 -
1 file changed, 1 deletion(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/33258993/CHANGELOG.asciidoc
--
diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index cb2779a..d722066 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -30,7 +30,6 @@
image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
* `TraversalVertexProgram` `profile()` now accounts for worker iteration in
`GraphComputer` OLAP.
* Returned the `Builder` instance from the `DetachedEdge.Builder` methods of
`setOutE` and `setOutV`.
* Added test framework for GLVs.
-* `TraversalVertexProgram` ``profile()` now accounts for worker iteration in
`GraphComputer` OLAP.
* Added a test for self-edges and fixed `Neo4jVertex` to provided repeated
self-edges on `BOTH`.
* Better respected permissions on the `plugins.txt` file and prevented writing
if marked as read-only.
* Added getters for the lambdas held by `LambdaCollectingBarrierStep`,
`LambdaFlatMapStep` and `LambdaSideEffectStep`.
Get property information from modern graph
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/71c4a8fa
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/71c4a8fa
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/71c4a8fa
Branch: refs/heads/TINKERPOP-1827
Commit: 71c4a8fac1edb2a75ccbc6b74e348a26f8e9e551
Parents: d8adc29
Author: Jorge Bay Gondra
Authored: Fri Oct 27 14:18:32 2017 +0200
Committer: Jorge Bay Gondra
Committed: Thu Nov 23 09:08:06 2017 +0100
--
.../ModernGraphTypeInformation.cs | 70
.../TraversalEvaluationTests.cs | 10 ++-
.../TraversalEvaluation/TraversalParser.cs | 24 ---
3 files changed, 92 insertions(+), 12 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/71c4a8fa/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/ModernGraphTypeInformation.cs
--
diff --git
a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/ModernGraphTypeInformation.cs
b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/ModernGraphTypeInformation.cs
new file mode 100644
index 000..bce3449
--- /dev/null
+++
b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/ModernGraphTypeInformation.cs
@@ -0,0 +1,70 @@
+#region License
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#endregion
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+using System.Reflection;
+using Gremlin.Net.Process.Traversal;
+
+namespace Gremlin.Net.IntegrationTest.Gherkin.TraversalEvaluation
+{
+internal class ModernGraphTypeInformation
+{
+private static readonly IDictionary PropertyInfos = new
Dictionary
+{
+{"age", typeof(int)},
+{"name", typeof(string)},
+{"lang", typeof(string)},
+{"weight", typeof(float)}
+};
+
+///
+/// Gets the type argument information based on the modern graph.
+/// s
+public static Type GetTypeArguments(MethodInfo method, object[]
parameterValues)
+{
+switch (method.Name)
+{
+case nameof(GraphTraversal
TINKERPOP-1784 Disabled coverage test for features
No point to enabling at this time since all tests aren't really targetted for
migration with this initial body of work. It will be turned on later when all
test are intended for migration.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/7896264e
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/7896264e
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/7896264e
Branch: refs/heads/TINKERPOP-1827
Commit: 7896264edf6a3ea94a2f7ae396da1f1db152311e
Parents: 3b54267
Author: Stephen Mallette
Authored: Fri Nov 10 11:24:47 2017 -0500
Committer: Stephen Mallette
Committed: Tue Nov 21 15:52:52 2017 -0500
--
.../org/apache/tinkerpop/gremlin/process/FeatureCoverageTest.java | 2 ++
1 file changed, 2 insertions(+)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/7896264e/gremlin-test/src/test/java/org/apache/tinkerpop/gremlin/process/FeatureCoverageTest.java
--
diff --git
a/gremlin-test/src/test/java/org/apache/tinkerpop/gremlin/process/FeatureCoverageTest.java
b/gremlin-test/src/test/java/org/apache/tinkerpop/gremlin/process/FeatureCoverageTest.java
index dba865b..cc6e9bd 100644
---
a/gremlin-test/src/test/java/org/apache/tinkerpop/gremlin/process/FeatureCoverageTest.java
+++
b/gremlin-test/src/test/java/org/apache/tinkerpop/gremlin/process/FeatureCoverageTest.java
@@ -35,6 +35,7 @@ import
org.apache.tinkerpop.gremlin.process.traversal.step.sideEffect.AggregateT
import
org.apache.tinkerpop.gremlin.process.traversal.step.sideEffect.GroupCountTest;
import
org.apache.tinkerpop.gremlin.process.traversal.step.sideEffect.InjectTest;
import
org.apache.tinkerpop.gremlin.process.traversal.step.sideEffect.StoreTest;
+import org.junit.Ignore;
import org.junit.Test;
import java.io.BufferedReader;
@@ -65,6 +66,7 @@ public class FeatureCoverageTest {
private static Pattern scenarioName =
Pattern.compile("^\\s*Scenario:\\s*(.*)$");
@Test
+@Ignore("As it stands we won't have all of these tests migrated initially
so there is no point to running this in full - it can be flipped on later")
public void shouldImplementAllProcessTestsAsFeatures() throws Exception {
// TEMPORARY while test framework is under development - all tests
should ultimately be included
Merge branch 'TINKERPOP-1821' into tp32
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/bef43d6c
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/bef43d6c
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/bef43d6c
Branch: refs/heads/TINKERPOP-1489
Commit: bef43d6ca54284bf905883032ce168b91c910e36
Parents: f8c1307 5d68ca1
Author: Marko A. Rodriguez
Authored: Wed Nov 1 08:37:31 2017 -0600
Committer: Marko A. Rodriguez
Committed: Wed Nov 1 08:37:31 2017 -0600
--
CHANGELOG.asciidoc | 1 +
.../upgrade/release-3.2.x-incubating.asciidoc | 10 ++
.../traversal/step/map/GroovyVertexTest.groovy | 10 ++
.../process/traversal/step/map/VertexTest.java | 38
.../gremlin/neo4j/structure/Neo4jVertex.java| 25 ++---
5 files changed, 79 insertions(+), 5 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/bef43d6c/CHANGELOG.asciidoc
--
diff --cc CHANGELOG.asciidoc
index 1d41ab9,78b8ac0..76bf96d
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@@ -23,7 -23,7 +23,8 @@@ image::https://raw.githubusercontent.co
[[release-3-2-7]]
=== TinkerPop 3.2.7 (Release Date: NOT OFFICIALLY RELEASED YET)
+* `TraversalVertexProgram` ``profile()` now accounts for worker iteration in
`GraphComputer` OLAP.
+ * Added a test for self-edges and fixed `Neo4jVertex` to provided repeated
self-edges on `BOTH`.
* Better respected permissions on the `plugins.txt` file and prevented
writing if marked as read-only.
* Added getters for the lambdas held by `LambdaCollectingBarrierStep`,
`LambdaFlatMapStep` and `LambdaSideEffectStep`.
* Fixed an old hack in `GroovyTranslator` and `PythonTranslator` where
`Elements` were being mapped to their id only.
TINKERPOP-1833 Returned Builder object in DetachedEdge.Builder
For some reason a couple of methods were returning void. Didn't see a good
reason for that. CTR
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/ec1cbda2
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/ec1cbda2
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/ec1cbda2
Branch: refs/heads/TINKERPOP-1489
Commit: ec1cbda2b70c8bf2628a853d151c2f5492460852
Parents: ca21532
Author: Stephen Mallette
Authored: Fri Nov 17 18:46:35 2017 -0500
Committer: Stephen Mallette
Committed: Fri Nov 17 18:46:35 2017 -0500
--
CHANGELOG.asciidoc | 1 +
.../gremlin/structure/util/detached/DetachedEdge.java | 6 --
2 files changed, 5 insertions(+), 2 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/ec1cbda2/CHANGELOG.asciidoc
--
diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index df00fa5..918bbd4 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -28,6 +28,7 @@
image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
* Fixed an `ArrayOutOfBoundsException` in `hasId()` for the rare situation
when the provided collection is empty.
* Bump to Netty 4.0.52
* `TraversalVertexProgram` `profile()` now accounts for worker iteration in
`GraphComputer` OLAP.
+* Returned the `Builder` instance from the `DetachedEdge.Builder` methods of
`setOutE` and `setOutV`.
* Added a test for self-edges and fixed `Neo4jVertex` to provided repeated
self-edges on `BOTH`.
* Better respected permissions on the `plugins.txt` file and prevented writing
if marked as read-only.
* Added getters for the lambdas held by `LambdaCollectingBarrierStep`,
`LambdaFlatMapStep` and `LambdaSideEffectStep`.
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/ec1cbda2/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/detached/DetachedEdge.java
--
diff --git
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/detached/DetachedEdge.java
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/detached/DetachedEdge.java
index 367dbc9..763dbb2 100644
---
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/detached/DetachedEdge.java
+++
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/detached/DetachedEdge.java
@@ -184,12 +184,14 @@ public class DetachedEdge extends DetachedElement
implements Edge {
return this;
}
-public void setOutV(final DetachedVertex v) {
+public Builder setOutV(final DetachedVertex v) {
e.outVertex = v;
+return this;
}
-public void setInV(final DetachedVertex v) {
+public Builder setInV(final DetachedVertex v) {
e.inVertex = v;
+return this;
}
public DetachedEdge create() {
minor fix in CHANGELOG.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/e1e7632c
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/e1e7632c
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/e1e7632c
Branch: refs/heads/TINKERPOP-1489
Commit: e1e7632cfa92cae2b54f03fc497afb440bfc9f55
Parents: 74ca03d
Author: Marko A. Rodriguez
Authored: Mon Nov 6 16:21:51 2017 -0700
Committer: Marko A. Rodriguez
Committed: Mon Nov 6 16:21:51 2017 -0700
--
CHANGELOG.asciidoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/e1e7632c/CHANGELOG.asciidoc
--
diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index 128d13d..ffd9de5 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -25,7 +25,7 @@
image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
* Fixed an `ArrayOutOfBoundsException` in `hasId()` for the rare situation
when the provided collection is empty.
* Bump to Netty 4.0.52
-* `TraversalVertexProgram` ``profile()` now accounts for worker iteration in
`GraphComputer` OLAP.
+* `TraversalVertexProgram` `profile()` now accounts for worker iteration in
`GraphComputer` OLAP.
* Added a test for self-edges and fixed `Neo4jVertex` to provided repeated
self-edges on `BOTH`.
* Better respected permissions on the `plugins.txt` file and prevented writing
if marked as read-only.
* Added getters for the lambdas held by `LambdaCollectingBarrierStep`,
`LambdaFlatMapStep` and `LambdaSideEffectStep`.
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/2434a649/gremlin-javascript/src/main/javascript/gremlin-javascript/test/unit/exports-test.js
--
diff --git
a/gremlin-javascript/src/main/javascript/gremlin-javascript/test/unit/exports-test.js
b/gremlin-javascript/src/main/javascript/gremlin-javascript/test/unit/exports-test.js
new file mode 100644
index 000..3864a4a
--- /dev/null
+++
b/gremlin-javascript/src/main/javascript/gremlin-javascript/test/unit/exports-test.js
@@ -0,0 +1,73 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/**
+ * @author Jorge Bay Gondra
+ */
+'use strict';
+
+var assert = require('assert');
+var glvModule = require('../../');
+
+describe('API', function () {
+ it('should export fields under process', function () {
+assert.ok(glvModule);
+assert.ok(glvModule.process);
+assert.strictEqual(typeof glvModule.process.Bytecode, 'function');
+assert.strictEqual(typeof glvModule.process.EnumValue, 'function');
+assert.strictEqual(typeof glvModule.process.P, 'function');
+assert.strictEqual(typeof glvModule.process.Traversal, 'function');
+assert.strictEqual(typeof glvModule.process.TraversalSideEffects,
'function');
+assert.strictEqual(typeof glvModule.process.TraversalStrategies,
'function');
+assert.strictEqual(typeof glvModule.process.TraversalStrategy, 'function');
+assert.strictEqual(typeof glvModule.process.Traverser, 'function');
+assert.strictEqual(typeof glvModule.process.GraphTraversal, 'function');
+assert.strictEqual(typeof glvModule.process.GraphTraversalSource,
'function');
+assert.strictEqual(typeof glvModule.process.barrier, 'object');
+assert.strictEqual(typeof glvModule.process.cardinality, 'object');
+assert.strictEqual(typeof glvModule.process.column, 'object');
+assert.strictEqual(typeof glvModule.process.direction, 'object');
+assert.strictEqual(typeof glvModule.process.direction.both, 'object');
+assert.strictEqual(glvModule.process.direction.both.elementName, 'BOTH');
+assert.strictEqual(typeof glvModule.process.operator, 'object');
+assert.strictEqual(typeof glvModule.process.order, 'object');
+assert.strictEqual(typeof glvModule.process.pop, 'object');
+assert.strictEqual(typeof glvModule.process.scope, 'object');
+assert.strictEqual(typeof glvModule.process.t, 'object');
+assert.ok(glvModule.process.statics);
+ });
+ it('should expose fields under structure', function () {
+assert.ok(glvModule.structure);
+assert.ok(glvModule.structure.io);
+assert.strictEqual(typeof glvModule.structure.io.GraphSONReader,
'function');
+assert.strictEqual(typeof glvModule.structure.io.GraphSONWriter,
'function');
+assert.strictEqual(typeof glvModule.structure.Edge, 'function');
+assert.strictEqual(typeof glvModule.structure.Graph, 'function');
+assert.strictEqual(typeof glvModule.structure.Path, 'function');
+assert.strictEqual(typeof glvModule.structure.Property, 'function');
+assert.strictEqual(typeof glvModule.structure.Vertex, 'function');
+assert.strictEqual(typeof glvModule.structure.VertexProperty, 'function');
+ });
+ it('should expose fields under driver', function () {
+assert.ok(glvModule.driver);
+assert.strictEqual(typeof glvModule.driver.RemoteConnection, 'function');
+assert.strictEqual(typeof glvModule.driver.RemoteStrategy, 'function');
+assert.strictEqual(typeof glvModule.driver.RemoteTraversal, 'function');
+ });
+});
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/2434a649/gremlin-javascript/src/main/javascript/gremlin-javascript/test/unit/graphson-test.js
--
diff --git
a/gremlin-javascript/src/main/javascript/gremlin-javascript/test/unit/graphson-test.js
b/gremlin-javascript/src/main/javascript/gremlin-javascript/test/unit/graphson-test.js
new file mode 100644
index 000..ed5beb3
--- /dev/null
+++
b/gremlin-javascript/src/main/javascript/gremlin-javascript/test/unit/graphson-test.js
@@ -0,0 +1,112 @@
+/*
+ * Licensed to the Apache
fix race condition in TinkerIndex
My colleage @fabsx00 discovered a race condition in tinkergraph's index
creation. He fixed it by simply replacing parallelStream with stream. Quoting
his analysis:
So, reading the code, you see that this.put is called in parallel, but that
method seems to contain a race as get is called on the index, checked for null,
and a subsequent write is performed. It still seems like using stream here
fixes the problem we've been seeing, and the performance hit is not significant.
Ticket: https://issues.apache.org/jira/browse/TINKERPOP-1830
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/7be8a0f2
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/7be8a0f2
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/7be8a0f2
Branch: refs/heads/TINKERPOP-1489
Commit: 7be8a0f25672e20fb0fef58075c2a201501f0578
Parents: ac99e3c
Author: Michael Pollmeier
Authored: Sun Nov 12 12:32:37 2017 +1300
Committer: Michael Pollmeier
Committed: Tue Nov 14 14:22:40 2017 +1300
--
CHANGELOG.asciidoc | 1 +
.../gremlin/tinkergraph/structure/TinkerIndex.java | 11 +--
2 files changed, 6 insertions(+), 6 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/7be8a0f2/CHANGELOG.asciidoc
--
diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index ffd9de5..cd5dc38 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -23,6 +23,7 @@
image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
[[release-3-2-7]]
=== TinkerPop 3.2.7 (Release Date: NOT OFFICIALLY RELEASED YET)
+* Fixed a race condition in `TinkerIndex`.
* Fixed an `ArrayOutOfBoundsException` in `hasId()` for the rare situation
when the provided collection is empty.
* Bump to Netty 4.0.52
* `TraversalVertexProgram` `profile()` now accounts for worker iteration in
`GraphComputer` OLAP.
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/7be8a0f2/tinkergraph-gremlin/src/main/java/org/apache/tinkerpop/gremlin/tinkergraph/structure/TinkerIndex.java
--
diff --git
a/tinkergraph-gremlin/src/main/java/org/apache/tinkerpop/gremlin/tinkergraph/structure/TinkerIndex.java
b/tinkergraph-gremlin/src/main/java/org/apache/tinkerpop/gremlin/tinkergraph/structure/TinkerIndex.java
index 69afb39..f5872cf 100644
---
a/tinkergraph-gremlin/src/main/java/org/apache/tinkerpop/gremlin/tinkergraph/structure/TinkerIndex.java
+++
b/tinkergraph-gremlin/src/main/java/org/apache/tinkerpop/gremlin/tinkergraph/structure/TinkerIndex.java
@@ -48,17 +48,16 @@ final class TinkerIndex {
protected void put(final String key, final Object value, final T element) {
Map keyMap = this.index.get(key);
-if (keyMap == null) {
-keyMap = new ConcurrentHashMap<>();
-this.index.put(key, keyMap);
+if (null == keyMap) {
+this.index.putIfAbsent(key, new ConcurrentHashMap());
+keyMap = this.index.get(key);
}
Set objects = keyMap.get(value);
if (null == objects) {
-objects = new HashSet<>();
-keyMap.put(value, objects);
+keyMap.putIfAbsent(value, ConcurrentHashMap.newKeySet());
+objects = keyMap.get(value);
}
objects.add(element);
-
}
public List get(final String key, final Object value) {
TINKERPOP-1801: fix test failures.
TinkerPopComputer does not call ComputerPorgram.execute methods if spit has no
vertices.
For example: modern graph has 6 vertices but computer has 8 cores, there will
be two empty splits.
TraversalVertexProgram use execute step to setup next profiling step, so it is
not setup side effects properly for empty splits.
So tests did not filed in docker but failed on computer with more then 6 cores.
The fix add check that profile side effects were regester properly before using
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/b49f751e
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/b49f751e
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/b49f751e
Branch: refs/heads/TINKERPOP-1489
Commit: b49f751ec4755fa026d6705511a2448e543cb430
Parents: a9ca781
Author: artemaliev
Authored: Mon Oct 30 16:10:20 2017 +0300
Committer: artemaliev
Committed: Mon Oct 30 16:20:12 2017 +0300
--
.../process/computer/traversal/MemoryTraversalSideEffects.java | 5 +
.../process/computer/traversal/TraversalVertexProgram.java | 4 +++-
2 files changed, 8 insertions(+), 1 deletion(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/b49f751e/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/computer/traversal/MemoryTraversalSideEffects.java
--
diff --git
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/computer/traversal/MemoryTraversalSideEffects.java
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/computer/traversal/MemoryTraversalSideEffects.java
index bf9f8c0..deea2a5 100644
---
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/computer/traversal/MemoryTraversalSideEffects.java
+++
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/computer/traversal/MemoryTraversalSideEffects.java
@@ -169,6 +169,11 @@ public final class MemoryTraversalSideEffects implements
TraversalSideEffects {
memoryTraversalSideEffects.phase = phase;
}
+public static ProgramPhase getMemorySideEffectsPhase(final
Traversal.Admin traversal) {
+return traversal.getSideEffects() instanceof
MemoryTraversalSideEffects ?
+
((MemoryTraversalSideEffects)traversal.getSideEffects()).phase:null;
+}
+
public static Set getMemoryComputeKeys(final
Traversal.Admin traversal) {
final Set keys = new HashSet<>();
final TraversalSideEffects sideEffects =
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/b49f751e/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/computer/traversal/TraversalVertexProgram.java
--
diff --git
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/computer/traversal/TraversalVertexProgram.java
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/computer/traversal/TraversalVertexProgram.java
index 7472b85..f9a1e34 100644
---
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/computer/traversal/TraversalVertexProgram.java
+++
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/computer/traversal/TraversalVertexProgram.java
@@ -376,7 +376,9 @@ public final class TraversalVertexProgram implements
VertexProgram
Update Javascript GLV
Address feedback and provide maven integration:
- Reorganize gremlin-javascript into node.js project
- Simplify javascript code generators
- Generate package.json to match project version
- Introduce Promise factory for third-party promise library integration (ie:
bluebird)
- Use toList() and next() traversal methods
- Include Remote connection implementation
- Fix enum casing
- Use Maven nodejs plugin
- .gitignore and .npmignore at gremlin-javascript level
- Run integration tests using a gremlin-server instance
- Add gremlin-javascript doc in gremlin-variants.asciidoc
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/2434a649
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/2434a649
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/2434a649
Branch: refs/heads/TINKERPOP-1489
Commit: 2434a64937d8936da6e2f0e51c0ae77c9ead0917
Parents: 3e4cb18
Author: Jorge Bay Gondra
Authored: Tue Jun 6 15:05:14 2017 +0200
Committer: Jorge Bay Gondra
Committed: Wed Nov 22 15:13:18 2017 +0100
--
docs/src/reference/gremlin-variants.asciidoc| 79 +-
gremlin-javascript/pom.xml | 171 +-
.../javascript/GenerateGremlinJavascript.groovy | 36 +
.../GraphTraversalSourceGenerator.groovy| 226 +-
.../javascript/PackageJsonGenerator.groovy | 72 +
.../gremlin/javascript/SymbolHelper.groovy | 50 +
.../javascript/TraversalSourceGenerator.groovy | 437 ++--
.../javascript/GenerateGremlinJavascript.java | 32 -
.../gremlin/javascript/jsr223/SymbolHelper.java | 59 -
.../javascript/gremlin-javascript/.gitignore|5 +
.../javascript/gremlin-javascript/.npmignore| 26 +
.../javascript/gremlin-javascript/README.md | 39 +
.../driver/remote-connection.js | 107 -
.../main/javascript/gremlin-javascript/index.js | 113 +-
.../lib/driver/driver-remote-connection.js | 200 ++
.../lib/driver/remote-connection.js | 84 +
.../gremlin-javascript/lib/process/bytecode.js | 99 +
.../lib/process/graph-traversal.js | 2095 ++
.../lib/process/traversal-strategy.js | 88 +
.../gremlin-javascript/lib/process/traversal.js | 236 ++
.../gremlin-javascript/lib/structure/graph.js | 138 ++
.../lib/structure/io/graph-serializer.js| 398
.../javascript/gremlin-javascript/lib/utils.js | 62 +
.../javascript/gremlin-javascript/package.json | 36 +
.../process/graph-traversal.js | 2016 -
.../gremlin-javascript/process/traversal.js | 392
.../gremlin-javascript/structure/graph.js | 157 --
.../structure/io/graph-serializer.js| 415
.../test/integration/remote-connection-tests.js | 64 +
.../test/integration/traversal-test.js | 71 +
.../test/unit/exports-test.js | 73 +
.../test/unit/graphson-test.js | 112 +
.../test/unit/traversal-test.js | 119 +
.../javascript/gremlin-javascript/helper.js | 84 -
.../gremlin-javascript/test-exports.js | 87 -
.../gremlin-javascript/test-graphson.js | 108 -
.../gremlin-javascript/test-traversal.js| 69 -
pom.xml |4 +
38 files changed, 4626 insertions(+), 4033 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/2434a649/docs/src/reference/gremlin-variants.asciidoc
--
diff --git a/docs/src/reference/gremlin-variants.asciidoc
b/docs/src/reference/gremlin-variants.asciidoc
index c9ba893..dabf3c2 100644
--- a/docs/src/reference/gremlin-variants.asciidoc
+++ b/docs/src/reference/gremlin-variants.asciidoc
@@ -392,12 +392,12 @@
g.V().Repeat(Out()).Times(2).Values("name").Fold().ToList()
=== Bindings
-When a traversal bytecode is sent over a `IRemoteConnection` (e.g. Gremlin
Server), it will be translated, compiled,
-and then executed. If the same traversal is sent again, translation and
compilation can be skipped as the previously
+When a traversal bytecode is sent over a `IRemoteConnection` (e.g. Gremlin
Server), it will be translated, compiled,
+and then executed. If the same traversal is sent again, translation and
compilation can be skipped as the previously
compiled version should be cached. Many traversals are unique up to some
parameterization. For instance,
`g.V(1).Out("created").Values("name")` is considered different from
`g.V(4).Out("created").Values("Name")`
-as they have different script "string" representations. However,
`g.V(x).Out("created").Values("name")` with bindings of
-`{x : 1}` and `{x : 4}` are
TINKERPOP-1489 Cleaned up pom
Removed some weird characters in license and bumped version to 3.2.5-SNAPSHOT
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/747ca731
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/747ca731
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/747ca731
Branch: refs/heads/TINKERPOP-1489
Commit: 747ca7316050e5b4119d8598552937f7db022950
Parents: 385c6de
Author: Stephen Mallette
Authored: Thu May 18 12:47:48 2017 -0400
Committer: Jorge Bay Gondra
Committed: Wed Nov 22 15:07:36 2017 +0100
--
gremlin-javascript/pom.xml | 35 ---
1 file changed, 16 insertions(+), 19 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/747ca731/gremlin-javascript/pom.xml
--
diff --git a/gremlin-javascript/pom.xml b/gremlin-javascript/pom.xml
index 387e628..b9b78cc 100644
--- a/gremlin-javascript/pom.xml
+++ b/gremlin-javascript/pom.xml
@@ -1,22 +1,19 @@
-
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
http://maven.apache.org/POM/4.0.0;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
@@ -24,7 +21,7 @@
org.apache.tinkerpop
tinkerpop
-3.2.3-SNAPSHOT
+3.2.5-SNAPSHOT
gremlin-javascript
Apache TinkerPop :: Gremlin Javascript
changed the SubgraphTest to use process API in assertions instead of structure
API. This is in line with the current refactor trend to make sure the process
API (and test suite) does not leak into the structure API. We need clear
boundaries between the two APIs.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/797937eb
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/797937eb
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/797937eb
Branch: refs/heads/TINKERPOP-1489
Commit: 797937eb0c0b0fa3bc177925f4e584dfd53d8f13
Parents: f2b4fb9
Author: Marko A. Rodriguez
Authored: Thu Nov 2 10:07:10 2017 -0600
Committer: Marko A. Rodriguez
Committed: Thu Nov 2 10:07:10 2017 -0600
--
.../process/traversal/step/sideEffect/SubgraphTest.java | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/797937eb/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/sideEffect/SubgraphTest.java
--
diff --git
a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/sideEffect/SubgraphTest.java
b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/sideEffect/SubgraphTest.java
index 9f2a662..51d8870 100644
---
a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/sideEffect/SubgraphTest.java
+++
b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/sideEffect/SubgraphTest.java
@@ -71,15 +71,15 @@ public abstract class SubgraphTest extends
AbstractGremlinProcessTest {
assertVertexEdgeCounts(subgraph, 3, 2);
subgraph.edges().forEachRemaining(e -> {
assertEquals("knows", e.label());
-assertEquals("marko", e.outVertex().values("name").next());
-assertEquals(new Integer(29),
e.outVertex().values("age").next());
-assertEquals("person", e.outVertex().label());
+assertEquals("marko", g.E(e).outV().values("name").next());
+assertEquals(new Integer(29),
g.E(e).outV().values("age").next());
+assertEquals("person", g.E(e).outV().label().next());
-final String name = e.inVertex().values("name").next();
+final String name = g.E(e).inV().values("name").next();
if (name.equals("vadas"))
-assertEquals(0.5d, e.value("weight"), 0.0001d);
+assertEquals(0.5d, g.E(e).values("weight").next(),
0.0001d);
else if (name.equals("josh"))
-assertEquals(1.0d, e.value("weight"), 0.0001d);
+assertEquals(1.0d, g.E(e).values("weight").next(),
0.0001d);
else
fail("There's a vertex present that should not be in the
subgraph");
});
TINKERPOP-1829 Made detachment configurable in EventStrategy
The default behavior is representative of how EventStrategy currently works so
there is no breaking change here. In the interest of avoiding breaking changes,
I didn't want to shift the API to make the change cleaner and thus created
TINKERPOP-1831 for future consideration.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/a5f48d91
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/a5f48d91
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/a5f48d91
Branch: refs/heads/TINKERPOP-1489
Commit: a5f48d91069d10fe8abdcbb0559315bae10ead5f
Parents: ac99e3c
Author: Stephen Mallette
Authored: Fri Nov 10 06:46:10 2017 -0500
Committer: Stephen Mallette
Committed: Fri Nov 10 06:46:10 2017 -0500
--
CHANGELOG.asciidoc |1 +
docs/src/reference/the-traversal.asciidoc | 12 +
.../upgrade/release-3.2.x-incubating.asciidoc | 10 +
.../process/traversal/step/filter/DropStep.java | 13 +-
.../process/traversal/step/map/AddEdgeStep.java |4 +-
.../traversal/step/map/AddVertexStartStep.java |4 +-
.../traversal/step/map/AddVertexStep.java |4 +-
.../step/sideEffect/AddPropertyStep.java| 21 +-
.../strategy/decoration/EventStrategy.java | 68 ++
.../util/reference/ReferenceProperty.java |2 +-
.../util/reference/ReferenceVertexProperty.java |2 +-
.../decoration/EventStrategyProcessTest.java| 1046 +-
12 files changed, 1165 insertions(+), 22 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a5f48d91/CHANGELOG.asciidoc
--
diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index ffd9de5..3a2b5b5 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -23,6 +23,7 @@
image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
[[release-3-2-7]]
=== TinkerPop 3.2.7 (Release Date: NOT OFFICIALLY RELEASED YET)
+* Provided a method to configure detachment options with `EventStrategy`.
* Fixed an `ArrayOutOfBoundsException` in `hasId()` for the rare situation
when the provided collection is empty.
* Bump to Netty 4.0.52
* `TraversalVertexProgram` `profile()` now accounts for worker iteration in
`GraphComputer` OLAP.
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a5f48d91/docs/src/reference/the-traversal.asciidoc
--
diff --git a/docs/src/reference/the-traversal.asciidoc
b/docs/src/reference/the-traversal.asciidoc
index 68773f5..a37a8bc 100644
--- a/docs/src/reference/the-traversal.asciidoc
+++ b/docs/src/reference/the-traversal.asciidoc
@@ -2853,6 +2853,18 @@ WARNING: `EventStrategy` is not meant for usage in
tracking global mutations acr
words, a mutation in one JVM process is not raised as an event in a different
JVM process. In addition, events are
not raised when mutations occur outside of the `Traversal` context.
+Another default configuration for `EventStrategy` revolves around the concept
of "detachment". Graph elements are
+detached from the graph as copies when passed to referring mutation events.
Therefore, when adding a new `Vertex` in
+TinkerGraph, the event will not contain a `TinkerVertex` but will instead
include a `DetachedVertex`. This behavior
+can be modified with the `detach()` method on the `EventStrategy.Builder`
which accepts the following inputs: `null`
+meaning no detachment and the return of the original element,
`DetachedFactory` which is the same as the default
+behavior, and `ReferenceFactory` which will return "reference" elements only
with no properties.
+
+IMPORTANT: If setting the `detach()` configuration to `null`, be aware that
transactional graphs will likely create a
+new transaction immediately following the `commit()` that raises the events.
The graph elements raised in the events
+may also not behave as "snapshots" at the time of their creation as they are
"live" references to actual database
+elements.
+
=== PartitionStrategy
image::partition-graph.png[width=325]
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a5f48d91/docs/src/upgrade/release-3.2.x-incubating.asciidoc
--
diff --git a/docs/src/upgrade/release-3.2.x-incubating.asciidoc
b/docs/src/upgrade/release-3.2.x-incubating.asciidoc
index c09f9c6..1589069 100644
--- a/docs/src/upgrade/release-3.2.x-incubating.asciidoc
+++ b/docs/src/upgrade/release-3.2.x-incubating.asciidoc
@@ -29,6 +29,16 @@
image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
Please see the
fixed up a self-edge test and Neo4jVertex to support repeat edges on BOTH.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/5d68ca17
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/5d68ca17
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/5d68ca17
Branch: refs/heads/TINKERPOP-1489
Commit: 5d68ca17160e4977eddfdb688f93d37440897957
Parents: 7f640f7
Author: Marko A. Rodriguez
Authored: Mon Oct 30 15:28:37 2017 -0600
Committer: Marko A. Rodriguez
Committed: Mon Oct 30 15:28:37 2017 -0600
--
CHANGELOG.asciidoc | 1 +
.../upgrade/release-3.2.x-incubating.asciidoc | 10
.../process/traversal/step/map/VertexTest.java | 2 ++
.../gremlin/neo4j/structure/Neo4jVertex.java| 25
4 files changed, 33 insertions(+), 5 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/5d68ca17/CHANGELOG.asciidoc
--
diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index 8e7657c..78b8ac0 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -23,6 +23,7 @@
image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
[[release-3-2-7]]
=== TinkerPop 3.2.7 (Release Date: NOT OFFICIALLY RELEASED YET)
+* Added a test for self-edges and fixed `Neo4jVertex` to provided repeated
self-edges on `BOTH`.
* Better respected permissions on the `plugins.txt` file and prevented writing
if marked as read-only.
* Added getters for the lambdas held by `LambdaCollectingBarrierStep`,
`LambdaFlatMapStep` and `LambdaSideEffectStep`.
* Fixed an old hack in `GroovyTranslator` and `PythonTranslator` where
`Elements` were being mapped to their id only.
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/5d68ca17/docs/src/upgrade/release-3.2.x-incubating.asciidoc
--
diff --git a/docs/src/upgrade/release-3.2.x-incubating.asciidoc
b/docs/src/upgrade/release-3.2.x-incubating.asciidoc
index 41cff47..60fd320 100644
--- a/docs/src/upgrade/release-3.2.x-incubating.asciidoc
+++ b/docs/src/upgrade/release-3.2.x-incubating.asciidoc
@@ -167,6 +167,16 @@ implementations can simply add the new method and override
its behavior. The old
See: link:https://issues.apache.org/jira/browse/TINKERPOP-1798[TINKERPOP-1798]
+=== Upgrading for Providers
+
+ Direction.BOTH Requires Duplication of Self-Edges
+
+Prior to this release, there was no semantic check to determine whether a
self-edge (e.g. `e[1][2-self->2]`) would be returned
+twice on a `BOTH`. The semantics have been specified now in the test suite
where the edge should be returned twice as it
+is both an incoming edge and an outgoing edge.
+
+See: link:https://issues.apache.org/jira/browse/TINKERPOP-1821[TINKERPOP-1821]
+
== TinkerPop 3.2.6
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/5d68ca17/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/VertexTest.java
--
diff --git
a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/VertexTest.java
b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/VertexTest.java
index cb39884..8a57535 100644
---
a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/VertexTest.java
+++
b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/VertexTest.java
@@ -575,6 +575,7 @@ public abstract class VertexTest extends
AbstractGremlinProcessTest {
}
@Test
+@FeatureRequirement(featureClass = Graph.Features.EdgeFeatures.class,
feature = Graph.Features.EdgeFeatures.FEATURE_ADD_EDGES)
public void g_V_bothEXselfX() {
g.addV().as("a").addE("self").to("a").iterate();
final Traversal traversal = get_g_V_bothEXselfX();
@@ -586,6 +587,7 @@ public abstract class VertexTest extends
AbstractGremlinProcessTest {
}
@Test
+@FeatureRequirement(featureClass = Graph.Features.EdgeFeatures.class,
feature = Graph.Features.EdgeFeatures.FEATURE_ADD_EDGES)
public void g_V_bothXselfX() {
g.addV().as("a").addE("self").to("a").iterate();
final Traversal traversal = get_g_V_bothXselfX();
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/5d68ca17/neo4j-gremlin/src/main/java/org/apache/tinkerpop/gremlin/neo4j/structure/Neo4jVertex.java
--
diff --git
a/neo4j-gremlin/src/main/java/org/apache/tinkerpop/gremlin/neo4j/structure/Neo4jVertex.java
Invoke predicates and enums
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/72174e3b
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/72174e3b
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/72174e3b
Branch: refs/heads/TINKERPOP-1827
Commit: 72174e3b63c7fc46a73bbf6eb64f55177dc5cc90
Parents: 7db8cb6
Author: Jorge Bay Gondra
Authored: Mon Oct 30 15:14:38 2017 +0100
Committer: Jorge Bay Gondra
Committed: Tue Nov 21 11:46:18 2017 +0100
--
.../StaticTraversalParameter.cs | 15 +--
.../TraversalEnumParameter.cs | 98
.../TraversalEvaluationTests.cs | 16 +++-
.../TraversalEvaluation/TraversalParser.cs | 79 ++--
.../TraversalPredicateParameter.cs | 26 --
.../TraversalTokenParameter.cs | 71 --
6 files changed, 188 insertions(+), 117 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/72174e3b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/StaticTraversalParameter.cs
--
diff --git
a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/StaticTraversalParameter.cs
b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/StaticTraversalParameter.cs
index 8e0fbf9..dca691b 100644
---
a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/StaticTraversalParameter.cs
+++
b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/StaticTraversalParameter.cs
@@ -30,9 +30,11 @@ namespace
Gremlin.Net.IntegrationTest.Gherkin.TraversalEvaluation
{
internal class StaticTraversalParameter : ITokenParameter,
IEquatable
{
+private readonly string _traversalText;
+
public bool Equals(StaticTraversalParameter other)
{
-return Parts.SequenceEqual(other.Parts);
+return Tokens.SequenceEqual(other.Tokens);
}
public override bool Equals(object obj)
@@ -45,12 +47,12 @@ namespace
Gremlin.Net.IntegrationTest.Gherkin.TraversalEvaluation
public override int GetHashCode()
{
-return Parts != null ? Parts.GetHashCode() : 0;
+return Tokens != null ? Tokens.GetHashCode() : 0;
}
public object GetValue()
{
-throw new NotImplementedException();
+return TraversalParser.GetTraversalFromTokens(Tokens, null,
_traversalText);
}
public Type GetParameterType()
@@ -58,11 +60,12 @@ namespace
Gremlin.Net.IntegrationTest.Gherkin.TraversalEvaluation
return typeof(ITraversal);
}
-public IList Parts { get; }
+public IList Tokens { get; }
-public StaticTraversalParameter(IList parts)
+public StaticTraversalParameter(IList tokens, string
traversalText)
{
-Parts = parts;
+_traversalText = traversalText;
+Tokens = tokens;
}
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/72174e3b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/TraversalEnumParameter.cs
--
diff --git
a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/TraversalEnumParameter.cs
b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/TraversalEnumParameter.cs
new file mode 100644
index 000..663928a
--- /dev/null
+++
b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/TraversalEnumParameter.cs
@@ -0,0 +1,98 @@
+#region License
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#endregion
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using
Get property information from modern graph
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/7db8cb6a
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/7db8cb6a
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/7db8cb6a
Branch: refs/heads/TINKERPOP-1827
Commit: 7db8cb6ac4d4342bef2dae56cee226fa544dd655
Parents: 74a4f8a
Author: Jorge Bay Gondra
Authored: Fri Oct 27 14:18:32 2017 +0200
Committer: Jorge Bay Gondra
Committed: Tue Nov 21 11:46:18 2017 +0100
--
.../ModernGraphTypeInformation.cs | 70
.../TraversalEvaluationTests.cs | 10 ++-
.../TraversalEvaluation/TraversalParser.cs | 24 ---
3 files changed, 92 insertions(+), 12 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/7db8cb6a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/ModernGraphTypeInformation.cs
--
diff --git
a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/ModernGraphTypeInformation.cs
b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/ModernGraphTypeInformation.cs
new file mode 100644
index 000..bce3449
--- /dev/null
+++
b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/ModernGraphTypeInformation.cs
@@ -0,0 +1,70 @@
+#region License
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#endregion
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+using System.Reflection;
+using Gremlin.Net.Process.Traversal;
+
+namespace Gremlin.Net.IntegrationTest.Gherkin.TraversalEvaluation
+{
+internal class ModernGraphTypeInformation
+{
+private static readonly IDictionary PropertyInfos = new
Dictionary
+{
+{"age", typeof(int)},
+{"name", typeof(string)},
+{"lang", typeof(string)},
+{"weight", typeof(float)}
+};
+
+///
+/// Gets the type argument information based on the modern graph.
+/// s
+public static Type GetTypeArguments(MethodInfo method, object[]
parameterValues)
+{
+switch (method.Name)
+{
+case nameof(GraphTraversal.ValueMap):
+case nameof(GraphTraversal.Values) when
parameterValues.Length == 1:
+// The parameter contains the element property names
+var properties = ((IEnumerable)
parameterValues[parameterValues.Length - 1]).Cast();
+var types =
properties.Select(GetElementPropertyType).ToArray();
+if (types.Distinct().Count() == 1)
+{
+return types[0];
+}
+return typeof(object);
+}
+return null;
+}
+
+private static Type GetElementPropertyType(string name)
+{
+PropertyInfos.TryGetValue(name, out var type);
+return type;
+}
+}
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/7db8cb6a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/TraversalEvaluationTests.cs
--
diff --git
a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/TraversalEvaluationTests.cs
b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/TraversalEvaluationTests.cs
index 0949ad5..4e3ec42 100644
---
a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/TraversalEvaluationTests.cs
+++
b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/TraversalEvaluationTests.cs
@@ -77,15 +77,19 @@ namespace
Gherkin-based test runner
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/d000fce0
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/d000fce0
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/d000fce0
Branch: refs/heads/TINKERPOP-1827
Commit: d000fce0006552f537cb3e580f4c70c60c895e88
Parents: e03cbd2
Author: Jorge Bay Gondra
Authored: Mon Sep 25 17:27:13 2017 +0200
Committer: Jorge Bay Gondra
Committed: Tue Nov 21 11:46:17 2017 +0100
--
.../Gherkin/Attributes/BddAttribute.cs | 37 ++
.../Gherkin/Attributes/GivenAttribute.cs| 33 ++
.../Gherkin/Attributes/ThenAttribute.cs | 33 ++
.../Gherkin/Attributes/WhenAttribute.cs | 33 ++
.../Gherkin/CommonSteps.cs | 156 +
.../Gherkin/GherkinTestRunner.cs| 335 +++
.../Gherkin/StepDefinition.cs | 39 +++
.../Gherkin/TraversalTranslations.cs| 102 ++
.../Gremlin.Net.IntegrationTest.csproj | 13 +-
.../RemoteConnectionFactory.cs | 18 +-
10 files changed, 790 insertions(+), 9 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/d000fce0/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Attributes/BddAttribute.cs
--
diff --git
a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Attributes/BddAttribute.cs
b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Attributes/BddAttribute.cs
new file mode 100644
index 000..1e9a242
--- /dev/null
+++
b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Attributes/BddAttribute.cs
@@ -0,0 +1,37 @@
+#region License
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#endregion
+
+using System;
+
+namespace Gremlin.Net.IntegrationTest.Gherkin.Attributes
+{
+internal class BddAttribute : Attribute
+{
+public string Message { get; }
+
+internal BddAttribute(string message)
+{
+Message = message;
+}
+}
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/d000fce0/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Attributes/GivenAttribute.cs
--
diff --git
a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Attributes/GivenAttribute.cs
b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Attributes/GivenAttribute.cs
new file mode 100644
index 000..7266145
--- /dev/null
+++
b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Attributes/GivenAttribute.cs
@@ -0,0 +1,33 @@
+#region License
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#endregion
+
+namespace Gremlin.Net.IntegrationTest.Gherkin.Attributes
+{
+internal class GivenAttribute : BddAttribute
+{
+public GivenAttribute(string message) : base(message)
+{
+
+}
+}
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/d000fce0/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Attributes/ThenAttribute.cs
Decimal serialization support and avoid dynamic conversion
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/0279f282
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/0279f282
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/0279f282
Branch: refs/heads/TINKERPOP-1827
Commit: 0279f2823b2ad7029dab7c7ccf5fd02d25f90fd0
Parents: a5f1e17
Author: Jorge Bay Gondra
Authored: Tue Nov 21 11:39:38 2017 +0100
Committer: Jorge Bay Gondra
Committed: Tue Nov 21 11:46:19 2017 +0100
--
.../Process/Traversal/DefaultTraversal.cs | 11 +--
.../Structure/IO/GraphSON/DecimalConverter.cs | 34
.../Structure/IO/GraphSON/GraphSONReader.cs | 15 +++--
.../Structure/IO/GraphSON/GraphSONWriter.cs | 1 +
.../Structure/IO/GraphSON/NumberConverter.cs| 3 +-
5 files changed, 58 insertions(+), 6 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/0279f282/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/DefaultTraversal.cs
--
diff --git
a/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/DefaultTraversal.cs
b/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/DefaultTraversal.cs
index 7e0f37b..052c33a 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/DefaultTraversal.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/DefaultTraversal.cs
@@ -91,9 +91,16 @@ namespace Gremlin.Net.Process.Traversal
}
///
-public E Current => (E)TraverserEnumerator.Current?.Object;
+public E Current => (E) GetCurrent();
-object IEnumerator.Current => Current;
+///
+object IEnumerator.Current => GetCurrent();
+
+private object GetCurrent()
+{
+// Use the object (not dynamic) result
+return TraverserEnumerator.Current?.Object;
+}
private IEnumerator GetTraverserEnumerator()
{
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/0279f282/gremlin-dotnet/src/Gremlin.Net/Structure/IO/GraphSON/DecimalConverter.cs
--
diff --git
a/gremlin-dotnet/src/Gremlin.Net/Structure/IO/GraphSON/DecimalConverter.cs
b/gremlin-dotnet/src/Gremlin.Net/Structure/IO/GraphSON/DecimalConverter.cs
new file mode 100644
index 000..82cc646
--- /dev/null
+++ b/gremlin-dotnet/src/Gremlin.Net/Structure/IO/GraphSON/DecimalConverter.cs
@@ -0,0 +1,34 @@
+#region License
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#endregion
+
+using System;
+
+namespace Gremlin.Net.Structure.IO.GraphSON
+{
+internal class DecimalConverter : NumberConverter
+{
+protected override string GraphSONTypeName => "BigDecimal";
+protected override Type HandledType => typeof(decimal);
+protected override string Prefix => "gx";
+}
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/0279f282/gremlin-dotnet/src/Gremlin.Net/Structure/IO/GraphSON/GraphSONReader.cs
--
diff --git
a/gremlin-dotnet/src/Gremlin.Net/Structure/IO/GraphSON/GraphSONReader.cs
b/gremlin-dotnet/src/Gremlin.Net/Structure/IO/GraphSON/GraphSONReader.cs
index aa1fc48..60bafed 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Structure/IO/GraphSON/GraphSONReader.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Structure/IO/GraphSON/GraphSONReader.cs
@@ -48,7 +48,8 @@ namespace Gremlin.Net.Structure.IO.GraphSON
{"g:Edge", new EdgeDeserializer()},
{"g:Property", new PropertyDeserializer()},
{"g:VertexProperty", new VertexPropertyDeserializer()},
-{"g:Path", new PathDeserializer()}
+{"g:Path", new PathDeserializer()},
+{"gx:BigDecimal", new DecimalConverter()}
};
///
@@ -89,9 +90,17 @@ namespace
The tp31 branch is no longer maintained CTR
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/f96017ba
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/f96017ba
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/f96017ba
Branch: refs/heads/TINKERPOP-1730
Commit: f96017ba9116b79dee283ef0d6dd960665364000
Parents: 63191ae
Author: Stephen Mallette
Authored: Wed Sep 13 09:06:21 2017 -0400
Committer: Stephen Mallette
Committed: Wed Sep 13 09:06:21 2017 -0400
--
docs/src/dev/developer/for-committers.asciidoc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/f96017ba/docs/src/dev/developer/for-committers.asciidoc
--
diff --git a/docs/src/dev/developer/for-committers.asciidoc
b/docs/src/dev/developer/for-committers.asciidoc
index 3593056..b812a01 100644
--- a/docs/src/dev/developer/for-committers.asciidoc
+++ b/docs/src/dev/developer/for-committers.asciidoc
@@ -67,12 +67,12 @@ Branches
TinkerPop has several release branches:
* `tp30` - 3.0.x (no longer maintained)
-* `tp31` - 3.1.x (bug fixes and documentation updates only)
+* `tp31` - 3.1.x (no longer maintained)
* `tp32` - 3.2.x (bug fixes and documentation updates only)
* `master` - 3.3.x
-Changes to `tp31` should merge to `tp32`, and changes to `tp32` should merge
to `master`. Please read more about this
-process in the <> section.
+Changes to `tp32` should merge to `master`. Please read more about this
process in the <>
+section.
Other branches may be created for collaborating on features or for RFC's that
other developers may want to inspect.
It is suggested that the JIRA issue ID be used as the prefix, since that
triggers certain automation, and it provides a
TINKERPOP-1756 Added an EmbeddedRemoteConnection.
This enables a "remote" to be mocked to actually run locally in the same JVM.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/c59393ff
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/c59393ff
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/c59393ff
Branch: refs/heads/TINKERPOP-1730
Commit: c59393ff46b17d55cf438635a30830c24d6773e6
Parents: 60a34d1
Author: Stephen Mallette
Authored: Fri Sep 1 15:42:20 2017 -0400
Committer: Stephen Mallette
Committed: Mon Sep 11 13:29:17 2017 -0400
--
CHANGELOG.asciidoc | 1 +
.../upgrade/release-3.2.x-incubating.asciidoc | 17 -
.../remote/EmbeddedRemoteConnection.java| 75
.../traversal/EmbeddedRemoteTraversal.java | 56 +++
.../EmbeddedRemoteTraversalSideEffects.java | 47
.../process/traversal/CoreTraversalTest.java| 18 -
6 files changed, 209 insertions(+), 5 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/c59393ff/CHANGELOG.asciidoc
--
diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index ff0948a..c15835c 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -27,6 +27,7 @@ TinkerPop 3.2.7 (Release Date: NOT OFFICIALLY RELEASED YET)
~~~
* Bump to Jackson 2.8.10.
+* Added an `EmbeddedRemoteConnection` so that it's possible to mimic a remote
connection within the same JVM.
* The Console's `plugin.txt` file is only updated if there were manually
uninstalled plugins.
* Fixed a bug in `MatchStep` where mid-traversal `where()` variables were not
being considered in start-scope.
* Generalized `MatchStep` to locally compute all clauses with barriers (not
just reducing barriers).
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/c59393ff/docs/src/upgrade/release-3.2.x-incubating.asciidoc
--
diff --git a/docs/src/upgrade/release-3.2.x-incubating.asciidoc
b/docs/src/upgrade/release-3.2.x-incubating.asciidoc
index 25d776a..407cc89 100644
--- a/docs/src/upgrade/release-3.2.x-incubating.asciidoc
+++ b/docs/src/upgrade/release-3.2.x-incubating.asciidoc
@@ -25,11 +25,25 @@
image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
TinkerPop 3.2.7
---
-*NOT OFFICIALLY RELEASED YET*
+*Release Date: NOT OFFICIALLY RELEASED YET*
Upgrading for Users
~~~
+Please see the
link:https://github.com/apache/tinkerpop/blob/3.2.7/CHANGELOG.asciidoc#release-3-2-7[changelog]
for a complete list of all the modifications that are part of this release.
+
+Embedded Remote Connection
+~~
+
+As Gremlin Language Variants (GLVs) expand their usage and use of
`withRemote()` becomes more common, the need to mock
+the "remote" in unit tests increases. To simplify mocking in Java, the new
`EmbeddedRemoteConnection` provides a
+simple way to provide a "remote" that is actually local to the same JVM.
+
+See: link:https://issues.apache.org/jira/browse/TINKERPOP-1756[TINKERPOP-1756]
+
+Changes to match()
+~~
+
The `match()`-step has been generalized to suppor the local scoping of all
barrier steps, not just reducing barrier steps.
Previously, the `order().limit()` clause would have worked globally yielding:
@@ -60,7 +74,6 @@ This includes steps like `count()`, `min()`, `max()`,
`sum()`, `group()`, `group
generalized this behavior to all barriers and thus, adds `aggregate()`,
`dedup()`, `range()`, `limit()`, `tail()`, and `order()`
to the list of locally computed clauses.
-
TinkerPop 3.2.6
---
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/c59393ff/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/remote/EmbeddedRemoteConnection.java
--
diff --git
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/remote/EmbeddedRemoteConnection.java
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/remote/EmbeddedRemoteConnection.java
new file mode 100644
index 000..da1a03a
--- /dev/null
+++
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/remote/EmbeddedRemoteConnection.java
@@ -0,0 +1,75 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version
Make the start script for test server a bit more flexible
By passing the settings file itself as an argument python can use the
"python-specific" configuration file. CTR
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/97aef329
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/97aef329
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/97aef329
Branch: refs/heads/TINKERPOP-1730
Commit: 97aef32982d52c9b1f8ebc538f2770b92d290b1c
Parents: 217a44f
Author: Stephen Mallette
Authored: Tue Sep 19 11:22:59 2017 -0400
Committer: Stephen Mallette
Committed: Tue Sep 19 11:22:59 2017 -0400
--
gremlin-dotnet/test/pom.xml| 4
gremlin-python/pom.xml | 4
gremlin-server/src/test/scripts/README.asciidoc| 17 +
.../src/test/scripts/test-server-start.groovy | 4 ++--
4 files changed, 27 insertions(+), 2 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/97aef329/gremlin-dotnet/test/pom.xml
--
diff --git a/gremlin-dotnet/test/pom.xml b/gremlin-dotnet/test/pom.xml
index 7b82a2e..db585f4 100644
--- a/gremlin-dotnet/test/pom.xml
+++ b/gremlin-dotnet/test/pom.xml
@@ -138,6 +138,10 @@ limitations under the License.
${gremlin.server.dir}
+settingsFile
+
${gremlin.server.dir}/conf/gremlin-server-modern.yaml
+
+
executionName
${project.name}
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/97aef329/gremlin-python/pom.xml
--
diff --git a/gremlin-python/pom.xml b/gremlin-python/pom.xml
index b60b867..379a114 100644
--- a/gremlin-python/pom.xml
+++ b/gremlin-python/pom.xml
@@ -514,6 +514,10 @@ limitations under the License.
${gremlin.server.dir}
+settingsFile
+
${gremlin.server.dir}/conf/gremlin-server-modern-py.yaml
+
+
executionName
${project.name}
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/97aef329/gremlin-server/src/test/scripts/README.asciidoc
--
diff --git a/gremlin-server/src/test/scripts/README.asciidoc
b/gremlin-server/src/test/scripts/README.asciidoc
new file mode 100644
index 000..f6ea434
--- /dev/null
+++ b/gremlin-server/src/test/scripts/README.asciidoc
@@ -0,0 +1,17 @@
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+This directory holds scripts used by other projects (e.g. GLVs) to start and
stop instances of Gremlin Server.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/97aef329/gremlin-server/src/test/scripts/test-server-start.groovy
--
diff --git a/gremlin-server/src/test/scripts/test-server-start.groovy
b/gremlin-server/src/test/scripts/test-server-start.groovy
index 83efcd5..8ea08a9 100644
--- a/gremlin-server/src/test/scripts/test-server-start.groovy
+++ b/gremlin-server/src/test/scripts/test-server-start.groovy
@@ -24,7 +24,7 @@ import
org.apache.tinkerpop.gremlin.server.auth.SimpleAuthenticator
if (Boolean.parseBoolean(skipTests)) return
Moved neo4j upgrade under user section - CTR
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/90a89ea7
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/90a89ea7
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/90a89ea7
Branch: refs/heads/TINKERPOP-1730
Commit: 90a89ea773cf5813d51549debe18fa1d12bcc0d5
Parents: 518ab1c
Author: Robert Dale
Authored: Fri Sep 15 12:38:01 2017 -0400
Committer: Robert Dale
Committed: Fri Sep 15 12:38:01 2017 -0400
--
docs/src/upgrade/release-3.3.x.asciidoc | 32 +++-
1 file changed, 17 insertions(+), 15 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/90a89ea7/docs/src/upgrade/release-3.3.x.asciidoc
--
diff --git a/docs/src/upgrade/release-3.3.x.asciidoc
b/docs/src/upgrade/release-3.3.x.asciidoc
index 5bcbbf8..1b2aa17 100644
--- a/docs/src/upgrade/release-3.3.x.asciidoc
+++ b/docs/src/upgrade/release-3.3.x.asciidoc
@@ -39,6 +39,23 @@ While 3.3.0 released Gryo 3.0 and GraphSON 3.0 and these
versions were defaulted
some key defaults were missed. Specifically, calls to `Graph.io(graphson())`
and `Graph.io(gryo())` were still using
the old versions. The defaults have now been changed to ensure 3.0 is properly
referenced in those cases.
+Upgrade Neo4j
+^
+
+See Neo4j's link:https://neo4j.com/guides/upgrade/[3.2 Upgrade FAQ] for a
complete guide on how to upgrade from the previous 2.3.3 version. Also note
that many of the configuration settings have
link:https://neo4j.com/developer/kb/manually-migrating-configuration-settings-from-neo4j-2x-to-neo4j-3x/[changed
from neo4j 2x to 3x]
+
+In particular, these properties referenced in TinkerPop documentation and
configuration were renamed:
+
+[width="50%",cols="2",options="header"]
+|=
+|old (2.3) |new (3.3)
+|node_auto_indexing |dbms.auto_index.nodes.enabled
+|relationship_auto_indexing |dbms.auto_index.relationships.enabled
+|ha.cluster_server |ha.host.coordination
+|ha.server |ha.host.data
+|=
+
+
Upgrading for Providers
~~~
@@ -69,21 +86,6 @@ information, the provider could then assign the right
`IoRegistry` to match that
See: link:https://issues.apache.org/jira/browse/TINKERPOP-1767[TINKERPOP-1767]
-Upgrade Neo4j
-^
-
-See Neo4j's link:https://neo4j.com/guides/upgrade/[3.2 Upgrade FAQ] for a
complete guide on how to upgrade from the previous 2.3.3 version. Also note
that many of the configuration settings have
link:https://neo4j.com/developer/kb/manually-migrating-configuration-settings-from-neo4j-2x-to-neo4j-3x/[changed
from neo4j 2x to 3x]
-
-In particular, these properties referenced in TinkerPop documentation and
configuration were renamed:
-
-|=
-|old (2.3) |new (3.3)
-|node_auto_indexing |dbms.auto_index.nodes.enabled
-|relationship_auto_indexing |dbms.auto_index.relationships.enabled
-|ha.cluster_server |ha.host.coordination
-|ha.server |ha.host.data
-|=
-
TinkerPop 3.3.0
---
TINKERPOP-1770 Enable timeouts for remote traversals
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/63191aef
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/63191aef
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/63191aef
Branch: refs/heads/TINKERPOP-1730
Commit: 63191aef22e6cce2f052cb1c8fa898d18a07615b
Parents: c59393f
Author: Stephen Mallette
Authored: Thu Sep 7 09:15:37 2017 -0400
Committer: Stephen Mallette
Committed: Wed Sep 13 06:54:10 2017 -0400
--
CHANGELOG.asciidoc | 1 +
.../upgrade/release-3.2.x-incubating.asciidoc | 20 -
.../op/traversal/TraversalOpProcessor.java | 84 ++--
.../server/GremlinServerIntegrateTest.java | 34
4 files changed, 93 insertions(+), 46 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/63191aef/CHANGELOG.asciidoc
--
diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index c15835c..70d6134 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -28,6 +28,7 @@ TinkerPop 3.2.7 (Release Date: NOT OFFICIALLY RELEASED YET)
* Bump to Jackson 2.8.10.
* Added an `EmbeddedRemoteConnection` so that it's possible to mimic a remote
connection within the same JVM.
+* Supported interruption for remote traversals.
* The Console's `plugin.txt` file is only updated if there were manually
uninstalled plugins.
* Fixed a bug in `MatchStep` where mid-traversal `where()` variables were not
being considered in start-scope.
* Generalized `MatchStep` to locally compute all clauses with barriers (not
just reducing barriers).
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/63191aef/docs/src/upgrade/release-3.2.x-incubating.asciidoc
--
diff --git a/docs/src/upgrade/release-3.2.x-incubating.asciidoc
b/docs/src/upgrade/release-3.2.x-incubating.asciidoc
index 407cc89..ae504d4 100644
--- a/docs/src/upgrade/release-3.2.x-incubating.asciidoc
+++ b/docs/src/upgrade/release-3.2.x-incubating.asciidoc
@@ -41,10 +41,22 @@ simple way to provide a "remote" that is actually local to
the same JVM.
See: link:https://issues.apache.org/jira/browse/TINKERPOP-1756[TINKERPOP-1756]
-Changes to match()
-~~
-The `match()`-step has been generalized to suppor the local scoping of all
barrier steps, not just reducing barrier steps.
+Remote Traversal Timeout
+
+
+There was limited support for "timeouts" with remote traversals (i.e. those
traversals executed using the `withRemote()`
+option) prior to 3.2.7. Remote traversals will now interrupt on the server
using the `scriptEvaluationTimeout`
+setting in the same way that normal script evaluations would. As a reminder,
interruptions for traversals are always
+considered "attempts to interrupt" and may not always succeed (a graph
database implementation might not respect the
+interruption, for example).
+
+See: link:https://issues.apache.org/jira/browse/TINKERPOP-1770[TINKERPOP-1770]
+
+Modifications to match()
+
+
+The `match()`-step has been generalized to support the local scoping of all
barrier steps, not just reducing barrier steps.
Previously, the `order().limit()` clause would have worked globally yielding:
[source,groovy]
@@ -74,6 +86,8 @@ This includes steps like `count()`, `min()`, `max()`,
`sum()`, `group()`, `group
generalized this behavior to all barriers and thus, adds `aggregate()`,
`dedup()`, `range()`, `limit()`, `tail()`, and `order()`
to the list of locally computed clauses.
+See: link:https://issues.apache.org/jira/browse/TINKERPOP-1764[TINKERPOP-1764]
+
TinkerPop 3.2.6
---
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/63191aef/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/op/traversal/TraversalOpProcessor.java
--
diff --git
a/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/op/traversal/TraversalOpProcessor.java
b/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/op/traversal/TraversalOpProcessor.java
index 4e35a85..fc3066a 100644
---
a/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/op/traversal/TraversalOpProcessor.java
+++
b/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/op/traversal/TraversalOpProcessor.java
@@ -35,6 +35,7 @@ import
org.apache.tinkerpop.gremlin.process.traversal.Traversal;
import org.apache.tinkerpop.gremlin.process.traversal.TraversalSideEffects;
import org.apache.tinkerpop.gremlin.process.traversal.TraversalSource;
import
TINKERPOP-1779 Bump to GMavenPlus 1.6
Moved embedded groovy scripts that were in the pom to their own files. They are
more manageable that way as you get some syntax highlighting/intellisense in
the IDE when they have the right file extension. It also makes the pom a bit
easier to follow. Removed a bunch of python test resources that were no longer
in use. Centralized the scripts that start/stop Gremlin Server for GLV tests so
that we don't have them copy/pasted everywhere.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/e9801e6a
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/e9801e6a
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/e9801e6a
Branch: refs/heads/TINKERPOP-1730
Commit: e9801e6af60dbfbaa83a1f8b5b947451dd27092c
Parents: c59393f
Author: Stephen Mallette
Authored: Tue Sep 12 11:18:41 2017 -0400
Committer: Stephen Mallette
Committed: Tue Sep 12 19:05:26 2017 -0400
--
CHANGELOG.asciidoc | 1 +
giraph-gremlin/pom.xml | 14 +
gremlin-console/pom.xml | 14 +
gremlin-dotnet/glv/generate.groovy | 220 +++
gremlin-dotnet/pom.xml | 216 +-
.../appsettings.json| 4 +-
gremlin-dotnet/test/pom.xml | 79 ++
gremlin-groovy-test/pom.xml | 14 +
gremlin-groovy/pom.xml | 14 +
.../glv/GraphTraversalSource.template | 102 +++
gremlin-python/glv/TraversalSource.template | 282 +++
gremlin-python/glv/generate.groovy | 94 +++
gremlin-python/pom.xml | 166 +++
.../resources/GraphTraversalSource.template | 102 ---
.../src/main/resources/TraversalSource.template | 282 ---
.../gremlin/python/driver/credentials.kryo | Bin 138 -> 0 bytes
.../python/driver/generate-modern.groovy| 33 ---
.../driver/gremlin-server-modern-secure-py.yaml | 63 -
.../driver/tinkergraph-credentials.properties | 22 --
.../python/driver/tinkergraph-empty.properties | 18 --
.../tinkerpop/gremlin/server/Settings.java | 3 +-
.../gremlin/server/util/MetricManager.java | 5 +-
.../src/test/scripts/test-server-start.groovy | 49
.../src/test/scripts/test-server-stop.groovy| 32 +++
hadoop-gremlin/pom.xml | 14 +
pom.xml | 16 +-
spark-gremlin/pom.xml | 14 +
27 files changed, 946 insertions(+), 927 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/e9801e6a/CHANGELOG.asciidoc
--
diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index c15835c..4e64fd6 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -26,6 +26,7 @@
image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
TinkerPop 3.2.7 (Release Date: NOT OFFICIALLY RELEASED YET)
~~~
+* Bump to GMavenPlus 1.6.
* Bump to Jackson 2.8.10.
* Added an `EmbeddedRemoteConnection` so that it's possible to mimic a remote
connection within the same JVM.
* The Console's `plugin.txt` file is only updated if there were manually
uninstalled plugins.
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/e9801e6a/giraph-gremlin/pom.xml
--
diff --git a/giraph-gremlin/pom.xml b/giraph-gremlin/pom.xml
index cacf54c..f55a6a4 100644
--- a/giraph-gremlin/pom.xml
+++ b/giraph-gremlin/pom.xml
@@ -227,6 +227,20 @@ limitations under the License.
org.codehaus.gmavenplus
gmavenplus-plugin
+
+
+
+addSources
+addTestSources
+generateStubs
+compile
+generateTestStubs
+compileTests
+removeStubs
+removeTestStubs
+
+
+
org.apache.maven.plugins
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/e9801e6a/gremlin-console/pom.xml
--
diff --git a/gremlin-console/pom.xml b/gremlin-console/pom.xml
index 0531af3..50d7b0e 100644
--- a/gremlin-console/pom.xml
+++ b/gremlin-console/pom.xml
@@ -203,6 +203,20
TINKERPOP-1731 Fix encoding of template CTR
The template file included BOM bytes which resulted in an invalid csproj file
when docker was used for the build. The template engine still has problems with
special characters with docker, but at least the build works now.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/3bf128ae
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/3bf128ae
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/3bf128ae
Branch: refs/heads/TINKERPOP-1730
Commit: 3bf128ae9f9d6f73675705a958b7b4102572eaaa
Parents: 9402e4e
Author: florianhockmann
Authored: Sun Sep 17 16:26:53 2017 +0200
Committer: florianhockmann
Committed: Sun Sep 17 16:26:53 2017 +0200
--
docker/scripts/build.sh | 6 ++
gremlin-dotnet/glv/Gremlin.Net.csproj.template| 2 +-
gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj | 2 +-
3 files changed, 4 insertions(+), 6 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/3bf128ae/docker/scripts/build.sh
--
diff --git a/docker/scripts/build.sh b/docker/scripts/build.sh
index dff60b5..bc22de9 100755
--- a/docker/scripts/build.sh
+++ b/docker/scripts/build.sh
@@ -64,10 +64,8 @@ if [ -d "/usr/src/tinkermem" ]; then
fi
touch gremlin-python/.glv
-
-# remove these until TINKERPOP-1731 is settled
-rm gremlin-dotnet/src/.glv
-rm gremlin-dotnet/test/.glv
+touch gremlin-dotnet/src/.glv
+touch gremlin-dotnet/test/.glv
# use a custom maven settings.xml
if [ -r "settings.xml" ]; then
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/3bf128ae/gremlin-dotnet/glv/Gremlin.Net.csproj.template
--
diff --git a/gremlin-dotnet/glv/Gremlin.Net.csproj.template
b/gremlin-dotnet/glv/Gremlin.Net.csproj.template
index b55eecb..58fad18 100644
--- a/gremlin-dotnet/glv/Gremlin.Net.csproj.template
+++ b/gremlin-dotnet/glv/Gremlin.Net.csproj.template
@@ -1,4 +1,4 @@
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/e9801e6a/gremlin-python/src/test/resources/org/apache/tinkerpop/gremlin/python/driver/generate-modern.groovy
--
diff --git
a/gremlin-python/src/test/resources/org/apache/tinkerpop/gremlin/python/driver/generate-modern.groovy
b/gremlin-python/src/test/resources/org/apache/tinkerpop/gremlin/python/driver/generate-modern.groovy
deleted file mode 100644
index 23b4a61..000
---
a/gremlin-python/src/test/resources/org/apache/tinkerpop/gremlin/python/driver/generate-modern.groovy
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-// an init script that returns a Map allows explicit setting of global
bindings.
-def globals = [:]
-
-// Generates the modern graph into an "empty" TinkerGraph via LifeCycleHook.
-// Note that the name of the key in the "global" map is unimportant.
-globals << [hook : [
- onStartUp: { ctx ->
-ctx.logger.info("Loading 'modern' graph data.")
-TinkerFactory.generateModern(graph)
- }
-] as LifeCycleHook]
-
-// define the default TraversalSource to bind queries to - this one will be
named "g".
-globals << [g : graph.traversal()]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/e9801e6a/gremlin-python/src/test/resources/org/apache/tinkerpop/gremlin/python/driver/gremlin-server-modern-secure-py.yaml
--
diff --git
a/gremlin-python/src/test/resources/org/apache/tinkerpop/gremlin/python/driver/gremlin-server-modern-secure-py.yaml
b/gremlin-python/src/test/resources/org/apache/tinkerpop/gremlin/python/driver/gremlin-server-modern-secure-py.yaml
deleted file mode 100644
index a1b595f..000
---
a/gremlin-python/src/test/resources/org/apache/tinkerpop/gremlin/python/driver/gremlin-server-modern-secure-py.yaml
+++ /dev/null
@@ -1,63 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# Note that TinkerPop does not include gremlin-python dependencies in
-# its distributions. This file cannot be used as a configuration file
-# to Gremlin Server unless those dependencies are installed on the
-# Gremlin Server path with:
-#
-# bin/gremlin-server.sh -i org.apache.tinkerpop gremlin-python x.y.z
-#
-# The primary change in this file to enable the GremlinJythonScriptEngine
-# is the addition of "gremlin-jython" to the "scriptEngines" field.
-
-host: localhost
-port: 45940
-scriptEvaluationTimeout: 3
-graphs: {
- graph:
src/test/resources/org/apache/tinkerpop/gremlin/python/driver/tinkergraph-empty.properties}
-plugins:
- - tinkerpop.tinkergraph
-scriptEngines: {
- gremlin-groovy: {
-imports: [java.lang.Math],
-staticImports: [java.lang.Math.PI],
-scripts:
[src/test/resources/org/apache/tinkerpop/gremlin/python/driver/generate-modern.groovy]},
- gremlin-jython: {},
- gremlin-python: {}
-}
-serializers:
- - { className:
org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0, config: {
ioRegistries:
[org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerIoRegistryV1d0] }}
# application/vnd.gremlin-v1.0+gryo
- - { className:
org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0, config: {
serializeResultToString: true }}#
application/vnd.gremlin-v1.0+gryo-stringd
- - { className: