示例#1
0
class RootController(object):
    actions = ActionsController()
    actionexecutions = ActionExecutionsController()
    executions = actionexecutions  # We should deprecate actionexecutions.
    runnertypes = RunnerTypesController()
    sensortypes = SensorTypeController()
    triggertypes = TriggerTypeController()
    triggers = TriggerController()
    triggerinstances = TriggerInstanceController()
    rules = RuleController()
    keys = KeyValuePairController()
    webhooks = WebhooksController()
    stream = StreamController()
示例#2
0
文件: root.py 项目: miqui/st2
class RootController(object):
    actions = ActionsController()
    actionexecutions = ActionExecutionsController()
    runnertypes = RunnerTypesController()
    sensortypes = SensorTypeController()
    triggertypes = TriggerTypeController()
    triggers = TriggerController()
    triggerinstances = TriggerInstanceController()
    rules = RuleController()
    keys = KeyValuePairController()
    history = HistoryController()
    webhooks = WebhooksController()
    stream = StreamController()

    @expose(generic=True, template='index.html')
    def index(self):
        return dict()
示例#3
0
文件: root.py 项目: joshgre/st2
class RootController(object):
    packs = PacksController()
    actions = ActionsController()
    actionexecutions = ActionExecutionsController()
    executions = actionexecutions  # We should deprecate actionexecutions.
    policies = PolicyController()
    policytypes = PolicyTypeController()
    runnertypes = RunnerTypesController()
    sensortypes = SensorTypeController()
    triggertypes = TriggerTypeController()
    triggers = TriggerController()
    triggerinstances = TriggerInstanceController()
    rules = RuleController()
    keys = KeyValuePairController()
    webhooks = WebhooksController()
    stream = StreamController()
    actionalias = ActionAliasController()
    aliasexecution = ActionAliasExecutionController()