Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 1.48 KB

File metadata and controls

56 lines (45 loc) · 1.48 KB

TalendClientBundle

Build Status Scrutinizer Code Quality Code Coverage

Installation

Add TalendClientBundle to your composer.json, then update

{
    ...
    "require": {
        "lafourchette/talend-client-bundle": "*"
    },
    ...
}

Add LaFourchetteTalendClientBundle to your application kernel

    // app/AppKernel.php
    public function registerBundles()
    {
        return array(
            // ...
            new TalendClientBundle(),
            // ...
        );
    }

Update your configuration

# app/config/parameters.yml
parameters:
    # Talend Client API
    talend_client.base_url: "http://talend-url:8080/org.talend.administrator/metaServlet"
    talend_client.login: "[email protected]"
    talend_client.password: "lafourchette"

Usage

$client = $container('talend_client');

// List all the tasks
$client->listTasks();

// run the task with a task id
$client->runTask(17);

License

This bundle is under the MIT license.