lafourchette/talend-client-bundle

Talend 客户端包

此软件包的官方仓库似乎已不存在,因此软件包已被冻结。

安装: 137

依赖者: 0

建议者: 0

安全: 0

星标: 0

关注者: 87

分支: 2

类型: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

安装

将 TalendClientBundle 添加到您的 composer.json 中,然后更新

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

将 LaFourchetteTalendClientBundle 添加到您的应用程序内核

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

更新您的配置

# 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"

使用方法

$client = $container('talend_client');

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

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

许可协议

此软件包采用 MIT 许可协议。