예제 #1
0
def setup():
    template_vars = {"package": "mokshatest", "project": "mokshatest", "egg": "mokshatest", "egg_plugins": ["Moksha"]}
    args = {"controller": True, "controller_name": "MokshatestController"}
    template = MokshaControllerTemplate
    templates = ["moksha.controller"]
    global app
    app = setup_quickstart(template=template, templates=templates, args=args, template_vars=template_vars)
예제 #2
0
def setup():
    template = MokshaConnectorTemplate
    templates = ['moksha.connector']
    template_vars = {
            'package': 'mokshatest',
            'project': 'mokshatest',
            'egg': 'mokshatest',
            'egg_plugins': ['Moksha'],
    }
    args = {
        'connector': True,
        'connector_name': 'MokshatestConnector',
    }
    global app
    app = setup_quickstart(template=template, templates=templates, args=args,
                           template_vars=template_vars)
예제 #3
0
def setup():
    template_vars = {
            'package': 'mokshatest',
            'project': 'mokshatest',
            'egg': 'mokshatest',
            'egg_plugins': ['Moksha'],
    }
    args = {
        'controller': True,
        'controller_name': 'MokshatestController',
    }
    template = MokshaControllerTemplate
    templates = ['moksha.controller']
    global app
    app = setup_quickstart(template=template, templates=templates, args=args,
                           template_vars=template_vars)
예제 #4
0
def setup():
    template = MokshaStreamTemplate
    templates = ['moksha.stream']
    template_vars = {
            'package': 'mokshatest',
            'project': 'mokshatest',
            'egg': 'mokshatest',
            'egg_plugins': ['Moksha'],
            'topic': 'moksha.topics.test',
    }
    args = {
        'stream': True,
        'stream_name': 'MokshatestStream',
    }
    global app
    app = setup_quickstart(template=template, templates=templates, args=args,
                           template_vars=template_vars)
예제 #5
0
def setup():
    template = MokshaLiveWidgetTemplate
    templates = ['moksha.livewidget']
    template_vars = {
            'package': 'mokshatest',
            'project': 'mokshatest',
            'egg': 'mokshatest',
            'egg_plugins': ['Moksha'],
            'topic': 'moksha.topics.test',
    }
    args = {
        'livewidget': True,
        'widget_name': 'MokshatestWidget',
    }

    global app
    app = setup_quickstart(template=template, templates=templates, args=args,
                           template_vars=template_vars)
예제 #6
0
def setup():
    template = MokshaStreamTemplate
    templates = ['moksha.stream']
    template_vars = {
        'package': 'mokshatest',
        'project': 'mokshatest',
        'egg': 'mokshatest',
        'egg_plugins': ['Moksha'],
        'topic': 'moksha.topics.test',
    }
    args = {
        'stream': True,
        'stream_name': 'MokshatestStream',
    }
    global app
    app = setup_quickstart(template=template,
                           templates=templates,
                           args=args,
                           template_vars=template_vars)
예제 #7
0
def setup():
    template = MokshaLiveWidgetTemplate
    templates = ['moksha.livewidget']
    template_vars = {
        'package': 'mokshatest',
        'project': 'mokshatest',
        'egg': 'mokshatest',
        'egg_plugins': ['Moksha'],
        'topic': 'moksha.topics.test',
    }
    args = {
        'livewidget': True,
        'widget_name': 'MokshatestWidget',
    }

    global app
    app = setup_quickstart(template=template,
                           templates=templates,
                           args=args,
                           template_vars=template_vars)