You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I know an object can have multiple access methods with the same type (for example s3), that is why I don't think /objects/<drs_id>/access/s3 is a suitable solution since we wouldn't be able to distinguish between them.
I think the best solution is to have a separate <access_id> for every access method. While writing tests I have already written the code to extract the type of access in question and send the correct request depending on the type. The same code could be the used to find which access method is requested from the <access_id> and then construct the URL according to the type before sending it back.
So far that code only covers these three access types: https, s3 and file. It can always be extended.
I got Part 2 visas working on another machine. The Passport UI wasn't working when I tried on Friday.
With the passport token from the UI successfully got a response to http://localhost:5000/ga4gh/drs/v1/objects/HG00740.1000genomes.lowcov.downsampled.cram
One should then be able to make the following call
http://localhost:5000/ga4gh/drs/v1/objects/HG00740.1000genomes.lowcov.downsampled.cram/access/<access_id>
Where access_id is the access method the user wants to use.
Two issues arise from this:
The text was updated successfully, but these errors were encountered: