Exemplo n.º 1
0
def main():
    CONF(sys.argv[1:], project='coriolis',
         version="1.0.0")
    utils.setup_logging()

    launcher = service.get_process_launcher()
    server = service.WSGIService('coriolis-api')
    launcher.launch_service(server, workers=server.get_workers_count())
    launcher.wait()
Exemplo n.º 2
0
def main():
    CONF(sys.argv[1:], project='coriolis',
         version="1.0.0")
    utils.setup_logging()

    launcher = service.get_process_launcher()
    server = service.MessagingService(
        'coriolis_worker', [rpc_server.WorkerServerEndpoint()],
        rpc_server.VERSION)
    launcher.launch_service(server, workers=server.get_workers_count())
    launcher.wait()