1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/147c8b343d4a/ Changeset: 147c8b343d4a User: carlfeberhard Date: 2015-02-02 23:01:44+00:00 Summary: API, folders & folder_contents: use _future_expose_api on NotImplemented routes Affected #: 3 files diff -r 1d57664c6d9c4875e5c818220fa8199cf3967de0 -r 147c8b343d4ae09d4ae71d424037e45f06bd8e9e lib/galaxy/webapps/galaxy/api/folder_contents.py --- a/lib/galaxy/webapps/galaxy/api/folder_contents.py +++ b/lib/galaxy/webapps/galaxy/api/folder_contents.py @@ -315,14 +315,14 @@ else: raise exceptions.MalformedId( 'Malformed folder id ( %s ) specified, unable to decode.' % str( encoded_folder_id ) ) - @web.expose_api + @expose_api def show( self, trans, id, library_id, **kwd ): """ GET /api/folders/{encoded_folder_id}/ """ raise exceptions.NotImplemented( 'Showing the library folder content is not implemented here.' ) - @web.expose_api + @expose_api def update( self, trans, id, library_id, payload, **kwd ): """ PUT /api/folders/{encoded_folder_id}/contents diff -r 1d57664c6d9c4875e5c818220fa8199cf3967de0 -r 147c8b343d4ae09d4ae71d424037e45f06bd8e9e lib/galaxy/webapps/galaxy/api/folders.py --- a/lib/galaxy/webapps/galaxy/api/folders.py +++ b/lib/galaxy/webapps/galaxy/api/folders.py @@ -20,7 +20,7 @@ super( FoldersController, self ).__init__( app ) self.folder_manager = folders.FolderManager() - @web.expose_api + @expose_api def index( self, trans, **kwd ): """ *GET /api/folders/ @@ -29,7 +29,7 @@ """ raise exceptions.NotImplemented( 'Listing all accessible library folders is not implemented.' ) - @web.expose_api + @expose_api def show( self, trans, id, **kwd ): """ show( self, trans, id, **kwd ) @@ -255,7 +255,7 @@ folder_dict = self.folder_manager.get_folder_dict( trans, folder ) return folder_dict - @web.expose_api + @expose_api def update( self, trans, id, library_id, payload, **kwd ): """ PUT /api/folders/{encoded_folder_id} diff -r 1d57664c6d9c4875e5c818220fa8199cf3967de0 -r 147c8b343d4ae09d4ae71d424037e45f06bd8e9e lib/galaxy/webapps/galaxy/api/library_contents.py --- a/lib/galaxy/webapps/galaxy/api/library_contents.py +++ b/lib/galaxy/webapps/galaxy/api/library_contents.py @@ -436,7 +436,7 @@ except exceptions.httpexceptions.HTTPException: raise except Exception, exc: - log.exception( 'HDA API, delete: uncaught exception: %s, %s\n%s', + log.exception( 'library_contents API, delete: uncaught exception: %s, %s\n%s', id, str( kwd ), str( exc ) ) trans.response.status = 500 rval.update({ 'error': str( exc ) }) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.