def execute_workflow(script_path, ssl_cert_content=None, **kwargs): ctx = workflows_ctx._get_current_object() script_path = download_resource( ctx.internal.handler.download_deployment_resource, script_path, ssl_cert_content) script_result = process_execution(eval_script, script_path, ctx) os.remove(script_path) return script_result
def execute_workflow(script_path, ssl_cert_content=None, **kwargs): ctx = workflows_ctx._get_current_object() script_path = download_resource( ctx.internal.handler.download_deployment_resource, script_path, ssl_cert_content) script_result = process_execution(eval_script, script_path, ctx) safe_remove_script(script_path) return script_result
def execute_workflow(script_path, **kwargs): ctx = workflows_ctx._get_current_object() script_path = download_resource( ctx.internal.handler.download_blueprint_resource, script_path) return process_execution(eval_script, script_path, ctx)
def execute_workflow(script_path, **kwargs): ctx = workflows_ctx._get_current_object() script_path = download_blueprint_resource(ctx.blueprint_id, script_path, ctx.logger) return process(eval_script, script_path, ctx)