Commit Graph
18 Commits
Author SHA1 Message Date
Nicola Soranzo 14e3ae32ed Restore GET /api/categories/<encoded_id> in ToolShed 2.0
and the deleted field in the response.

Rationale: it is not particularly useful, but both:
GET /api/categories
GET /api/categories/<encoded_id>/repositories
work on TS 2.0, so it's weird that this one is missing.

Also, it was breaking BioBlend's
https://bioblend.readthedocs.io/en/latest/api_docs/toolshed/all.html#bioblend.toolshed.categories.ToolShedCategoryClient.show_category
2023-10-20 11:14:30 +01:00
John Chilton 76c560fc95 Initial bug fixes for tool shed 2. 2023-10-04 14:02:01 -04:00
John Chilton 7dc0b1378b WIP: modern tool shed frontend 2023-09-27 14:30:42 -04:00
John Chilton dd58bfcfe6 Implement the GA4GH TRS API in the new tool shed. 2023-09-26 13:46:59 -04:00
John Chilton d1d629074b ToolShed API 2.0 2023-09-26 13:46:58 -04:00
John Chilton cdf8193b8a Improve tool shed API client schema. 2023-09-26 13:46:58 -04:00
John Chilton 85100edff0 Tool Shed API Modernization ahead of FastAPI
- Use the controller base that allow DI.
- Move a bunch functionality we want to port to FastAPI into manage layer.
- Some typing enhancements.
2023-09-26 13:46:57 -04:00
John Chilton 59cff45fb1 Decompose tool shed + schema package.
This commit creates two new packages - below a description of these packages and why they are being created.

galaxy-schema: This package contains the pydantic models that power the API. The purpose of packaging them is to ensure they can be reused by clients with minimal external dependencies. Reusing the schema in client code would very quickly provide rapid documentation and validation and static checking for Python clients using the Galaxy API.

galaxy-tool-shed: This package contains the tool shed server code. This has been a long term project to allow the tool shed to be spun out but maintain real galaxy dependencies and maintain testing. More discussions around this project can be found as part of https://github.com/galaxyproject/galaxy/pull/8830.
2023-09-26 13:46:55 -04:00
Nicola Soranzo d6d6dc1bed Fix for ruff UP013 error 2023-06-25 18:33:39 +01:00
John Chilton 42a29e04c5 Schema for by categories... 2023-04-08 16:34:05 -04:00
John Chilton 6b3a2d3cd6 Enhance schema models. 2023-02-03 13:47:38 -05:00
John Chilton 808eca05bd Use API repository object instead of database object in dozens of spots in tool shed functional tests. 2022-09-24 08:42:23 -04:00
John Chilton fabd33ee19 Add more repository index pydantic typing. 2022-09-24 08:41:43 -04:00
John Chilton cec8c1ac9f Use API in lieu of direct db access in shed functional tests for categories. 2022-09-20 18:25:47 -04:00
John Chilton f8c1c11016 API tests for tool shed search APIs. 2022-09-14 09:31:27 -04:00
John Chilton e5bbad2f36 Flush out pydantic models for tool shed metadata. 2022-09-14 09:31:25 -04:00
John Chilton fc8938fb67 More API tests for the tool shed.
Continue working toward a set of pydantic models to rapidly move toward FastAPI/OpenAPI also.
2022-08-31 13:32:00 -04:00
John Chilton 12b34ff47c API tests for the tool shed. 2022-08-29 09:51:20 -04:00