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

multiple baseURL's #17

Open
petersilva opened this issue Mar 9, 2020 · 2 comments
Open

multiple baseURL's #17

petersilva opened this issue Mar 9, 2020 · 2 comments

Comments

@petersilva
Copy link
Contributor

multiple centres have expressed the desire to not only replace the baseURL on download, but add to it. the most obvious way to do that is to allow the baseURL
to be a JSON array, as well as a singular value. On the one hand, centres want DCPC''s to retain the responsibility, particularly in large datasets, for distribution, and in such cases, may elect not to re-write the baseURL at all. In other cases, to illustrate that there are multiple sources available, one would want to add the baseURL to the others in the list, so as not to monopolize distribution to downstream clients.

@petersilva
Copy link
Contributor Author

concretely, in the message payload, rather than:

baseURL: "https://hpfx.../"
one could see:

baseURL: [ "https://hpfx.../", "https://svr2...", "sftp://svr3..." ]

@davidpodeur does this look helpful?

@davidpodeur
Copy link

This makes sense to me.
However, we loose the "original" baseURL.
Or by convention we can say it should be the first item in the baseURL list.

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