def app(app):
    service_status.setup(app)
    scheduler.setup(app)
    codec.setup(app)
    service_store.setup(app)
    connection_sim.setup(app)
    return app
Esempio n. 2
0
def app(app, mocker):
    app['config']['command_timeout'] = 1
    service_status.setup(app)
    scheduler.setup(app)
    codec.setup(app)
    connection_sim.setup(app)
    commander.setup(app)
    return app
def app(app):
    service_status.setup(app)
    scheduler.setup(app)
    codec.setup(app)
    connection_sim.setup(app)
    commander.setup(app)
    block_store.setup(app)
    block_cache.setup(app)
    global_store.setup(app)
    service_store.setup(app)
    synchronization.setup(app)
    controller.setup(app)
    return app
Esempio n. 4
0
def app(app):
    app['config']['broadcast_interval'] = 0.01
    app['config']['history_topic'] = 'testcast/history'
    app['config']['state_topic'] = 'testcast/state'
    service_status.setup(app)
    scheduler.setup(app)
    block_cache.setup(app)
    codec.setup(app)
    block_store.setup(app)
    global_store.setup(app)
    service_store.setup(app)
    connection_sim.setup(app)
    commander.setup(app)
    synchronization.setup(app)
    controller.setup(app)
    return app
Esempio n. 5
0
async def app(app, event_loop):
    """App + controller routes"""
    scheduler.setup(app)
    service_status.setup(app)
    block_store.setup(app)
    block_cache.setup(app)
    global_store.setup(app)
    service_store.setup(app)
    codec.setup(app)
    connection_sim.setup(app)
    commander.setup(app)
    synchronization.setup(app)
    controller.setup(app)

    mqtt_api.setup(app)

    return app
Esempio n. 6
0
async def app(app, event_loop):
    """App + controller routes"""
    service_status.setup(app)
    scheduler.setup(app)
    codec.setup(app)
    connection_sim.setup(app)
    commander.setup(app)
    block_store.setup(app)
    block_cache.setup(app)
    global_store.setup(app)
    service_store.setup(app)
    synchronization.setup(app)
    controller.setup(app)

    error_response.setup(app)
    blocks_api.setup(app)
    system_api.setup(app)
    settings_api.setup(app)
    debug_api.setup(app)

    return app