monarch-initiative / biolink-api

API for linked biological knowledge
https://api.monarchinitiative.org/api/
BSD 3-Clause "New" or "Revised" License
64 stars 25 forks source link

Allow biolink to boot up without a running instance of owlsim #378

Open kshefchek opened 3 years ago

kshefchek commented 3 years ago

It would be convenient to allow to biolink to start up without owlsim running, and have the /sim endpoints return a message if an owlsim endpoint is currently booting (or not configured at all)

we'll need to make an effort to not continuously pin certain endpoints while owlsim is caching IC metrics, so it may be best to use an async call to track boot up, specifically ${OWLSIM}/getAttributeInformationProfile?r=HP:0000924&r=HP:0000707&r=HP:0000152&r=HP:0001574&r=HP:0000478&r=HP:0001626&r=HP:0001939&r=HP:0000119&r=HP:0025031&r=HP:0002664&r=HP:0001871&r=HP:0002715&r=HP:0000818&r=HP:0003011&r=HP:0002086&r=HP:0000598&r=HP:0003549&r=HP:0001197&r=HP:0001507&r=HP:0000769

kshefchek commented 2 years ago

this would be super useful but i'm not sure I'll get to it, @kevinschaper @putmantime remind me to give an overview of where all this lives and possible solutions