GitHub user spmallette opened a pull request:
https://github.com/apache/incubator-tinkerpop/pull/179
TINKERPOP-891 Refactored the sandboxing abstractions for Gremlin Server
https://issues.apache.org/jira/browse/TINKERPOP-891
Deprecated the `SandboxExtension` and replaced it with the
`AbstractSandboxExtension`. Took existing implementations and had them extend
from the new `AbstractSandboxExtension`. Added a new "useful" implementation
called `FileSandboxExtension` which gets its white list configuration from a
file. Updated appropriate docs and wrote a number of tests for the new
`FileSandboxExtension`.
Both unit and integration tests pass. Also tested manually by configuring
Gremlin Server to use the different sandboxes.
VOTE: +1
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/incubator-tinkerpop TINKERPOP-891
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-tinkerpop/pull/179.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #179
----
commit a15b646ade8a106495dbbe29ba803218445bb20e
Author: Stephen Mallette <[email protected]>
Date: 2015-12-11T19:56:06Z
Refactored the sandboxing abstractions for Gremlin Server.
Deprecated the SandboxExtension and replaced it with the
AbstractSandboxExtension. Took existing implementations and had them extend
from the new AbstractSandboxExtension. Added a new "useful" implementation
called FileSandboxExtension which gets its white list configuration from a
file. Updated appropriate docs and wrote a number of tests for the new
FileSandboxExtension.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---