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

grand access to other model URLs, not just CSCS #5

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

915-Misan-Teodora
Copy link

In EBRAINS 2.0 project and in the usage of Ebrains Live Papers the URLs for downloading emodels can differ(the AUTH key from URL can be different). For now just a simple check was added - to download the emodel if an absolute url is given. For the future a set of URLs for validation can be taken into consideration.

@stefanoantonel
Copy link
Contributor

Thanks for creating this MR!

We will have a call on Monday to discuss more details about it.

Meanwhile, can you please gather the info of which Live Papers will use this service and what url they are hitting?

@stefanoantonel
Copy link
Contributor

stefanoantonel commented Jun 17, 2024

The format of the zip file should be one of those

Screenshot 2024-06-17 at 10 06 34

Example of working URL

@liadomide
Copy link

Meanwhile, can you please gather the info of which Live Papers will use this service and what url they are hitting?

an example of a new URL example is: https://object.cscs.ch/v1/AUTH_7e4157014a3d4c1f8ffe270b57008fd4/cnr-pa-ibf-dev-/mccauley_et_al_2020_03.zip?temp_url_sig=7d567c1ca5eea9df4bc3d59cf4a469d8d3b9b566&temp_url_expires=2024-05-17T08:01:40Z&temp_url_prefix=mccauley_et_al_2020_03.zip

While the current accepted URLs are:
https://object.cscs.ch/v1/AUTH_c0a333ecf7c045809321ce9d9ecdfdea/' + url

Also, as mentioned in the call, we are expecting the CSCS deployment to be moved at a different location in the future

@stefanoantonel
Copy link
Contributor

Strange, for the new url, I get 401 Unauthorized: Temp URL invalid

@liadomide
Copy link

liadomide commented Jun 17, 2024

Strange, for the new url, I get 401 Unauthorized: Temp URL invalid

I also get this now. The URL seem to have been a temporary one (it is even written in the URL the expiration date).
Let us involve Luca and his team for an updated example. I write an email

@lbologna
Copy link

lbologna commented Jun 17, 2024

Strange, for the new url, I get 401 Unauthorized: Temp URL invalid

I also get this now. The URL seem to have been a temporary one (it is even written in the URL the expiration date). Let us involve Luca and his tea for a better example. I write an email

Here's the new link. This should be permanent but let's monitor it ...

https://data-proxy.ebrains.eu/api/permalinks/a7624842-7124-4970-b8ec-1fabb73dca08

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

Successfully merging this pull request may close these issues.

4 participants