From 334f4d7a19882ad97aec75f50b61fda5eb807974 Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Thu, 6 Apr 2017 13:31:47 -0400 Subject: [PATCH] Remove old, unused search controller. This would be implemented as a clientside route if we ever pursued development. --- lib/galaxy/webapps/galaxy/buildapp.py | 1 - .../webapps/galaxy/controllers/search.py | 20 ------------------- 2 files changed, 21 deletions(-) delete mode 100644 lib/galaxy/webapps/galaxy/controllers/search.py diff --git a/lib/galaxy/webapps/galaxy/buildapp.py b/lib/galaxy/webapps/galaxy/buildapp.py index c20c7541cb0..6bc157dd43a 100644 --- a/lib/galaxy/webapps/galaxy/buildapp.py +++ b/lib/galaxy/webapps/galaxy/buildapp.py @@ -98,7 +98,6 @@ def paste_app_factory( global_conf, **kwargs ): webapp.add_route( '/u/{username}/w/{slug}', controller='workflow', action='display_by_username_and_slug' ) webapp.add_route( '/u/{username}/w/{slug}/{format}', controller='workflow', action='display_by_username_and_slug' ) webapp.add_route( '/u/{username}/v/{slug}', controller='visualization', action='display_by_username_and_slug' ) - webapp.add_route( '/search', controller='search', action='index' ) # TODO: Refactor above routes into external method to allow testing in # isolation as well. diff --git a/lib/galaxy/webapps/galaxy/controllers/search.py b/lib/galaxy/webapps/galaxy/controllers/search.py deleted file mode 100644 index 9fde39e366c..00000000000 --- a/lib/galaxy/webapps/galaxy/controllers/search.py +++ /dev/null @@ -1,20 +0,0 @@ -""" -Contains a basic search interface for Galaxy -""" -import logging - -from galaxy import web -from galaxy.web.base.controller import BaseUIController - -log = logging.getLogger( __name__ ) - - -class SearchController( BaseUIController ): - - @web.expose - def index(self, trans): - """ - Per the message, this is not ready for human consumption, yet. Power - users can still use the search API. - """ - return trans.show_message("Sorry, the search interface isn't quite ready for use, yet. Watch the release notes and check back later!")