Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/dev' into history.delete_curre…
…nt-id
- Loading branch information
Showing
109 changed files
with
3,267 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
.venv/ | ||
.tox/ | ||
eggs/ | ||
client/ | ||
database/ | ||
doc/patch.py | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
flake8 `paste .ci/flake8_lint_include_list.txt` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
config/plugins/interactive_environments/neo/config/allowed_images.yml.sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# This file lists acceptable images to allow runing. | ||
# | ||
# This allows you, the admin, to create multiple flavours | ||
# for your users to run. E.g. maybe you need a geosciences flavour, | ||
# you can create the image based on our default image and add the | ||
# appropriate `apt-get/pip install` statements. | ||
--- | ||
- | ||
image: thoba/neo4j_galaxy_ie:v1 | ||
description: | | ||
Neo4j is a highly scalable, robust native graph database. |
42 changes: 42 additions & 0 deletions
42
config/plugins/interactive_environments/neo/config/neo.ini.sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
[main] | ||
# Following options are ignored if using the Galaxy dynamic proxy but | ||
# are useful if mapping a range of ports for environment consumption. | ||
#password_auth = False | ||
#ssl = False | ||
|
||
[docker] | ||
# Command to launch docker container. For example `sudo docker` or `docker-lxc`. | ||
# If you need to use a command like `sg` you can do that here, just be sure to | ||
# wrap all of the docker portion in single quotes. E.g. `sg 'docker' 'docker {docker_args}'` | ||
# | ||
# It is recommended that you use command_inject if you need to inject | ||
# additional parameters. This command string is re-used for a `docker inspect` | ||
# command and will likely cause errors if it is extensively modified, past the | ||
# usual group/sudo changes. | ||
#command = docker {docker_args} | ||
|
||
# The image argument was moved to "allowed_images.yml.sample" | ||
|
||
# Additional arguments that are passed to the `docker run` command. | ||
command_inject = --sig-proxy=true -e DEBUG=false -e DEFAULT_CONTAINER_RUNTIME=120 -e NEO4J_UID=$(id -u) -e NEO4J_GID=$(id -g) | ||
|
||
|
||
# URL to access the Galaxy API with from the spawn Docker containter, if empty | ||
# this falls back to galaxy.ini's galaxy_infrastructure_url and finally to the | ||
# Docker host of the spawned container if that is also not set. | ||
#galaxy_url = | ||
|
||
# The Docker hostname. It can be useful to run the Docker daemon on a different | ||
# host than Galaxy. | ||
#docker_hostname = localhost | ||
|
||
# Try to set the tempdirectory to world execute - this can fix the issue | ||
# where 'sudo docker' is not able to mount the folder otherwise. | ||
# "finalize namespace chdir to /import permission denied" | ||
#wx_tempdir = False | ||
|
||
# Overwride the IE tempdirectory. This can be useful if you regular tempdir is | ||
# located on an NFS share, which does not work well as Docker volume. In this case | ||
# you can have a shared sshfs share which you can use as temporary directory to | ||
# share data between the IE and Galaxy. | ||
#docker_galaxy_temp_dir = None |
19 changes: 19 additions & 0 deletions
19
config/plugins/interactive_environments/neo/config/neo.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE interactive_environment SYSTEM "../../interactive_environments.dtd"> | ||
<!-- This is the name which will show up in the User's Browser --> | ||
<interactive_environment name="Neo4j (Graph Database)"> | ||
<data_sources> | ||
<data_source> | ||
<model_class>HistoryDatasetAssociation</model_class> | ||
<!-- here you filter out which types of datasets are appropriate for this GIE. | ||
The Neo4jDB datatype is generated by the build_ctb_gene tool in the test toolshed.--> | ||
<test type="isinstance" test_attr="datatype" result_type="datatype">Neo4jDB.Neo4jDB</test> | ||
<to_param param_attr="id">dataset_id</to_param> | ||
</data_source> | ||
</data_sources> | ||
<params> | ||
<param type="dataset" var_name_in_template="hda" required="true">dataset_id</param> | ||
</params> | ||
<!-- Be sure that your entrypoint name is correct! --> | ||
<entry_point entry_point_type="mako">neo.mako</entry_point> | ||
</interactive_environment> |
12 changes: 12 additions & 0 deletions
12
config/plugins/interactive_environments/neo/static/js/neo.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Load an interactive environment (IE) from a remote URL | ||
// @param {String} notebook_access_url: the URL embeded in the page and loaded | ||
function load_notebook(notebook_access_url){ | ||
// When the page has completely loaded... | ||
$( document ).ready(function() { | ||
// Test if we can access the GIE, and if so, execute the function | ||
// to load the GIE for the user. | ||
test_ie_availability(notebook_access_url, function(){ | ||
append_notebook(notebook_access_url); | ||
}); | ||
}); | ||
} |
Oops, something went wrong.