lafourchette/talend-client-bundle

Talend Client Bundle

This package's canonical repository appears to be gone and the package has been frozen as a result.

Installs: 137

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 87

Forks: 2

Type:symfony-bundle

v1.1.0 2014-11-28 12:56 UTC

This package is not auto-updated.

Last update: 2024-01-17 13:25:57 UTC


README

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: "lab@lafourchette.com"
    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.