Ejemplo n.º 1
0
def job_executions_cancel(job_execution_id):
    return u.to_wrapped_dict(api.cancel_job_execution, job_execution_id)
Ejemplo n.º 2
0
def job_binary_get(job_binary_id):
    return u.to_wrapped_dict(api.get_job_binary, job_binary_id)
Ejemplo n.º 3
0
def job_binary_internal_update(job_binary_internal_id, data):
    return u.to_wrapped_dict(
        api.update_job_binary_internal, job_binary_internal_id, data)
Ejemplo n.º 4
0
def data_source_get(data_source_id):
    return u.to_wrapped_dict(api.get_data_source, data_source_id)
Ejemplo n.º 5
0
def job_get(job_id):
    return u.to_wrapped_dict(api.get_job, job_id)
Ejemplo n.º 6
0
def job_executions(job_id):
    return u.to_wrapped_dict(api.get_job_execution, job_id)
Ejemplo n.º 7
0
def cluster_templates_get(cluster_template_id):
    return u.to_wrapped_dict(api.get_cluster_template, cluster_template_id)
Ejemplo n.º 8
0
def job_update(job_id, data):
    return u.to_wrapped_dict(api.update_job, job_id, data)
Ejemplo n.º 9
0
def node_group_templates_get(node_group_template_id):
    return u.to_wrapped_dict(
        api.get_node_group_template, node_group_template_id)
Ejemplo n.º 10
0
def data_source_update(data_source_id, data):
    return u.to_wrapped_dict(api.data_source_update, data_source_id, data)
Ejemplo n.º 11
0
def job_get(job_id):
    return u.to_wrapped_dict(api.get_job, job_id)
Ejemplo n.º 12
0
def data_source_get(data_source_id):
    return u.to_wrapped_dict(api.get_data_source, data_source_id)
Ejemplo n.º 13
0
def plugins_convert_to_cluster_template(plugin_name, version, name, data):
    return u.to_wrapped_dict(
        api.convert_to_cluster_template, plugin_name, version, name, data)
Ejemplo n.º 14
0
def plugins_convert_to_cluster_template(plugin_name, version, name, data):
    return u.to_wrapped_dict(api.convert_to_cluster_template, plugin_name,
                             version, name, data)
Ejemplo n.º 15
0
def node_group_templates_get(node_group_template_id):
    return u.to_wrapped_dict(
        api.get_node_group_template, node_group_template_id)
Ejemplo n.º 16
0
def node_group_templates_update(node_group_template_id, data):
    return u.to_wrapped_dict(
        api.update_node_group_template, node_group_template_id, data)
Ejemplo n.º 17
0
def cluster_templates_get(cluster_template_id):
    return u.to_wrapped_dict(api.get_cluster_template, cluster_template_id)
Ejemplo n.º 18
0
def job_binary_internal_update(job_binary_internal_id, data):
    return u.to_wrapped_dict(
        api.update_job_binary_internal, job_binary_internal_id, data)
Ejemplo n.º 19
0
def job_executions_cancel(job_id):
    return u.to_wrapped_dict(api.cancel_job_execution, job_id)
Ejemplo n.º 20
0
def job_binary_get(job_binary_id):
    return u.to_wrapped_dict(api.get_job_binary, job_binary_id)
Ejemplo n.º 21
0
def job_templates_update(job_templates_id, data):
    return u.to_wrapped_dict(api.update_job_template, job_templates_id, data)
Ejemplo n.º 22
0
def job_binary_internal_get(job_binary_internal_id):
    return u.to_wrapped_dict(
        api.get_job_binary_internal, job_binary_internal_id)
Ejemplo n.º 23
0
def data_source_update(data_source_id, data):
    return u.to_wrapped_dict(api.data_source_update, data_source_id, data)
Ejemplo n.º 24
0
def job_executions(job_id):
    return u.to_wrapped_dict(api.get_job_execution, job_id)
Ejemplo n.º 25
0
def job_update(job_id, data):
    return u.to_wrapped_dict(api.update_job, job_id, data)
Ejemplo n.º 26
0
def cluster_templates_update(cluster_template_id, data):
    return u.to_wrapped_dict(api.update_cluster_template, cluster_template_id,
                             data)
Ejemplo n.º 27
0
def job_binary_internal_get(job_binary_internal_id):
    return u.to_wrapped_dict(
        api.get_job_binary_internal, job_binary_internal_id)
Ejemplo n.º 28
0
def clusters_scale(cluster_id, data):
    return u.to_wrapped_dict(api.scale_cluster, cluster_id, data)
Ejemplo n.º 29
0
def job_executions_status(job_execution_id):
    return u.to_wrapped_dict(api.get_job_execution_status, job_execution_id)
Ejemplo n.º 30
0
def clusters_get(cluster_id):
    data = u.get_request_args()
    show_events = six.text_type(data.get('show_progress',
                                         'false')).lower() == 'true'
    return u.to_wrapped_dict(api.get_cluster, cluster_id, show_events)
Ejemplo n.º 31
0
def job_executions_update(job_execution_id, data):
    return u.to_wrapped_dict(api.update_job_execution, job_execution_id, data)
Ejemplo n.º 32
0
def clusters_update(cluster_id, data):
    return u.to_wrapped_dict(api.update_cluster, cluster_id, data)
Ejemplo n.º 33
0
def node_group_templates_update(node_group_template_id, data):
    return u.to_wrapped_dict(
        api.update_node_group_template, node_group_template_id, data)
Ejemplo n.º 34
0
def node_group_templates_update(node_group_template_id, data):
    data['hadoop_version'] = data['plugin_version']
    del data['plugin_version']
    return u.to_wrapped_dict(api.update_node_group_template,
                             node_group_template_id, data)
Ejemplo n.º 35
0
def cluster_templates_update(cluster_template_id, data):
    return u.to_wrapped_dict(
        api.update_cluster_template, cluster_template_id, data)
Ejemplo n.º 36
0
def clusters_scale(cluster_id, data):
    return u.to_wrapped_dict(api.scale_cluster, cluster_id, data)
Ejemplo n.º 37
0
def job_executions_status(job_id):
    return u.to_wrapped_dict(api.get_job_execution_status, job_id)
Ejemplo n.º 38
0
def clusters_get(cluster_id):
    data = u.get_request_args()
    show_events = six.text_type(
        data.get('show_progress', 'false')).lower() == 'true'
    return u.to_wrapped_dict(api.get_cluster, cluster_id, show_events)
Ejemplo n.º 39
0
def job_executions_update(job_id, data):
    return u.to_wrapped_dict(api.update_job_execution, job_id, data)
Ejemplo n.º 40
0
def clusters_update(cluster_id, data):
    return u.to_wrapped_dict(api.update_cluster, cluster_id, data)
Ejemplo n.º 41
0
def cluster_templates_update(cluster_template_id, data):
    data['hadoop_version'] = data['plugin_version']
    del data['plugin_version']
    return u.to_wrapped_dict(api.update_cluster_template, cluster_template_id,
                             data)
Ejemplo n.º 42
0
def job_templates_get(job_templates_id):
    return u.to_wrapped_dict(api.get_job_template, job_templates_id)