microbiomedata / nmdc-edge

Web-based interface to the NMDC EDGE platform
https://nmdc-edge.org
4 stars 0 forks source link

Update web server to check its ability to access Cromwell API during startup #190

Closed eecavanna closed 3 months ago

eecavanna commented 3 months ago

In this branch, I added an asynchronous "Cromwell connectivity check" to the startup routine of the web application. It will try to access the Cromwell API and, based on the result, will print a message to the console. Note: By default, a failure to connect to Cromwell will not cause the web application to terminate.

Screenshots

Here's what the console shows when all is well:

image

Here's what the console shows when the web application cannot access the Cromwell API:

image