Esempio n. 1
0
def register_standard_workflows():
    workflow_paths = utils.get_file_list(STD_WF_PATH)

    for wf_path in workflow_paths:
        workflow_definition = open(wf_path).read()

        create_workflows(workflow_definition, scope='public', is_system=True)
Esempio n. 2
0
def register_standard_actions():
    action_paths = utils.get_file_list(ACTIONS_PATH)

    for action_path in action_paths:
        action_definition = open(action_path).read()
        actions.update_actions(action_definition,
                               scope='public',
                               run_in_tx=False)
Esempio n. 3
0
def register_standard_actions():
    action_paths = utils.get_file_list(ACTIONS_PATH)

    for action_path in action_paths:
        action_definition = open(action_path).read()
        actions.create_or_update_actions(
            action_definition,
            scope='public'
        )
Esempio n. 4
0
def register_standard_workflows(run_in_tx=True):
    workflow_paths = utils.get_file_list(STD_WF_PATH)

    for wf_path in workflow_paths:
        workflow_definition = open(wf_path).read()

        create_workflows(workflow_definition,
                         scope='public',
                         is_system=True,
                         run_in_tx=run_in_tx)
Esempio n. 5
0
def register_standard_workflows(run_in_tx=True):
    LOG.debug("Registering standard workflows...")

    workflow_paths = utils.get_file_list(STD_WF_PATH)

    for wf_path in workflow_paths:
        workflow_definition = open(wf_path).read()

        create_workflows(workflow_definition,
                         scope='public',
                         is_system=True,
                         run_in_tx=run_in_tx,
                         namespace='')
Esempio n. 6
0
def register_standard_workflows():
    workflow_paths = utils.get_file_list(STD_WF_PATH)

    for wf_path in workflow_paths:
        workflow_definition = open(wf_path).read()
        create_workflows(workflow_definition, scope='public')