from flask import redirect, render_template
import config

connex_app = config.connex_app
connex_app.add_api("swagger.yml")

@connex_app.route("/")
def home():
    #return redirect('/api/ui')
    return "data-catalog-graph"


@connex_app.route("/isAlive")
def is_alive():
    return "OK"


@connex_app.route("/isReady")
def is_ready():
    return "OK"


if __name__ == "__main__":
    connex_app.run(debug=True)
