def main():
    setup_logging()

    # patch moto implementation
    apply_patches()

    # start API
    sys.exit(moto_main())
Exemplo n.º 2
0
def main():
    setup_logging()

    # patch moto implementation
    apply_patches()

    # add memory profiling endpoint
    inject_stats_endpoint()

    # start API
    sys.exit(moto_main())
Exemplo n.º 3
0
def main():
    setup_logging()

    # patch moto implementation
    apply_patches()

    # add memory profiling endpoint
    inject_stats_endpoint()

    # make sure all API names and ports are mapped properly
    canonicalize_api_names()

    # start API
    sys.exit(moto_main())