Skip to content

Commit

Permalink
Move controller consistent workflow api endpoint to internal api route
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Jul 18, 2016
1 parent e21a81f commit 8ac38be
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion client/galaxy/scripts/mvc/tool/tool-form-composite.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ define([ 'utils/utils', 'utils/deferred', 'mvc/ui/ui-misc', 'mvc/form/form-view'
Galaxy.emit.debug( 'tool-form-composite::submit()', 'Validation complete.', job_def );
Utils.request({
type : 'POST',
url : Galaxy.root + 'api/workflows/' + this.model.id + '/run',
url : Galaxy.root + 'internal_api/workflows/' + this.model.id + '/run',
data : job_def,
success : function( response ) {
Galaxy.emit.debug( 'tool-form-composite::submit', 'Submission successful.', response );
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/buildapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def populate_api_routes( webapp, app ):
webapp.mapper.resource( 'genome', 'genomes', path_prefix='/api' )
webapp.mapper.resource( 'visualization', 'visualizations', path_prefix='/api' )
webapp.mapper.connect( '/api/workflows/build_module', action='build_module', controller="workflows" )
webapp.mapper.connect( '/api/workflows/{workflow_id}/run', action='run', controller="workflows", conditions=dict( method=['POST'] ) )
webapp.mapper.connect( '/internal_api/workflows/{workflow_id}/run', action='run', controller="workflows", conditions=dict( method=['POST'] ) )
webapp.mapper.resource( 'workflow', 'workflows', path_prefix='/api' )
webapp.mapper.resource_with_deleted( 'history', 'histories', path_prefix='/api' )
webapp.mapper.connect( '/api/histories/{history_id}/citations', action='citations', controller="histories" )
Expand Down
2 changes: 1 addition & 1 deletion static/maps/mvc/tool/tool-form-composite.js.map

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions static/scripts/bundled/analysis.bundled.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/scripts/bundled/analysis.bundled.js.map

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions static/scripts/bundled/libs.bundled.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/scripts/bundled/libs.bundled.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/scripts/mvc/tool/tool-form-composite.js

Large diffs are not rendered by default.

0 comments on commit 8ac38be

Please sign in to comment.