2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/776ca4a63a0b/ Changeset: 776ca4a63a0b Branch: search User: Kyle Ellrott Date: 2013-10-25 00:34:17 Summary: Adding better path parsing so tool API can take tool id with slashes (for example tools that are named after tool shed repos) Affected #: 1 file diff -r 35a847f0f33d2944b8033aefeb8d5ef0c734c8c6 -r 776ca4a63a0b2ec568582bea3c2bb43cc24675ee lib/galaxy/webapps/galaxy/buildapp.py --- a/lib/galaxy/webapps/galaxy/buildapp.py +++ b/lib/galaxy/webapps/galaxy/buildapp.py @@ -155,6 +155,7 @@ webapp.mapper.resource( 'role', 'roles', path_prefix='/api' ) webapp.mapper.resource( 'group', 'groups', path_prefix='/api' ) webapp.mapper.resource_with_deleted( 'quota', 'quotas', path_prefix='/api' ) + webapp.mapper.connect( '/api/tools/{id:.*?}', action='show', controller="tools" ) webapp.mapper.resource( 'tool', 'tools', path_prefix='/api' ) webapp.mapper.resource_with_deleted( 'user', 'users', path_prefix='/api' ) webapp.mapper.resource( 'genome', 'genomes', path_prefix='/api' ) https://bitbucket.org/galaxy/galaxy-central/commits/9de9f6e5ded2/ Changeset: 9de9f6e5ded2 User: dannon Date: 2013-10-25 21:31:34 Summary: Merged in kellrott/galaxy-central/search (pull request #242) Fix routing to /api/tool/<id> when id has slashes in name Affected #: 1 file diff -r a27073465c2f4925012e1df12e19321aed2b9f4a -r 9de9f6e5ded2a9ac5ace423564e76a6b20f694d4 lib/galaxy/webapps/galaxy/buildapp.py --- a/lib/galaxy/webapps/galaxy/buildapp.py +++ b/lib/galaxy/webapps/galaxy/buildapp.py @@ -155,6 +155,7 @@ webapp.mapper.resource( 'role', 'roles', path_prefix='/api' ) webapp.mapper.resource( 'group', 'groups', path_prefix='/api' ) webapp.mapper.resource_with_deleted( 'quota', 'quotas', path_prefix='/api' ) + webapp.mapper.connect( '/api/tools/{id:.*?}', action='show', controller="tools" ) webapp.mapper.resource( 'tool', 'tools', path_prefix='/api' ) webapp.mapper.resource_with_deleted( 'user', 'users', path_prefix='/api' ) webapp.mapper.resource( 'genome', 'genomes', path_prefix='/api' ) 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.