def run(self):
     print("Starting policy server at {}:{}".format(self.SERVER_ADDRESS,
                                                    self.server_port))
     server = PolicyServer(self, self.SERVER_ADDRESS, self.server_port)
     server.serve_forever()
Example #2
0
 def run(self):
     print("Starting policy server at {}:{}".format(SERVER_ADDRESS,
                                                    SERVER_PORT))
     server = PolicyServer(self, SERVER_ADDRESS, SERVER_PORT)
     server.serve_forever()
Example #3
0
 def run(self):
     print(
         f'Started server host:{SERVER_ADDRESS} port:{SERVER_PORT} with checkpoint: {self.config["checkpoint_file"]}'
     )
     server = PolicyServer(self, SERVER_ADDRESS, SERVER_PORT)
     server.serve_forever()