Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI and Galaxy tools? #105

Open
volodymyrss opened this issue Mar 27, 2024 · 1 comment
Open

OpenAPI and Galaxy tools? #105

volodymyrss opened this issue Mar 27, 2024 · 1 comment
Assignees

Comments

@volodymyrss
Copy link
Contributor

volodymyrss commented Mar 27, 2024

@bgruening did you mention something about new support for Galaxy tools from OpenAPI?

I think it might be interesting for us, could we learn more?

@volodymyrss volodymyrss self-assigned this Mar 27, 2024
@bgruening
Copy link
Collaborator

Those API are called ODC, but in the end they are OpenAPI, e.g. this one: https://ospd.geolabs.fr:8300/ogc-api/processes/OTB.BandMath

I have now a student who will try to generate from those API endpoints Galaxy tools.

Here are a few notes that I shared with your student,

One example is: https://ospd.geolabs.fr:8300/ogc-api/processes/OTB.BandMath
That should end up in something like: https://github.com/AquaINFRA/galaxy/blob/ogc_process_otb_bandmath/tools/ogc_services/OTB_BandMath.xml

You are allowed to use Python. A library that might be useful is https://github.com/manchenkoff/openapi3-parser
and https://github.com/hexylena/galaxyxml.

Inspiration you can get from https://github.com/hexylena/argparse2tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants