You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2015/12/15 23:59:17 UTC

[38/44] incubator-tinkerpop git commit: Merge remote-tracking branch 'origin/TINKERPOP-891'

Merge remote-tracking branch 'origin/TINKERPOP-891'


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

Branch: refs/heads/TINKERPOP-1035
Commit: 7c18817ecf7666e95354dd20e38635a7d3905d23
Parents: fa5b273 a15b646
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Mon Dec 14 15:15:30 2015 -0500
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Mon Dec 14 15:15:30 2015 -0500

----------------------------------------------------------------------
 CHANGELOG.asciidoc                              |   2 +
 .../src/reference/gremlin-applications.asciidoc |  70 ++++++++++--
 .../upgrade/release-3.1.x-incubating.asciidoc   |  13 +++
 .../gremlin/groovy/GroovyEnvironmentSuite.java  |   2 +
 ...remlinGroovyScriptEngineFileSandboxTest.java | 110 +++++++++++++++++++
 .../gremlin/groovy/jsr223/sandbox.yaml          |  54 +++++++++
 .../customizer/AbstractSandboxExtension.groovy  |  90 +++++++++++++++
 .../customizer/FileSandboxExtension.groovy      | 107 ++++++++++++++++++
 .../PropertyExpressionEvaluator.groovy          |  66 +++++++++++
 .../jsr223/customizer/SandboxExtension.groovy   |   3 +
 .../jsr223/customizer/SandboxHelper.groovy      |  57 ++++++++++
 .../customizer/SimpleSandboxExtension.groovy    |  30 +++--
 .../customizer/TinkerPopSandboxExtension.groovy |  44 +++++---
 .../scripts/empty-sample-secure.groovy          |   4 +-
 14 files changed, 617 insertions(+), 35 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/7c18817e/CHANGELOG.asciidoc
----------------------------------------------------------------------
diff --cc CHANGELOG.asciidoc
index 830a742,52fcb7f..017cfd5
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@@ -27,9 -27,10 +27,11 @@@ TinkerPop 3.1.1 (NOT OFFICIALLY RELEASE
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
  * Fixed a `SparkGraphComputer` sorting bug in MapReduce that occurred when there was more than one partition.
 +* Added `strictTransactionManagement` to the Gremlin Server settings to indicate that the `aliases` parameter must be passed on requests and that transaction management will be scoped to the graphs provided in that argument.
  * Fixed a `NullPointerException` bug in `PeerPressureVertexProgram` that occurred when an adjacency traversal was not provided.
  * Improved Transaction Management consistency in Gremlin Server.
+ * Added `FileSandboxExtension` which takes a configuration file to white list methods and classes that can be used in `ScriptEngine` execution.
+ * Deprecated `SandboxExtension` and `SimpleSandboxExtension` in favor of `AbstractSandboxExtension` which provides better abstractions for those writing sandboxes.
  * Fixed a long standing "view merge" issue requiring `reduceByKey()` on input data to Spark. It is no longer required.
  * Added `Spark` static object to allow "file system" control of persisted RDDs in Spark.
  * Added a Spark "job server" to ensure that persisted RDDs are not garbage collected by Spark.

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/7c18817e/docs/src/reference/gremlin-applications.asciidoc
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/7c18817e/docs/src/upgrade/release-3.1.x-incubating.asciidoc
----------------------------------------------------------------------