kbase / dts

A data transfer service
https://kbase.github.io/dts/
MIT License
0 stars 0 forks source link

Implement JDP database `Resources` call #19

Closed jeff-cohere closed 11 months ago

jeff-cohere commented 1 year ago

The JGI Data Portal itself offers no mechanism to query the locations of files with given (JAMO) IDs. Because that team is pretty swamped these days, it makes sense for us to query JAMO directly for this information.

From Ed Lee at JGI:

The JAMO read API should be open (for the most part) without requiring auth. Since you'll be playing with simple queries for now, you can access the APIs via https://jamo-dev.jgi.doe.gov/api/${service}/${endpoint} (e.g., curl -H "Content-type: application/json; charset=utf-8" -X POST https://jamo-dev.jgi.doe.gov/api/metadata/query -d '{"_id": "59cad8b27ded5e2f18691bcb"}'. You'll need to be logged in the VPN to access the server.

jeff-cohere commented 1 year ago

The VPN requirement makes it harder for us to incorporate this feature into our automated testing, but it's a good stopgap for the moment.

bio-boris commented 1 year ago

Are you sure you didn't mean to tag someone else?

jeff-cohere commented 1 year ago

Are you sure you didn't mean to tag someone else?

Oh right. Sorry! GitHub offered and I accepted! Please disregard.