def subsResponseCB(name, path, data, ctype):
    print(name)
    print(path)
   
    response = server.initResponse()
    response['payload'] = ("{}")
    return response
def healthyGetAliveHandler(name, path, data, ctype):
    print(name)
    print(path)
   
    response = server.initResponse()
    response['payload'] = ("{'status': 'alive'}")
    return response
Exemple #3
0
 def subsResponseCB(self, name, path, data, ctype):
     response = server.initResponse()
     response['payload'] = ("{}")
     return response
Exemple #4
0
 def configGetHandler(self, name, path, data, ctype):
     response = server.initResponse()
     response['payload'] = (self.configData.get_config())
     return response
Exemple #5
0
 def healthyGetReadyHandler(self, name, path, data, ctype):
     response = server.initResponse()
     response['payload'] = ("{'status': 'ready'}")
     return response