-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scottx611x/provide vis tools with url to their input data (#2677)
* Bump django_docker_engine req. * Remove temp assignment to `client` * Update DockerClientWrapper init; No slot for data_dir arg now * Provide detail route: `container_input_data` to fetch a Tool's input data as JSON * Add test coverage for container input data detail route * Use already available instance of DockerClientWrapper * Make _django_docker_client public * Launch VisualizationTools asynchronously; The AutoRelaunchProxy now provides a nice "Please Wait" page, so this seems like a natural move * Update tests that depended on VisualizationTool.launch being synchronous * Fix out of date django_docker_engine specifics in tests * Fix test after method was renamed * Add reference to container_input_data detail view * Use `None` for now to satisfy django_docker_engine arg; This should be removed on django_docker_engine side * Return 404s where appropriate in ToolsViewSet * Update tests to assert the newly added 404s * Fix typo * Fix docstring * Fit this on one line * Fit this on one line as well * Add comment about running containers asynchronously * Remove code related to `ToolDefinition.container_input_path` now that we provide this info as a url * Bump django_docker_engine req * Remove need for temporary arg
- Loading branch information
1 parent
99658a7
commit 1fbaf2c
Showing
18 changed files
with
175 additions
and
131 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
refinery/tool_manager/migrations/0026_remove_tooldefinition_container_input_path.py
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,18 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('tool_manager', '0025_auto_20180226_2153'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='tooldefinition', | ||
name='container_input_path', | ||
), | ||
] |
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
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
Oops, something went wrong.