diff --git a/webservice/webservice.py b/webservice/webservice.py index 21be9373c3c44ad5a4ec52b34821f2a63dc3b54d..836829118b8d9c14eeaa376711d22e6192050829 100644 --- a/webservice/webservice.py +++ b/webservice/webservice.py @@ -752,10 +752,19 @@ class ActionsServer: 'query-rid', 'upload-yaml', 'update_conf', + 'check_connection', } # Handler methods for each available action ------------------------------ + async def handle_check_connection(self, *args): + """Inform the caller that the service is up and running. + + MyMDC will send the same information as provided to dark or correct + requests, but nothing is done with this information. + """ + return b'success' + async def handle_correct( self, rid, _sase, instrument, cycle, proposal, runnr, priority ):