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

external_data_endpoints #21

Open
HadleyKing opened this issue Jan 17, 2020 · 2 comments
Open

external_data_endpoints #21

HadleyKing opened this issue Jan 17, 2020 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@HadleyKing
Copy link

Populate external_data_endpoints in execution_domain

'external_data_endpoints': [],

@HadleyKing
Copy link
Author

Defined in https://github.com/biocompute-objects/BCO_Specification/blob/1.4.0/docs/execution-domain.md#254-external-data-endpoints-external_data_endpoints

2.5.4 External Data Endpoints "external_data_endpoints"
An optional multi-value field listing the minimal necessary domain specific external data source access in order to successfully run the script to produce BCO. The values under this field present the requirements for network protocol endpoints used by a pipeline’s scripts, or other software.

The key url defines an endpoint to be accessed. If the path of the URL is / then any resource at the given domain may be accessed, while if the path is more specific than only resources which path prefix matches may be accessed.

The key name should describe the service that is accessed.

"external_data_endpoints": [

{"url": "protocol://domain:port/application/path","name": "generic name"},

{"url": "ftp://data.example.com:21/",
"name": "access to ftp server"},

{"url": "http://eutils.ncbi.nlm.nih.gov/entrez/eutils",
"name": "access to e-utils web service"}

]

@HadleyKing
Copy link
Author

HadleyKing commented Oct 14, 2020

From: galaxyproject#10361 (comment)

I would suggest adding something like external_service="<service_url>" to tool xml language and then annotate tool parameters that reference an external entity with this.
So for a tool that downloads accessions this could be something like
<param name="accession" value="SRR12345678" external_service_url="https://trace.ncbi.nlm.nih.gov/Traces/sra/?run=">

@mvdbeek is this something that would have to be implemented on every tool or something that could be added globally and then extracted... Could you provide a little more info?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant