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

Procedure for adding new workflow languages #215

Open
denis-yuen opened this issue Apr 11, 2022 · 1 comment
Open

Procedure for adding new workflow languages #215

denis-yuen opened this issue Apr 11, 2022 · 1 comment

Comments

@denis-yuen
Copy link
Member

denis-yuen commented Apr 11, 2022

Currently, workflow languages are baked into TRS as an enum
https://github.com/ga4gh/tool-registry-service-schemas/blob/2.0.0/openapi/openapi.yaml#L825-L827

This is trivially extended for new languages, but it would be nice to solve two issues

  1. To co-ordinate enum values for new languages between releases in case there is a conflict
  2. How can we query what languages does a TRS implementation support?

For 1) I wonder if we can just establish a JSON in the root of the repo akin to https://github.com/ga4gh/tool-registry-service-schemas/blob/develop/registry.json but as a mapping between enum values and languages

For 2) It seems we can take advantage of service-info
https://github.com/ga4gh-discovery/ga4gh-service-info#extending-service-info-payloads

FYI @jmfernandez @wleepang to see if I captured this right

┆Issue is synchronized with this Jira Story
┆Project Name: Zzz-ARCHIVE GA4GH tool-registry-service
┆Issue Number: TRS-55

@mr-c
Copy link
Contributor

mr-c commented Sep 21, 2022

FYI: CWL does have an IANA media type: https://www.iana.org/assignments/media-types/application/cwl

and the +json version https://www.iana.org/assignments/media-types/application/cwl+json

(+yaml is coming, once that suffix is approved)

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

No branches or pull requests

2 participants