예제 #1
0
파일: v11.py 프로젝트: frgaudet/sahara
def job_executions_cancel(job_execution_id):
    return u.to_wrapped_dict(api.cancel_job_execution, job_execution_id)
예제 #2
0
파일: v11.py 프로젝트: frgaudet/sahara
def job_binary_get(job_binary_id):
    return u.to_wrapped_dict(api.get_job_binary, job_binary_id)
예제 #3
0
파일: v11.py 프로젝트: frgaudet/sahara
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)
예제 #4
0
파일: v11.py 프로젝트: frgaudet/sahara
def data_source_get(data_source_id):
    return u.to_wrapped_dict(api.get_data_source, data_source_id)
예제 #5
0
파일: v11.py 프로젝트: frgaudet/sahara
def job_get(job_id):
    return u.to_wrapped_dict(api.get_job, job_id)
예제 #6
0
def job_executions(job_id):
    return u.to_wrapped_dict(api.get_job_execution, job_id)
예제 #7
0
def cluster_templates_get(cluster_template_id):
    return u.to_wrapped_dict(api.get_cluster_template, cluster_template_id)
예제 #8
0
def job_update(job_id, data):
    return u.to_wrapped_dict(api.update_job, job_id, data)
예제 #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)
예제 #10
0
def data_source_update(data_source_id, data):
    return u.to_wrapped_dict(api.data_source_update, data_source_id, data)
예제 #11
0
def job_get(job_id):
    return u.to_wrapped_dict(api.get_job, job_id)
예제 #12
0
def data_source_get(data_source_id):
    return u.to_wrapped_dict(api.get_data_source, data_source_id)
예제 #13
0
파일: v10.py 프로젝트: egafford/sahara
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)
예제 #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)
예제 #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)
예제 #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)
예제 #17
0
def cluster_templates_get(cluster_template_id):
    return u.to_wrapped_dict(api.get_cluster_template, cluster_template_id)
예제 #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)
예제 #19
0
def job_executions_cancel(job_id):
    return u.to_wrapped_dict(api.cancel_job_execution, job_id)
예제 #20
0
def job_binary_get(job_binary_id):
    return u.to_wrapped_dict(api.get_job_binary, job_binary_id)
예제 #21
0
def job_templates_update(job_templates_id, data):
    return u.to_wrapped_dict(api.update_job_template, job_templates_id, data)
예제 #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)
예제 #23
0
파일: v11.py 프로젝트: frgaudet/sahara
def data_source_update(data_source_id, data):
    return u.to_wrapped_dict(api.data_source_update, data_source_id, data)
예제 #24
0
파일: v11.py 프로젝트: openstack/sahara
def job_executions(job_id):
    return u.to_wrapped_dict(api.get_job_execution, job_id)
예제 #25
0
파일: v11.py 프로젝트: frgaudet/sahara
def job_update(job_id, data):
    return u.to_wrapped_dict(api.update_job, job_id, data)
예제 #26
0
def cluster_templates_update(cluster_template_id, data):
    return u.to_wrapped_dict(api.update_cluster_template, cluster_template_id,
                             data)
예제 #27
0
파일: v11.py 프로젝트: frgaudet/sahara
def job_binary_internal_get(job_binary_internal_id):
    return u.to_wrapped_dict(
        api.get_job_binary_internal, job_binary_internal_id)
예제 #28
0
def clusters_scale(cluster_id, data):
    return u.to_wrapped_dict(api.scale_cluster, cluster_id, data)
예제 #29
0
파일: v11.py 프로젝트: frgaudet/sahara
def job_executions_status(job_execution_id):
    return u.to_wrapped_dict(api.get_job_execution_status, job_execution_id)
예제 #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)
예제 #31
0
파일: v11.py 프로젝트: frgaudet/sahara
def job_executions_update(job_execution_id, data):
    return u.to_wrapped_dict(api.update_job_execution, job_execution_id, data)
예제 #32
0
def clusters_update(cluster_id, data):
    return u.to_wrapped_dict(api.update_cluster, cluster_id, data)
예제 #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)
예제 #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)
예제 #35
0
def cluster_templates_update(cluster_template_id, data):
    return u.to_wrapped_dict(
        api.update_cluster_template, cluster_template_id, data)
예제 #36
0
def clusters_scale(cluster_id, data):
    return u.to_wrapped_dict(api.scale_cluster, cluster_id, data)
예제 #37
0
def job_executions_status(job_id):
    return u.to_wrapped_dict(api.get_job_execution_status, job_id)
예제 #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)
예제 #39
0
def job_executions_update(job_id, data):
    return u.to_wrapped_dict(api.update_job_execution, job_id, data)
예제 #40
0
def clusters_update(cluster_id, data):
    return u.to_wrapped_dict(api.update_cluster, cluster_id, data)
예제 #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)
예제 #42
0
def job_templates_get(job_templates_id):
    return u.to_wrapped_dict(api.get_job_template, job_templates_id)