oysterprotocol / webinterface

Web interface that enables a user to upload a file via the Oyster Protocol
GNU General Public License v3.0
35 stars 5 forks source link

[Webinterface/Brokernode] Add some kind of screen to webinterface to display to the users when the brokers are down. #200

Closed rfornea closed 6 years ago

rfornea commented 6 years ago

This will likely potentially require a change on the broker as well. Need to add some kind of endpoint that the webinterface can ask the brokers "Are you up?". If the broker is not up, display a different screen on webinterface to the user rather than letting them get to the /upload-form. Something like "down for maintenance" or something.

EDIT: Perhaps the endpoint on the broker could check the status of the "DEPLOY_IN_PROGRESS" env variable. If that variable is either true or if the request to the broker totally fails, we could use the same screen on webinterface.

rfornea commented 6 years ago

@tfrench93 Do you already have some kind of "down for maintenance" screen designed?