def setUp(self): try: quorum.load( name = __name__, mongo_database = "test", models = mock ) except Exception: self.skip()
def setUp(self): try: self.app = quorum.load( name = __name__, secret_key = "secret" ) self.app.config["APPLICATION_ROOT"] = "/" except Exception: self.skip()
__date__ = "$LastChangedDate$" """ The last change date of the module """ __copyright__ = "Copyright (c) 2008-2019 Hive Solutions Lda." """ The copyright for the module """ __license__ = "Apache License, Version 2.0" """ The license for the module """ import flask #@UnusedImport import quorum SECRET_KEY = "kyjbqt4828ky8fdl7ifwgawt60erk8wg" """ The "secret" key to be at the internal encryption processes handled by flask (eg: sessions) """ app = quorum.load( name = __name__, secret_key = SECRET_KEY, logger = "layout_demo.debug" ) import layout_demo.views #@UnusedImport if __name__ == "__main__": quorum.run(server = "netius") else: __path__ = []
def setUp(self): try: quorum.load(name = __name__) quorum.get_amazon() except Exception: self.skip()
""" The version of the module """ __revision__ = "$LastChangedRevision$" """ The revision number of the module """ __date__ = "$LastChangedDate$" """ The last change date of the module """ __copyright__ = "Copyright (c) 2008-2016 Hive Solutions Lda." """ The copyright for the module """ __license__ = "Apache License, Version 2.0" """ The license for the module """ import flask #@UnusedImport import quorum SECRET_KEY = "kyjbqt4822ky8fdlbifwgawt60erk8wg" """ The "secret" key to be at the internal encryption processes handled by flask (eg: sessions) """ app = quorum.load(name=__name__, secret_key=SECRET_KEY, logger="uxf_demo.debug") import uxf_demo.views #@UnusedImport if __name__ == "__main__": quorum.run(server="netius")
__revision__ = "$LastChangedRevision$" """ The revision number of the module """ __date__ = "$LastChangedDate$" """ The last change date of the module """ __copyright__ = "Copyright (c) 2008-2019 Hive Solutions Lda." """ The copyright for the module """ __license__ = "Apache License, Version 2.0" """ The license for the module """ import flask import quorum app = quorum.load(name = __name__) @app.route("/", methods = ("GET",)) @app.route("/index", methods = ("GET",)) def index(): return flask.render_template( "index.html.tpl", link = "home" ) if __name__ == "__main__": quorum.run(server = "waitress") else: __path__ = []
"foundation.employee.list", "foundation.employee.show", "foundation.supplier_company.list", "foundation.supplier_company.show", "customers.customer_person.list", "customers.customer_person.show", "documents.signed_document.list", "documents.signed_document.submit_at", "analytics.sale_snapshot.list" ) """ The list of permissions to be used to create the scope string for the oauth value """ app = quorum.load( name = __name__, logger = "omnia.debug", PERMANENT_SESSION_LIFETIME = datetime.timedelta(31) ) @app.route("/", methods = ("GET",)) @app.route("/index", methods = ("GET",)) def index(): return flask.render_template( "index.html.tpl", link = "home" ) @app.route("/base", methods = ("GET",)) def base(): return flask.render_template( "base.html.tpl",
import models import quorum MONGO_DATABASE = "automium" """ The default database to be used for the connection with the mongo database """ CURRENT_DIRECTORY = os.path.dirname(__file__) CURRENT_DIRECTORY_ABS = os.path.abspath(CURRENT_DIRECTORY) UPLOAD_FOLDER = os.path.join(CURRENT_DIRECTORY_ABS, "uploads") PROJECTS_FOLDER = os.path.join(CURRENT_DIRECTORY_ABS, "projects") app = flask.Flask(__name__) app.config["UPLOAD_FOLDER"] = UPLOAD_FOLDER app.config["MAX_CONTENT_LENGTH"] = 1024 ** 3 quorum.load(app, mongo_database=MONGO_DATABASE, name="automium_web.debug", models=models) quorum.confs("PROJECTS_FOLDER", PROJECTS_FOLDER) start_time = int(time.time()) @app.route("/") @app.route("/index") def index(): return flask.render_template("index.html.tpl", link="home") @app.route("/login", methods=("GET",)) def login(): return flask.render_template("login.html.tpl")
def setUp(self): try: quorum.load(name=__name__) except Exception: self.skip()
def setUp(self): try: self.app = quorum.load(name=__name__, secret_key="secret") self.app.config["APPLICATION_ROOT"] = "/" except Exception: self.skip()
""" The default database to be used for the connection with the MongoDB database """ SECRET_KEY = "zhsga32ki5kvv7ymq8nolbleg248fzn1" """ The "secret" key to be at the internal encryption processes handled by flask (eg: sessions) """ @quorum.onrun def onrun(): import omnix.util omnix.util.run_slave(1) omnix.util.run_supervisor() omnix.util.load_scheduling() app = quorum.load( name = __name__, secret_key = SECRET_KEY, mongo_database = MONGO_DATABASE, logger = "omnix.debug", models = omnix.models, PERMANENT_SESSION_LIFETIME = datetime.timedelta(31), MAX_CONTENT_LENGTH = 1024 ** 3 ) import omnix.views #@UnusedImport if __name__ == "__main__": quorum.run(server = "netius") else: __path__ = []
def setUp(self): try: quorum.load(name=__name__) quorum.get_amazon() except Exception: self.skip()
__date__ = "$LastChangedDate$" """ The last change date of the module """ __copyright__ = "Copyright (c) 2008-2016 Hive Solutions Lda." """ The copyright for the module """ __license__ = "Apache License, Version 2.0" """ The license for the module """ import flask #@UnusedImport import quorum MONGO_DATABASE = "tiberium_soul" """ The default database to be used for the connection with the mongo database """ app = quorum.load( name = __name__, redis_session = True, mongo_database = MONGO_DATABASE, logger = "tiberium_soul.debug", MAX_CONTENT_LENGTH = 1024 ** 3 ) import tiberium_soul.views #@UnusedImport if __name__ == "__main__": quorum.run(server = "netius")
__date__ = "$LastChangedDate$" """ The last change date of the module """ __copyright__ = "Copyright (c) 2008-2019 Hive Solutions Lda." """ The copyright for the module """ __license__ = "Apache License, Version 2.0" """ The license for the module """ import flask #@UnusedImport import quorum SECRET_KEY = "fs8t3cty11net89x6suvked09v56pa80" """ The "secret" key to be at the internal encryption processes handled by flask (eg: sessions) """ app = quorum.load( name = __name__, secret_key = SECRET_KEY, redis_session = True, logger = "pushi_example.debug" ) import pushi_example.views #@UnusedImport if __name__ == "__main__": quorum.run(server = "netius") else: __path__ = []
import mantium.models MONGO_DATABASE = "automium" """ The default database to be used for the connection with the mongo database """ CURRENT_DIRECTORY = os.path.dirname(__file__) CURRENT_DIRECTORY_ABS = os.path.abspath(CURRENT_DIRECTORY) UPLOAD_FOLDER = os.path.join(CURRENT_DIRECTORY_ABS, "uploads") PROJECTS_FOLDER = os.path.join(CURRENT_DIRECTORY_ABS, "projects") app = quorum.load( name = __name__, mongo_database = MONGO_DATABASE, logger = "mantium.debug", models = mantium.models, UPLOAD_FOLDER = UPLOAD_FOLDER, MAX_CONTENT_LENGTH = 1024 ** 3 ) quorum.confs("PROJECTS_FOLDER", PROJECTS_FOLDER) import mantium.views #@UnusedImport # schedules the various projects currently registered in # the system internal structures mantium.models.Project.schedule_all() if __name__ == "__main__": quorum.run(server = "netius")
import cameria.models SECRET_KEY = "dzhneqksmwtuinay5dfdljec19pi765p" """ The "secret" key to be at the internal encryption processes handled by flask (eg: sessions) """ MONGO_DATABASE = "cameria" """ The default database to be used for the connection with the mongo database """ CURRENT_DIRECTORY = os.path.dirname(__file__) CURRENT_DIRECTORY_ABS = os.path.abspath(CURRENT_DIRECTORY) UPLOAD_FOLDER = os.path.join(CURRENT_DIRECTORY_ABS, "uploads") app = quorum.load( name = __name__, secret_key = SECRET_KEY, redis_session = True, mongo_database = MONGO_DATABASE, logger = "cameria.debug", models = cameria.models, PERMANENT_SESSION_LIFETIME = datetime.timedelta(365), UPLOAD_FOLDER = UPLOAD_FOLDER, MAX_CONTENT_LENGTH = 1024 ** 3 ) import cameria.views #@UnusedImport if __name__ == "__main__": quorum.run(server = "netius")
#!/usr/bin/python # -*- coding: utf-8 -*- import flask #@UnusedImport import quorum app = quorum.load( name = __name__, logger = "hello_quorum.debug" ) import hello_quorum.views #@UnusedImport if __name__ == "__main__": quorum.run(server = "netius")
import pingu.models SECRET_KEY = "kyjbqt4828ky8fdl7ifwgawt60erk8wg" """ The "secret" key to be at the internal encryption processes handled by flask (eg: sessions) """ MONGO_DATABASE = "pingu" """ The default database to be used for the connection with the mongo database """ @quorum.onrun def onrun(): # schedules the various tasks currently registered in # the system internal structures pingu.models.Task.schedule_all() app = quorum.load( name = __name__, secret_key = SECRET_KEY, redis_session = True, mongo_database = MONGO_DATABASE, logger = "pingu.debug", models = pingu.models ) import pingu.views #@UnusedImport if __name__ == "__main__": quorum.run(server = "netius")
""" The revision number of the module """ __date__ = "$LastChangedDate$" """ The last change date of the module """ __copyright__ = "Copyright (c) 2008-2020 Hive Solutions Lda." """ The copyright for the module """ __license__ = "Apache License, Version 2.0" """ The license for the module """ import flask #@UnusedImport import quorum SECRET_KEY = "fs8t3cty11net89x6suvked09v56pa80" """ The "secret" key to be at the internal encryption processes handled by flask (eg: sessions) """ app = quorum.load(name=__name__, secret_key=SECRET_KEY, redis_session=True, logger="pushi_example.debug") import pushi_example.views #@UnusedImport if __name__ == "__main__": quorum.run(server="netius") else: __path__ = []
the mongo database """ SECRET_KEY = "zhsga32ki5kvv7ymq8nolbleg248fzn1" """ The "secret" key to be at the internal encryption processes handled by flask (eg: sessions) """ @quorum.onrun def onrun(): import omnix.util omnix.util.run_slave(1) omnix.util.run_supervisor() omnix.util.load_scheduling() app = quorum.load( name=__name__, secret_key=SECRET_KEY, mongo_database=MONGO_DATABASE, logger="omnix.debug", models=omnix.models, PERMANENT_SESSION_LIFETIME=datetime.timedelta(31), MAX_CONTENT_LENGTH=1024 ** 3, ) import omnix.views # @UnusedImport if __name__ == "__main__": quorum.run(server="netius")
MONGO_DATABASE = "automium" """ The default database to be used for the connection with the mongo database """ CURRENT_DIRECTORY = os.path.dirname(__file__) CURRENT_DIRECTORY_ABS = os.path.abspath(CURRENT_DIRECTORY) UPLOAD_FOLDER = os.path.join(CURRENT_DIRECTORY_ABS, "uploads") PROJECTS_FOLDER = os.path.join(CURRENT_DIRECTORY_ABS, "projects") app = flask.Flask(__name__) app.config["UPLOAD_FOLDER"] = UPLOAD_FOLDER app.config["MAX_CONTENT_LENGTH"] = 1024 ** 3 quorum.load( app, mongo_database = MONGO_DATABASE, name = "automium_web.debug", models = models ) quorum.confs("PROJECTS_FOLDER", PROJECTS_FOLDER) start_time = int(time.time()) @app.route("/") @app.route("/index") def index(): return flask.render_template( "index.html.tpl", link = "home" ) @app.route("/login", methods = ("GET",))
import quorum import mantium.models MONGO_DATABASE = "automium" """ The default database to be used for the connection with the mongo database """ CURRENT_DIRECTORY = os.path.dirname(__file__) CURRENT_DIRECTORY_ABS = os.path.abspath(CURRENT_DIRECTORY) UPLOAD_FOLDER = os.path.join(CURRENT_DIRECTORY_ABS, "uploads") PROJECTS_FOLDER = os.path.join(CURRENT_DIRECTORY_ABS, "projects") app = quorum.load(name=__name__, mongo_database=MONGO_DATABASE, logger="mantium.debug", models=mantium.models, UPLOAD_FOLDER=UPLOAD_FOLDER, MAX_CONTENT_LENGTH=1024**3) quorum.confs("PROJECTS_FOLDER", PROJECTS_FOLDER) import mantium.views #@UnusedImport # schedules the various projects currently registered in # the system internal structures mantium.models.Project.schedule_all() if __name__ == "__main__": quorum.run(server="netius") else: __path__ = []
__copyright__ = "Copyright (c) 2008-2016 Hive Solutions Lda." """ The copyright for the module """ __license__ = "Apache License, Version 2.0" """ The license for the module """ import flask #@UnusedImport import datetime import quorum SECRET_KEY = "ibyzsCBsaAydjIPgZKegzKOxngdImyMh" """ The "secret" key to be at the internal encryption processes handled by flask (eg: sessions) """ app = quorum.load( name = __name__, secret_key = SECRET_KEY, PERMANENT_SESSION_LIFETIME = datetime.timedelta(31) ) import instashow.util #@UnusedImport import instashow.views #@UnusedImport @quorum.onrun def onrun(): instashow.util.schedule_init() if __name__ == "__main__": quorum.run(server = "netius")
def setUp(self): try: quorum.load(name = __name__) except Exception: self.skip()
def setUp(self): try: quorum.load(name=__name__, mongo_database="test", models=mock) except Exception: self.skip()
""" The copyright for the module """ __license__ = "Apache License, Version 2.0" """ The license for the module """ import flask #@UnusedImport import datetime import quorum SECRET_KEY = "ibyzsCBsaAydjIPgZKegzKOxngdImyMh" """ The "secret" key to be at the internal encryption processes handled by flask (eg: sessions) """ app = quorum.load(name=__name__, secret_key=SECRET_KEY, PERMANENT_SESSION_LIFETIME=datetime.timedelta(31)) import instashow.util #@UnusedImport import instashow.views #@UnusedImport @quorum.onrun def onrun(): instashow.util.schedule_init() if __name__ == "__main__": quorum.run(server="netius") else: __path__ = []
SECRET_KEY = "kyjbqt4828ky8fdl7ifwgawt60erk8wg" """ The "secret" key to be at the internal encryption processes handled by flask (eg: sessions) """ MONGO_DATABASE = "pingu" """ The default database to be used for the connection with the MongoDB database """ @quorum.onrun def onrun(): # schedules the various tasks currently registered in # the system internal structures pingu.models.Task.schedule_all() app = quorum.load( name = __name__, secret_key = SECRET_KEY, redis_session = True, mongo_database = MONGO_DATABASE, logger = "pingu.debug", models = pingu.models ) import pingu.views #@UnusedImport if __name__ == "__main__": quorum.run(server = "netius") else: __path__ = []